WO2018150539A1 - Data acquisition device, data acquisition method, and data acquisition program - Google Patents
Data acquisition device, data acquisition method, and data acquisition program Download PDFInfo
- Publication number
- WO2018150539A1 WO2018150539A1 PCT/JP2017/005900 JP2017005900W WO2018150539A1 WO 2018150539 A1 WO2018150539 A1 WO 2018150539A1 JP 2017005900 W JP2017005900 W JP 2017005900W WO 2018150539 A1 WO2018150539 A1 WO 2018150539A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data acquisition
- data
- request
- acquisition
- acquisition request
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims description 183
- 238000012545 processing Methods 0.000 claims abstract description 119
- 230000008569 process Effects 0.000 claims description 144
- 230000004913 activation Effects 0.000 claims description 50
- 238000006243 chemical reaction Methods 0.000 claims description 13
- 230000005540 biological transmission Effects 0.000 claims description 11
- 230000006870 function Effects 0.000 description 38
- 238000010586 diagram Methods 0.000 description 34
- 238000009825 accumulation Methods 0.000 description 33
- 230000004044 response Effects 0.000 description 17
- 238000004891 communication Methods 0.000 description 9
- 238000012546 transfer Methods 0.000 description 9
- 235000008694 Humulus lupulus Nutrition 0.000 description 7
- 238000003491 array Methods 0.000 description 7
- 238000001514 detection method Methods 0.000 description 6
- 230000002776 aggregation Effects 0.000 description 4
- 238000004220 aggregation Methods 0.000 description 4
- 238000004458 analytical method Methods 0.000 description 2
- 235000012489 doughnuts Nutrition 0.000 description 2
- 230000008520 organization Effects 0.000 description 2
- 229910000831 Steel Inorganic materials 0.000 description 1
- 230000004931 aggregating effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 230000005012 migration Effects 0.000 description 1
- 238000013508 migration Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 239000010959 steel Substances 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
- 230000003442 weekly effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
Definitions
- the present invention relates to a data acquisition device, a data acquisition method, and a data acquisition program for acquiring data.
- Common Information Model is a standard information model and in-system / application data in a system that operates power facilities (power stations, substations, power transmission lines, etc. that constitute the power system) in the backbone energy management system (EMS).
- This model specifies exchange.
- power system information By sharing power system information with CIM, data exchange between power system monitoring, control, and analysis applications is facilitated. Thereby, the connectivity between applications and the expandability of the system can be improved.
- a power NW model DB for example, there is a power network model database (hereinafter referred to as a power NW model DB) managed in a relational database format (Relational Database (RDB) format).
- the power NW model DB stores information on power facilities in the backbone system EMS. For example, in a user operation or business process, information satisfying a set of attributes whose position information is “point A” and whose other attribute is “high voltage equipment” is acquired from the power NW model DB.
- RDB Relational Database
- XML Extensible Markup Language
- Patent Document 1 As a technique for quickly responding to a data acquisition request, for example, there is Patent Document 1 below.
- the master database when the search request data from the client does not exist in the cache database, the master database returns the search result record to the distributed cache database, and turns on the corresponding bit on the reference bitmap table. Thereafter, when there is a search request for the same record, the cache method of Patent Document 1 returns data on the distributed cache database.
- the cache method of Patent Document 1 updates data only to the distributed cache database whose reference bit is ON.
- the data cached by the cache method of Patent Document 1 is not necessarily the data required at that time for user operation or business processing in a system that operates power equipment in the power system. Therefore, the cache method disclosed in Patent Document 1 does not necessarily improve the data response.
- the object of the present invention is to suppress response delay of data acquired in response to a request.
- a data acquisition device, a data acquisition method, and a data acquisition program that are one aspect of the invention disclosed in this application are accessible to a database that stores a data group, and respond to a data acquisition request from a request source for the database
- FIG. 1 is an explanatory diagram of an example of data pre-acquisition according to the first embodiment.
- FIG. 2 is an explanatory diagram illustrating a system configuration example of the data acquisition system.
- FIG. 3 is a block diagram illustrating a hardware configuration example of a computer.
- FIG. 4 is an explanatory diagram showing an example of the contents stored in the power NW model DB.
- FIG. 5 is an explanatory diagram illustrating an example of an acquisition pattern.
- FIG. 6 is an explanatory diagram showing an example of the stored contents of the data acquisition history accumulation table.
- FIG. 7 is an explanatory diagram of an example of the contents stored in the data acquisition estimation table.
- FIG. 8 is an explanatory diagram of an example of stored contents of the step information management table.
- FIG. 9 is an explanatory diagram of an example of stored contents of the pre-acquired information management table.
- FIG. 10 is an explanatory diagram of an example of stored contents of the activation timing management table.
- FIG. 11 is a block diagram illustrating a functional configuration example of the data acquisition apparatus.
- FIG. 12 is an explanatory diagram illustrating an example of a learning result table.
- FIG. 13 is a flowchart illustrating an example of a learning process procedure by the learning unit.
- FIG. 14 is a flowchart showing a detailed processing procedure example of the learning processing (step S1303) shown in FIG.
- FIG. 15 is a flowchart illustrating a detailed processing procedure example of the aggregation processing (step S1409) illustrated in FIG.
- FIG. 16 is a flowchart showing a detailed processing procedure example of the selection probability calculation process (step S1510) shown in FIG.
- FIG. 17 is a flowchart showing a detailed processing procedure example of the representative value calculation processing (step S1410) shown in FIG.
- FIG. 18 is a flowchart showing a detailed processing procedure example of the data acquisition estimation table update processing (step S1304) shown in FIG.
- FIG. 19 is a flowchart illustrating a detailed processing procedure example 1 of the data acquisition processing by the data acquisition device.
- FIG. 20 is a flowchart illustrating a detailed processing procedure example 2 of the data acquisition processing by the data acquisition device.
- FIG. 21 is an explanatory diagram of an example of transfer of the acquired pattern sequence.
- FIG. 22 is a flowchart illustrating a detailed processing procedure example of the data acquisition / history accumulation processing (steps S1906 and S2006) illustrated in FIGS. 19 and 20.
- FIG. 23 is a flowchart illustrating a detailed processing procedure example of the data pre-acquisition processing.
- FIG. 24 is an explanatory diagram of an example of stored contents of the data acquisition history accumulation table according to the second embodiment.
- FIG. 25 is an explanatory diagram of an example of stored contents of the second data acquisition estimation table.
- FIG. 26 is a flowchart of a detailed process procedure example 1 of the data acquisition process performed by the data acquisition apparatus according to the second embodiment.
- FIG. 27 is an explanatory diagram of an example of preliminary data acquisition according to the third embodiment.
- FIG. 28 is a flowchart of a detailed process procedure example of the data pre-acquisition process according to the third embodiment.
- FIG. 29 is an explanatory diagram of an example of starting timing adjustment according to the fourth embodiment.
- FIG. 30 is a flowchart illustrating an example of a startup timing adjustment processing procedure.
- FIG. 1 is an explanatory diagram of an example of data pre-acquisition according to the first embodiment.
- the data acquisition system 100 includes a terminal 101, an application 102, a data acquisition function 103, and a power NW model DB 104.
- the terminal 101 transmits a data acquisition request to the data acquisition function 103 via the application 102, and acquires data corresponding to the data acquisition request from the power NW model DB 104 via the application 102 and the data acquisition function 103.
- the terminal 101 is provided in a power facility (a power plant or a substation constituting a power system) and is communicably connected to a server (data acquisition device) having a data acquisition function 103 via a communication network.
- Application 102 is an interface between terminal 101 and data acquisition function 103.
- the application 102 is mounted on the terminal 101 or the data acquisition device.
- the application 102 is software that acquires data from the power NW model DB 104, although the application 102 differs depending on the corresponding power facility.
- the data acquisition function 103 has a data access function 131, a pattern learning function 132, and a pre-acquisition function 133.
- the data access function 131 acquires data corresponding to the data acquisition request from the terminal 101 from the power NW model DB 104 and returns it to the request source application 102.
- the data access function 131 acquires, from the power NW model DB 104, entries of a plurality of attribute tables corresponding to the data acquisition request, converts them into one XML data, and converts the converted XML data to Return to the requesting application 102.
- the pattern learning function 132 learns a series of data acquisition request patterns input from the terminal 101. For example, the worker A transmits a series of data acquisition requests including a data acquisition range of “circle (3 km)”, “cone”, and “cylinder” from the terminal 101. Therefore, in the case of the worker A, the pattern learning function 132 learns to select the data acquisition range in the order of “circle (3 km)” ⁇ “cone” ⁇ “cylinder”.
- the pre-acquisition function 133 specifies the data acquisition range that the user of the terminal 101 will select next from the learning result of the pattern learning function 132, and the data access function 131 Is acquired before the next data acquisition request for requesting data within the specified data acquisition range.
- the power NW model DB 104 is a database that stores a CIM that is a power NW model.
- the power NW model is a network model in which nodes of power equipment are used and electric wires are links.
- the power NW model is, for example, a three-dimensional model expressed by two-dimensional position information and a voltage of a node.
- the power NW model DB 104 has a table for each attribute such as system (high voltage or low voltage), facility type (power plant, substation, etc.), area, and position.
- the data access function 131 acquires a corresponding entry from the table for each attribute included in the data acquisition request and converts the entry into one XML data. Note that this conversion processing to XML data takes time and causes a reduction in response performance.
- worker A inputs a pattern. Specifically, for example, the worker A transmits a first data acquisition request from the terminal 101 in which the data acquisition range is a circle having a diameter of 3 km, and then the second data acquisition in which the data acquisition range is a cone. Assume that a request is transmitted from the terminal 101 and then a third data acquisition request is transmitted from the terminal 101 whose data acquisition range is a cylinder.
- the data access function 131 (1) accesses the power NW model DB 104 each time a data acquisition request is received, acquires entries in a plurality of attribute tables, and merges them into one XML data. The data access function 131 returns the XML data to the terminal 101.
- the pattern learning function 132 learns the data acquisition range in the order of “circle (3 km)” ⁇ “cone” ⁇ “column” selected by the worker A.
- the data access function 131 can acquire the data included in the specified data acquisition range “cone” from the power NW model DB 104 and convert it into XML data before the arrival of the second data acquisition request. .
- the worker A can obtain an immediate response without waiting for the time required for the data acquisition process from when the second data acquisition request is made until the response is received.
- the data acquisition system 100 predicts what data acquisition request will arrive and prefetches the corresponding data, the response performance can be improved.
- the data acquisition system 100 predicts what data acquisition request will arrive and prefetches the corresponding data, the response performance can be improved.
- the processing load due to prefetching it is possible to reduce the processing load due to prefetching.
- FIG. 2 is an explanatory diagram showing a system configuration example of the data acquisition system 100.
- the data acquisition system 100 has a configuration in which a data acquisition device 200 that is a server and a terminal 101 are communicably connected via a communication network 201.
- the data acquisition device 200 has a power NW model DB 104.
- the power NW model DB 104 may be included in another server accessible from the data acquisition apparatus 200 via the communication network 201.
- FIG. 3 is a block diagram illustrating a hardware configuration example of a computer.
- the computer is, for example, the data acquisition device 200 and the terminal 101 shown in FIG.
- the computer 300 includes a processor 301, a storage device 302, an input device 303, an output device 304, and a communication interface (communication IF 305).
- the processor 301, the storage device 302, the input device 303, the output device 304, and the communication IF 305 are connected by a bus.
- the processor 301 controls the computer 300.
- the storage device 302 serves as a work area for the processor 301.
- the storage device 302 is a non-temporary or temporary recording medium that stores various programs and data.
- Examples of the storage device 302 include a ROM (Read Only Memory), a RAM (Random Access Memory), an HDD (Hard Disk Drive), and a flash memory.
- the input device 303 inputs data. Examples of the input device 303 include a keyboard, a mouse, a touch panel, a numeric keypad, and a scanner.
- the output device 304 outputs data. Examples of the output device 304 include a display and a printer.
- the communication IF 305 is connected to the communication network 201 and transmits / receives data.
- FIG. 4 is an explanatory diagram showing an example of the contents stored in the power NW model DB 104.
- the power NW model DB 104 is a database that stores a CIM that is a power NW model
- the power NW model is a network model that uses nodes of power equipment and links electric wires.
- the power NW model DB 104 is realized by the storage device 302 described above.
- the power NW model DB 104 is, for example, a set of tables in which node IDs are associated with each attribute (system, facility type, area, position information,). Description will be made by paying attention to information held by the node N and the link L constituting the model.
- the node N is identified by the node ID 401 and has a system 402, an equipment type 403, an area 404, position information 405, electrical characteristic information 406, and a connection link ID 407.
- the node ID 401 is identification information that uniquely identifies the node N indicating the power equipment.
- the system 402 is identification information indicating the system of the node N.
- strain 402 is the information which shows a high voltage
- the equipment type 403 is information indicating the type of equipment of the node N.
- the equipment type 403 includes, for example, a transformer and a steel tower.
- Area 404 is information indicating an area to which node N belongs.
- the area 404 is defined, for example, by a municipality range.
- the position information 405 is information indicating the position of the node N stretched on the XY plane.
- the position information 405 is defined by, for example, latitude (value in the Y-axis direction) and longitude (value in the X-axis direction).
- the electrical characteristic information 406 is used as a value of the node N in the Z-axis direction.
- the electrical characteristic information 406 is, for example, a voltage value at the node N.
- the connection link ID 407 is identification information that uniquely identifies the connection link L.
- the connection link L is a link L connected to the node N.
- the link L is an electric wire connected to the power facility that is the node N.
- the link L is specified by the link ID 411 and the link length 412.
- the link ID 411 is identification information that uniquely identifies the link L.
- the link length 412 is information indicating the length of the electric wire that is the link L.
- FIG. 5 is an explanatory diagram illustrating an example of an acquisition pattern.
- the acquisition pattern indicates the acquisition range of the power NW model.
- the operator operates the terminal 101 to select an acquisition pattern, and transmits a data acquisition request including the selected acquisition pattern to the data acquisition device 200.
- five types of acquisition patterns will be described as an example.
- the acquisition pattern P1 is a circular acquisition pattern.
- the acquisition pattern P1 is, for example, an acquisition pattern for acquiring data related to a node group included in a system within a circle having a diameter D [km] with the point A as the center. For example, when the user gives the terminal 101 position information of the point A that is the node N, designation of a circle, diameter D, electrical characteristic information (voltage value), and equipment type, the terminal 101 generates the acquisition pattern P1. Then, a data acquisition request is transmitted.
- the acquisition pattern P2 is a conical acquisition pattern.
- the acquisition pattern P2 relates to, for example, a node group included in a system in a cone whose height is a voltage (B1-B2) and whose bottom circle is a circle having a diameter D [km] with the point A as the center.
- This is an acquisition pattern for acquiring data.
- the terminal 101 when the user gives the terminal 101 position information of the point A, designation of the cone, diameter D, electrical characteristic information (voltage value range), and equipment type, the terminal 101 generates the acquisition pattern P2.
- a data acquisition request is transmitted.
- the acquisition pattern P3 is a cylindrical acquisition pattern.
- the acquisition pattern P3 acquires data related to a node group included in a system in a cylinder having a height of voltage B and a bottom circle having a diameter D [km] range centered on the point A. It is an acquisition pattern for.
- the terminal 101 when the user gives the terminal 101 position information of the point A, designation of a cylinder, diameter D, electrical characteristic information (voltage value range), and equipment type, the terminal 101 generates an acquisition pattern P3.
- a data acquisition request is transmitted.
- the acquisition pattern P4 is a frustoconical acquisition pattern.
- the acquisition pattern P4 is, for example, an acquisition pattern for acquiring data related to a node group included in the system in the truncated cone that is in the range of n hops from the point A. For example, when the user gives the terminal 101 position information of the point A, designation of the truncated cone, the number of hops, electrical characteristic information (voltage value), and the equipment type, the terminal 101 generates the acquisition pattern P2, A data acquisition request will be sent.
- the number of hops is the number of nodes that can be traced from the link L with the point A as the departure point.
- the acquisition pattern P5 is a spherical acquisition pattern.
- the acquisition pattern P5 is, for example, an acquisition pattern for acquiring data related to a node group included in a system in a sphere that is n hops from the point A where the voltage value is B.
- the terminal 101 when the user gives the terminal 101 position information of the point A, designation of the truncated cone, the number of hops, electrical characteristic information (voltage value), and the equipment type, the terminal 101 generates the acquisition pattern P2, A data acquisition request will be sent.
- the number of hops is the number of nodes that can be traced from the link starting from the point A.
- the acquisition patterns P1 to P5 are examples.
- the range designation from the point A may be either a distance or the number of hops.
- the shape of the acquisition pattern is not limited to the shapes of the acquisition patterns P1 to P5.
- the acquisition pattern may be generated by the terminal 101 or may be generated by the application 102.
- FIG. 6 is an explanatory diagram showing an example of the contents stored in the data acquisition history accumulation table 600.
- the value of the AA field bbb (AA is a field name and bbb is a code) may be expressed as AAbbb.
- the value of the log ID field 601 is expressed as a log ID 601.
- the data acquisition history accumulation table 600 is a table updated by the data acquisition device 200.
- the data acquisition history storage table 600 is a table in which the data acquisition device 200 stores a history regarding data acquisition from the power NW model DB 104 in response to a data acquisition request from an operator.
- the data acquisition history accumulation table 600 includes a log ID field 601, a user ID field 602, a session ID field 603, a data acquisition request time field 604, a data processing time field 605, a pattern shape field 606, and an attribute value field. 607.
- An entry indicating data acquisition history information is configured by the values of the fields 601 to 607 in the same row.
- the log ID field 601 is a storage area for storing a log ID.
- the log ID 601 is identification information that uniquely identifies an entry indicating data acquisition history information.
- the data acquisition history information corresponds to one data acquisition of a certain worker.
- the user ID field 602 is an area for storing a user ID.
- the user ID 602 is identification information that uniquely identifies a worker who is a user.
- a user ID (which may include a password) 602 is given to the worker by pre-registration.
- the session ID field 603 is a storage area for storing a session ID.
- the session ID 603 is identification information that uniquely identifies a session.
- the session refers to a state from when an operator logs in to the data acquisition apparatus 200 until logout. That is, during the session, the worker can transmit a data acquisition request from the terminal 101 many times.
- the data acquisition request time field 604 is a storage area for storing the data acquisition request time.
- the data acquisition request time 604 is the time when the data acquisition request is made. Specifically, for example, it may be a transmission time of a data acquisition request from the terminal 101 or a reception time of a data acquisition request in the data acquisition device 200.
- the time t1 in the time chart of FIG. 6 is the data acquisition request time 604 in the first data acquisition request R1 after a certain user logs in, and the time t2 is the data acquisition request in the second data acquisition request R2 of a certain user. It is time 604.
- the data processing time field 605 is a storage area for storing the data processing time.
- the data processing time 605 is the time from when the data access function 131 accesses the power NW model DB 104 by a data acquisition request until the corresponding data is read out, converted into XML data, and output (data conversion Time).
- the time TP1 in the time chart of FIG. 6 is the data processing time 605 from the data acquisition request time 604 (t1) in the first data acquisition request R1 after login of a certain user to the output of XML data
- the time TP2 is This is the data processing time 605 from the data acquisition request time 604 (t2) in the second data acquisition request R2 of a user to the output of XML data.
- the pattern shape field 606 is a storage area for storing the pattern shape.
- the pattern shape 606 is identification information indicating, for example, the graphic shown in FIG.
- the attribute value field 607 is a storage area for storing attribute values.
- the attribute value 607 includes a voltage that is the electrical characteristic information 406, a point serving as a reference for the pattern shape 606 (point A in FIG. 5), and an acquisition range.
- the acquisition range is the range of the XY plane encompassed by the pattern shape 606. For example, if the pattern shape 606 is a circle, it is the diameter D of the circle. That is, the pattern shape 606 determines the shape of the acquired pattern, and the attribute value 607 determines the range of the acquired pattern.
- FIG. 7 is an explanatory diagram of an example of the contents stored in the data acquisition estimation table.
- the data acquisition estimation table 700 is a table updated by the data acquisition device 200.
- the data acquisition history accumulation table 600 is used to estimate data acquisition by the next data acquisition request before the next data acquisition request when the data acquisition device 200 receives a data acquisition request from an operator. It is a table.
- the data acquisition estimation table 700 includes a step number field 701, a user ID field 602, a pattern shape field 606, a representative attribute value field 702, and a next acquisition timing array field 703.
- An entry indicating data acquisition estimation information for estimating the next acquisition pattern is configured by the value of each field in the same row.
- the step number field 701 is a storage area for storing a step number. Step number 701 is identification information for uniquely identifying a data acquisition request.
- the representative attribute value field 702 is a storage area for storing the representative attribute value 702.
- the representative attribute value 702 is a value that represents the attribute value 607, and is, for example, a statistical attribute value.
- the statistical attribute value is an average value, a minimum value, a maximum value, or a median value of the attribute values 607.
- the representative attribute value 702 includes a representative voltage and a representative acquisition range.
- the representative voltage is a statistical voltage value, for example, an average value, a minimum value, a maximum value, or a median value of the voltage values.
- the representative acquisition range is a statistical acquisition range, for example, an average value, minimum value, maximum value, or median value of the acquisition range (for example, if the pattern shape 606 is a circle, the diameter D of the circle). .
- the attribute value 607 in the data acquisition history accumulation table 600 of FIG. 6 includes a voltage, a point, and an acquisition range, but the representative attribute value 702 does not include a point. Therefore, in the case of acquiring in advance, the position information specified in the immediately preceding data acquisition request is used.
- the next acquisition timing array field 703 is a storage area for storing zero or more next acquisition timing arrays.
- the next acquisition timing array 703 includes a step number 701 indicating a next estimated data acquisition request that is a data acquisition request estimated to arrive next, and a representative acquisition time (unit: minutes, for example) by the next estimated data acquisition request. , Selection probability, and array data. For example, when the next acquisition timing array 703 is [U003] [1] [70], the top [U003] is the step number 701, the central [1] is the representative acquisition time, and the last [70]. Is the selection probability. In the next acquisition timing array field 703, one or more next acquisition timing arrays 703 are stored, but the last data acquisition request is “NULL” because there is no next estimated data acquisition request.
- the representative acquisition time is a representative value of acquisition time.
- the acquisition time is from the data acquisition request time 604 (for example, t1) in a certain acquisition request until the next estimated data acquisition request is received, that is, until the data acquisition request time 604 (for example, t2) in the next estimated data acquisition request. (E.g., Ta2).
- the time from the login time t0 to the first data acquisition request time 604 (t1) is defined as an acquisition time Ta1.
- there is no next data acquisition request for the last data acquisition request there is no acquisition time.
- the acquisition time Ta3 does not exist, and therefore the acquisition time Ta3 does not exist.
- the representative value of the acquisition time is a statistical acquisition time, for example, an average value, a minimum value, a maximum value, or a median value of the acquisition times.
- the selection probability is a probability that an acquisition pattern (a combination of the pattern shape 606 and the representative attribute value 702) that will be specified in the next estimation data acquisition request is selected next time by the user. For example, there are two next acquisition timing arrays 703 in the entry whose step number 701 is “U001”: ⁇ [U003] [1] [70], [U004] [1] [30] ⁇ . In the first next acquisition timing array 703 ⁇ [U003] [1] [70] ⁇ , the data acquisition request of [U003] having the step number 701 is logged in (the pattern shape 606 and the representative attribute value 702 are “NULL”). 1] means that it is selected with a probability of [70]% when the time elapses.
- the data acquisition request of [U004] having the step number 701 is logged in (the pattern shape 606 and the representative attribute value 702 are “NULL”). Means that it is selected with a probability of [30]% when the time of [1] elapses.
- next acquisition timing arrays 703 there are two next acquisition timing arrays 703 in the entry whose step number 701 is “U003”, ⁇ [U008] [5] [90], [U010] [7] [10] ⁇ .
- the data acquisition request of [U008] with step number 701 is [5] from the data acquisition request of “U003” with step number 701. Means that it is selected with a probability of [90]%.
- next acquisition timing array 703 ⁇ [U010] [7] [10] ⁇ at the end indicates that the data acquisition request of [U010] with the step number 701 is changed from the data acquisition request of “U003” with the step number 701 [ 7] means that it is selected with a probability of [10]% when the time elapses.
- an entry whose pattern shape 606 and representative attribute value 607 is “NULL” is an entry that the user refers to for the first time when starting a session with the data acquisition apparatus 200.
- the entry whose next acquisition timing array 703 is “NULL” is an entry indicating that there is no next data acquisition request (step number 701).
- FIG. 8 is an explanatory diagram of an example of stored contents of the step information management table.
- the step information management table 800 is a table that is updated by the data acquisition device 200.
- the step information management table 800 is a table for managing a step number 701 indicating a data acquisition request for each user.
- the step information management table 800 has a user ID field 602, a step number field 701, and a previous step number field 801. An entry indicating step management information is configured by the value of each field in the same row.
- the previous step number field 801 is a storage area for storing the previous step number 801.
- the previous step number 801 is a step number 701 indicating a data acquisition request immediately before the data acquisition request corresponding to the step number 701.
- FIG. 9 is an explanatory diagram of an example of stored contents of the pre-acquired information management table.
- the pre-acquisition information management table 900 is a table that is updated by the data acquisition apparatus 200 through a pre-acquisition process (described later in FIG. 22).
- the prior acquisition information management table 900 is a table for managing data acquired in advance for each user.
- the prior acquisition information management table 900 includes a user ID field 602, a pattern shape field 606, an attribute value field 607, and a preliminary acquisition data field 901.
- An entry indicating pre-acquired information is configured by the value of each field in the same row.
- the advance acquisition data field 901 is a storage area for storing advance acquisition data.
- the pre-acquisition data 901 is data acquired in advance by the data access function 131 accessing the power NW model DB 104, and an acquisition pattern (pattern shape 606 and the same entry of the same entry) specified by the user ID 602 is specified. Data included in the attribute value 607 combination).
- FIG. 10 is an explanatory diagram of an example of stored contents of the activation timing management table.
- the activation timing management table 1000 is a table that is updated by the data acquisition device 200.
- the activation timing management table 1000 is a table for managing activation timing for each user.
- the activation timing management table 1000 has a user ID field 602 and an activation timing field 1001. An entry indicating activation timing information is configured by the value of each field in the same row.
- the activation timing field 1001 is a storage area for storing activation timing. When the session ends, the value of the activation timing field 1001 of the user ID 602 is deleted.
- the activation timing 1001 is a timing at which the pre-acquisition function 133 is activated to cause the data access function 131 to acquire data from the power NW model DB 104.
- the representative acquisition time of the next acquisition timing array 703 having the highest selection probability among the next acquisition timing arrays 703 of the entry of the corresponding step number 701 is the start timing 1001. Applied.
- an entry whose step number 701 is “U001” includes two next acquisition timing arrays 703 ⁇ [U003] [1] [70], [U004] [1] [1] [ 30] ⁇ . Since the highest selection probability is [70] in the next next acquisition timing array 703 ⁇ [U003] [1] [70] ⁇ , the highest next selection probability array 703 ⁇ [U003] [1] [70] ⁇ The representative acquisition time [1] is applied to the activation timing 1001.
- the point of time 701 is the time point that is the same user ID 602 and the average value of the data processing time 605 in the same pattern shape 606 from the time when the representative acquisition time [1] has elapsed since the login. This is the start timing 1001 of the advance acquisition process by the data acquisition request corresponding to U003.
- the entry whose step number 701 is “U003” has two next acquisition timing arrays 703 ⁇ [U008] [5] [90], [U010] [7] [10] ⁇ . Since the highest selection probability is [90] of the next next acquisition timing array 703 ⁇ [U008] [5] [90] ⁇ , the highest next selection probability array 703 ⁇ [U008] [5] [90] ⁇ The representative acquisition time [5] is applied to the activation timing 1001.
- the point in time of the average value of the data processing time 605 in 606 is the start timing 1001 of the pre-acquisition processing by the data acquisition request corresponding to U008 which is step number 701.
- the tables 600, 700, 800, and 900 shown in FIGS. 6 to 9 are realized by the storage device 302 shown in FIG. 3, for example.
- FIG. 11 is a block diagram illustrating a functional configuration example of the data acquisition device 200.
- the data acquisition device 200 includes a reception unit 1101, a conversion unit 1102, a transmission unit 1103, a learning unit 1104, a specifying unit 1105, a pre-acquisition unit 1106, and a setting unit 1107.
- the reception unit 1101 to the setting unit 1107 are functions realized by causing the processor 301 to execute the program stored in the storage device 302 illustrated in FIG. 3 or by the communication IF 305, for example. .
- the receiving unit 1101 receives a data acquisition request from the terminal 101.
- the conversion unit 1102 accesses the power NW model DB 104, acquires data corresponding to the data acquisition request received by the reception unit 1101 (a plurality of data having different attributes) from the power NW model DB 104, and stores data in different formats. Convert to (XML data).
- the conversion unit 1102 corresponds to the data access function 131 described above.
- the transmission unit 1103 transmits the XML data obtained by the conversion unit 1102 to the request source, that is, the terminal 101 that is the transmission source of the data acquisition request.
- the learning unit 1104 learns the type of data acquisition request and the acquisition timing that defines the time series order of the data acquisition request for each data acquisition request of the series of data acquisition requests received from the request source.
- the learning unit 1104 corresponds to the pattern learning function 132 described above.
- the request source is the terminal 101 used by the operator to log in to the data acquisition device 200.
- the type of data acquisition request is, for example, an acquisition pattern (a combination of pattern shape 606 and attribute value 607).
- the acquisition timing is, for example, the data acquisition request time 604.
- the learning unit 1104 identifies the user ID 602 and the session ID 603 included in the data acquisition request. Further, the learning unit 1104 measures the data processing time 605 in response to the notification of the completion of the output of the XML data from the conversion unit 1102. Thereby, the learning unit 1104 registers an entry in the data acquisition history accumulation table 600 for each data acquisition request.
- the learning unit 1104 uses the entry registered in the data acquisition history accumulation table 600 to generate and register an entry in the data acquisition estimation table 700. Specifically, the learning unit 1104 generates a learning result using a learning result table.
- FIG. 12 is an explanatory diagram showing an example of a learning result table.
- a learning result table 1200 is generated for each user ID 602.
- the learning result table 1200 includes an acquisition pattern ID column field 1201, a selection count field 1202, a selection probability field 1203, a representative acquisition time field 1204, and a representative attribute value field 702.
- the acquisition pattern ID column field 1201 is a storage area for storing the acquisition pattern ID column.
- the acquisition pattern ID string 1201 is an ID string that identifies a time-series acquisition pattern.
- “P1” is an acquisition pattern ID column 1201 indicating that the acquisition pattern P1 is selected in one data acquisition request and the session is ended.
- “P1-P1-P2” is an acquisition pattern P1 for the first data acquisition request, an acquisition pattern P1 for the second data acquisition request, and an acquisition pattern P2 for the third data acquisition request. It is an acquisition pattern ID column 1201 indicating that the processing has ended.
- the selection number field 1202 is a storage area for storing the number of selections.
- the number of selections 1202 is the number of times that the session has ended in the acquisition pattern ID column 1201, that is, the number of times the acquisition pattern ID column 1201 has been selected.
- the selection probability field 1203 is a storage area for storing the selection probability.
- the selection probability 1203 is a probability that the acquired pattern ID string 1201 is selected.
- the learning unit 1104 calculates a selection probability 1203 using an acquisition pattern ID string 1201 in which a series of acquisition pattern IDs from the head to the previous one are common. However, when the acquisition pattern ID string 1201 includes only one acquisition pattern ID, there is no series of acquisition pattern IDs from the head to the previous one, so the denominator of the selection probability 1203 is the acquisition pattern ID string 1201 “P1 ”To“ P5 ”, and the numerator is the number of selections 1202 of the target acquisition pattern ID column 1201 among the acquisition pattern ID columns 1201“ P1 ”to“ P5 ”.
- the selection probability 1203 of the acquisition pattern ID string 1201 “P1” is 7/10 (70%)
- the selection probability 1203 of the acquisition pattern ID string 1201 “P2” is 3/10 (30%)
- the acquisition pattern ID string The selection probabilities 1203 of 1201 “P3” to “P5” are 0/10 (0%), respectively.
- the learning unit 1104 groups the acquired pattern IDs 1201 having the same acquired pattern ID from the first (first) to the previous (second), and calculates a selection probability 1203 within each group. For example, “P1-P1-P1”, “P1-P1-P2”, “P1-P1-P3”, “P1-P1-P4”, “P1-P1-P5” are 1 from the top (first time). The acquisition pattern ID up to the previous (second) is common to “P1-P1”.
- the denominator of the selection probability 1203 is the sum of the selection times 1202 of the acquisition pattern ID column 1201 “P1-P1-P1” to “P1-P1-P5”, and the numerator is the acquisition pattern ID column 1201 “P1-P1”. This is the number of selections 1202 of the acquisition pattern ID column 1201 that is the target among “-P1” to “P1-P1-P5”.
- the selection probability 1203 of the acquisition pattern ID column 1201 “P1-P1-P1” is 4/10 (40%), and the selection probability 1203 of the acquisition pattern ID column 1201 “P1-P1-P2” is 6/10 ( 60%), the selection probabilities 1203 of the acquired pattern ID columns 1201 “P1-P1-P3” to “P1-P1-P5” are 0/10 (0%), respectively.
- the representative acquisition time field 1204 is a storage area for storing the representative acquisition time.
- the learning unit 1104 refers to the data acquisition history accumulation table 600, and for each acquisition pattern ID column 1201, from the data acquisition request time 604 of the data acquisition request corresponding to the last acquisition pattern ID, The time obtained by subtracting the data acquisition request time 604 of the data acquisition request corresponding to the previous acquisition pattern ID is calculated as the acquisition time. Then, the learning unit 1104 calculates, for example, the average value of the calculated acquisition times as the representative acquisition time 1204.
- the learning unit 1104 sets the pattern shape 606 of the acquired pattern to “P1” ⁇ “P2” ⁇ “P3” for each session ID 603 of the user.
- the entry ending in is identified from the data acquisition history accumulation table 600.
- the learning unit 1104 registers the data acquisition request time 604 of the entry in which the last acquisition pattern ID “P3” is registered as the pattern shape 606 and the previous acquisition pattern ID “P2” as the pattern shape 606.
- the data acquisition request time 604 of the registered entry is acquired, and the acquisition time is calculated.
- the learning unit 1104 executes this acquisition time calculation process for each session whose acquisition pattern ID column 1201 is “P1-P2-P3”, obtains the average value of the calculated acquisition times, and acquires the acquisition pattern ID column 1201.
- the representative acquisition time 1204 of “P1-P2-P3” is assumed.
- the acquisition pattern ID column 1201 with one ID there is no previous acquisition pattern ID, so instead of the data acquisition request time 604 of the data acquisition request corresponding to the previous acquisition pattern ID.
- the login time is applied.
- the representative attribute value 702 is a combination of a representative voltage and a representative acquisition range.
- the representative attribute value 702 is, for example, the average value of the voltage value and the acquisition range when the acquisition pattern indicated by the acquisition pattern ID at the end is selected in each acquisition pattern ID column 1201.
- the learning unit 1104 sets the pattern shape 606 of the acquired pattern to “P1” ⁇ “P2” ⁇ “3” for each session ID 603 of the user.
- the entry ending in is identified from the data acquisition history accumulation table 600.
- the learning unit 1104 acquires the attribute value 607 (excluding the point) of the entry in which the acquisition pattern ID “P3” at the end is registered as the pattern shape 606.
- the learning unit 1104 executes the acquisition processing of the attribute value 607 (excluding the point) for each session whose acquisition pattern ID string 1201 is “P1-P2-P3”, and acquires the acquired attribute value 607 (excluding the point). Is obtained as the representative attribute value 702 of the acquired pattern ID column 1201 “P1-P2-P3”.
- the selection probability 1203, the representative acquisition time 1204, and the representative attribute value 702 are used for entry registration of the data acquisition estimation table 700.
- the specifying unit 1105 displays the learning result by the learning process of the learning unit 1104. Based on the first data acquisition request, the type of the next estimated data acquisition request that can be acquired from the request source and the acquisition timing are specified.
- the specifying unit 1105 corresponds to the advance acquisition function 133 described above.
- the identifying unit 1105 identifies the step number 701 of the next estimated data acquisition request with the selection probability 1203 from the learning result, specifically, the next acquisition timing array 703 of the data acquisition estimation table 700. Then, the specifying unit 1105 specifies the pattern shape 606 and the representative attribute value 702 corresponding to the entry of the step number 701 of the next estimated data acquisition request from the data acquisition estimation table 700 as the next estimated data acquisition request type. Further, the specifying unit 1105 specifies the next estimated data acquisition request time 604 that is the time when the representative acquisition time 1204 has elapsed from the data acquisition request time 604 of the first data acquisition request as the acquisition timing of the next estimated data acquisition request.
- the prior acquisition unit 1106 acquires data corresponding to the next estimated data acquisition request whose type is specified by the specifying process of the specifying unit 1105 from the power NW model DB 104 before the acquisition timing of the next estimated data acquisition request.
- the advance acquisition unit 1106 corresponds to the advance acquisition function 133 described above. Specifically, for example, the advance acquisition unit 1106 controls the conversion unit 1102 to acquire data from the power NW model DB 104 before the acquisition timing of the second data acquisition request.
- the setting unit 1107 starts the advance acquisition process so that the next estimated data acquisition request acquisition timing is after the elapse of the data processing time 605 required to convert the data into a predetermined format (for example, XML format).
- Timing 1001 is set.
- the setting unit 1107 includes the average value of the data processing time 605 for the same user ID 602 and the same pattern shape 606 from the time when the representative acquisition time 1204 has elapsed.
- the retroactive time is set as the activation timing 1001. Thereby, the advance acquisition unit 1106 can execute the advance acquisition process at the activation timing 1001.
- the determination unit 1108 When the second data acquisition request is actually received after the first data acquisition request, the determination unit 1108 includes the type included in the second data acquisition request and the type of the next estimated data acquisition request specified by the specifying process. And whether they match. If they match, the pre-acquisition unit 1106 sends the pre-acquisition result to the transmission unit 1103.
- the conversion unit 1102 acquires data corresponding to the second data acquisition request received by the reception unit 1101 from the power NW model DB 104, converts the data into XML data, and sends the XML data to the transmission unit 1103.
- the identifying unit 1105 identifies the step number 701 of the next estimated data acquisition request that was not selected last time from the next acquisition timing array 703 of the data acquisition estimation table 700 with the selection probability 1203.
- FIG. 13 is a flowchart illustrating an example of a learning process procedure performed by the learning unit 1104.
- the learning unit 1104 waits for learning timing (step S1301: No).
- the learning timing is, for example, irregular timing designated by the user, or regular timing such as daily, weekly, monthly or the like. If it is the learning timing (step S1301: Yes), the learning unit 1104 acquires the target entry group from the data acquisition history accumulation table 600 (step S1302).
- the target entry group is an entry group to be learned and may be all entries in the data acquisition history accumulation table 600, and is limited in advance within a range of values of a certain field in the data acquisition history accumulation table 600. It may be a group of entries.
- step S1303 the learning unit 1104 executes a learning process. Details of the learning process (step S1303) will be described later with reference to FIG. Thereafter, the learning unit 1104 executes a data acquisition estimation table update process (step S1304). Details of the data acquisition estimation table update process (step S1304) will be described later with reference to FIG. Thereby, the learning unit 1104 ends the series of processes.
- FIG. 14 is a flowchart showing a detailed processing procedure example of the learning processing (step S1303) shown in FIG.
- the learning unit 1104 determines whether there is an unselected user ID 602 for the learning target entry group acquired from the data acquisition history accumulation table 600 (step S1401). When there is an unselected user ID 602 (step S1401: Yes), the learning unit 1104 selects an unselected user ID 602 and selects an entry group of the selected user ID 602 from the learning target entry group (step S1402). The learning unit 1104 determines whether there is an unselected session ID 603 for the entry group of the selected user ID 602 (step S1403).
- the learning unit 1104 selects an unselected session ID 603 from the entry group of the selected user ID 602, and selects the entry group of the selected session ID 603 (step S1403). S1404).
- the learning unit 1104 determines whether there is an unselected entry among the entry group of the selected session ID 603 selected in step S1404 (step S1405). When there is an unselected entry (step S1405: Yes), the learning unit 1104 selects an entry that is not selected and has the oldest data acquisition request time 604 from the entry group of the selected session ID 603 (step S1406). Then, the learning unit 1104 identifies the acquisition pattern ID (pattern shape 606), the data acquisition request time 604, and the attribute value 607 from the selection entry in step S1406, and adds them to the end of the acquisition pattern array (step S1407). . Then, the process returns to step S1405. An acquisition pattern array is generated for each entry of the selected session ID 603 through the loop of steps S1405 to S1407.
- step S1405 If there is no unselected entry in step S1405 (step S1405: No), the learning unit 1104 stores the acquired pattern array of the selected user ID 602 and the selected session ID 603, which is finally generated, in the storage device 302. (Step S1408), the process returns to Step S1403.
- step S1403 when there is no unselected session ID 603 for the selected user ID 602 (step S1403: No), the learning unit 1104 executes the aggregation process (step S1409) and the representative value calculation process (step S1410). Details of the aggregation process (step S1409) and the representative value calculation process (step S1410) will be described later with reference to FIGS. 16 and 17, respectively. After the representative value calculation process (step S1410), the process returns to step S1401.
- step S1401 when there is no unselected user ID 602 (step S1401: No), the learning unit 1104 ends the learning process (step S1303) and proceeds to the data acquisition estimation table update process (step S1304).
- FIG. 15 is a flowchart illustrating a detailed processing procedure example of the aggregation processing (step S1409) illustrated in FIG.
- the tabulation process is a process of counting the number of selections 1202 in the learning result table 1200 and calculating an acquisition time that is a calculation source of the representative acquisition time 1204.
- the learning unit 1104 determines whether or not there is an unselected session ID 603 for the acquired pattern array group generated in step S1407 (step S1501). When there is an unselected session ID 603 (step S1501: Yes), the learning unit 1104 selects an unselected session ID 603 and selects an acquisition pattern array (step S1502). Then, the learning unit 1104 identifies a series of acquisition pattern IDs (hereinafter referred to as an acquisition pattern ID string 1201) included in the selection acquisition pattern array (step S1503).
- an acquisition pattern ID string 1201 a series of acquisition pattern IDs
- the learning unit 1104 adds 1 to the selection count 1202 of the specified acquisition pattern ID string 1201 in the learning result table 1200 (step S1504).
- the learning unit 1104 determines whether or not the first to i-th acquisition pattern ID strings 1201 exist in the selection acquisition pattern array (step S1506). If it exists (step S1506: Yes), the learning unit 1104 subtracts the (i-1) -th data acquisition request time 604 from the i-th data acquisition request time 604 of the selected acquisition pattern array to obtain (i-1 ) The acquisition time from the first data acquisition to the i-th data acquisition is calculated (step S1507).
- the learning unit 1104 stores the acquisition time calculated in step S1507 at the i-th data acquisition request time 604 of the selected acquisition pattern array (step S1508). Then, the learning unit 1104 increments i (step S1509) and returns to step S1506.
- step S1506 when there is no i-th acquisition pattern ID string 1201 from the top in the selected acquisition pattern array (step S1506: No), the process returns to step S1501.
- step S1501 when there is no unselected session ID 603 for the acquired pattern array group (step S1501: No), the learning unit 1104 executes a selection probability calculation process (step S1510) and a representative value calculation process (step S1410).
- FIG. 16 is a flowchart showing a detailed processing procedure example of the selection probability calculation process (step S1510) shown in FIG.
- i is a variable indicating the number of IDs included in the acquisition pattern ID string 1201 defined in the learning result table 1200.
- the learning unit 1104 determines whether there is an acquisition pattern ID string 1201 with i IDs (step S1602).
- the case where there are i acquisition pattern ID columns 1201 means a case where there are i acquisition pattern ID columns 1201 having a selection count 1202 of 1 or more.
- the acquisition pattern ID columns 1201 “P1-P1-P1” and “P1-P3-P2” have the acquisition pattern IDs “P1-P1” and “P1-P3” from the top to the second (i ⁇ 1) th.
- i 1, since there are no (i ⁇ 1) th acquired pattern IDs from the top, “P1” to “P5” are grouped into the same group.
- the learning unit 1104 determines whether there is an unselected group (step S1604). When there is an unselected group (step S1604: Yes), the learning unit 1104 selects one unselected group (step S1605). Then, the learning unit 1104 calculates the selection probability 1203 of each acquired pattern ID string 1201 with the number of IDs i in the selected group, and stores it in the learning result table 1200 (step S1606). Then, the process returns to step S1604.
- step S1604 when there is no unselected group (step S1604: No), the learning unit 1104 increments i (step S1607) and returns to step S1602.
- step S1602 when there is no acquisition pattern ID string 1201 with i IDs (step S1602: No), the learning unit 1104 ends the selection probability calculation process (step S1510) and the representative value calculation process (step S1410). ).
- FIG. 17 is a flowchart showing a detailed processing procedure example of the representative value calculation processing (step S1410) shown in FIG.
- the learning unit 1104 calculates a representative acquisition time 1204 and a representative attribute value 702.
- the learning unit 1104 performs grouping using the same selection / acquisition pattern ID string 1201 (step S1704). Then, the learning unit 1104 determines whether there is an unselected group (step S1705). When there is an unselected group (step S: Yes), the learning unit 1104 selects one unselected group (step S1706).
- the learning unit 1104 specifies each acquisition time from the (i-1) th data acquisition to the i-th data acquisition from the selection acquisition pattern ID string 1201 in the selection group, and from the specified acquisition time, the representative An acquisition time 1204 is calculated (step S1707). Similarly, the learning unit 1104 identifies each i-th attribute value 607 from the selection acquisition pattern ID string 1201 in the selected group, and calculates a representative attribute value 607 from each identified attribute value 607 (step S1708). . Then, the process returns to step S1705.
- step S1705 when there is no unselected group (step S1705: No), it returns to step S1702. If there is no i-th acquired pattern ID string 1201 from the beginning in step S1702 (step S1702: No), the learning unit 1104 ends the representative value calculation process (step S1610), returns to step S1401, and sets the user ID 602. change.
- FIG. 18 is a flowchart showing a detailed processing procedure example of the data acquisition estimation table update processing (step S1304) shown in FIG.
- the data acquisition estimation table update process (step S1304) is a process for updating the data acquisition estimation table 700 shown in FIG.
- the variable i indicates the time series order of the acquisition pattern ID and also corresponds to the time series order of the step number 701.
- the learning unit 1104 numbers the initial step number 701 and sets it as the registration target step number 701 (step S1804). For example, as shown in FIG. 7, when the selected user ID 602 is “A0001”, “U001” is assigned as the initial step number 701.
- the learning unit 1104 determines whether or not there is an acquired pattern ID string 1201 in which the number of selections 1202 is 1 or more and the number of IDs is (i + 1) in the learning result table 1200 selected in step S1802 (step S1802). S1805). If it exists (step S1805: No), the learning unit 1104 takes the next step number 701 for each of the acquired pattern ID strings 1201 having the selection count 1202 of 1 or more and the number of IDs (i + 1). The next acquisition timing array 703 is generated (step S1806).
- the acquired pattern ID string 1201 having one ID corresponding to step S1805 is “P1” (the selection count 1202 is seven, the selection probability 1203 is 70%, representative The acquisition time 1204 is “1”) and “P2” (the number of selections 1202 is 3, the selection probability 1203 is 30%, and the representative acquisition time 1204 is “1”).
- the learning unit 1104 assigns the next step number 701 ⁇ U003, U004 ⁇ to each of “P1” and “P2”, and uses ⁇ [U003] [1] [70], [[ U004] [1] [30] ⁇ .
- the learning unit 1104 the initial step number 701 (registration target step number 701) numbered in step S1804, the selected user ID 602, the acquisition pattern ID (NULL), and the representative attribute
- An entry including the value 702 (NULL) and the next acquisition timing array 703 generated in step S1806 is registered in the data acquisition estimation table 700 (step S1808). Then, control goes to a step S1810.
- step S1807 determines whether i is 0 in step S1807 (step S1807: No) or not 0 in step S1807 (step S1807: No).
- step S1807: No the registration target step number 701, the selected user ID 602 set in step S1810 of the previous loop, and the acquisition pattern confirmed to exist in step S1805.
- An entry consisting of the i-th acquisition pattern ID in the ID column 1201, the i-th representative attribute value 702 in the acquisition pattern ID column 1201 whose existence has been confirmed in step S1805, and the next acquisition timing array 703 generated in step S1806 is stored as data.
- Register in the acquisition estimation table 700 step S1809). Then, the process proceeds to step S1810.
- the i-th acquisition pattern ID in the acquisition pattern ID column 1201 is the acquisition pattern ID at the end of the acquisition pattern ID column 1201.
- the learning unit 1104 acquires the i-th representative attribute value 702 in the acquisition pattern ID string 1201 whose existence is confirmed in step S 1805 from the acquisition pattern array including the acquisition pattern ID string 1201.
- step S1810 the learning unit 1104 sets the next step number 701 numbered in step S1806 as the registration target step number 701 (step S1810). Then, the learning unit 1104 increments i (step S1811) and returns to step S1805.
- step S1805 in the learning result table 1200 selected in step S1802, when the number of selections 1202 is 1 or more and the acquired pattern ID string 1201 with the number of IDs (i + 1) does not exist (step S1805: No), step The process moves to S1811.
- step S1811 the learning unit 1104 has the registration target step number 701, the selected user ID 602 set in step S1810 of the previous loop, the acquired pattern ID string 1201 whose existence has been confirmed in step S1805 of the previous loop.
- step S1801 when there is no unselected user ID 602, the learning unit 1104 ends the data acquisition estimation table update process (step S1304).
- FIG. 19 is a flowchart illustrating a detailed processing procedure example 1 of the data acquisition processing by the data acquisition device 200.
- the data acquisition apparatus 200 waits for login detection of the terminal 101 (step S1901: No).
- the data acquisition device 200 acquires the user ID 602 from the terminal 101 and newly issues a session ID 603 (step S1902).
- the data acquisition device 200 determines whether or not the entry of the acquisition user ID 602 in step S1902 exists in the data acquisition estimation table 700 (step S1903).
- step S1903 when the entry of the acquisition user ID 602 in step S1902 exists in the data acquisition estimation table 700 (step S1903: Yes), data can be acquired in advance.
- the data acquisition apparatus 200 acquires an entry whose acquisition pattern ID and representative attribute value 607 are NULL and matches the acquisition user ID 602 from the data acquisition estimation table 700 (step S1904). Then, the data acquisition apparatus 200 sets the activation timing 1001 of the advance acquisition process (FIG. 23) (step S1905).
- the data acquisition apparatus 200 specifies the step number 701 of the next acquisition timing array 703 including the highest selection probability from the next acquisition timing array field 703 in the entry acquired in step S1904, and corresponds to the entry of the specified step number 701.
- An acquisition pattern pattern shape 606 and representative attribute value 702 is specified from the data acquisition estimation table 700.
- the data acquisition device 200 sets the activation timing 1001 for the specified acquisition pattern.
- the set activation timing 1001 is managed for each user ID 602 in the activation timing management table 1000 of FIG. Details of the setting of the activation timing 1001 of the pre-acquisition process (FIG. 23) have been described with reference to the timing chart of FIG.
- the data acquisition apparatus 200 stores the step information in the step information management table 800 shown in FIG. 8 (step S1906).
- the step information includes the acquisition user ID 602, the step number 701 (the step number 701 of the highest selection probability in the next acquisition timing array 703 of the acquisition entry in step S1904), and the previous step number 801 (in step S1904). Step number 701) of the acquisition entry. Then, the process proceeds to step S2001 in FIG.
- step S1901: Yes only after login detection (step S1901: Yes), that is, when no data acquisition request has been received from the login terminal 101 even after login detection (step S1907: No), Instead of step S2001 in step 20, the process proceeds to step S1907.
- step S1903 if it does not exist (step S1903: No), the data acquisition apparatus 200 determines whether a data acquisition request is received from the login terminal 101 (step S1907). If received (step S1907: YES), the data acquisition device 200 executes data acquisition / history accumulation processing (step S1908), and proceeds to step S1909. Details of the data acquisition / history accumulation processing (step S1908) will be described later with reference to FIG. If not received (step S1907: NO), the process proceeds to step S1909.
- step S1909 when logout is not detected (step S1909: No), the process returns to step S1903, and when logout is detected (step S1909: Yes), a series of processing ends.
- FIG. 20 is a flowchart showing a detailed processing procedure example 2 of the data acquisition processing by the data acquisition device 200.
- the data acquisition apparatus 200 stores the user ID 602 and the acquisition pattern (pattern shape 606 and attribute value included in the data acquisition request received in step S1907 in the pre-acquisition information management table 900 illustrated in FIG. 9. It is determined whether there is an entry corresponding to (607) (step S2001). In other words, the data acquisition device 200 determines whether or not the acquisition pattern in which the activation timing 1001 is set in steps S1905 and S1906 matches the acquisition pattern included in the data acquisition request received in step S1907. become.
- step S2001 Yes
- the data acquisition device 200 acquires the corresponding pre-acquisition data 901 from the pre-acquisition information management table 900 and transmits it to the login terminal 101 (step S2002).
- the data acquisition device 200 registers data acquisition history information (user ID 602, session ID 603, data acquisition request time 604, data processing time 605, pattern shape 606, attribute value 607) in the data acquisition history accumulation table 600 (step S2003). ).
- the user ID 602 is the user ID 602 acquired in step S1902 and included in the data acquisition request in step S1907.
- the session ID 603 is the session ID 603 issued in step S1902.
- the data acquisition request time 604 is the time of the data acquisition request in step S1907.
- the data processing time 605 is the time from the data acquisition request time 604 to the completion of data acquisition, that is, output of XML data.
- the pattern shape 606 and the attribute value 607 are the pattern shape 606 and the attribute value 607 included in the data acquisition request in step S1907.
- the data acquisition device 200 sets the next activation timing 1001 of the pre-acquisition process (FIG. 23) (step S2004) and stores the step information in the step information management table 800 (step S2005), as in steps S1905 and S1906.
- the set activation timing 1001 is managed for each user ID 602 in the activation timing management table 1000 of FIG.
- the data acquisition apparatus 200 updates the step number 701 in the entry of the acquisition user ID 602 to the step number 701 of the highest selection probability in the next acquisition timing array 703 of the acquisition entry of the step number 701.
- the previous step number 801 is updated to the previous step number 701.
- the process returns to step S1907 in FIG.
- step S2001: No when there is no entry in the pre-acquisition information management table 900 in step S2001 (step S2001: No), other acquisition patterns that are not acquisition patterns of the highest selection probability 1203 in the data acquisition request received in step S1907. Means that is selected.
- step S2001: No the data acquisition device 200 executes data acquisition / history accumulation processing (step S2006).
- step S2006 Data acquisition / history storage processing (step S2006) is the same processing as step S1908.
- the data acquisition device 200 acquires the previous step number 801 in the entry of the acquisition user ID 602 from the step information management table 800 (step S2007). Then, the data acquisition apparatus 200 determines whether or not the next acquisition timing array 703 corresponding to the previous step number 801 acquired in step S2007 exists in the entry acquired in S1904 (step S2008).
- step S2008: No If it does not exist (step S2008: No), the process returns to step S1907 in FIG. 19, and the data acquisition device 200 waits for a data acquisition request.
- step S2008: Yes the data acquisition device 200 acquires one next acquisition timing array 703 corresponding to the previous step number 801 acquired in step S2007 (step S2009). Then, the data acquisition device 200 determines whether there is an acquisition pattern requested for acquisition in the entry of the transfer destination step number 701 in the next acquisition timing array 703 acquired in step S2009 in the data acquisition estimation table 700. (Step S2010).
- step S2010: No If there is no acquisition pattern (step S2010: No), the process returns to step S1907 in FIG. 19, and the data acquisition apparatus 200 waits for a data acquisition request.
- step S2010: Yes the acquisition pattern corresponds to the entry registered in the data acquisition / history accumulation process (step S2006). Therefore, the data acquisition apparatus 200 updates the step number 701 in the step information management table 800 to the transfer destination step number 701 in step S2010 to acquire in advance the data acquired next to the pattern shape 606 (step S2011). ), The next activation timing 1001 of the advance acquisition process (FIG. 23) is set using the updated transfer destination step number 701 (step S2012). Then, control goes to a step S1907. As a result, the next activation timing 1001 of the pre-acquisition process is set for another acquisition pattern that is not the acquisition pattern of the highest selection probability.
- FIG. 21 is an explanatory diagram of an example of transfer of the acquired pattern sequence.
- FIG. 21 is a tree structure of step number 701 in the next acquisition timing array 703 of the user ID: A001 shown in FIG. 7 (step number 701 is a node, and transition of step field 701 is a link). The number associated with the link is the selection probability.
- the step number [U001] which is the highest node is the step number 701 when the user with the user ID: A001 logs in.
- the user selects the acquisition pattern of step [U003] with a probability of 70%, and selects the acquisition pattern of step [U004] with a probability of 30%.
- the data acquisition apparatus 200 acquires the entry in the first row of FIG. 7 from the data acquisition estimation table 700 in step S1904 of FIG. 19, and acquires the step number [U003] that is the highest selection probability (70%) in step S1905.
- the start timing 1001 of the advance acquisition process is set for the pattern.
- the data acquisition apparatus 200 stores the selected step number [U003] as the step number 701 in the step information management table 800, and the previous step number 801 as the step number [U001] before the selection. Is stored.
- step S2001 the data acquisition device 200 determines whether or not the acquisition pattern in the actually received data acquisition request matches the acquisition pattern in step [U003]. If they match (step S2001: Yes), the data acquisition apparatus 200 transmits data corresponding to the acquisition pattern of step [U003] acquired in advance at the start timing 1001 in step S1905 to the terminal 101 of the user with the user ID: A001. (Step S2002).
- step S2001 determines that there is a mismatch in step S2001 (step S2001: No)
- the data requested by the user is not data corresponding to the acquisition pattern of step [U003] acquired in advance at activation timing 1001 in step S1905. Means. Therefore, the data acquisition device 200 acquires data corresponding to the actual data acquisition request from the power NW model DB 104 and accumulates the history (step S2006). As a result, even when the prediction is lost, the subsequent prediction accuracy (selection probability 1203) can be improved by accumulating and learning as past data.
- the data acquisition device 200 acquires [U001] as the previous step number 801 of the acquisition user ID 602 from the step information management table 800 in step S2007.
- the data acquisition apparatus 200 determines whether the next acquisition timing array 703 corresponding to the acquired previous step number [U001] is in the data acquisition estimation table 700.
- Step S2008: Yes since the next acquisition timing array 703 of the step number [U003] with a selection probability of 30% that has not been selected last time exists (step S2008: Yes), the data acquisition device 200 has the next acquisition timing array 703 ⁇ Step number [U004] is selected from [U004] [1] [30] ⁇ (step S2009). The selected step number [U004] is the “migration destination step number 701”.
- step S1907 the data acquisition apparatus 200 sets the entry of the transfer destination step number [U004] in ⁇ [U004] [1] [30] ⁇ that is the next acquisition timing array 703 in the data acquisition estimation table 700 in step S1907. It is determined whether there is an acquisition pattern for which a data acquisition request has been made (step S2010). If it exists (step S2010: Yes), it means that the acquisition pattern requested for data acquisition in step S2005 matches the acquisition pattern of step number [U004]. Therefore, the data acquisition apparatus 200 updates the step number 701 from the step number [U003] to the transfer destination step number [U004] in the entry of the user ID: A001 in the step information management table 800.
- the data acquisition apparatus 200 performs an advance acquisition process for the acquisition pattern for the entry corresponding to the step number 701 ([U011]) of the highest selection probability (65%) in the next acquisition timing array 703 of the step number [U004].
- the activation timing 1001 is set (step S2012).
- the data acquisition apparatus 200 can switch from the route [U001] ⁇ [U003] to be acquired in advance to the route [U001] ⁇ [U004] in accordance with the data acquisition request actually received. In this way, in order to execute the pre-acquisition process following the user's actual data acquisition request, it is possible to continue the pre-acquisition by the transfer in the case where the acquisition pattern to be acquired in advance is not predicted. it can.
- FIG. 22 is a flowchart illustrating a detailed processing procedure example of the data acquisition / history accumulation processing (steps S1908 and S2006) illustrated in FIGS. 19 and 20.
- the data acquisition / history accumulation processing (steps S1908, S2006) acquires data corresponding to the acquisition pattern (a combination of the pattern shape 606 and the attribute value 607) selected in the data acquisition request, and uses the history as the data acquisition history. This is a process of accumulating in the accumulation table 600.
- the data acquisition device 200 transmits a data acquisition request to the power NW model DB 104 and acquires the data acquisition request time 604 (step S2201).
- the data acquisition device 200 acquires data corresponding to the acquisition pattern (pattern shape 606 and attribute value 607) of the data acquisition request from the power NW model DB 104 (step S2202), and converts it into XML data (step S2203).
- the data acquisition device 200 calculates the time from the data acquisition request time 604 to the output of the XML data in step S2203 as the data processing time 605 (step S2204).
- the data acquisition device 200 transmits the converted XML data to the login terminal 101 (step S2205). Then, the data acquisition device 200 registers data acquisition history information (user ID 602, session ID 603, data acquisition request time 604, data processing time 605, pattern shape 606, attribute value 607) in the data acquisition history accumulation table 600 (step S2206). As a result, a series of processing ends.
- data acquisition history information user ID 602, session ID 603, data acquisition request time 604, data processing time 605, pattern shape 606, attribute value 607
- FIG. 23 is a flowchart illustrating a detailed processing procedure example of the data pre-acquisition processing.
- the data pre-acquisition process is started at the start timing 1001 set in steps S1905, S2004, and S2012, and starts the process.
- the data acquisition device 200 waits until the start timing 1001 is reached (step S2301: No).
- the data acquisition apparatus 200 acquires the step number 701 in the entry of the acquisition user ID 602 in step S1902 from the step information management table 800 (step S2302).
- the data acquisition device 200 acquires the pattern shape 606 and the representative attribute value 702 in the entry of the acquisition step number 701 from the data acquisition estimation table 700 (step S2303).
- the data acquisition device 200 acquires data satisfying the pattern shape 606 and the representative attribute value 702 from the power NW model DB 104 (step S2304). Then, the data acquisition device 200 converts the acquired data into XML data and sets it as pre-acquisition data 901 (step S2305). The data acquisition apparatus 200 registers the pre-acquisition information (user ID 602, pattern shape 606, attribute value 607, pre-acquisition data 901) in the prior acquisition information management table 900 (step S2306).
- the data acquisition device 200 waits for the pre-acquisition data 901 to be processed, that is, read from the pre-acquisition information management table 900 in step S2002 and transmitted to the login terminal 101 (step S2307: No). ).
- the data acquisition device 200 deletes the entry from the pre-acquisition information management table 900 (step S2308).
- the data acquisition device 200 may delete the entry of the user ID 602 from the pre-acquisition information management table 900.
- the data required at that time is prefetched, it is possible to immediately respond to the request source terminal 101 when a data acquisition request is made. In particular, it is useful when it takes time to acquire data such as conversion to XML data.
- Embodiment 2 is an example in which data required by a new user who has not accumulated data acquisition history information is estimated, and data is acquired in advance at a necessary timing.
- the data acquisition device 200 learns for each application ID. Data required by a new user is estimated based on the result, and data is acquired in advance at the necessary timing. That is, since the tendency of a new user is not known, the data acquisition apparatus 200 estimates the tendency by the application 102 to be used and acquires in advance. This speeds up the data response to the new user.
- it since it demonstrates based on the process of Example 1 here, it demonstrates paying attention to a different location.
- FIG. 24 is an explanatory diagram of an example of stored contents of the data acquisition history accumulation table 600 according to the second embodiment.
- the data acquisition history accumulation table 600 is a table in which an application ID field 2401 is added to the data acquisition history accumulation table 600 of the first embodiment.
- An application ID field 2401 is a storage area for storing an application ID.
- the application ID 2401 is identification information that uniquely identifies the application 102.
- FIG. 25 is an explanatory diagram of an example of stored contents of the second data acquisition estimation table.
- the data acquisition estimation table 700 of the first embodiment is referred to as a “first data acquisition estimation table 700”.
- the second data acquisition estimation table 2500 is a table in which the user ID field 602 of the first data acquisition estimation table 700 is replaced with an application ID field 2401.
- FIG. 26 is a flowchart of a detailed process procedure example 1 of the data acquisition process performed by the data acquisition apparatus 200 according to the second embodiment.
- the data acquisition device 200 waits for login detection of the terminal 101 (step S2601: No).
- the data acquisition apparatus 200 acquires the user ID 602 and the application ID 2401 being used from the terminal 101, and newly issues a session ID 603 (step S2602).
- step S2603 determines whether the entry of the acquisition user ID 602 in step S2602 exists in the first data acquisition estimation table 700 (step S2603). If it does not exist (step S2603: NO), data cannot be acquired in advance for the acquired user ID 602, and the process proceeds to step S2604. When it exists (step S2603: Yes), the process proceeds to step S2605.
- step S2604 the data acquisition device 200 determines whether an entry of the acquisition application ID 2401 exists in the second data acquisition estimation table 2500 (step S2604).
- step S2603 or S2604 when the entry of the acquisition user ID 602 or application ID 2401 in step S2602 exists in the first data acquisition estimation table 700 or the second data acquisition estimation table 2500 (step S2603: Yes, S2604: Yes), Data can be acquired in advance.
- the data acquisition apparatus 200 includes an entry whose acquisition pattern ID and representative attribute value 702 are NULL and matches the acquisition ID (step S2603: user ID 602 if Yes, step S2604: application ID 2401 if Yes). Obtained from the data acquisition estimation table 700 (first data acquisition estimation table 700 for user ID 602, second data acquisition estimation table 2500 for application ID 2401) (step S2605).
- the data acquisition device 200 sets the start timing 1001 of the pre-acquisition process (FIG. 23) (step S2606).
- the set activation timing 1001 is managed for each user ID 602 in the activation timing management table 1000 of FIG. Details of the setting of the activation timing 1001 of the pre-acquisition process (FIG. 23) have been described with reference to the timing chart of FIG.
- the data acquisition device 200 stores the step information in the step information management table 800 shown in FIG. 8 (step S2607).
- the step information includes the acquisition user ID 602, the step number 701 (the step number 701 of the highest selection probability in the next acquisition timing array 703 of the acquisition entry in step S2605), and the previous step number 801 (in step S2605). Step number 701) of the acquisition entry. Then, the process proceeds to step S2001 in FIG.
- step S2601: Yes only after login detection (step S2601: Yes), that is, when no data acquisition request has been received from the login terminal 101 even after login detection (step S2608: No), Instead of 20 step S2001, the process proceeds to step S2608.
- step S2604 when there is no entry of the acquisition application ID 2401 (step S2604: No), the process proceeds to step S2608.
- the data acquisition device 200 determines whether a data acquisition request has been received from the login terminal 101 (step S2608). If not received (step S2608: No), the process proceeds to step S2600. If received (step S2608: Yes), the data acquisition device 200 executes data acquisition / history accumulation processing (step S2609), and proceeds to step S2600.
- the data acquisition / history storage process (step S2609) is the same as the data acquisition / history storage process (step S1908) shown in FIG. 22 except that the application ID is also registered as data acquisition history information. .
- step S2600 it is determined whether or not logout of the login terminal 101 has been detected.
- step S2600: No the process returns to step S2603, and when logout is detected (step S2600: Yes), a series of processing ends.
- the data acquisition apparatus 200 estimates the tendency using the application 102 to be used and acquires in advance, thereby speeding up the data response to the new user. be able to.
- the application ID 2401 and the application ID field 2401 have been described.
- the function ID and function ID field of the application 102, or the organization ID and organization ID field to which the user belongs may be replaced.
- Embodiment 3 is an example (difference acquisition) in which data excluding duplicate portions is acquired in advance when there is already acquired data in the data acquired in advance in Embodiment 1. If there is already acquired data in the data acquired in advance in the next step, the data conversion processing acquired from the power NW model DB 104 can be reduced if the data is acquired in advance excluding the overlapping part with the data in the previous step. The response can be speeded up. In addition, since it demonstrates based on the process of Example 1 here, it demonstrates paying attention to a different location.
- FIG. 27 is an explanatory diagram of an example of preliminary data acquisition according to the third embodiment.
- the user acquires data by selecting an acquisition pattern of a circle having a diameter of 3 km in the first data acquisition request.
- the data acquisition device 200 changes the acquisition pattern of a circle with a diameter of 5 km from the acquisition pattern of a circle with a diameter of 5 km.
- Data is acquired from the power NW model DB 104 for the excluded range (in this case, a donut shape). Then, the data acquisition device 200 merges the first acquired data (XML data) and the current (second) XML data and returns the merged data to the terminal 101.
- the data acquisition device 200 acquires a second circle with a diameter of 5 km from the acquisition pattern of a circle with a diameter of 7 km.
- Data is acquired from the power NW model DB 104 for a range excluding the pattern (in this case, a donut shape is also obtained).
- the data acquisition device 200 merges the acquired data (XML data) after the second merge and the current (third) XML data and returns the merged data to the terminal 101.
- FIG. 28 is a flowchart of a detailed process procedure example of the data pre-acquisition process according to the third embodiment.
- the data pre-acquisition process is started at the start timing 1001 set in steps S1905, S2004, and S2012, and starts the process.
- the data acquisition device 200 waits until the start timing 1001 (step S2801: No).
- the data acquisition device 200 acquires the step number 701 and the previous step number 801 in the entry of the acquisition user ID 602 in step S1902 from the step information management table 800 (step S2802).
- the data acquisition apparatus 200 includes the pattern shape 606 and the representative attribute value 702 (acquisition pattern) in the entry of the acquisition step number 701, and the pattern shape 606 and the representative attribute value 702 (previous acquisition pattern) in the acquired entry of the previous step number 801. Is acquired from the data acquisition estimation table 700 (step S2803).
- the data acquisition apparatus 200 determines whether the acquisition pattern and the previous acquisition pattern overlap (step S2804). When not overlapping (step S2804: No), the data acquisition device 200 acquires data satisfying the pattern shape 606 and the representative attribute value 702 from the power NW model DB 104 (step S2805). Then, the data acquisition device 200 converts the acquired data into XML data and sets it as pre-acquisition data 901 (step S2806). The data acquisition apparatus 200 registers the pre-acquisition information (user ID 602, pattern shape 606, attribute value 607, pre-acquisition data 901) in the pre-acquisition information management table 900 (step S2807). Thereafter, the process proceeds to step S2812.
- pre-acquisition information user ID 602, pattern shape 606, attribute value 607, pre-acquisition data 901
- step S2804 determines whether they overlap (step S2804: Yes) or not overlap (step S2804: Yes).
- the data acquisition device 200 acquires data satisfying the difference conditional expression from the power NW model DB 104 (step S2809).
- the data acquisition device 200 converts the acquired data into XML data, and merges it with the previously acquired XML data to obtain the pre-acquired data 901 (step S2810).
- the data acquisition device 200 registers the pre-acquisition information (user ID 602, pattern shape 606, attribute value 607, pre-acquisition data 901) in the prior acquisition information management table 900 (step S2811). Thereafter, the process proceeds to step S2812.
- the data acquisition device 200 may delete the entry of the user ID 602 from the pre-acquisition information management table 900.
- the third embodiment it is not necessary to convert the data in the overlapping portion, and an immediate response can be made to the request source terminal 101.
- Example 4 is an example of adjusting the start timing 1001 when the data processing times 605 of a plurality of users overlap.
- the data acquisition apparatus 200 determines that the plurality of start timings 1001 (start of the data processing time 605) so that the duplication number of the data processing time 605 is less than the duplication number before adjustment. Time). Thereby, the load of the prior acquisition process can be reduced as compared with before adjustment.
- FIG. 29 is an explanatory diagram of an example of adjusting the start timing 1001 according to the fourth embodiment.
- (A) shows the state before adjustment
- (B) shows the state after adjustment.
- the multiplicity (an integer of 1 or more) is set to 2.
- the multiplicity is the maximum number of average data processing times that allow duplication, and is equal to or less than the user duplication number ⁇ 1, in other words, equal to or less than the duplication number ⁇ 1 of the average data processing time.
- dpa to dpd are average data processing times of the four users (see the time chart in FIG. 10)
- ta to td are the activation timings 1001. It should be noted that ta and tb that are the start timing 1001 are the same time (for example, 10:21) (may be different times).
- the average data processing times dpa to dpd overlap in the period alt.
- the data acquisition apparatus 200 adjusts each average data processing time so that the average data processing time overlap number is 2 or less. As shown in (B), the data acquisition device 200 keeps the average data processing times dpa and dpb fixed, and shifts the average data processing times dpc and dpd so as not to overlap with the average data processing times dpa and dpb. .
- this shift amount may be adjusted so that the difference from the start timing 1001 before the shift becomes small.
- the time next to the end time of the average data processing time to be shifted may be the start timing 1001 of the average data processing time that is not to be shifted.
- the time next to the end time of the average data processing time may be the start timing 1001 of the average data processing time to be shifted.
- the data acquisition apparatus 200 determines that the multiplicity is 1 (that is, does not overlap) unless the average data processing time of other users other than the four users overlaps. You may adjust so that it may become. As described above, when the data acquisition device 200 is set so that the processing load of the data acquisition device 200 is more important than the deviation of the activation timing 1001, the multiplicity may be adjusted to be lower.
- the activation timing 1001 is adjusted by detecting the overlap of the average data processing time.
- the activation timing 1001 is adjusted by detecting the overlap of the activation timing 1001. Also good.
- the adjustment process can be simplified.
- FIG. 30 is a flowchart illustrating an example of the adjustment processing procedure of the activation timing 1001. The flowchart is executed, for example, at the timing when the latest activation timing 1001 is set.
- the data acquisition device 200 acquires the pattern shape 606 from the data acquisition estimation table 700 for each of the user IDs 602 corresponding to the plurality of activation timings 1001 that have been set and have not arrived (step S3001).
- the data acquisition apparatus 200 refers to the data acquisition history accumulation table 600, acquires the data processing time 605 in the pattern shape 606 acquired in step S3001, and average data processing in the acquired pattern shape 606 for the user. The time is calculated for each user ID 602 (step S3002).
- the data acquisition apparatus 200 determines whether or not the average data processing time from the activation timing 1001 of each user ID 602 overlaps (step S3003).
- the data acquisition device 200 determines that there is no overlap (step S3003: No), and if the multiplicity is exceeded, the data acquisition device 200 It is determined that they overlap (step S3003: Yes).
- step S3003: No If there is no overlap (step S3003: No), the data acquisition device 200 ends the adjustment process of the activation timing 1001. On the other hand, if they overlap (step S3003: Yes), the data acquisition device 200 adjusts each activation timing 1001 based on the multiplicity, and updates the activation timing management table 1000 for the adjusted activation timing 1001 (step S3004). . Thereby, the data acquisition device 200 ends the adjustment process of the activation timing 1001.
- a data acquisition request is made by estimating a data acquisition request that the user will request and acquiring data corresponding to the data acquisition request in advance. Data can be provided to the user immediately. Therefore, it is possible to suppress response delay of data acquired in response to a request.
- the data acquisition device 200 performs data acquisition in advance by changing the acquisition pattern sequence. Can be run continuously. Further, by learning the different data acquisition requests, it is possible to improve the estimation accuracy of data prior acquisition thereafter.
- the request source is a terminal that identifies the user (worker), it is possible to learn an acquisition pattern unique to the user.
- the request source may be the application 102 used by a plurality of users. Thereby, an acquisition pattern unique to the application 102 can be learned. As a result, even for a new user, data can be acquired in advance by specifying the application 102 to be used.
- the advance acquisition process can be speeded up by acquiring in advance excluding the overlapping part.
- the load on the data acquisition device 200 can be reduced by adjusting the number of overlaps so as to be less than the number of users according to the multiplicity.
- the power NW model using power equipment as a node has been described as an example, but the present invention can also be applied to other data.
- the node is a store, and the attributes are sales per month, number of customers per month, age group of customers with the highest sales, and store location. That's fine.
- the classified data data of stores having the largest number of customers in their 60s, sales of 10 million yen or more, and the number of customers of 1,000 or less are acquired and analyzed. Usage is possible.
- the acquisition pattern step can be estimated.
- the present invention is not limited to the above-described embodiments, and includes various modifications and equivalent configurations within the scope of the appended claims.
- the above-described embodiments have been described in detail for easy understanding of the present invention, and the present invention is not necessarily limited to those having all the configurations described.
- a part of the configuration of one embodiment may be replaced with the configuration of another embodiment.
- each of the above-described configurations, functions, processing units, processing means, etc. may be realized in hardware by designing a part or all of them, for example, with an integrated circuit, and the processor realizes each function. It may be realized by software by interpreting and executing the program to be executed.
- Information such as programs, tables, and files for realizing each function is recorded on a memory, a hard disk, a storage device such as SSD (Solid State Drive), or an IC (Integrated Circuit) card, SD card, DVD (Digital Versatile Disc). It can be stored on a medium.
- SSD Solid State Drive
- IC Integrated Circuit
- SD card Digital Card
- DVD Digital Versatile Disc
- control lines and information lines indicate what is considered necessary for the explanation, and do not necessarily indicate all control lines and information lines necessary for mounting. In practice, it can be considered that almost all the components are connected to each other.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
A data acquisition device for acquiring data from a database according to a data acquisition request from a requester requesting data from the database, which stores a data group, and returning said data to the requester, the data acquisition device being configured so as to: learn the data acquisition request type and the acquisition timing defining the data acquisition request chronological order for each of the data acquisition requests among a series of data acquisition requests received from the requester; identify, in advance of a first data acquisition request following the series of data acquisition requests, the acquisition timing and type of a first subsequent estimated data acquisition request which is a data acquisition request which could be received from the requester, on the basis of the learning results obtained from the learning processing; acquire, from the database, data corresponding to the first subsequent estimated data acquisition request for which the type was identified; determine, when the first data acquisition request is received, whether or not there is a match between the type included in the first data acquisition request and the type of the first subsequent estimated data acquisition request identified by the identification processing; and when determined there is a match, transmit the advance acquisition results to the requester at the acquisition timing of the identified first subsequent estimated data acquisition request.
Description
本発明は、データを取得するデータ取得装置、データ取得方法、およびデータ取得プログラムに関する。
The present invention relates to a data acquisition device, a data acquisition method, and a data acquisition program for acquiring data.
Common Information Model(CIM)は、基幹系統Energy Management System(EMS)における電力設備(電力系統を構成する発電所、変電所、送電線など)を運用するシステムにおいて、標準情報モデルおよびシステム内/アプリケーションデータ交換を規定したモデルである。CIMで電力系統の情報を共通化することで、電力系統の監視・制御・分析用アプリケーション間におけるデータ交換が容易になる。これにより、アプリケーション間の接続性およびシステムの拡張性を高めることができる。
Common Information Model (CIM) is a standard information model and in-system / application data in a system that operates power facilities (power stations, substations, power transmission lines, etc. that constitute the power system) in the backbone energy management system (EMS). This model specifies exchange. By sharing power system information with CIM, data exchange between power system monitoring, control, and analysis applications is facilitated. Thereby, the connectivity between applications and the expandability of the system can be improved.
たとえば、関係データベース形式(Relational Database(RDB)形式)で管理している電力ネットワークモデルデータベース(以下、電力NWモデルDB)がある。電力NWモデルDBは、基幹系統EMSにおける電力設備の情報を格納する。たとえば、ユーザ操作または業務処理において、電力NWモデルDBから、位置情報が「地点A」で、その他属性が「高圧の設備」である属性の組を満たす情報が取得される。電力NWモデルDBを活用した業務ではデータ取得要求に対して素早く応答することが求められるが、データ取得要求の度にRDB形式からExtensible Markup Language(XML)形式へのデータ変換処理が行われるため、素早く応答することが困難となる。
For example, there is a power network model database (hereinafter referred to as a power NW model DB) managed in a relational database format (Relational Database (RDB) format). The power NW model DB stores information on power facilities in the backbone system EMS. For example, in a user operation or business process, information satisfying a set of attributes whose position information is “point A” and whose other attribute is “high voltage equipment” is acquired from the power NW model DB. In business using the power NW model DB, it is required to respond quickly to data acquisition requests, but data conversion processing from RDB format to Extensible Markup Language (XML) format is performed each time a data acquisition request is made. It becomes difficult to respond quickly.
データ取得要求に対して素早く応答するための技術として、例えば、下記特許文献1がある。特許文献1のキャッシュ方法は、クライアントからの検索要求データがキャッシュデータベース上に存在しない時、マスタデータベースは検索結果レコードを分散キャッシュデータベースに返し、参照ビットマップテーブル上の該当ビットをONにする。以後同じレコードの検索要求があった場合、特許文献1のキャッシュ方法は、分散キャッシュデータベース上のデータを返す。マスタデータベースを更新した場合には、特許文献1のキャッシュ方法は、参照ビットがONになっている分散キャッシュデータベースに対してのみデータを更新する。
As a technique for quickly responding to a data acquisition request, for example, there is Patent Document 1 below. In the cache method of Patent Document 1, when the search request data from the client does not exist in the cache database, the master database returns the search result record to the distributed cache database, and turns on the corresponding bit on the reference bitmap table. Thereafter, when there is a search request for the same record, the cache method of Patent Document 1 returns data on the distributed cache database. When the master database is updated, the cache method of Patent Document 1 updates data only to the distributed cache database whose reference bit is ON.
しかしながら、特許文献1のキャッシュ方法でキャッシュされるデータは、電力系統で電力設備を運用するシステムでのユーザ操作または業務処理において、その時必要とされるデータとは限られない。したがって、特許文献1のキャッシュ方法は、必ずしもデータ応答の改善にはつながらない。
However, the data cached by the cache method of Patent Document 1 is not necessarily the data required at that time for user operation or business processing in a system that operates power equipment in the power system. Therefore, the cache method disclosed in Patent Document 1 does not necessarily improve the data response.
本発明は、要求に応じて取得するデータの応答遅延の抑制を図ることを目的とする。
The object of the present invention is to suppress response delay of data acquired in response to a request.
本願において開示される発明の一側面となるデータ取得装置、データ取得方法、およびデータ取得プログラムは、データ群を記憶するデータベースにアクセス可能であり、前記データベースに対する要求元からのデータ取得要求に応じたデータを前記データベースから取得して前記要求元に返すデータ取得装置、データ取得方法、およびデータ取得プログラムであって、プログラムを実行するプロセッサと、前記プログラムを記憶する記憶デバイスと、を有し、前記プロセッサは、前記要求元から受信された一連のデータ取得要求の各々のデータ取得要求について、前記データ取得要求の種類と、前記データ取得要求の時系列順を規定する取得タイミングと、を学習する学習処理と、前記一連のデータ取得要求以降の第1データ取得要求に先立って、前記学習処理による学習結果に基づいて、前記要求元から取得され得るデータ取得要求である第1の次回推定データ取得要求の種類および取得タイミングを特定する特定処理と、前記特定処理によって種類が特定された第1の次回推定データ取得要求に該当するデータを、前記データベースから取得する事前取得処理と、前記第1データ取得要求が受信された場合、前記第1データ取得要求に含まれる種類と、前記特定処理によって特定された前記第1の次回推定データ取得要求の種類と、が一致するか否かを判断する判断処理と、前記判断処理によって一致すると判断された場合、前記事前取得処理による事前取得結果を、前記特定処理によって特定された前記第1の次回推定データ取得要求の取得タイミングで前記要求元に送信する送信処理と、を実行することを特徴とする。
A data acquisition device, a data acquisition method, and a data acquisition program that are one aspect of the invention disclosed in this application are accessible to a database that stores a data group, and respond to a data acquisition request from a request source for the database A data acquisition apparatus, a data acquisition method, and a data acquisition program for acquiring data from the database and returning the data to the request source, the processor executing the program, and a storage device for storing the program, Learning to learn a type of the data acquisition request and an acquisition timing that defines a time series order of the data acquisition request for each data acquisition request of the series of data acquisition requests received from the request source Processing and the first data acquisition request after the series of data acquisition requests Standing on the basis of the learning result of the learning process, a specifying process for specifying the type and acquisition timing of the first next estimated data acquisition request that is a data acquisition request that can be acquired from the request source, and a type by the specifying process The data included in the first next data acquisition request when the first data acquisition request is received, and the pre-acquisition process for acquiring the data corresponding to the first next estimated data acquisition request identified from the database And the type of the first next estimated data acquisition request specified by the specifying process, and the pre-acquisition when it is determined by the determining process that the type of the first next estimated data acquisition request is the same The pre-acquisition result by the process is sent to the request source at the acquisition timing of the first next estimated data acquisition request specified by the specifying process. Characterized by a transmission processing for the execution.
本発明の代表的な実施の形態によれば、要求に応じて取得するデータの応答遅延の抑制を図ることができる。前述した以外の課題、構成及び効果は、以下の実施例の説明により明らかにされる。
According to a typical embodiment of the present invention, it is possible to suppress response delay of data acquired in response to a request. Problems, configurations, and effects other than those described above will become apparent from the description of the following embodiments.
<データ事前取得例>
図1は、実施例1にかかるデータ事前取得例を示す説明図である。データ取得システム100は、端末101と、アプリケーション102と、データ取得機能103と、電力NWモデルDB104と、を有する。端末101は、アプリケーション102を介してデータ取得機能103にデータ取得要求を送信し、データ取得要求に該当するデータを、アプリケーション102およびデータ取得機能103を介して電力NWモデルDB104から取得する。端末101は、たとえば、電力設備(電力系統を構成する発電所、変電所)に設けられ、通信網を介してデータ取得機能103を有するサーバ(データ取得装置)に通信可能に接続される。 <Example of prior data acquisition>
FIG. 1 is an explanatory diagram of an example of data pre-acquisition according to the first embodiment. Thedata acquisition system 100 includes a terminal 101, an application 102, a data acquisition function 103, and a power NW model DB 104. The terminal 101 transmits a data acquisition request to the data acquisition function 103 via the application 102, and acquires data corresponding to the data acquisition request from the power NW model DB 104 via the application 102 and the data acquisition function 103. For example, the terminal 101 is provided in a power facility (a power plant or a substation constituting a power system) and is communicably connected to a server (data acquisition device) having a data acquisition function 103 via a communication network.
図1は、実施例1にかかるデータ事前取得例を示す説明図である。データ取得システム100は、端末101と、アプリケーション102と、データ取得機能103と、電力NWモデルDB104と、を有する。端末101は、アプリケーション102を介してデータ取得機能103にデータ取得要求を送信し、データ取得要求に該当するデータを、アプリケーション102およびデータ取得機能103を介して電力NWモデルDB104から取得する。端末101は、たとえば、電力設備(電力系統を構成する発電所、変電所)に設けられ、通信網を介してデータ取得機能103を有するサーバ(データ取得装置)に通信可能に接続される。 <Example of prior data acquisition>
FIG. 1 is an explanatory diagram of an example of data pre-acquisition according to the first embodiment. The
アプリケーション102は、端末101とデータ取得機能103との間のインタフェースである。アプリケーション102は、端末101、または、データ取得装置に実装される。アプリケーション102は、対応する電力設備により異なるが、いずれのアプリケーション102も電力NWモデルDB104からデータを取得するソフトウェアである。
Application 102 is an interface between terminal 101 and data acquisition function 103. The application 102 is mounted on the terminal 101 or the data acquisition device. The application 102 is software that acquires data from the power NW model DB 104, although the application 102 differs depending on the corresponding power facility.
データ取得機能103は、データアクセス機能131と、パターン学習機能132と、事前取得機能133と、を有する。データアクセス機能131は、端末101からのデータ取得要求に該当するデータを電力NWモデルDB104から取得して、要求元のアプリケーション102に返す。具体的には、たとえば、データアクセス機能131は、電力NWモデルDB104から、データ取得要求に該当する複数の属性のテーブルのエントリを取得して、1つのXMLデータに変換し、変換したXMLデータを要求元のアプリケーション102に返す。
The data acquisition function 103 has a data access function 131, a pattern learning function 132, and a pre-acquisition function 133. The data access function 131 acquires data corresponding to the data acquisition request from the terminal 101 from the power NW model DB 104 and returns it to the request source application 102. Specifically, for example, the data access function 131 acquires, from the power NW model DB 104, entries of a plurality of attribute tables corresponding to the data acquisition request, converts them into one XML data, and converts the converted XML data to Return to the requesting application 102.
パターン学習機能132は、端末101から入力された一連のデータ取得要求のパターンを学習する。たとえば、作業員Aは、「円(3km)」、「円錐」、「円柱」というデータ取得範囲を含む一連のデータ取得要求を端末101から送信する。したがって、パターン学習機能132は、作業員Aの場合、「円(3km)」→「円錐」→「円柱」の順にデータ取得範囲を選択することを学習する。
The pattern learning function 132 learns a series of data acquisition request patterns input from the terminal 101. For example, the worker A transmits a series of data acquisition requests including a data acquisition range of “circle (3 km)”, “cone”, and “cylinder” from the terminal 101. Therefore, in the case of the worker A, the pattern learning function 132 learns to select the data acquisition range in the order of “circle (3 km)” → “cone” → “cylinder”.
事前取得機能133は、端末101からデータ取得要求が受信された場合、当該端末101のユーザが次に選択するであろうデータ取得範囲をパターン学習機能132の学習結果から特定し、データアクセス機能131を制御して、特定したデータ取得範囲内のデータを要求する次のデータ取得要求の前に取得する。
When the data acquisition request is received from the terminal 101, the pre-acquisition function 133 specifies the data acquisition range that the user of the terminal 101 will select next from the learning result of the pattern learning function 132, and the data access function 131 Is acquired before the next data acquisition request for requesting data within the specified data acquisition range.
電力NWモデルDB104は、電力NWモデルであるCIMを格納するデータベースである。電力NWモデルは、電力設備のノードとし、電線をリンクとするネットワークモデルである。電力NWモデルは、たとえば、2次元の位置情報と、ノードが有する電圧と、で表現される3次元モデルである。電力NWモデルDB104は、系統(高圧または低圧)、設備種(発電所、変電所など)、エリア、位置といった属性ごとにテーブルを有する。これにより、データアクセス機能131は、データ取得要求に含まれる属性ごとにテーブルから該当するエントリを取得して、1つのXMLデータに変換する。なお、このXMLデータへの変換処理には時間がかかり、レスポンス性能の低下の原因となる。
The power NW model DB 104 is a database that stores a CIM that is a power NW model. The power NW model is a network model in which nodes of power equipment are used and electric wires are links. The power NW model is, for example, a three-dimensional model expressed by two-dimensional position information and a voltage of a node. The power NW model DB 104 has a table for each attribute such as system (high voltage or low voltage), facility type (power plant, substation, etc.), area, and position. As a result, the data access function 131 acquires a corresponding entry from the table for each attribute included in the data acquisition request and converts the entry into one XML data. Note that this conversion processing to XML data takes time and causes a reduction in response performance.
ここで、(1)作業員Aがパターン入力したとする。具体的には、たとえば、作業員Aは、データ取得範囲が直径3kmの円である1回目のデータ取得要求を端末101から送信し、つぎに、データ取得範囲が円錐である2回目のデータ取得要求を端末101から送信し、つぎに、データ取得範囲が円柱である3回目のデータ取得要求を端末101から送信したとする。
(1) Assume that worker A inputs a pattern. Specifically, for example, the worker A transmits a first data acquisition request from the terminal 101 in which the data acquisition range is a circle having a diameter of 3 km, and then the second data acquisition in which the data acquisition range is a cone. Assume that a request is transmitted from the terminal 101 and then a third data acquisition request is transmitted from the terminal 101 whose data acquisition range is a cylinder.
(2)データアクセス機能131は、(1)データ取得要求を受け付ける都度、電力NWモデルDB104にアクセスして複数の属性のテーブルのエントリを取得して1つのXMLデータにマージする。そして、データアクセス機能131は、XMLデータを端末101に返す。
(2) The data access function 131 (1) accesses the power NW model DB 104 each time a data acquisition request is received, acquires entries in a plurality of attribute tables, and merges them into one XML data. The data access function 131 returns the XML data to the terminal 101.
(3)パターン学習機能132は、作業員Aが選択した「円(3km)」→「円錐」→「円柱」の順のデータ取得範囲を学習する。
(3) The pattern learning function 132 learns the data acquisition range in the order of “circle (3 km)” → “cone” → “column” selected by the worker A.
(4)この後、一旦作業員Aは、ログアウトし、別の機会に再度端末101にログインしたとする。そして、作業員Aは、データ取得範囲が直径3kmの円である1回目のデータ取得要求を端末101から送信したとする。この場合、上記(2)、(3)に示したように、1回目のデータ取得要求について、データアクセスおよびパターン学習が実行されるが、事前取得機能133は、これまでの作業員Aについての学習結果から、データ取得範囲が『直径3kmの円』の次に選択されるデータ取得範囲は、『円錐』であると特定し、特定したデータ取得範囲『円錐』を含む取得式を作成し、データアクセス機能131に渡して先読み指示する。これにより、データアクセス機能131は、2回目のデータ取得要求の到来前に、電力NWモデルDB104から、特定したデータ取得範囲『円錐』に含まれるデータを取得してXMLデータに変換することができる。これにより、作業員Aは、2回目のデータ取得要求をしてからその応答を受信するまでの間、データ取得処理に要する時間分待機することなく、即時応答を得ることができる。
(4) After this, it is assumed that the worker A once logs out and logs in to the terminal 101 again at another opportunity. Then, it is assumed that the worker A transmits a first data acquisition request from the terminal 101 whose data acquisition range is a circle having a diameter of 3 km. In this case, as shown in (2) and (3) above, data access and pattern learning are executed for the first data acquisition request, but the prior acquisition function 133 is used for the worker A so far. From the learning result, the data acquisition range selected after the “circle with a diameter of 3 km” is specified as “cone”, and an acquisition formula including the specified data acquisition range “cone” is created, A prefetch instruction is given to the data access function 131. Thereby, the data access function 131 can acquire the data included in the specified data acquisition range “cone” from the power NW model DB 104 and convert it into XML data before the arrival of the second data acquisition request. . Thereby, the worker A can obtain an immediate response without waiting for the time required for the data acquisition process from when the second data acquisition request is made until the response is received.
このように、データ取得システム100は、どのようなデータ取得要求が到来するかを予測して該当するデータを先読みするため、応答性能の向上を図ることができる。また、先読み対象となるデータを予測することにより、先読みによる処理負荷の低減を図ることができる。
Thus, since the data acquisition system 100 predicts what data acquisition request will arrive and prefetches the corresponding data, the response performance can be improved. In addition, by predicting data to be prefetched, it is possible to reduce the processing load due to prefetching.
<システム構成例>
図2は、データ取得システム100のシステム構成例を示す説明図である。データ取得システム100は、サーバであるデータ取得装置200と、端末101と、が通信網201を介して通信可能に接続された構成である。データ取得装置200は、電力NWモデルDB104を有する。ただし、電力NWモデルDB104は、通信網201を介してデータ取得装置200からアクセス可能な他のサーバが有してもよい。 <System configuration example>
FIG. 2 is an explanatory diagram showing a system configuration example of thedata acquisition system 100. The data acquisition system 100 has a configuration in which a data acquisition device 200 that is a server and a terminal 101 are communicably connected via a communication network 201. The data acquisition device 200 has a power NW model DB 104. However, the power NW model DB 104 may be included in another server accessible from the data acquisition apparatus 200 via the communication network 201.
図2は、データ取得システム100のシステム構成例を示す説明図である。データ取得システム100は、サーバであるデータ取得装置200と、端末101と、が通信網201を介して通信可能に接続された構成である。データ取得装置200は、電力NWモデルDB104を有する。ただし、電力NWモデルDB104は、通信網201を介してデータ取得装置200からアクセス可能な他のサーバが有してもよい。 <System configuration example>
FIG. 2 is an explanatory diagram showing a system configuration example of the
<ハードウェア構成例>
図3は、コンピュータのハードウェア構成例を示すブロック図である。コンピュータは、たとえば、図2に示したデータ取得装置200および端末101である。コンピュータ300は、プロセッサ301と、記憶デバイス302と、入力デバイス303と、出力デバイス304と、通信インターフェース(通信IF305)と、を有する。プロセッサ301、記憶デバイス302、入力デバイス303、出力デバイス304、および通信IF305は、バスにより接続される。プロセッサ301は、コンピュータ300を制御する。記憶デバイス302は、プロセッサ301の作業エリアとなる。また、記憶デバイス302は、各種プログラムやデータを記憶する非一時的なまたは一時的な記録媒体である。記憶デバイス302としては、たとえば、ROM(Read Only Memory)、RAM(Random Access Memory)、HDD(Hard Disk Drive)、フラッシュメモリがある。入力デバイス303は、データを入力する。入力デバイス303としては、たとえば、キーボード、マウス、タッチパネル、テンキー、スキャナがある。出力デバイス304は、データを出力する。出力デバイス304としては、たとえば、ディスプレイ、プリンタがある。通信IF305は、通信網201と接続し、データを送受信する。 <Hardware configuration example>
FIG. 3 is a block diagram illustrating a hardware configuration example of a computer. The computer is, for example, thedata acquisition device 200 and the terminal 101 shown in FIG. The computer 300 includes a processor 301, a storage device 302, an input device 303, an output device 304, and a communication interface (communication IF 305). The processor 301, the storage device 302, the input device 303, the output device 304, and the communication IF 305 are connected by a bus. The processor 301 controls the computer 300. The storage device 302 serves as a work area for the processor 301. The storage device 302 is a non-temporary or temporary recording medium that stores various programs and data. Examples of the storage device 302 include a ROM (Read Only Memory), a RAM (Random Access Memory), an HDD (Hard Disk Drive), and a flash memory. The input device 303 inputs data. Examples of the input device 303 include a keyboard, a mouse, a touch panel, a numeric keypad, and a scanner. The output device 304 outputs data. Examples of the output device 304 include a display and a printer. The communication IF 305 is connected to the communication network 201 and transmits / receives data.
図3は、コンピュータのハードウェア構成例を示すブロック図である。コンピュータは、たとえば、図2に示したデータ取得装置200および端末101である。コンピュータ300は、プロセッサ301と、記憶デバイス302と、入力デバイス303と、出力デバイス304と、通信インターフェース(通信IF305)と、を有する。プロセッサ301、記憶デバイス302、入力デバイス303、出力デバイス304、および通信IF305は、バスにより接続される。プロセッサ301は、コンピュータ300を制御する。記憶デバイス302は、プロセッサ301の作業エリアとなる。また、記憶デバイス302は、各種プログラムやデータを記憶する非一時的なまたは一時的な記録媒体である。記憶デバイス302としては、たとえば、ROM(Read Only Memory)、RAM(Random Access Memory)、HDD(Hard Disk Drive)、フラッシュメモリがある。入力デバイス303は、データを入力する。入力デバイス303としては、たとえば、キーボード、マウス、タッチパネル、テンキー、スキャナがある。出力デバイス304は、データを出力する。出力デバイス304としては、たとえば、ディスプレイ、プリンタがある。通信IF305は、通信網201と接続し、データを送受信する。 <Hardware configuration example>
FIG. 3 is a block diagram illustrating a hardware configuration example of a computer. The computer is, for example, the
<電力NWモデルDB104>
図4は、電力NWモデルDB104の記憶内容例を示す説明図である。電力NWモデルDB104は、上述したように、電力NWモデルであるCIMを格納するデータベースであり、電力NWモデルは、電力設備のノードとし、電線をリンクとするネットワークモデルである。電力NWモデルDB104は、上述した記憶デバイス302により実現される。電力NWモデルDB104は、具体的には、たとえば、属性(系統、設備種、エリア、位置情報、…)ごとにノードIDを対応付けたテーブルの集合であるが、ここでは、説明上、電力NWモデルを構成するノードNおよびリンクLが有する情報に着目して説明する。 <PowerNW model DB 104>
FIG. 4 is an explanatory diagram showing an example of the contents stored in the powerNW model DB 104. As described above, the power NW model DB 104 is a database that stores a CIM that is a power NW model, and the power NW model is a network model that uses nodes of power equipment and links electric wires. The power NW model DB 104 is realized by the storage device 302 described above. Specifically, the power NW model DB 104 is, for example, a set of tables in which node IDs are associated with each attribute (system, facility type, area, position information,...). Description will be made by paying attention to information held by the node N and the link L constituting the model.
図4は、電力NWモデルDB104の記憶内容例を示す説明図である。電力NWモデルDB104は、上述したように、電力NWモデルであるCIMを格納するデータベースであり、電力NWモデルは、電力設備のノードとし、電線をリンクとするネットワークモデルである。電力NWモデルDB104は、上述した記憶デバイス302により実現される。電力NWモデルDB104は、具体的には、たとえば、属性(系統、設備種、エリア、位置情報、…)ごとにノードIDを対応付けたテーブルの集合であるが、ここでは、説明上、電力NWモデルを構成するノードNおよびリンクLが有する情報に着目して説明する。 <Power
FIG. 4 is an explanatory diagram showing an example of the contents stored in the power
ノードNは、ノードID401で特定され、系統402、設備種403、エリア404、位置情報405、電気特性情報406、接続リンクID407を持つ。ノードID401は、電力設備を示すノードNを一意に特定する識別情報である。系統402は、ノードNの系統を示す識別情報である。系統402とは、たとえば、高圧系統か低圧系統化を示す情報である。設備種403は、ノードNの設備の種類を示す情報である。設備種403には、たとえば、変圧器や鉄塔がある。
The node N is identified by the node ID 401 and has a system 402, an equipment type 403, an area 404, position information 405, electrical characteristic information 406, and a connection link ID 407. The node ID 401 is identification information that uniquely identifies the node N indicating the power equipment. The system 402 is identification information indicating the system of the node N. The system | strain 402 is the information which shows a high voltage | pressure system or low voltage | pressure systemization, for example. The equipment type 403 is information indicating the type of equipment of the node N. The equipment type 403 includes, for example, a transformer and a steel tower.
エリア404は、ノードNが所属する領域を示す情報である。エリア404は、たとえば、市区町村範囲で規定される。位置情報405は、XY平面で張られたノードNの位置を示す情報である。位置情報405は、たとえば、緯度(Y軸方向の値)および経度(X軸方向の値)で規定される。電気特性情報406は、ノードNのZ軸方向の値として利用される。電気特性情報406は、たとえば、ノードNにおける電圧値である。接続リンクID407は、接続リンクLを一意に特定する識別情報である。接続リンクLとは、ノードNに接続されるリンクLである。リンクLとは、ノードNである電力設備に接続される電線である。
Area 404 is information indicating an area to which node N belongs. The area 404 is defined, for example, by a municipality range. The position information 405 is information indicating the position of the node N stretched on the XY plane. The position information 405 is defined by, for example, latitude (value in the Y-axis direction) and longitude (value in the X-axis direction). The electrical characteristic information 406 is used as a value of the node N in the Z-axis direction. The electrical characteristic information 406 is, for example, a voltage value at the node N. The connection link ID 407 is identification information that uniquely identifies the connection link L. The connection link L is a link L connected to the node N. The link L is an electric wire connected to the power facility that is the node N.
リンクLは、リンクID411、リンク長412により特定される。リンクID411は、リンクLを一意に特定する識別情報である。リンク長412は、リンクLである電線の長さを示す情報である。
The link L is specified by the link ID 411 and the link length 412. The link ID 411 is identification information that uniquely identifies the link L. The link length 412 is information indicating the length of the electric wire that is the link L.
<取得パターン例>
図5は、取得パターンの一例を示す説明図である。取得パターンは、電力NWモデルの取得範囲を示す。作業者は、端末101を操作して取得パターンを選択し、選択した取得パターンを含むデータ取得要求をデータ取得装置200に送信する。図5では、例として、5種類の取得パターンについて説明する。 <Example of acquisition pattern>
FIG. 5 is an explanatory diagram illustrating an example of an acquisition pattern. The acquisition pattern indicates the acquisition range of the power NW model. The operator operates the terminal 101 to select an acquisition pattern, and transmits a data acquisition request including the selected acquisition pattern to thedata acquisition device 200. In FIG. 5, five types of acquisition patterns will be described as an example.
図5は、取得パターンの一例を示す説明図である。取得パターンは、電力NWモデルの取得範囲を示す。作業者は、端末101を操作して取得パターンを選択し、選択した取得パターンを含むデータ取得要求をデータ取得装置200に送信する。図5では、例として、5種類の取得パターンについて説明する。 <Example of acquisition pattern>
FIG. 5 is an explanatory diagram illustrating an example of an acquisition pattern. The acquisition pattern indicates the acquisition range of the power NW model. The operator operates the terminal 101 to select an acquisition pattern, and transmits a data acquisition request including the selected acquisition pattern to the
取得パターンP1は、円形状の取得パターンである。取得パターンP1は、たとえば、地点Aを中心とした直径D[km]範囲の円内の系統に含まれるノード群に関するデータを取得するための取得パターンである。利用者が、たとえば、ノードNである地点Aの位置情報、円の指定、直径D、電気特性情報(電圧値)、設備種を端末101に与えることにより、端末101は、取得パターンP1を生成して、データ取得要求を送信することになる。
The acquisition pattern P1 is a circular acquisition pattern. The acquisition pattern P1 is, for example, an acquisition pattern for acquiring data related to a node group included in a system within a circle having a diameter D [km] with the point A as the center. For example, when the user gives the terminal 101 position information of the point A that is the node N, designation of a circle, diameter D, electrical characteristic information (voltage value), and equipment type, the terminal 101 generates the acquisition pattern P1. Then, a data acquisition request is transmitted.
取得パターンP2は、円錐状の取得パターンである。取得パターンP2は、たとえば、高さが電圧(B1-B2)で、底面の円が地点Aを中心とした直径D[km]範囲の円で構成される円錐内の系統に含まれるノード群に関するデータを取得するための取得パターンである。利用者が、たとえば、地点Aの位置情報、円錐の指定、直径D、電気特性情報(電圧値の範囲)、設備種を端末101に与えることにより、端末101は、取得パターンP2を生成して、データ取得要求を送信することになる。
The acquisition pattern P2 is a conical acquisition pattern. The acquisition pattern P2 relates to, for example, a node group included in a system in a cone whose height is a voltage (B1-B2) and whose bottom circle is a circle having a diameter D [km] with the point A as the center. This is an acquisition pattern for acquiring data. For example, when the user gives the terminal 101 position information of the point A, designation of the cone, diameter D, electrical characteristic information (voltage value range), and equipment type, the terminal 101 generates the acquisition pattern P2. A data acquisition request is transmitted.
取得パターンP3は、円柱状の取得パターンである。取得パターンP3は、たとえば、高さが電圧Bで、底面の円が地点Aを中心とした直径D[km]範囲の円で構成される円柱内の系統に含まれるノード群に関するデータを取得するための取得パターンである。利用者が、たとえば、地点Aの位置情報、円柱の指定、直径D、電気特性情報(電圧値の範囲)、設備種を端末101に与えることにより、端末101は、取得パターンP3を生成して、データ取得要求を送信することになる。
The acquisition pattern P3 is a cylindrical acquisition pattern. For example, the acquisition pattern P3 acquires data related to a node group included in a system in a cylinder having a height of voltage B and a bottom circle having a diameter D [km] range centered on the point A. It is an acquisition pattern for. For example, when the user gives the terminal 101 position information of the point A, designation of a cylinder, diameter D, electrical characteristic information (voltage value range), and equipment type, the terminal 101 generates an acquisition pattern P3. A data acquisition request is transmitted.
取得パターンP4は、円錐台状の取得パターンである。取得パターンP4は、たとえば、地点Aからnホップの範囲である円錐台内の系統に含まれるノード群に関するデータを取得するための取得パターンである。利用者が、たとえば、地点Aの位置情報、円錐台の指定、ホップ数、電気特性情報(電圧値)、設備種を端末101に与えることにより、端末101は、取得パターンP2を生成して、データ取得要求を送信することになる。ホップ数とは、地点Aを出発地点としてリンクLから辿ることができるノード数である。
The acquisition pattern P4 is a frustoconical acquisition pattern. The acquisition pattern P4 is, for example, an acquisition pattern for acquiring data related to a node group included in the system in the truncated cone that is in the range of n hops from the point A. For example, when the user gives the terminal 101 position information of the point A, designation of the truncated cone, the number of hops, electrical characteristic information (voltage value), and the equipment type, the terminal 101 generates the acquisition pattern P2, A data acquisition request will be sent. The number of hops is the number of nodes that can be traced from the link L with the point A as the departure point.
取得パターンP5は、球状の取得パターンである。取得パターンP5は、たとえば、電圧値がBである地点Aからnホップの範囲である球内の系統に含まれるノード群に関するデータを取得するための取得パターンである。利用者が、たとえば、地点Aの位置情報、円錐台の指定、ホップ数、電気特性情報(電圧値)、設備種を端末101に与えることにより、端末101は、取得パターンP2を生成して、データ取得要求を送信することになる。ホップ数とは、地点Aを出発地点としてリンクから辿ることができるノード数である。
The acquisition pattern P5 is a spherical acquisition pattern. The acquisition pattern P5 is, for example, an acquisition pattern for acquiring data related to a node group included in a system in a sphere that is n hops from the point A where the voltage value is B. For example, when the user gives the terminal 101 position information of the point A, designation of the truncated cone, the number of hops, electrical characteristic information (voltage value), and the equipment type, the terminal 101 generates the acquisition pattern P2, A data acquisition request will be sent. The number of hops is the number of nodes that can be traced from the link starting from the point A.
なお、上記取得パターンP1~P5は、一例である。また、地点Aからの範囲指定は、距離およびホップ数のいずれでもよい。また、取得パターンの形状は、取得パターンP1~P5の形状に限られない。なお、取得パターンは、端末101で生成されてもよく、アプリケーション102で生成されてもよい。
Note that the acquisition patterns P1 to P5 are examples. The range designation from the point A may be either a distance or the number of hops. Further, the shape of the acquisition pattern is not limited to the shapes of the acquisition patterns P1 to P5. The acquisition pattern may be generated by the terminal 101 or may be generated by the application 102.
<データ取得履歴蓄積テーブル>
図6は、データ取得履歴蓄積テーブル600の記憶内容例を示す説明図である。なお、以降のデータベースまたはテーブルの説明において、AAフィールドbbb(AAはフィールド名、bbbは符号)の値を、AAbbbと表記する場合がある。たとえば、ログIDフィールド601の値を、ログID601と表記する。 <Data acquisition history accumulation table>
FIG. 6 is an explanatory diagram showing an example of the contents stored in the data acquisition history accumulation table 600. In the following description of the database or table, the value of the AA field bbb (AA is a field name and bbb is a code) may be expressed as AAbbb. For example, the value of thelog ID field 601 is expressed as a log ID 601.
図6は、データ取得履歴蓄積テーブル600の記憶内容例を示す説明図である。なお、以降のデータベースまたはテーブルの説明において、AAフィールドbbb(AAはフィールド名、bbbは符号)の値を、AAbbbと表記する場合がある。たとえば、ログIDフィールド601の値を、ログID601と表記する。 <Data acquisition history accumulation table>
FIG. 6 is an explanatory diagram showing an example of the contents stored in the data acquisition history accumulation table 600. In the following description of the database or table, the value of the AA field bbb (AA is a field name and bbb is a code) may be expressed as AAbbb. For example, the value of the
データ取得履歴蓄積テーブル600は、データ取得装置200が更新するテーブルである。データ取得履歴蓄積テーブル600は、データ取得装置200が、作業者からのデータ取得要求により、電力NWモデルDB104からのデータ取得に関する履歴を蓄積するテーブルである。
The data acquisition history accumulation table 600 is a table updated by the data acquisition device 200. The data acquisition history storage table 600 is a table in which the data acquisition device 200 stores a history regarding data acquisition from the power NW model DB 104 in response to a data acquisition request from an operator.
データ取得履歴蓄積テーブル600は、ログIDフィールド601と、ユーザIDフィールド602と、セッションIDフィールド603と、データ取得要求時刻フィールド604と、データ処理時間フィールド605と、パターン形状フィールド606と、属性値フィールド607と、を有する。同一行における各フィールド601~607の値により、データ取得履歴情報を示すエントリが構成される。
The data acquisition history accumulation table 600 includes a log ID field 601, a user ID field 602, a session ID field 603, a data acquisition request time field 604, a data processing time field 605, a pattern shape field 606, and an attribute value field. 607. An entry indicating data acquisition history information is configured by the values of the fields 601 to 607 in the same row.
ログIDフィールド601は、ログIDを格納する記憶領域である。ログID601は、データ取得履歴情報を示すエントリを一意に特定する識別情報である。データ取得履歴情報は、ある作業者の1回のデータ取得に対応する。ユーザIDフィールド602は、ユーザIDを格納する領域である。ユーザID602は、ユーザである作業者を一意に特定する識別情報である。ユーザID(パスワードが含まれていてもよい)602は、事前登録により作業者に付与される。ユーザID602がデータ取得装置200(データ取得機能103またはアプリケーション102)に認証されることで、利用者は、データ取得装置200にログインすることができ、データ取得装置200を利用することができる。
The log ID field 601 is a storage area for storing a log ID. The log ID 601 is identification information that uniquely identifies an entry indicating data acquisition history information. The data acquisition history information corresponds to one data acquisition of a certain worker. The user ID field 602 is an area for storing a user ID. The user ID 602 is identification information that uniquely identifies a worker who is a user. A user ID (which may include a password) 602 is given to the worker by pre-registration. When the user ID 602 is authenticated by the data acquisition device 200 (the data acquisition function 103 or the application 102), the user can log in to the data acquisition device 200 and can use the data acquisition device 200.
セッションIDフィールド603は、セッションIDを格納する記憶領域である。セッションID603は、セッションを一意に特定する識別情報である。ここで、セッションとは、作業者がデータ取得装置200にログインしてからログアウトするまでの状態をいう。すなわち、セッションの期間中は、作業者は、何度もデータ取得要求を端末101から送信することができる。
The session ID field 603 is a storage area for storing a session ID. The session ID 603 is identification information that uniquely identifies a session. Here, the session refers to a state from when an operator logs in to the data acquisition apparatus 200 until logout. That is, during the session, the worker can transmit a data acquisition request from the terminal 101 many times.
データ取得要求時刻フィールド604は、データ取得要求時刻を格納する記憶領域である。データ取得要求時刻604は、データ取得要求があった時刻である。具体的には、たとえば、端末101からのデータ取得要求の送信時刻でもよく、データ取得装置200におけるデータ取得要求の受信時刻でもよい。図6のタイムチャートの時刻t1が、あるユーザのログイン後の1回目のデータ取得要求R1におけるデータ取得要求時刻604であり、時刻t2が、あるユーザの2回目のデータ取得要求R2におけるデータ取得要求時刻604である。
The data acquisition request time field 604 is a storage area for storing the data acquisition request time. The data acquisition request time 604 is the time when the data acquisition request is made. Specifically, for example, it may be a transmission time of a data acquisition request from the terminal 101 or a reception time of a data acquisition request in the data acquisition device 200. The time t1 in the time chart of FIG. 6 is the data acquisition request time 604 in the first data acquisition request R1 after a certain user logs in, and the time t2 is the data acquisition request in the second data acquisition request R2 of a certain user. It is time 604.
データ処理時間フィールド605は、データ処理時間を格納する記憶領域である。データ処理時間605とは、データアクセス機能131がデータ取得要求により電力NWモデルDB104にアクセスしてから、該当するデータを読み出して、XMLデータへの変換が完了して出力するまでの時間(データ変換時間)である。図6のタイムチャートの時間TP1が、あるユーザのログイン後の1回目のデータ取得要求R1におけるデータ取得要求時刻604(t1)からXMLデータの出力までのデータ処理時間605であり、時間TP2が、あるユーザの2回目のデータ取得要求R2におけるデータ取得要求時刻604(t2)からXMLデータの出力までのデータ処理時間605である。
The data processing time field 605 is a storage area for storing the data processing time. The data processing time 605 is the time from when the data access function 131 accesses the power NW model DB 104 by a data acquisition request until the corresponding data is read out, converted into XML data, and output (data conversion Time). The time TP1 in the time chart of FIG. 6 is the data processing time 605 from the data acquisition request time 604 (t1) in the first data acquisition request R1 after login of a certain user to the output of XML data, and the time TP2 is This is the data processing time 605 from the data acquisition request time 604 (t2) in the second data acquisition request R2 of a user to the output of XML data.
パターン形状フィールド606は、パターン形状を格納する記憶領域である。パターン形状606は、たとえば、図5に示した図形を示す識別情報である。属性値フィールド607は、属性値を格納する記憶領域である。属性値607は、電気特性情報406である電圧と、パターン形状606の基準となる地点(図5でいう地点A)と、取得範囲と、を含む。取得範囲は、パターン形状606により包含されるXY平面の範囲である。たとえば、パターン形状606が円であれば、円の直径Dである。すなわち、パターン形状606により、取得パターンの形状が決まり、属性値607により、取得パターンの範囲が決まる。
The pattern shape field 606 is a storage area for storing the pattern shape. The pattern shape 606 is identification information indicating, for example, the graphic shown in FIG. The attribute value field 607 is a storage area for storing attribute values. The attribute value 607 includes a voltage that is the electrical characteristic information 406, a point serving as a reference for the pattern shape 606 (point A in FIG. 5), and an acquisition range. The acquisition range is the range of the XY plane encompassed by the pattern shape 606. For example, if the pattern shape 606 is a circle, it is the diameter D of the circle. That is, the pattern shape 606 determines the shape of the acquired pattern, and the attribute value 607 determines the range of the acquired pattern.
<データ取得推定テーブル>
図7は、データ取得推定テーブルの記憶内容例を示す説明図である。データ取得推定テーブル700は、データ取得装置200が更新するテーブルである。データ取得履歴蓄積テーブル600は、データ取得装置200が、作業者からのデータ取得要求があった場合に、次のデータ取得要求の前に、当該次のデータ取得要求によるデータ取得を推定するためのテーブルである。 <Data acquisition estimation table>
FIG. 7 is an explanatory diagram of an example of the contents stored in the data acquisition estimation table. The data acquisition estimation table 700 is a table updated by thedata acquisition device 200. The data acquisition history accumulation table 600 is used to estimate data acquisition by the next data acquisition request before the next data acquisition request when the data acquisition device 200 receives a data acquisition request from an operator. It is a table.
図7は、データ取得推定テーブルの記憶内容例を示す説明図である。データ取得推定テーブル700は、データ取得装置200が更新するテーブルである。データ取得履歴蓄積テーブル600は、データ取得装置200が、作業者からのデータ取得要求があった場合に、次のデータ取得要求の前に、当該次のデータ取得要求によるデータ取得を推定するためのテーブルである。 <Data acquisition estimation table>
FIG. 7 is an explanatory diagram of an example of the contents stored in the data acquisition estimation table. The data acquisition estimation table 700 is a table updated by the
データ取得推定テーブル700は、ステップ番号フィールド701と、ユーザIDフィールド602と、パターン形状フィールド606と、代表属性値フィールド702と、次回取得タイミング配列フィールド703と、を有する。同一行の各フィールドの値により、次の取得パターンを推定するためのデータ取得推定情報を示すエントリが構成される。
The data acquisition estimation table 700 includes a step number field 701, a user ID field 602, a pattern shape field 606, a representative attribute value field 702, and a next acquisition timing array field 703. An entry indicating data acquisition estimation information for estimating the next acquisition pattern is configured by the value of each field in the same row.
ステップ番号フィールド701は、ステップ番号を格納する記憶領域である。ステップ番号701は、データ取得要求を一意に特定する識別情報である。代表属性値フィールド702は、代表属性値702を格納する記憶領域である。代表属性値702とは、属性値607を代表する値であり、たとえば、統計的な属性値である。統計的な属性値とは、属性値607の平均値、最小値、最大値、または、中央値である。代表属性値702は、代表電圧および代表取得範囲を含む。代表電圧は、統計的な電圧値であり、たとえば、電圧値の平均値、最小値、最大値、または、中央値である。代表取得範囲は、統計的な取得範囲であり、たとえば、取得範囲(たとえば、パターン形状606が円であれば、円の直径D)の平均値、最小値、最大値、または、中央値である。
The step number field 701 is a storage area for storing a step number. Step number 701 is identification information for uniquely identifying a data acquisition request. The representative attribute value field 702 is a storage area for storing the representative attribute value 702. The representative attribute value 702 is a value that represents the attribute value 607, and is, for example, a statistical attribute value. The statistical attribute value is an average value, a minimum value, a maximum value, or a median value of the attribute values 607. The representative attribute value 702 includes a representative voltage and a representative acquisition range. The representative voltage is a statistical voltage value, for example, an average value, a minimum value, a maximum value, or a median value of the voltage values. The representative acquisition range is a statistical acquisition range, for example, an average value, minimum value, maximum value, or median value of the acquisition range (for example, if the pattern shape 606 is a circle, the diameter D of the circle). .
なお、図6のデータ取得履歴蓄積テーブル600における属性値607は、電圧、地点、取得範囲を含むが、代表属性値702は、地点を含まない。したがって、事前取得する場合は、直前のデータ取得要求で指定された位置情報が用いられる。
Note that the attribute value 607 in the data acquisition history accumulation table 600 of FIG. 6 includes a voltage, a point, and an acquisition range, but the representative attribute value 702 does not include a point. Therefore, in the case of acquiring in advance, the position information specified in the immediately preceding data acquisition request is used.
次回取得タイミング配列フィールド703は、0個以上の次回取得タイミング配列を格納する記憶領域である。次回取得タイミング配列703は、次に到来すると推定されるデータ取得要求である次回推定データ取得要求を示すステップ番号701と、当該次回推定データ取得要求による代表取得時間(単位は、たとえば、分)と、選択確率と、からなる配列データである。たとえば、次回取得タイミング配列703が[U003][1][70]である場合、先頭の[U003]がステップ番号701であり、中央の[1]が代表取得時間であり、末尾の[70]が選択確率である。なお、次回取得タイミング配列フィールド703には、1以上の次回取得タイミング配列703が記憶されるが、最後のデータ取得要求については、次回推定データ取得要求が存在しないため、「NULL」となる。
The next acquisition timing array field 703 is a storage area for storing zero or more next acquisition timing arrays. The next acquisition timing array 703 includes a step number 701 indicating a next estimated data acquisition request that is a data acquisition request estimated to arrive next, and a representative acquisition time (unit: minutes, for example) by the next estimated data acquisition request. , Selection probability, and array data. For example, when the next acquisition timing array 703 is [U003] [1] [70], the top [U003] is the step number 701, the central [1] is the representative acquisition time, and the last [70]. Is the selection probability. In the next acquisition timing array field 703, one or more next acquisition timing arrays 703 are stored, but the last data acquisition request is “NULL” because there is no next estimated data acquisition request.
代表取得時間とは、取得時間の代表値である。取得時間とは、ある取得要求におけるデータ取得要求時刻604(たとえば、t1)から次回推定データ取得要求が受信されるまで、すなわち、次回推定データ取得要求におけるデータ取得要求時刻604(たとえば、t2)までの時間(たとえば、Ta2)である。ただし、各セッションにおいて、ログイン時においては、ログインの時刻t0から1回目のデータ取得要求時刻604(t1)までの時間を取得時間Ta1とする。また、最後のデータ取得要求については、次のデータ取得要求が存在しないため、取得時間も存在しない。たとえば、最後のデータ取得要求がデータ取得要求R2である場合、次回推定データ取得要求R3は存在しないため、取得時間Ta3も存在しない。また、取得時間の代表値とは、統計的な取得時間であり、たとえば、取得時間の平均値、最小値、最大値または中央値である。
The representative acquisition time is a representative value of acquisition time. The acquisition time is from the data acquisition request time 604 (for example, t1) in a certain acquisition request until the next estimated data acquisition request is received, that is, until the data acquisition request time 604 (for example, t2) in the next estimated data acquisition request. (E.g., Ta2). However, at the time of login in each session, the time from the login time t0 to the first data acquisition request time 604 (t1) is defined as an acquisition time Ta1. Further, since there is no next data acquisition request for the last data acquisition request, there is no acquisition time. For example, when the last data acquisition request is the data acquisition request R2, the next estimation data acquisition request R3 does not exist, and therefore the acquisition time Ta3 does not exist. The representative value of the acquisition time is a statistical acquisition time, for example, an average value, a minimum value, a maximum value, or a median value of the acquisition times.
選択確率とは、次回推定データ取得要求で指定されるであろう取得パターン(パターン形状606および代表属性値702の組み合わせ)が、ユーザによって次回選択される確率である。たとえば、ステップ番号701が「U001」のエントリにおける次回取得タイミング配列703は、{[U003][1][70],[U004][1][30]}の2つである。先頭の次回取得タイミング配列703{[U003][1][70]}は、ステップ番号701である[U003]のデータ取得要求がログイン(パターン形状606および代表属性値702が「NULL」)から[1]の時間経過時に、[70]%の確率で選択されることを意味する。また、末尾の次回取得タイミング配列703{[U004][1][30]}は、ステップ番号701である[U004]のデータ取得要求がログイン(パターン形状606および代表属性値702が「NULL」)から[1]の時間経過時に、[30]%の確率で選択されることを意味する。
The selection probability is a probability that an acquisition pattern (a combination of the pattern shape 606 and the representative attribute value 702) that will be specified in the next estimation data acquisition request is selected next time by the user. For example, there are two next acquisition timing arrays 703 in the entry whose step number 701 is “U001”: {[U003] [1] [70], [U004] [1] [30]}. In the first next acquisition timing array 703 {[U003] [1] [70]}, the data acquisition request of [U003] having the step number 701 is logged in (the pattern shape 606 and the representative attribute value 702 are “NULL”). 1] means that it is selected with a probability of [70]% when the time elapses. Also, in the next acquisition timing array 703 {[U004] [1] [30]} at the end, the data acquisition request of [U004] having the step number 701 is logged in (the pattern shape 606 and the representative attribute value 702 are “NULL”). Means that it is selected with a probability of [30]% when the time of [1] elapses.
同様に、ステップ番号701が「U003」のエントリにおける次回取得タイミング配列703は、{[U008][5][90],[U010][7][10]}の2つである。先頭の次回取得タイミング配列703{[U008][5][90]}は、ステップ番号701である[U008]のデータ取得要求が、ステップ番号701である「U003」のデータ取得要求から[5]の時間経過時に、[90]%の確率で選択されることを意味する。また、末尾の次回取得タイミング配列703{[U010][7][10]}は、ステップ番号701である[U010]のデータ取得要求が、ステップ番号701である「U003」のデータ取得要求から[7]の時間経過時に、[10]%の確率で選択されることを意味する。
Similarly, there are two next acquisition timing arrays 703 in the entry whose step number 701 is “U003”, {[U008] [5] [90], [U010] [7] [10]}. In the next next acquisition timing array 703 {[U008] [5] [90]}, the data acquisition request of [U008] with step number 701 is [5] from the data acquisition request of “U003” with step number 701. Means that it is selected with a probability of [90]%. Further, the next acquisition timing array 703 {[U010] [7] [10]} at the end indicates that the data acquisition request of [U010] with the step number 701 is changed from the data acquisition request of “U003” with the step number 701 [ 7] means that it is selected with a probability of [10]% when the time elapses.
なお、パターン形状606および代表属性値607が「NULL」のエントリは、ユーザがデータ取得装置200とのセッション開始時に初めて参照するエントリである。また、次回取得タイミング配列703が「NULL」のエントリは、次のデータ取得要求(ステップ番号701)が存在しないことを示すエントリである。
Note that an entry whose pattern shape 606 and representative attribute value 607 is “NULL” is an entry that the user refers to for the first time when starting a session with the data acquisition apparatus 200. The entry whose next acquisition timing array 703 is “NULL” is an entry indicating that there is no next data acquisition request (step number 701).
<ステップ情報管理テーブル>
図8は、ステップ情報管理テーブルの記憶内容例を示す説明図である。ステップ情報管理テーブル800は、データ取得装置200が更新するテーブルである。ステップ情報管理テーブル800は、ユーザごとのデータ取得要求を示すステップ番号701を管理するテーブルである。 <Step information management table>
FIG. 8 is an explanatory diagram of an example of stored contents of the step information management table. The step information management table 800 is a table that is updated by thedata acquisition device 200. The step information management table 800 is a table for managing a step number 701 indicating a data acquisition request for each user.
図8は、ステップ情報管理テーブルの記憶内容例を示す説明図である。ステップ情報管理テーブル800は、データ取得装置200が更新するテーブルである。ステップ情報管理テーブル800は、ユーザごとのデータ取得要求を示すステップ番号701を管理するテーブルである。 <Step information management table>
FIG. 8 is an explanatory diagram of an example of stored contents of the step information management table. The step information management table 800 is a table that is updated by the
ステップ情報管理テーブル800は、ユーザIDフィールド602と、ステップ番号フィールド701と、前ステップ番号フィールド801と、を有する。同一行の各フィールドの値により、ステップ管理情報を示すエントリが構成される。
The step information management table 800 has a user ID field 602, a step number field 701, and a previous step number field 801. An entry indicating step management information is configured by the value of each field in the same row.
前ステップ番号フィールド801は、前ステップ番号801を格納する記憶領域である。前ステップ番号801とは、ステップ番号701に対応するデータ取得要求の1つ前のデータ取得要求を示すステップ番号701である。
The previous step number field 801 is a storage area for storing the previous step number 801. The previous step number 801 is a step number 701 indicating a data acquisition request immediately before the data acquisition request corresponding to the step number 701.
<事前取得情報管理テーブル>
図9は、事前取得情報管理テーブルの記憶内容例を示す説明図である。事前取得情報管理テーブル900は、データ取得装置200が事前取得処理(図22で後述)で更新するテーブルである。事前取得情報管理テーブル900は、ユーザごとに事前取得したデータを管理するテーブルである。事前取得情報管理テーブル900は、ユーザIDフィールド602と、パターン形状フィールド606と、属性値フィールド607と、事前取得データフィールド901と、を有する。同一行の各フィールドの値により、事前取得情報を示すエントリが構成される。 <Pre-acquired information management table>
FIG. 9 is an explanatory diagram of an example of stored contents of the pre-acquired information management table. The pre-acquisition information management table 900 is a table that is updated by thedata acquisition apparatus 200 through a pre-acquisition process (described later in FIG. 22). The prior acquisition information management table 900 is a table for managing data acquired in advance for each user. The prior acquisition information management table 900 includes a user ID field 602, a pattern shape field 606, an attribute value field 607, and a preliminary acquisition data field 901. An entry indicating pre-acquired information is configured by the value of each field in the same row.
図9は、事前取得情報管理テーブルの記憶内容例を示す説明図である。事前取得情報管理テーブル900は、データ取得装置200が事前取得処理(図22で後述)で更新するテーブルである。事前取得情報管理テーブル900は、ユーザごとに事前取得したデータを管理するテーブルである。事前取得情報管理テーブル900は、ユーザIDフィールド602と、パターン形状フィールド606と、属性値フィールド607と、事前取得データフィールド901と、を有する。同一行の各フィールドの値により、事前取得情報を示すエントリが構成される。 <Pre-acquired information management table>
FIG. 9 is an explanatory diagram of an example of stored contents of the pre-acquired information management table. The pre-acquisition information management table 900 is a table that is updated by the
事前取得データフィールド901は、事前取得データを格納する記憶領域である。事前取得データ901は、データアクセス機能131が電力NWモデルDB104にアクセスして事前取得したデータであり、ユーザID602で特定される作業者が指定するであろう取得パターン(同一エントリのパターン形状606および属性値607の組み合わせ)に含まれるデータである。
The advance acquisition data field 901 is a storage area for storing advance acquisition data. The pre-acquisition data 901 is data acquired in advance by the data access function 131 accessing the power NW model DB 104, and an acquisition pattern (pattern shape 606 and the same entry of the same entry) specified by the user ID 602 is specified. Data included in the attribute value 607 combination).
<起動タイミング管理テーブル>
図10は、起動タイミング管理テーブルの記憶内容例を示す説明図である。起動タイミング管理テーブル1000は、データ取得装置200が更新するテーブルである。起動タイミング管理テーブル1000は、ユーザごとに起動タイミングを管理するテーブルである。起動タイミング管理テーブル1000は、ユーザIDフィールド602と、起動タイミングフィールド1001と、を有する。同一行の各フィールドの値により、起動タイミング情報を示すエントリが構成される。 <Startup timing management table>
FIG. 10 is an explanatory diagram of an example of stored contents of the activation timing management table. The activation timing management table 1000 is a table that is updated by thedata acquisition device 200. The activation timing management table 1000 is a table for managing activation timing for each user. The activation timing management table 1000 has a user ID field 602 and an activation timing field 1001. An entry indicating activation timing information is configured by the value of each field in the same row.
図10は、起動タイミング管理テーブルの記憶内容例を示す説明図である。起動タイミング管理テーブル1000は、データ取得装置200が更新するテーブルである。起動タイミング管理テーブル1000は、ユーザごとに起動タイミングを管理するテーブルである。起動タイミング管理テーブル1000は、ユーザIDフィールド602と、起動タイミングフィールド1001と、を有する。同一行の各フィールドの値により、起動タイミング情報を示すエントリが構成される。 <Startup timing management table>
FIG. 10 is an explanatory diagram of an example of stored contents of the activation timing management table. The activation timing management table 1000 is a table that is updated by the
起動タイミングフィールド1001は、起動タイミングを格納する記憶領域である。セッションが終了すると、そのユーザID602の起動タイミングフィールド1001の値は消去される。起動タイミング1001は、データアクセス機能131に電力NWモデルDB104からデータを取得させるために事前取得機能133を起動するタイミングである。具体的には、たとえば、データ取得推定テーブル700において、該当するステップ番号701のエントリの次回取得タイミング配列703のうち、選択確率が最高となる次回取得タイミング配列703の代表取得時間が起動タイミング1001に適用される。
The activation timing field 1001 is a storage area for storing activation timing. When the session ends, the value of the activation timing field 1001 of the user ID 602 is deleted. The activation timing 1001 is a timing at which the pre-acquisition function 133 is activated to cause the data access function 131 to acquire data from the power NW model DB 104. Specifically, for example, in the data acquisition estimation table 700, the representative acquisition time of the next acquisition timing array 703 having the highest selection probability among the next acquisition timing arrays 703 of the entry of the corresponding step number 701 is the start timing 1001. Applied.
たとえば、図10のタイムチャートに示したように、ステップ番号701が「U001」のエントリには、2つの次回取得タイミング配列703{[U003][1][70],[U004][1][30]}がある。最高選択確率は、先頭の次回取得タイミング配列703{[U003][1][70]}の[70]であるため、先頭の次回取得タイミング配列703{[U003][1][70]}の代表取得時間[1]が起動タイミング1001に適用される。具体的には、たとえば、ログイン時からの代表取得時間[1]の経過時から、同一ユーザID602でかつ同一パターン形状606におけるデータ処理時間605の平均値分遡った時点が、ステップ番号701であるU003に対応するデータ取得要求による事前取得処理の起動タイミング1001となる。
For example, as shown in the time chart of FIG. 10, an entry whose step number 701 is “U001” includes two next acquisition timing arrays 703 {[U003] [1] [70], [U004] [1] [1] [ 30]}. Since the highest selection probability is [70] in the next next acquisition timing array 703 {[U003] [1] [70]}, the highest next selection probability array 703 {[U003] [1] [70]} The representative acquisition time [1] is applied to the activation timing 1001. Specifically, for example, the point of time 701 is the time point that is the same user ID 602 and the average value of the data processing time 605 in the same pattern shape 606 from the time when the representative acquisition time [1] has elapsed since the login. This is the start timing 1001 of the advance acquisition process by the data acquisition request corresponding to U003.
また、ステップ番号701が「U003」のエントリには、2つの次回取得タイミング配列703{[U008][5][90],[U010][7][10]}がある。最高選択確率は、先頭の次回取得タイミング配列703{[U008][5][90]}の[90]であるため、先頭の次回取得タイミング配列703{[U008][5][90]}の代表取得時間[5]が起動タイミング1001に適用される。具体的には、たとえば、ステップ番号701である「U003」に対応するデータ取得要求によってXMLデータが出力された時刻からの代表取得時間[5]の経過時から、同一ユーザID602でかつ同一パターン形状606におけるデータ処理時間605の平均値分遡った時点が、ステップ番号701であるU008に対応するデータ取得要求による事前取得処理の起動タイミング1001となる。
Also, the entry whose step number 701 is “U003” has two next acquisition timing arrays 703 {[U008] [5] [90], [U010] [7] [10]}. Since the highest selection probability is [90] of the next next acquisition timing array 703 {[U008] [5] [90]}, the highest next selection probability array 703 {[U008] [5] [90]} The representative acquisition time [5] is applied to the activation timing 1001. Specifically, for example, the same user ID 602 and the same pattern shape from the elapse of the representative acquisition time [5] from the time when the XML data is output by the data acquisition request corresponding to the step number 701 “U003” The point in time of the average value of the data processing time 605 in 606 is the start timing 1001 of the pre-acquisition processing by the data acquisition request corresponding to U008 which is step number 701.
図6~図9に示したテーブル600,700,800,900は、具体的には、たとえば、図3に示した記憶デバイス302により実現される。
Specifically, the tables 600, 700, 800, and 900 shown in FIGS. 6 to 9 are realized by the storage device 302 shown in FIG. 3, for example.
<データ取得装置200の機能的構成例>
図11は、データ取得装置200の機能的構成例を示すブロック図である。データ取得装置200は、受信部1101と、変換部1102と、送信部1103と、学習部1104と、特定部1105と、事前取得部1106と、設定部1107と、を有する。受信部1101~設定部1107は、具体的には、たとえば、図3に示した記憶デバイス302に記憶されたプログラムをプロセッサ301に実行させることにより、または、通信IF305により、実現される機能である。 <Example of Functional Configuration ofData Acquisition Device 200>
FIG. 11 is a block diagram illustrating a functional configuration example of thedata acquisition device 200. The data acquisition device 200 includes a reception unit 1101, a conversion unit 1102, a transmission unit 1103, a learning unit 1104, a specifying unit 1105, a pre-acquisition unit 1106, and a setting unit 1107. Specifically, the reception unit 1101 to the setting unit 1107 are functions realized by causing the processor 301 to execute the program stored in the storage device 302 illustrated in FIG. 3 or by the communication IF 305, for example. .
図11は、データ取得装置200の機能的構成例を示すブロック図である。データ取得装置200は、受信部1101と、変換部1102と、送信部1103と、学習部1104と、特定部1105と、事前取得部1106と、設定部1107と、を有する。受信部1101~設定部1107は、具体的には、たとえば、図3に示した記憶デバイス302に記憶されたプログラムをプロセッサ301に実行させることにより、または、通信IF305により、実現される機能である。 <Example of Functional Configuration of
FIG. 11 is a block diagram illustrating a functional configuration example of the
受信部1101は、端末101からデータ取得要求を受信する。変換部1102は、電力NWモデルDB104にアクセスして、受信部1101によって受信されたデータ取得要求に該当するデータ(属性が異なる複数のデータ)を電力NWモデルDB104から取得して、異なる形式のデータ(XMLデータ)に変換する。変換部1102は、上述したデータアクセス機能131に相当する。送信部1103は、変換部1102で得られたXMLデータを、要求元、すなわち、データ取得要求の送信元である端末101に送信する。
The receiving unit 1101 receives a data acquisition request from the terminal 101. The conversion unit 1102 accesses the power NW model DB 104, acquires data corresponding to the data acquisition request received by the reception unit 1101 (a plurality of data having different attributes) from the power NW model DB 104, and stores data in different formats. Convert to (XML data). The conversion unit 1102 corresponds to the data access function 131 described above. The transmission unit 1103 transmits the XML data obtained by the conversion unit 1102 to the request source, that is, the terminal 101 that is the transmission source of the data acquisition request.
学習部1104は、要求元から受信された一連のデータ取得要求の各々のデータ取得要求について、データ取得要求の種類と、データ取得要求の時系列順を規定する取得タイミングと、を学習する。学習部1104は、上述したパターン学習機能132に対応する。要求元とは、作業者がデータ取得装置200へのログインに使用した端末101である。データ取得要求の種類とは、たとえば、取得パターン(パターン形状606と属性値607の組み合わせ)である。取得タイミングとは、たとえば、データ取得要求時刻604である。学習部1104は、この他、データ取得要求に含まれるユーザID602やセッションID603を特定する。また、学習部1104は、変換部1102からのXMLデータの出力完了の通知を受けて、データ処理時間605を計測する。これにより、学習部1104は、データ取得要求ごとに、データ取得履歴蓄積テーブル600にエントリを登録する。
The learning unit 1104 learns the type of data acquisition request and the acquisition timing that defines the time series order of the data acquisition request for each data acquisition request of the series of data acquisition requests received from the request source. The learning unit 1104 corresponds to the pattern learning function 132 described above. The request source is the terminal 101 used by the operator to log in to the data acquisition device 200. The type of data acquisition request is, for example, an acquisition pattern (a combination of pattern shape 606 and attribute value 607). The acquisition timing is, for example, the data acquisition request time 604. In addition, the learning unit 1104 identifies the user ID 602 and the session ID 603 included in the data acquisition request. Further, the learning unit 1104 measures the data processing time 605 in response to the notification of the completion of the output of the XML data from the conversion unit 1102. Thereby, the learning unit 1104 registers an entry in the data acquisition history accumulation table 600 for each data acquisition request.
また、学習部1104は、データ取得履歴蓄積テーブル600に登録したエントリを用いて、データ取得推定テーブル700のエントリを生成して登録する。具体的には、学習部1104は、学習結果テーブルを用いて学習結果を生成する。
Further, the learning unit 1104 uses the entry registered in the data acquisition history accumulation table 600 to generate and register an entry in the data acquisition estimation table 700. Specifically, the learning unit 1104 generates a learning result using a learning result table.
図12は、学習結果テーブルの一例を示す説明図である。学習結果テーブル1200は、ユーザID602ごとに生成される。学習結果テーブル1200は、取得パターンID列フィールド1201と、選択回数フィールド1202と、選択確率フィールド1203と、代表取得時間フィールド1204と、代表属性値フィールド702と、を有する。
FIG. 12 is an explanatory diagram showing an example of a learning result table. A learning result table 1200 is generated for each user ID 602. The learning result table 1200 includes an acquisition pattern ID column field 1201, a selection count field 1202, a selection probability field 1203, a representative acquisition time field 1204, and a representative attribute value field 702.
取得パターンID列フィールド1201は、取得パターンID列を格納する記憶領域である。取得パターンID列1201は、時系列な取得パターンを特定するID列である。たとえば、「P1」は、1回のデータ取得要求では取得パターンP1が選択されてセッションが終了したことを示す取得パターンID列1201である。また、「P1-P1-P2」は、1回のデータ取得要求では取得パターンP1、2回目のデータ取得要求では取得パターンP1、3回目のデータ取得要求では、取得パターンP2が選択されてセッションが終了したことを示す取得パターンID列1201である。
The acquisition pattern ID column field 1201 is a storage area for storing the acquisition pattern ID column. The acquisition pattern ID string 1201 is an ID string that identifies a time-series acquisition pattern. For example, “P1” is an acquisition pattern ID column 1201 indicating that the acquisition pattern P1 is selected in one data acquisition request and the session is ended. “P1-P1-P2” is an acquisition pattern P1 for the first data acquisition request, an acquisition pattern P1 for the second data acquisition request, and an acquisition pattern P2 for the third data acquisition request. It is an acquisition pattern ID column 1201 indicating that the processing has ended.
選択回数フィールド1202は、選択回数を格納する記憶領域である。選択回数1202は、その取得パターンID列1201でセッションが終了した回数、すなわち、取得パターンID列1201を選択した回数である。
The selection number field 1202 is a storage area for storing the number of selections. The number of selections 1202 is the number of times that the session has ended in the acquisition pattern ID column 1201, that is, the number of times the acquisition pattern ID column 1201 has been selected.
選択確率フィールド1203は、選択確率を格納する記憶領域である。選択確率1203は、その取得パターンID列1201が選択される確率である。学習部1104は、先頭から1つ前までの一連の取得パターンIDが共通する取得パターンID列1201を用いて選択確率1203を算出する。ただし、取得パターンID列1201が1個の取得パターンIDのみからなる場合、先頭から1つ前までの一連の取得パターンIDは存在しないため、選択確率1203の分母は、取得パターンID列1201「P1」~「P5」の選択回数1202の総和となり、分子は、取得パターンID列1201「P1」~「P5」のうち対象となる取得パターンID列1201の選択回数1202である。
The selection probability field 1203 is a storage area for storing the selection probability. The selection probability 1203 is a probability that the acquired pattern ID string 1201 is selected. The learning unit 1104 calculates a selection probability 1203 using an acquisition pattern ID string 1201 in which a series of acquisition pattern IDs from the head to the previous one are common. However, when the acquisition pattern ID string 1201 includes only one acquisition pattern ID, there is no series of acquisition pattern IDs from the head to the previous one, so the denominator of the selection probability 1203 is the acquisition pattern ID string 1201 “P1 ”To“ P5 ”, and the numerator is the number of selections 1202 of the target acquisition pattern ID column 1201 among the acquisition pattern ID columns 1201“ P1 ”to“ P5 ”.
たとえば、取得パターンID列1201「P1」の選択確率1203は、7/10(70%)、取得パターンID列1201「P2」の選択確率1203は、3/10(30%)、取得パターンID列1201「P3」~「P5」の選択確率1203は、それぞれ、0/10(0%)となる。
For example, the selection probability 1203 of the acquisition pattern ID string 1201 “P1” is 7/10 (70%), the selection probability 1203 of the acquisition pattern ID string 1201 “P2” is 3/10 (30%), and the acquisition pattern ID string The selection probabilities 1203 of 1201 “P3” to “P5” are 0/10 (0%), respectively.
ID数が2以上の取得パターンID列1201については、たとえば、ID数が3個の場合、取得パターンID列1201は、125通り存在する。学習部1104は、このうち、先頭(1回目)から1つ前(2回目)までの取得パターンIDが共通する取得パターンID列1201でグルーピングし、各グループ内で選択確率1203を算出する。たとえば、「P1-P1-P1」、「P1-P1-P2」、「P1-P1-P3」、「P1-P1-P4」、「P1-P1-P5」は、先頭(1回目)から1つ前(2回目)までの取得パターンIDが「P1-P1」で共通する。この場合、選択確率1203の分母は、取得パターンID列1201「P1-P1-P1」~「P1-P1-P5」の選択回数1202の総和となり、分子は、取得パターンID列1201「P1-P1-P1」~「P1-P1-P5」のうち対象となる取得パターンID列1201の選択回数1202である。
For the acquisition pattern ID column 1201 having two or more IDs, for example, when the number of IDs is three, there are 125 acquisition pattern ID columns 1201. Of these, the learning unit 1104 groups the acquired pattern IDs 1201 having the same acquired pattern ID from the first (first) to the previous (second), and calculates a selection probability 1203 within each group. For example, “P1-P1-P1”, “P1-P1-P2”, “P1-P1-P3”, “P1-P1-P4”, “P1-P1-P5” are 1 from the top (first time). The acquisition pattern ID up to the previous (second) is common to “P1-P1”. In this case, the denominator of the selection probability 1203 is the sum of the selection times 1202 of the acquisition pattern ID column 1201 “P1-P1-P1” to “P1-P1-P5”, and the numerator is the acquisition pattern ID column 1201 “P1-P1”. This is the number of selections 1202 of the acquisition pattern ID column 1201 that is the target among “-P1” to “P1-P1-P5”.
たとえば、取得パターンID列1201「P1-P1-P1」の選択確率1203は、4/10(40%)、取得パターンID列1201「P1-P1-P2」の選択確率1203は、6/10(60%)、取得パターンID列1201「P1-P1-P3」~「P1-P1-P5」の選択確率1203は、それぞれ、0/10(0%)となる。
For example, the selection probability 1203 of the acquisition pattern ID column 1201 “P1-P1-P1” is 4/10 (40%), and the selection probability 1203 of the acquisition pattern ID column 1201 “P1-P1-P2” is 6/10 ( 60%), the selection probabilities 1203 of the acquired pattern ID columns 1201 “P1-P1-P3” to “P1-P1-P5” are 0/10 (0%), respectively.
代表取得時間フィールド1204は、代表取得時間を格納する記憶領域である。代表取得時間1204については、学習部1104は、データ取得履歴蓄積テーブル600を参照して、各取得パターンID列1201について、末尾の取得パターンIDに対応するデータ取得要求のデータ取得要求時刻604から、その1つ前の取得パターンIDに対応するデータ取得要求のデータ取得要求時刻604を引いた時間を、取得時間として算出する。そして、学習部1104は、たとえば、算出した各取得時間の平均値を代表取得時間1204として算出する。
The representative acquisition time field 1204 is a storage area for storing the representative acquisition time. For the representative acquisition time 1204, the learning unit 1104 refers to the data acquisition history accumulation table 600, and for each acquisition pattern ID column 1201, from the data acquisition request time 604 of the data acquisition request corresponding to the last acquisition pattern ID, The time obtained by subtracting the data acquisition request time 604 of the data acquisition request corresponding to the previous acquisition pattern ID is calculated as the acquisition time. Then, the learning unit 1104 calculates, for example, the average value of the calculated acquisition times as the representative acquisition time 1204.
たとえば、取得パターンID列1201が「P1-P2-P3」である場合、学習部1104は、そのユーザのセッションID603ごとに、取得パターンのパターン形状606が「P1」→「P2」→「P3」で終了となるエントリを、データ取得履歴蓄積テーブル600から特定する。そして、学習部1104は、末尾の取得パターンID「P3」がパターン形状606として登録されているエントリのデータ取得要求時刻604と、その1つ前の取得パターンID「P2」がパターン形状606として登録されているエントリのデータ取得要求時刻604と、を取得して、取得時間を算出する。学習部1104は、この取得時間の算出処理を、取得パターンID列1201が「P1-P2-P3」であるセッションごとに実行し、算出した取得時間の平均値を求めて、取得パターンID列1201「P1-P2-P3」の代表取得時間1204とする。
For example, when the acquired pattern ID column 1201 is “P1-P2-P3”, the learning unit 1104 sets the pattern shape 606 of the acquired pattern to “P1” → “P2” → “P3” for each session ID 603 of the user. The entry ending in is identified from the data acquisition history accumulation table 600. Then, the learning unit 1104 registers the data acquisition request time 604 of the entry in which the last acquisition pattern ID “P3” is registered as the pattern shape 606 and the previous acquisition pattern ID “P2” as the pattern shape 606. The data acquisition request time 604 of the registered entry is acquired, and the acquisition time is calculated. The learning unit 1104 executes this acquisition time calculation process for each session whose acquisition pattern ID column 1201 is “P1-P2-P3”, obtains the average value of the calculated acquisition times, and acquires the acquisition pattern ID column 1201. The representative acquisition time 1204 of “P1-P2-P3” is assumed.
なお、ID数が1個の取得パターンID列1201については、1つ前の取得パターンIDが存在しないため、1つ前の取得パターンIDに対応するデータ取得要求のデータ取得要求時刻604の代わりにログイン時刻が適用される。
For the acquisition pattern ID column 1201 with one ID, there is no previous acquisition pattern ID, so instead of the data acquisition request time 604 of the data acquisition request corresponding to the previous acquisition pattern ID. The login time is applied.
代表属性値702は、代表電圧と代表取得範囲との組み合わせである。代表属性値702は、たとえば、各取得パターンID列1201において、末尾の取得パターンIDが示す取得パターンを選択した場合における、電圧値および取得範囲のそれぞれの平均値である。
The representative attribute value 702 is a combination of a representative voltage and a representative acquisition range. The representative attribute value 702 is, for example, the average value of the voltage value and the acquisition range when the acquisition pattern indicated by the acquisition pattern ID at the end is selected in each acquisition pattern ID column 1201.
たとえば、取得パターンID列1201が「P1-P2-P3」である場合、学習部1104は、そのユーザのセッションID603ごとに、取得パターンのパターン形状606が「P1」→「P2」→「3」で終了となるエントリを、データ取得履歴蓄積テーブル600から特定する。そして、学習部1104は、末尾の取得パターンID「P3」がパターン形状606として登録されているエントリの属性値607(地点を除く)を取得する。学習部1104は、この属性値607(地点を除く)の取得処理を、取得パターンID列1201が「P1-P2-P3」であるセッションごとに実行し、取得した属性値607(地点を除く)の平均値を求めて、取得パターンID列1201「P1-P2-P3」の代表属性値702とする。選択確率1203、代表取得時間1204および代表属性値702は、データ取得推定テーブル700のエントリ登録に用いられる。
For example, when the acquired pattern ID column 1201 is “P1-P2-P3”, the learning unit 1104 sets the pattern shape 606 of the acquired pattern to “P1” → “P2” → “3” for each session ID 603 of the user. The entry ending in is identified from the data acquisition history accumulation table 600. Then, the learning unit 1104 acquires the attribute value 607 (excluding the point) of the entry in which the acquisition pattern ID “P3” at the end is registered as the pattern shape 606. The learning unit 1104 executes the acquisition processing of the attribute value 607 (excluding the point) for each session whose acquisition pattern ID string 1201 is “P1-P2-P3”, and acquires the acquired attribute value 607 (excluding the point). Is obtained as the representative attribute value 702 of the acquired pattern ID column 1201 “P1-P2-P3”. The selection probability 1203, the representative acquisition time 1204, and the representative attribute value 702 are used for entry registration of the data acquisition estimation table 700.
図11に戻り、特定部1105は、一連のデータ取得要求とは異なる他の一連のデータ取得要求について第1データ取得要求が要求元から受信された場合、学習部1104の学習処理による学習結果に基づいて、第1データ取得要求の次に要求元から取得され得る次回推定データ取得要求の種類および取得タイミングを特定する。特定部1105は、上述した事前取得機能133に対応する。
Returning to FIG. 11, when the first data acquisition request is received from the request source for a series of other data acquisition requests different from the series of data acquisition requests, the specifying unit 1105 displays the learning result by the learning process of the learning unit 1104. Based on the first data acquisition request, the type of the next estimated data acquisition request that can be acquired from the request source and the acquisition timing are specified. The specifying unit 1105 corresponds to the advance acquisition function 133 described above.
特定部1105は、学習結果、具体的には、データ取得推定テーブル700の次回取得タイミング配列703から、次回推定データ取得要求のステップ番号701を選択確率1203で特定する。そして、特定部1105は、次回推定データ取得要求の種類として、次回推定データ取得要求のステップ番号701のエントリに対応するパターン形状606および代表属性値702をデータ取得推定テーブル700から特定する。また、特定部1105は、次回推定データ取得要求の取得タイミングとして、第1データ取得要求のデータ取得要求時刻604から、代表取得時間1204の経過時となる次回推定データ取得要求時刻604を特定する。
The identifying unit 1105 identifies the step number 701 of the next estimated data acquisition request with the selection probability 1203 from the learning result, specifically, the next acquisition timing array 703 of the data acquisition estimation table 700. Then, the specifying unit 1105 specifies the pattern shape 606 and the representative attribute value 702 corresponding to the entry of the step number 701 of the next estimated data acquisition request from the data acquisition estimation table 700 as the next estimated data acquisition request type. Further, the specifying unit 1105 specifies the next estimated data acquisition request time 604 that is the time when the representative acquisition time 1204 has elapsed from the data acquisition request time 604 of the first data acquisition request as the acquisition timing of the next estimated data acquisition request.
事前取得部1106は、特定部1105の特定処理によって種類が特定された次回推定データ取得要求に該当するデータを、次回推定データ取得要求の取得タイミング前に電力NWモデルDB104から取得する。事前取得部1106は、上述した事前取得機能133に対応する。具体的には、たとえば、事前取得部1106は、変換部1102を制御して、第2データ取得要求の取得タイミング前に電力NWモデルDB104からデータを取得する。
The prior acquisition unit 1106 acquires data corresponding to the next estimated data acquisition request whose type is specified by the specifying process of the specifying unit 1105 from the power NW model DB 104 before the acquisition timing of the next estimated data acquisition request. The advance acquisition unit 1106 corresponds to the advance acquisition function 133 described above. Specifically, for example, the advance acquisition unit 1106 controls the conversion unit 1102 to acquire data from the power NW model DB 104 before the acquisition timing of the second data acquisition request.
設定部1107は、次回推定データ取得要求の取得タイミングが、当該データの所定の形式(たとえば、XML形式)への変換に要するデータ処理時間605の経過時以降となるように、事前取得処理の起動タイミング1001を設定する。具体的には、たとえば、設定部1107は、図10のタイムチャートで説明したように、代表取得時間1204の経過時から、同一ユーザID602でかつ同一パターン形状606におけるデータ処理時間605の平均値分遡った時点を起動タイミング1001として設定する。これにより、事前取得部1106は、起動タイミング1001で事前取得処理を実行することができる。
The setting unit 1107 starts the advance acquisition process so that the next estimated data acquisition request acquisition timing is after the elapse of the data processing time 605 required to convert the data into a predetermined format (for example, XML format). Timing 1001 is set. Specifically, for example, as described with reference to the time chart of FIG. 10, the setting unit 1107 includes the average value of the data processing time 605 for the same user ID 602 and the same pattern shape 606 from the time when the representative acquisition time 1204 has elapsed. The retroactive time is set as the activation timing 1001. Thereby, the advance acquisition unit 1106 can execute the advance acquisition process at the activation timing 1001.
判断部1108は、第1データ取得要求の次に実際に第2データ取得要求が受信された場合、第2データ取得要求に含まれる種類と、特定処理によって特定された次回推定データ取得要求の種類と、が一致するか否かを判断する。一致する場合、事前取得部1106は、事前取得結果を送信部1103に送る。不一致の場合、変換部1102は、電力NWモデルDB104から、受信部1101によって受信された第2データ取得要求に該当するデータを取得してXMLデータに変換し、送信部1103に送る。また、不一致の場合、特定部1105は、データ取得推定テーブル700の次回取得タイミング配列703から、前回選択されなかった次回推定データ取得要求のステップ番号701を選択確率1203で特定することになる。
When the second data acquisition request is actually received after the first data acquisition request, the determination unit 1108 includes the type included in the second data acquisition request and the type of the next estimated data acquisition request specified by the specifying process. And whether they match. If they match, the pre-acquisition unit 1106 sends the pre-acquisition result to the transmission unit 1103. In the case of mismatch, the conversion unit 1102 acquires data corresponding to the second data acquisition request received by the reception unit 1101 from the power NW model DB 104, converts the data into XML data, and sends the XML data to the transmission unit 1103. In the case of mismatch, the identifying unit 1105 identifies the step number 701 of the next estimated data acquisition request that was not selected last time from the next acquisition timing array 703 of the data acquisition estimation table 700 with the selection probability 1203.
<学習処理>
図13は、学習部1104による学習処理手順例を示すフローチャートである。学習部1104は、学習タイミングを待ち受ける(ステップS1301:No)。学習タイミングとは、たとえば、ユーザにより指定された不定期なタイミング、または、日次、週次、月次などの定期的なタイミングである。学習タイミングである場合(ステップS1301:Yes)、学習部1104は、データ取得履歴蓄積テーブル600から対象エントリ群を取得する(ステップS1302)。対象エントリ群とは、学習対象エントリ群とは、学習対象となるエントリ群であり、データ取得履歴蓄積テーブル600の全エントリでもよく、データ取得履歴蓄積テーブル600のあるフィールドの値の範囲であらかじめ制限されたエントリ群でもよい。 <Learning process>
FIG. 13 is a flowchart illustrating an example of a learning process procedure performed by thelearning unit 1104. The learning unit 1104 waits for learning timing (step S1301: No). The learning timing is, for example, irregular timing designated by the user, or regular timing such as daily, weekly, monthly or the like. If it is the learning timing (step S1301: Yes), the learning unit 1104 acquires the target entry group from the data acquisition history accumulation table 600 (step S1302). The target entry group is an entry group to be learned and may be all entries in the data acquisition history accumulation table 600, and is limited in advance within a range of values of a certain field in the data acquisition history accumulation table 600. It may be a group of entries.
図13は、学習部1104による学習処理手順例を示すフローチャートである。学習部1104は、学習タイミングを待ち受ける(ステップS1301:No)。学習タイミングとは、たとえば、ユーザにより指定された不定期なタイミング、または、日次、週次、月次などの定期的なタイミングである。学習タイミングである場合(ステップS1301:Yes)、学習部1104は、データ取得履歴蓄積テーブル600から対象エントリ群を取得する(ステップS1302)。対象エントリ群とは、学習対象エントリ群とは、学習対象となるエントリ群であり、データ取得履歴蓄積テーブル600の全エントリでもよく、データ取得履歴蓄積テーブル600のあるフィールドの値の範囲であらかじめ制限されたエントリ群でもよい。 <Learning process>
FIG. 13 is a flowchart illustrating an example of a learning process procedure performed by the
そして、学習部1104は、学習処理を実行する(ステップS1303)。学習処理(ステップS1303)の詳細については、図14で後述する。このあと、学習部1104は、データ取得推定テーブル更新処理を実行する(ステップS1304)。データ取得推定テーブル更新処理(ステップS1304)の詳細については、図18で後述する。これにより、学習部1104は、一連の処理を終了する。
Then, the learning unit 1104 executes a learning process (step S1303). Details of the learning process (step S1303) will be described later with reference to FIG. Thereafter, the learning unit 1104 executes a data acquisition estimation table update process (step S1304). Details of the data acquisition estimation table update process (step S1304) will be described later with reference to FIG. Thereby, the learning unit 1104 ends the series of processes.
<学習処理(ステップS1303)>
図14は、図13に示した学習処理(ステップS1303)の詳細な処理手順例を示すフローチャートである。学習部1104は、データ取得履歴蓄積テーブル600から取得した学習対象エントリ群について、未選択のユーザID602があるか否かを判断する(ステップS1401)。未選択のユーザID602がある場合(ステップS1401:Yes)、学習部1104は、未選択のユーザID602を選択して、当該選択ユーザID602のエントリ群を学習対象エントリ群から選択する(ステップS1402)。学習部1104は、選択ユーザID602のエントリ群について、未選択のセッションID603があるか否かを判断する(ステップS1403)。未選択のセッションID603がある場合(ステップS1403:Yes)、学習部1104は、当該選択ユーザID602のエントリ群から、未選択セッションID603を選択して、当該選択セッションID603のエントリ群を選択する(ステップS1404)。 <Learning process (step S1303)>
FIG. 14 is a flowchart showing a detailed processing procedure example of the learning processing (step S1303) shown in FIG. Thelearning unit 1104 determines whether there is an unselected user ID 602 for the learning target entry group acquired from the data acquisition history accumulation table 600 (step S1401). When there is an unselected user ID 602 (step S1401: Yes), the learning unit 1104 selects an unselected user ID 602 and selects an entry group of the selected user ID 602 from the learning target entry group (step S1402). The learning unit 1104 determines whether there is an unselected session ID 603 for the entry group of the selected user ID 602 (step S1403). If there is an unselected session ID 603 (step S1403: Yes), the learning unit 1104 selects an unselected session ID 603 from the entry group of the selected user ID 602, and selects the entry group of the selected session ID 603 (step S1403). S1404).
図14は、図13に示した学習処理(ステップS1303)の詳細な処理手順例を示すフローチャートである。学習部1104は、データ取得履歴蓄積テーブル600から取得した学習対象エントリ群について、未選択のユーザID602があるか否かを判断する(ステップS1401)。未選択のユーザID602がある場合(ステップS1401:Yes)、学習部1104は、未選択のユーザID602を選択して、当該選択ユーザID602のエントリ群を学習対象エントリ群から選択する(ステップS1402)。学習部1104は、選択ユーザID602のエントリ群について、未選択のセッションID603があるか否かを判断する(ステップS1403)。未選択のセッションID603がある場合(ステップS1403:Yes)、学習部1104は、当該選択ユーザID602のエントリ群から、未選択セッションID603を選択して、当該選択セッションID603のエントリ群を選択する(ステップS1404)。 <Learning process (step S1303)>
FIG. 14 is a flowchart showing a detailed processing procedure example of the learning processing (step S1303) shown in FIG. The
学習部1104は、ステップS1404で選択された当該選択セッションID603のエントリ群のうち未選択のエントリがあるか否かを判断する(ステップS1405)。未選択のエントリがある場合(ステップS1405:Yes)、学習部1104は、当該選択セッションID603のエントリ群から、未選択かつデータ取得要求時刻604が最古のエントリを選択する(ステップS1406)。そして、学習部1104は、ステップS1406の選択エントリから、取得パターンID(パターン形状606)、データ取得要求時刻604、および属性値607を特定し、取得パターン配列の最後尾に追加する(ステップS1407)。そして、ステップS1405に戻る。ステップS1405~S1407のループにより、選択セッションID603のエントリごとに、取得パターン配列が生成される。
The learning unit 1104 determines whether there is an unselected entry among the entry group of the selected session ID 603 selected in step S1404 (step S1405). When there is an unselected entry (step S1405: Yes), the learning unit 1104 selects an entry that is not selected and has the oldest data acquisition request time 604 from the entry group of the selected session ID 603 (step S1406). Then, the learning unit 1104 identifies the acquisition pattern ID (pattern shape 606), the data acquisition request time 604, and the attribute value 607 from the selection entry in step S1406, and adds them to the end of the acquisition pattern array (step S1407). . Then, the process returns to step S1405. An acquisition pattern array is generated for each entry of the selected session ID 603 through the loop of steps S1405 to S1407.
ステップS1405において、未選択エントリがない場合(ステップS1405:No)、学習部1104は、最終的に生成された、選択ユーザID602で、かつ、選択セッションID603の取得パターン配列を記憶デバイス302に保存し(ステップS1408)、ステップS1403に戻る。
If there is no unselected entry in step S1405 (step S1405: No), the learning unit 1104 stores the acquired pattern array of the selected user ID 602 and the selected session ID 603, which is finally generated, in the storage device 302. (Step S1408), the process returns to Step S1403.
ステップS1403において、選択ユーザID602について未選択セッションID603がない場合(ステップS1403:No)、学習部1104は、集計処理(ステップS1409)および代表値算出処理(ステップS1410)を実行する。集計処理(ステップS1409)および代表値算出処理(ステップS1410)の詳細については、それぞれ、図16、図17で後述する。代表値算出処理(ステップS1410)のあと、ステップS1401に戻る。
In step S1403, when there is no unselected session ID 603 for the selected user ID 602 (step S1403: No), the learning unit 1104 executes the aggregation process (step S1409) and the representative value calculation process (step S1410). Details of the aggregation process (step S1409) and the representative value calculation process (step S1410) will be described later with reference to FIGS. 16 and 17, respectively. After the representative value calculation process (step S1410), the process returns to step S1401.
ステップS1401において、未選択のユーザID602がない場合(ステップS1401:No)、学習部1104は学習処理(ステップS1303)を終了し、データ取得推定テーブル更新処理(ステップS1304)に移行する。
In step S1401, when there is no unselected user ID 602 (step S1401: No), the learning unit 1104 ends the learning process (step S1303) and proceeds to the data acquisition estimation table update process (step S1304).
<集計処理(ステップS1409)>
図15は、図14に示した集計処理(ステップS1409)の詳細な処理手順例を示すフローチャートである。集計処理(ステップS1409)は、学習結果テーブル1200において、選択回数1202を集計したり、代表取得時間1204の算出元となる取得時間を算出する処理である。 <Aggregating process (step S1409)>
FIG. 15 is a flowchart illustrating a detailed processing procedure example of the aggregation processing (step S1409) illustrated in FIG. The tabulation process (step S1409) is a process of counting the number ofselections 1202 in the learning result table 1200 and calculating an acquisition time that is a calculation source of the representative acquisition time 1204.
図15は、図14に示した集計処理(ステップS1409)の詳細な処理手順例を示すフローチャートである。集計処理(ステップS1409)は、学習結果テーブル1200において、選択回数1202を集計したり、代表取得時間1204の算出元となる取得時間を算出する処理である。 <Aggregating process (step S1409)>
FIG. 15 is a flowchart illustrating a detailed processing procedure example of the aggregation processing (step S1409) illustrated in FIG. The tabulation process (step S1409) is a process of counting the number of
学習部1104は、ステップS1407で生成された取得パターン配列群について、未選択セッションID603があるか否かを判断する(ステップS1501)。未選択セッションID603がある場合(ステップS1501:Yes)、学習部1104は、未選択セッションID603を選択し、その取得パターン配列を選択する(ステップS1502)。そして、学習部1104は、選択取得パターン配列に含まれている一連の取得パターンID(以下、取得パターンID列1201)を特定する(ステップS1503)。
The learning unit 1104 determines whether or not there is an unselected session ID 603 for the acquired pattern array group generated in step S1407 (step S1501). When there is an unselected session ID 603 (step S1501: Yes), the learning unit 1104 selects an unselected session ID 603 and selects an acquisition pattern array (step S1502). Then, the learning unit 1104 identifies a series of acquisition pattern IDs (hereinafter referred to as an acquisition pattern ID string 1201) included in the selection acquisition pattern array (step S1503).
学習部1104は、学習結果テーブル1200において、特定した取得パターンID列1201の選択回数1202に1加算する(ステップS1504)。
The learning unit 1104 adds 1 to the selection count 1202 of the specified acquisition pattern ID string 1201 in the learning result table 1200 (step S1504).
つぎに、学習部1104は、変数iをi=1とする(ステップS1505)。学習部1104は、選択取得パターン配列に、先頭からi番目までの取得パターンID列1201が存在するか否かを判断する(ステップS1506)。存在する場合(ステップS1506:Yes)、学習部1104は、選択取得パターン配列のi番目のデータ取得要求時刻604から(i‐1)番目のデータ取得要求時刻604を減算して、(i-1)回目のデータ取得からi回目のデータ取得までの取得時間を算出する(ステップS1507)。
Next, the learning unit 1104 sets the variable i to i = 1 (step S1505). The learning unit 1104 determines whether or not the first to i-th acquisition pattern ID strings 1201 exist in the selection acquisition pattern array (step S1506). If it exists (step S1506: Yes), the learning unit 1104 subtracts the (i-1) -th data acquisition request time 604 from the i-th data acquisition request time 604 of the selected acquisition pattern array to obtain (i-1 ) The acquisition time from the first data acquisition to the i-th data acquisition is calculated (step S1507).
学習部1104は、選択取得パターン配列のi番目のデータ取得要求時刻604に、ステップS1507で算出した取得時間を保存する(ステップS1508)。そして、学習部1104は、iをインクリメントし(ステップS1509)、ステップS1506に戻る。
The learning unit 1104 stores the acquisition time calculated in step S1507 at the i-th data acquisition request time 604 of the selected acquisition pattern array (step S1508). Then, the learning unit 1104 increments i (step S1509) and returns to step S1506.
ステップS1506において、選択取得パターン配列に、先頭からi番目までの取得パターンID列1201が存在しない場合(ステップS1506:No)、ステップS1501に戻る。ステップS1501において、取得パターン配列群について、未選択セッションID603がない場合(ステップS1501:No)、学習部1104は、選択確率算出処理を実行して(ステップS1510)、代表値算出処理(ステップS1410)に移行する。
In step S1506, when there is no i-th acquisition pattern ID string 1201 from the top in the selected acquisition pattern array (step S1506: No), the process returns to step S1501. In step S1501, when there is no unselected session ID 603 for the acquired pattern array group (step S1501: No), the learning unit 1104 executes a selection probability calculation process (step S1510) and a representative value calculation process (step S1410). Migrate to
<選択確率算出処理>
図16は、図15に示した選択確率算出処理(ステップS1510)の詳細な処理手順例を示すフローチャートである。学習部1104は、iの初期値をi=1に設定する(ステップS1601)。iは、学習結果テーブル1200で規定した取得パターンID列1201に含まれるID数を示す変数である。 <Selection probability calculation process>
FIG. 16 is a flowchart showing a detailed processing procedure example of the selection probability calculation process (step S1510) shown in FIG. Thelearning unit 1104 sets the initial value of i to i = 1 (step S1601). i is a variable indicating the number of IDs included in the acquisition pattern ID string 1201 defined in the learning result table 1200.
図16は、図15に示した選択確率算出処理(ステップS1510)の詳細な処理手順例を示すフローチャートである。学習部1104は、iの初期値をi=1に設定する(ステップS1601)。iは、学習結果テーブル1200で規定した取得パターンID列1201に含まれるID数を示す変数である。 <Selection probability calculation process>
FIG. 16 is a flowchart showing a detailed processing procedure example of the selection probability calculation process (step S1510) shown in FIG. The
学習部1104は、ID数がi個の取得パターンID列1201があるか否かを判断する(ステップS1602)。i個の取得パターンID列1201がある場合とは、選択回数1202が1以上あるi個の取得パターンID列1201が存在する場合をいう。
The learning unit 1104 determines whether there is an acquisition pattern ID string 1201 with i IDs (step S1602). The case where there are i acquisition pattern ID columns 1201 means a case where there are i acquisition pattern ID columns 1201 having a selection count 1202 of 1 or more.
i個の取得パターンID列1201がある場合(ステップS1602:Yes)、ID数i個の取得パターンID列1201群を、先頭から(i-1)番目までの取得パターンIDが共通する取得パターンID列1201にグループ分けをする(ステップS1603)。たとえば、ID数がi=3個の場合、取得パターンID列1201「P1-P1-P1」と「P1-P1-P2」は、先頭から2番目(i-1番目)までの「P1-P1」が共通するため、同一グループにグループ分けされる。一方、取得パターンID列1201「P1-P1-P1」と「P1-P3-P2」は、先頭から2番目(i-1番目)までの取得パターンIDが「P1-P1」と「P1-P3」であるため、異なるグループにグループ分けされる。なお、ID数がi=1個の場合、先頭から(i-1)番目までの取得パターンIDが存在しないため、「P1」~「P5」は、同一グループにグループ分けされる。
When there are i acquisition pattern ID strings 1201 (step S1602: Yes), the acquisition pattern ID string 1201 group having the number of IDs is the same as the acquisition pattern ID from the top to the (i-1) th acquisition pattern ID. Grouping is performed on the column 1201 (step S1603). For example, when the number of IDs is i = 3, the acquired pattern ID strings 1201 “P1-P1-P1” and “P1-P1-P2” are “P1-P1” from the top to the second (i−1). "Are common, they are grouped into the same group. On the other hand, the acquisition pattern ID columns 1201 “P1-P1-P1” and “P1-P3-P2” have the acquisition pattern IDs “P1-P1” and “P1-P3” from the top to the second (i−1) th. Are grouped into different groups. When the number of IDs is i = 1, since there are no (i−1) th acquired pattern IDs from the top, “P1” to “P5” are grouped into the same group.
学習部1104は、未選択グループがあるか否かを判断する(ステップS1604)。未選択グループがある場合(ステップS1604:Yes)、学習部1104は、未選択グループを1つ選択する(ステップS1605)。そして、学習部1104は、選択グループ内のID数i個の各取得パターンID列1201の選択確率1203を算出し、学習結果テーブル1200に保存する(ステップS1606)。そして、ステップS1604に戻る。
The learning unit 1104 determines whether there is an unselected group (step S1604). When there is an unselected group (step S1604: Yes), the learning unit 1104 selects one unselected group (step S1605). Then, the learning unit 1104 calculates the selection probability 1203 of each acquired pattern ID string 1201 with the number of IDs i in the selected group, and stores it in the learning result table 1200 (step S1606). Then, the process returns to step S1604.
ステップS1604において、未選択グループがない場合(ステップS1604:No)、学習部1104は、iをインクリメントし(ステップS1607)、ステップS1602に戻る。ステップS1602において、ID数がi個の取得パターンID列1201がない場合(ステップS1602:No)、学習部1104は、選択確率算出処理(ステップS1510)を終了して、代表値算出処理(ステップS1410)に移行する。
In step S1604, when there is no unselected group (step S1604: No), the learning unit 1104 increments i (step S1607) and returns to step S1602. In step S1602, when there is no acquisition pattern ID string 1201 with i IDs (step S1602: No), the learning unit 1104 ends the selection probability calculation process (step S1510) and the representative value calculation process (step S1410). ).
<代表値算出処理(ステップS1610)>
図17は、図14に示した代表値算出処理(ステップS1410)の詳細な処理手順例を示すフローチャートである。代表値算出処理(ステップS1410)では、学習部1104は、代表取得時間1204と代表属性値702を算出する。 <Representative value calculation processing (step S1610)>
FIG. 17 is a flowchart showing a detailed processing procedure example of the representative value calculation processing (step S1410) shown in FIG. In the representative value calculation process (step S1410), thelearning unit 1104 calculates a representative acquisition time 1204 and a representative attribute value 702.
図17は、図14に示した代表値算出処理(ステップS1410)の詳細な処理手順例を示すフローチャートである。代表値算出処理(ステップS1410)では、学習部1104は、代表取得時間1204と代表属性値702を算出する。 <Representative value calculation processing (step S1610)>
FIG. 17 is a flowchart showing a detailed processing procedure example of the representative value calculation processing (step S1410) shown in FIG. In the representative value calculation process (step S1410), the
学習部1104は、変数iをi=1に設定する(ステップS1701)。学習部1104は、全セッションID603の取得パターン配列を対象に、先頭からi番目までの取得パターンID列1201があるか否かを判断する(ステップS1702)。
Learning unit 1104 sets variable i to i = 1 (step S1701). The learning unit 1104 determines whether there is an i-th acquired pattern ID string 1201 from the top for the acquired pattern array of all session IDs 603 (step S1702).
先頭からi番目までの取得パターンID列1201がある場合(ステップS1702:Yes)、学習部1104は、該当する取得パターンID列1201を選択する(ステップS1703)。たとえば、「P1-P2-P3」という取得パターンID列1201を含む取得パターン配列がある場合、i=1であれば、「P1-P2-P3」から取得パターンID列1201として「P1」が選択され、i=2であれば、「P1-P2-P3」から取得パターンID列1201として「P1-P2」が選択され、i=3であれば、「P1-P2-P3」から取得パターンID列1201として「P1-P2-P3」が選択される。
If there is an i-th acquisition pattern ID string 1201 from the top (step S1702: Yes), the learning unit 1104 selects the corresponding acquisition pattern ID string 1201 (step S1703). For example, if there is an acquisition pattern array including the acquisition pattern ID string 1201 “P1-P2-P3”, if i = 1, “P1” is selected as the acquisition pattern ID string 1201 from “P1-P2-P3”. If i = 2, “P1-P2” is selected as the acquisition pattern ID column 1201 from “P1-P2-P3”. If i = 3, the acquisition pattern ID from “P1-P2-P3” is selected. “P1-P2-P3” is selected as the column 1201.
学習部1104は、同一の選択取得パターンID列1201でグループ分けする(ステップS1704)。そして、学習部1104は、未選択グループがあるか否かを判断する(ステップS1705)。未選択グループがある場合(ステップS:Yes)、学習部1104は、未選択グループを1つ選択する(ステップS1706)。
The learning unit 1104 performs grouping using the same selection / acquisition pattern ID string 1201 (step S1704). Then, the learning unit 1104 determines whether there is an unselected group (step S1705). When there is an unselected group (step S: Yes), the learning unit 1104 selects one unselected group (step S1706).
そして、学習部1104は、選択グループ内の選択取得パターンID列1201から、(i‐1)回目のデータ取得からi回目のデータ取得までの各取得時間を特定し、特定した取得時間から、代表取得時間1204を算出する(ステップS1707)。同様に、学習部1104は、選択グループ内の選択取得パターンID列1201から、i回目の各属性値607を特定し、特定した各属性値607から、代表属性値607を算出する(ステップS1708)。そして、ステップS1705に戻る。
Then, the learning unit 1104 specifies each acquisition time from the (i-1) th data acquisition to the i-th data acquisition from the selection acquisition pattern ID string 1201 in the selection group, and from the specified acquisition time, the representative An acquisition time 1204 is calculated (step S1707). Similarly, the learning unit 1104 identifies each i-th attribute value 607 from the selection acquisition pattern ID string 1201 in the selected group, and calculates a representative attribute value 607 from each identified attribute value 607 (step S1708). . Then, the process returns to step S1705.
ステップS1705において、未選択グループがない場合(ステップS1705:No)、ステップS1702に戻る。ステップS1702において、先頭からi番目までの取得パターンID列1201がない場合(ステップS1702:No)、学習部1104は、代表値算出処理(ステップS1610)を終了し、ステップS1401に戻り、ユーザID602を変更する。
In step S1705, when there is no unselected group (step S1705: No), it returns to step S1702. If there is no i-th acquired pattern ID string 1201 from the beginning in step S1702 (step S1702: No), the learning unit 1104 ends the representative value calculation process (step S1610), returns to step S1401, and sets the user ID 602. change.
<データ取得推定テーブル更新処理(ステップS1304)>
図18は、図13に示したデータ取得推定テーブル更新処理(ステップS1304)の詳細な処理手順例を示すフローチャートである。データ取得推定テーブル更新処理(ステップS1304)は、図7に示したデータ取得推定テーブル700を更新する処理である。 <Data acquisition estimation table update process (step S1304)>
FIG. 18 is a flowchart showing a detailed processing procedure example of the data acquisition estimation table update processing (step S1304) shown in FIG. The data acquisition estimation table update process (step S1304) is a process for updating the data acquisition estimation table 700 shown in FIG.
図18は、図13に示したデータ取得推定テーブル更新処理(ステップS1304)の詳細な処理手順例を示すフローチャートである。データ取得推定テーブル更新処理(ステップS1304)は、図7に示したデータ取得推定テーブル700を更新する処理である。 <Data acquisition estimation table update process (step S1304)>
FIG. 18 is a flowchart showing a detailed processing procedure example of the data acquisition estimation table update processing (step S1304) shown in FIG. The data acquisition estimation table update process (step S1304) is a process for updating the data acquisition estimation table 700 shown in FIG.
学習部1104は、未選択のユーザID602があるか否かを判断する(ステップS1801)。未選択のユーザID602がある場合(ステップS1801:Yes)、学習部1104は、未選択のユーザID602の学習結果テーブル1200を選択する(ステップS1802)。つぎに、学習部1104は、変数i=0に設定する(ステップS1803)。変数iは、取得パターンIDの時系列順を示すとともに、ステップ番号701の時系列順にも対応する。学習部1104は、初期ステップ番号701を採番し、登録対象ステップ番号701に設定する(ステップS1804)。たとえば、図7に示したように、選択ユーザID602が「A0001」の場合、初期ステップ番号701として「U001」が採番される。
The learning unit 1104 determines whether there is an unselected user ID 602 (step S1801). When there is an unselected user ID 602 (step S1801: Yes), the learning unit 1104 selects the learning result table 1200 of the unselected user ID 602 (step S1802). Next, the learning unit 1104 sets a variable i = 0 (step S1803). The variable i indicates the time series order of the acquisition pattern ID and also corresponds to the time series order of the step number 701. The learning unit 1104 numbers the initial step number 701 and sets it as the registration target step number 701 (step S1804). For example, as shown in FIG. 7, when the selected user ID 602 is “A0001”, “U001” is assigned as the initial step number 701.
学習部1104は、ステップS1802で選択した学習結果テーブル1200において、選択回数1202が1回以上で、かつ、ID数が(i+1)の取得パターンID列1201が存在するか否かを判断する(ステップS1805)。存在する場合(ステップS1805:No)、学習部1104は、選択回数1202が1回以上であり、かつ、ID数が(i+1)個の取得パターンID列1201の各々に対し次回ステップ番号701を採番し、次回取得タイミング配列703を生成する(ステップS1806)。
The learning unit 1104 determines whether or not there is an acquired pattern ID string 1201 in which the number of selections 1202 is 1 or more and the number of IDs is (i + 1) in the learning result table 1200 selected in step S1802 (step S1802). S1805). If it exists (step S1805: No), the learning unit 1104 takes the next step number 701 for each of the acquired pattern ID strings 1201 having the selection count 1202 of 1 or more and the number of IDs (i + 1). The next acquisition timing array 703 is generated (step S1806).
具体的には、たとえば、i=0とすると、ステップS1805に該当するID数が1個の取得パターンID列1201は、「P1」(選択回数1202は7回、選択確率1203は70%、代表取得時間1204は「1」)と「P2」(選択回数1202は3回、選択確率1203は30%、代表取得時間1204は「1」)である。学習部1104は、「P1」と「P2」のそれぞれに、次回ステップ番号701{U003,U004}を採番して、次回取得タイミング配列703として、{[U003][1][70],[U004][1][30]}を生成する。
Specifically, for example, if i = 0, the acquired pattern ID string 1201 having one ID corresponding to step S1805 is “P1” (the selection count 1202 is seven, the selection probability 1203 is 70%, representative The acquisition time 1204 is “1”) and “P2” (the number of selections 1202 is 3, the selection probability 1203 is 30%, and the representative acquisition time 1204 is “1”). The learning unit 1104 assigns the next step number 701 {U003, U004} to each of “P1” and “P2”, and uses {[U003] [1] [70], [[ U004] [1] [30]}.
このあと、学習部1104は、i=0であるか否かを判断する(ステップS1807)。i=0である場合(ステップS1807:Yes)、学習部1104は、ステップS1804で採番された初期ステップ番号701(登録対象ステップ番号701)、選択ユーザID602、取得パターンID(NULL)、代表属性値702(NULL)、およびステップS1806で生成した次回取得タイミング配列703からなるエントリを、データ取得推定テーブル700に登録する(ステップS1808)。そして、ステップS1810に移行する。
Thereafter, the learning unit 1104 determines whether i = 0 (step S1807). When i = 0 (step S1807: Yes), the learning unit 1104, the initial step number 701 (registration target step number 701) numbered in step S1804, the selected user ID 602, the acquisition pattern ID (NULL), and the representative attribute An entry including the value 702 (NULL) and the next acquisition timing array 703 generated in step S1806 is registered in the data acquisition estimation table 700 (step S1808). Then, control goes to a step S1810.
一方、ステップS1807において、i=0でない場合(ステップS1807:No)、1つ前のループのステップS1810で設定された登録対象ステップ番号701、選択ユーザID602、ステップS1805で存在が確認された取得パターンID列1201におけるi番目の取得パターンID、ステップS1805で存在が確認された取得パターンID列1201におけるi番目の代表属性値702、およびステップS1806で生成した次回取得タイミング配列703からなるエントリを、データ取得推定テーブル700に登録する(ステップS1809)。そして、そして、ステップS1810に移行する。
On the other hand, if i is not 0 in step S1807 (step S1807: No), the registration target step number 701, the selected user ID 602 set in step S1810 of the previous loop, and the acquisition pattern confirmed to exist in step S1805. An entry consisting of the i-th acquisition pattern ID in the ID column 1201, the i-th representative attribute value 702 in the acquisition pattern ID column 1201 whose existence has been confirmed in step S1805, and the next acquisition timing array 703 generated in step S1806 is stored as data. Register in the acquisition estimation table 700 (step S1809). Then, the process proceeds to step S1810.
なお、取得パターンID列1201におけるi番目の取得パターンIDは、取得パターンID列1201の末尾の取得パターンIDとなる。ステップS1805で存在が確認された取得パターンID列1201におけるi番目の代表属性値702については、学習部1104は、当該取得パターンID列1201を含む取得パターン配列から取得する。
Note that the i-th acquisition pattern ID in the acquisition pattern ID column 1201 is the acquisition pattern ID at the end of the acquisition pattern ID column 1201. The learning unit 1104 acquires the i-th representative attribute value 702 in the acquisition pattern ID string 1201 whose existence is confirmed in step S 1805 from the acquisition pattern array including the acquisition pattern ID string 1201.
ステップS1810では、学習部1104は、ステップS1806で採番された次回ステップ番号701を登録対象ステップ番号701に設定する(ステップS1810)。そして、学習部1104は、iをインクリメントし(ステップS1811)、ステップS1805に戻る。ステップS1805において、ステップS1802で選択した学習結果テーブル1200において、選択回数1202が1回以上で、かつ、ID数が(i+1)の取得パターンID列1201が存在しない場合(ステップS1805:No)、ステップS1811に移行する。
In step S1810, the learning unit 1104 sets the next step number 701 numbered in step S1806 as the registration target step number 701 (step S1810). Then, the learning unit 1104 increments i (step S1811) and returns to step S1805. In step S1805, in the learning result table 1200 selected in step S1802, when the number of selections 1202 is 1 or more and the acquired pattern ID string 1201 with the number of IDs (i + 1) does not exist (step S1805: No), step The process moves to S1811.
ステップS1811では、学習部1104は、1つ前のループのステップS1810で設定された登録対象ステップ番号701、選択ユーザID602、1つ前のループのステップS1805で存在が確認された取得パターンID列1201におけるi番目の取得パターンID、1つ前のループのステップS1805で存在が確認された取得パターンID列1201におけるi番目の代表属性値702、および次回取得タイミング配列703(NULL)からなるエントリを、データ取得推定テーブル700に登録する(ステップS1809)。そして、ステップS1801に移行する。
In step S1811, the learning unit 1104 has the registration target step number 701, the selected user ID 602 set in step S1810 of the previous loop, the acquired pattern ID string 1201 whose existence has been confirmed in step S1805 of the previous loop. An entry consisting of the i-th acquisition pattern ID in i, the i-th representative attribute value 702 in the acquisition pattern ID string 1201 whose existence was confirmed in step S1805 of the previous loop, and the next acquisition timing array 703 (NULL), It registers in the data acquisition estimation table 700 (step S1809). Then, the process proceeds to step S1801.
ステップS1801において、未選択のユーザID602がない場合、学習部1104は、データ取得推定テーブル更新処理(ステップS1304)を終了する。
In step S1801, when there is no unselected user ID 602, the learning unit 1104 ends the data acquisition estimation table update process (step S1304).
<データ取得処理>
図19は、データ取得装置200によるデータ取得処理の詳細な処理手順例1を示すフローチャートである。まず、データ取得装置200は、端末101のログイン検出を待ち受ける(ステップS1901:No)。ログインが検出された場合(ステップS1901:Yes)、データ取得装置200は、端末101からのユーザID602を取得し、セッションID603を新規発行する(ステップS1902)。このあと、データ取得装置200は、ステップS1902での取得ユーザID602のエントリが、データ取得推定テーブル700に存在するか否かを判断する(ステップS1903)。 <Data acquisition process>
FIG. 19 is a flowchart illustrating a detailed processing procedure example 1 of the data acquisition processing by thedata acquisition device 200. First, the data acquisition apparatus 200 waits for login detection of the terminal 101 (step S1901: No). When the login is detected (step S1901: Yes), the data acquisition device 200 acquires the user ID 602 from the terminal 101 and newly issues a session ID 603 (step S1902). Thereafter, the data acquisition device 200 determines whether or not the entry of the acquisition user ID 602 in step S1902 exists in the data acquisition estimation table 700 (step S1903).
図19は、データ取得装置200によるデータ取得処理の詳細な処理手順例1を示すフローチャートである。まず、データ取得装置200は、端末101のログイン検出を待ち受ける(ステップS1901:No)。ログインが検出された場合(ステップS1901:Yes)、データ取得装置200は、端末101からのユーザID602を取得し、セッションID603を新規発行する(ステップS1902)。このあと、データ取得装置200は、ステップS1902での取得ユーザID602のエントリが、データ取得推定テーブル700に存在するか否かを判断する(ステップS1903)。 <Data acquisition process>
FIG. 19 is a flowchart illustrating a detailed processing procedure example 1 of the data acquisition processing by the
ステップS1903において、ステップS1902での取得ユーザID602のエントリが、データ取得推定テーブル700に存在する場合(ステップS1903:Yes)、データの事前取得が可能となる。この場合、データ取得装置200は、取得パターンIDと代表属性値607がNULLで取得ユーザID602と一致するエントリを、データ取得推定テーブル700から取得する(ステップS1904)。そして、データ取得装置200は、事前取得処理(図23)の起動タイミング1001を設定する(ステップS1905)。
In step S1903, when the entry of the acquisition user ID 602 in step S1902 exists in the data acquisition estimation table 700 (step S1903: Yes), data can be acquired in advance. In this case, the data acquisition apparatus 200 acquires an entry whose acquisition pattern ID and representative attribute value 607 are NULL and matches the acquisition user ID 602 from the data acquisition estimation table 700 (step S1904). Then, the data acquisition apparatus 200 sets the activation timing 1001 of the advance acquisition process (FIG. 23) (step S1905).
データ取得装置200は、ステップS1904で取得したエントリにおける次回取得タイミング配列フィールド703から、最高選択確率を含む次回取得タイミング配列703のステップ番号701を特定し、当該特定したステップ番号701のエントリに対応する取得パターン(パターン形状606および代表属性値702)をデータ取得推定テーブル700から特定する。データ取得装置200は、特定した取得パターンについて起動タイミング1001を設定する。設定した起動タイミング1001は、図10の起動タイミング管理テーブル1000でユーザID602ごとに管理される。事前取得処理(図23)の起動タイミング1001の設定の詳細については、図10のタイミングチャートで説明したので省略する。
The data acquisition apparatus 200 specifies the step number 701 of the next acquisition timing array 703 including the highest selection probability from the next acquisition timing array field 703 in the entry acquired in step S1904, and corresponds to the entry of the specified step number 701. An acquisition pattern (pattern shape 606 and representative attribute value 702) is specified from the data acquisition estimation table 700. The data acquisition device 200 sets the activation timing 1001 for the specified acquisition pattern. The set activation timing 1001 is managed for each user ID 602 in the activation timing management table 1000 of FIG. Details of the setting of the activation timing 1001 of the pre-acquisition process (FIG. 23) have been described with reference to the timing chart of FIG.
そして、データ取得装置200は、ステップ情報を図8に示したステップ情報管理テーブル800に格納する(ステップS1906)。ここで、ステップ情報とは、取得ユーザID602、ステップ番号701(ステップS1904での取得エントリの次回取得タイミング配列703での最高選択確率のステップ番号701)、および、前ステップ番号801(ステップS1904での取得エントリのステップ番号701)である。そして、図20のステップS2001に移行する。
The data acquisition apparatus 200 stores the step information in the step information management table 800 shown in FIG. 8 (step S1906). Here, the step information includes the acquisition user ID 602, the step number 701 (the step number 701 of the highest selection probability in the next acquisition timing array 703 of the acquisition entry in step S1904), and the previous step number 801 (in step S1904). Step number 701) of the acquisition entry. Then, the process proceeds to step S2001 in FIG.
なお、ログイン検出(ステップS1901:Yes)直後、すなわち、ログイン検出後一度もログイン端末101からデータ取得要求を受信していない場合(ステップS1907:No)に限り、点線矢印で示したように、図20のステップS2001ではなく、ステップS1907に移行する。
Note that, as shown by the dotted line arrow, only after login detection (step S1901: Yes), that is, when no data acquisition request has been received from the login terminal 101 even after login detection (step S1907: No), Instead of step S2001 in step 20, the process proceeds to step S1907.
ステップS1903において、存在しない場合(ステップS1903:No)、データ取得装置200は、ログイン端末101からデータ取得要求が受信したか否かを判断する(ステップS1907)。受信された場合(ステップS1907:Yes)、データ取得装置200は、データ取得・履歴蓄積処理を実行して(ステップS1908)、ステップS1909に移行する。データ取得・履歴蓄積処理(ステップS1908)の詳細は図21で後述する。受信されていない場合(ステップS1907:No)、ステップS1909に移行する。
In step S1903, if it does not exist (step S1903: No), the data acquisition apparatus 200 determines whether a data acquisition request is received from the login terminal 101 (step S1907). If received (step S1907: YES), the data acquisition device 200 executes data acquisition / history accumulation processing (step S1908), and proceeds to step S1909. Details of the data acquisition / history accumulation processing (step S1908) will be described later with reference to FIG. If not received (step S1907: NO), the process proceeds to step S1909.
ステップS1909において、ログアウトが検出されていない場合(ステップS1909:No)、ステップS1903に戻り、ログアウトが検出された場合(ステップS1909:Yes)、一連の処理を終了する。
In step S1909, when logout is not detected (step S1909: No), the process returns to step S1903, and when logout is detected (step S1909: Yes), a series of processing ends.
図20は、データ取得装置200によるデータ取得処理の詳細な処理手順例2を示すフローチャートである。図19のステップS1906のあと、データ取得装置200は、図9に示した事前取得情報管理テーブル900に、ステップS1907で受信したデータ取得要求に含まれるユーザID602および取得パターン(パターン形状606および属性値607)に該当するエントリがあるか否かを判断する(ステップS2001)。換言すれば、データ取得装置200は、ステップS1905およびS1906で起動タイミング1001を設定した取得パターンと、ステップS1907で受信したデータ取得要求に含まれる取得パターンと、が一致するか否かを判断することになる。
FIG. 20 is a flowchart showing a detailed processing procedure example 2 of the data acquisition processing by the data acquisition device 200. After step S1906 in FIG. 19, the data acquisition apparatus 200 stores the user ID 602 and the acquisition pattern (pattern shape 606 and attribute value included in the data acquisition request received in step S1907 in the pre-acquisition information management table 900 illustrated in FIG. 9. It is determined whether there is an entry corresponding to (607) (step S2001). In other words, the data acquisition device 200 determines whether or not the acquisition pattern in which the activation timing 1001 is set in steps S1905 and S1906 matches the acquisition pattern included in the data acquisition request received in step S1907. become.
エントリがある場合(ステップS2001:Yes)、ステップS1905で起動タイミング1001が設定された事前取得処理が実行されたことを意味する。したがって、データ取得装置200は、該当する事前取得データ901を、事前取得情報管理テーブル900から取得して、ログイン端末101に送信する(ステップS2002)。
If there is an entry (step S2001: Yes), it means that the pre-acquisition process with the activation timing 1001 set in step S1905 has been executed. Therefore, the data acquisition device 200 acquires the corresponding pre-acquisition data 901 from the pre-acquisition information management table 900 and transmits it to the login terminal 101 (step S2002).
データ取得装置200は、データ取得履歴情報(ユーザID602、セッションID603、データ取得要求時刻604、データ処理時間605、パターン形状606、属性値607)を、データ取得履歴蓄積テーブル600に登録する(ステップS2003)。データ取得履歴情報のうち、ユーザID602は、ステップS1902で取得され、かつ、ステップS1907のデータ取得要求に含まれるユーザID602である。データ取得履歴情報のうち、セッションID603は、ステップS1902で発行されたセッションID603である。データ取得履歴情報のうち、データ取得要求時刻604は、ステップS1907のデータ取得要求の時刻である。データ取得履歴情報のうち、データ処理時間605は、データ取得要求時刻604からデータ取得、すなわち、XMLデータの出力が完了するまでの時間である。データ取得履歴情報のうち、パターン形状606および属性値607は、ステップS1907のデータ取得要求に含まれるパターン形状606および属性値607である。
The data acquisition device 200 registers data acquisition history information (user ID 602, session ID 603, data acquisition request time 604, data processing time 605, pattern shape 606, attribute value 607) in the data acquisition history accumulation table 600 (step S2003). ). Among the data acquisition history information, the user ID 602 is the user ID 602 acquired in step S1902 and included in the data acquisition request in step S1907. Of the data acquisition history information, the session ID 603 is the session ID 603 issued in step S1902. Of the data acquisition history information, the data acquisition request time 604 is the time of the data acquisition request in step S1907. Of the data acquisition history information, the data processing time 605 is the time from the data acquisition request time 604 to the completion of data acquisition, that is, output of XML data. Of the data acquisition history information, the pattern shape 606 and the attribute value 607 are the pattern shape 606 and the attribute value 607 included in the data acquisition request in step S1907.
データ取得装置200は、ステップS1905、S1906と同様、事前取得処理(図23)の次回起動タイミング1001を設定し(ステップS2004)、ステップ情報をステップ情報管理テーブル800に格納する(ステップS2005)。設定した起動タイミング1001は、図10の起動タイミング管理テーブル1000でユーザID602ごとに管理される。また、ステップS2005では、データ取得装置200は、取得ユーザID602のエントリにおいて、ステップ番号701を、当該ステップ番号701の取得エントリの次回取得タイミング配列703での最高選択確率のステップ番号701に更新し、前ステップ番号801を、当該更新前のステップ番号701に更新する。そして、図19のステップS1907に戻る。
The data acquisition device 200 sets the next activation timing 1001 of the pre-acquisition process (FIG. 23) (step S2004) and stores the step information in the step information management table 800 (step S2005), as in steps S1905 and S1906. The set activation timing 1001 is managed for each user ID 602 in the activation timing management table 1000 of FIG. In step S2005, the data acquisition apparatus 200 updates the step number 701 in the entry of the acquisition user ID 602 to the step number 701 of the highest selection probability in the next acquisition timing array 703 of the acquisition entry of the step number 701. The previous step number 801 is updated to the previous step number 701. Then, the process returns to step S1907 in FIG.
一方、ステップS2001において、事前取得情報管理テーブル900にエントリがない場合(ステップS2001:No)とは、ステップS1907で受信されたデータ取得要求において、最高選択確率1203の取得パターンではない他の取得パターンが選択されたことを意味する。この場合(ステップS2001:No)、データ取得装置200は、データ取得・履歴蓄積処理を実行する(ステップS2006)。データ取得・履歴蓄積処理(ステップS2006)は、ステップS1908と同一処理である。
On the other hand, when there is no entry in the pre-acquisition information management table 900 in step S2001 (step S2001: No), other acquisition patterns that are not acquisition patterns of the highest selection probability 1203 in the data acquisition request received in step S1907. Means that is selected. In this case (step S2001: No), the data acquisition device 200 executes data acquisition / history accumulation processing (step S2006). Data acquisition / history storage processing (step S2006) is the same processing as step S1908.
データ取得装置200は、ステップ情報管理テーブル800から取得ユーザID602のエントリにおける前ステップ番号801を取得する(ステップS2007)。そして、データ取得装置200は、ステップS2007で取得した前ステップ番号801に対応する次回取得タイミング配列703が、S1904で取得されたエントリに存在するか否かを判断する(ステップS2008)。
The data acquisition device 200 acquires the previous step number 801 in the entry of the acquisition user ID 602 from the step information management table 800 (step S2007). Then, the data acquisition apparatus 200 determines whether or not the next acquisition timing array 703 corresponding to the previous step number 801 acquired in step S2007 exists in the entry acquired in S1904 (step S2008).
存在しない場合(ステップS2008:No)、図19のステップS1907に戻り、データ取得装置200は、データ取得要求を待ち受ける。一方、存在する場合(ステップS2008:Yes)、データ取得装置200は、ステップS2007で取得した前ステップ番号801に対応する次回取得タイミング配列703を1つ取得する(ステップS2009)。そして、データ取得装置200は、データ取得推定テーブル700において、ステップS2009で取得した次回取得タイミング配列703内の移行先ステップ番号701のエントリに、取得要求された取得パターンがあるか否かを判断する(ステップS2010)。
If it does not exist (step S2008: No), the process returns to step S1907 in FIG. 19, and the data acquisition device 200 waits for a data acquisition request. On the other hand, when it exists (step S2008: Yes), the data acquisition device 200 acquires one next acquisition timing array 703 corresponding to the previous step number 801 acquired in step S2007 (step S2009). Then, the data acquisition device 200 determines whether there is an acquisition pattern requested for acquisition in the entry of the transfer destination step number 701 in the next acquisition timing array 703 acquired in step S2009 in the data acquisition estimation table 700. (Step S2010).
取得パターンがない場合(ステップS2010:No)、図19のステップS1907に戻り、データ取得装置200は、データ取得要求を待ち受ける。一方、取得パターンがある場合(ステップS2010:Yes)、当該取得パターンは、データ取得・履歴蓄積処理(ステップS2006)で登録されたエントリに対応する。したがって、データ取得装置200は、当該パターン形状606の次に取得されるデータについて事前取得すべく、ステップ情報管理テーブル800のステップ番号701を、ステップS2010の移行先ステップ番号701に更新し(ステップS2011)、更新後の移行先ステップ番号701を用いて、事前取得処理(図23)の次回起動タイミング1001を設定する(ステップS2012)。そして、ステップS1907に移行する。これにより、最高選択確率の取得パターンではない他の取得パターンについて事前取得処理の次回起動タイミング1001が設定されることになる。
If there is no acquisition pattern (step S2010: No), the process returns to step S1907 in FIG. 19, and the data acquisition apparatus 200 waits for a data acquisition request. On the other hand, when there is an acquisition pattern (step S2010: Yes), the acquisition pattern corresponds to the entry registered in the data acquisition / history accumulation process (step S2006). Therefore, the data acquisition apparatus 200 updates the step number 701 in the step information management table 800 to the transfer destination step number 701 in step S2010 to acquire in advance the data acquired next to the pattern shape 606 (step S2011). ), The next activation timing 1001 of the advance acquisition process (FIG. 23) is set using the updated transfer destination step number 701 (step S2012). Then, control goes to a step S1907. As a result, the next activation timing 1001 of the pre-acquisition process is set for another acquisition pattern that is not the acquisition pattern of the highest selection probability.
換言すれば、最高選択確率の取得パターンではない他の取得パターンの取得パターン列に乗り換えられたことになる。このように、事前取得のために推定した取得パターンと実際にデータ取得要求された取得パターンとが異なる場合であっても、次回取得タイミング配列703に存在すれば、以降のデータ取得要求を推定してデータの事前取得を継続することができる。
In other words, it is switched to an acquisition pattern sequence of another acquisition pattern that is not the acquisition pattern of the highest selection probability. In this way, even if the acquisition pattern estimated for the pre-acquisition is different from the acquisition pattern actually requested for data acquisition, if it exists in the next acquisition timing array 703, the subsequent data acquisition request is estimated. Data pre-acquisition can be continued.
<取得パターン列の乗換例>
図21は、取得パターン列の乗換例を示す説明図である。図21は、図7に示したユーザID:A001の次回取得タイミング配列703内のステップ番号701のツリー構造(ステップ番号701をノードとし、ステップ場号701の遷移をリンクとする)である。リンクに付随する数字は、選択確率である。 <Transfer example of acquisition pattern sequence>
FIG. 21 is an explanatory diagram of an example of transfer of the acquired pattern sequence. FIG. 21 is a tree structure ofstep number 701 in the next acquisition timing array 703 of the user ID: A001 shown in FIG. 7 (step number 701 is a node, and transition of step field 701 is a link). The number associated with the link is the selection probability.
図21は、取得パターン列の乗換例を示す説明図である。図21は、図7に示したユーザID:A001の次回取得タイミング配列703内のステップ番号701のツリー構造(ステップ番号701をノードとし、ステップ場号701の遷移をリンクとする)である。リンクに付随する数字は、選択確率である。 <Transfer example of acquisition pattern sequence>
FIG. 21 is an explanatory diagram of an example of transfer of the acquired pattern sequence. FIG. 21 is a tree structure of
最上位ノードであるステップ番号[U001]は、ユーザID:A001のユーザのログイン時のステップ番号701である。当該ユーザは、70%の確率でステップ[U003]の取得パターンを選択し、30%の確率でステップ[U004]の取得パターンを選択する。
The step number [U001] which is the highest node is the step number 701 when the user with the user ID: A001 logs in. The user selects the acquisition pattern of step [U003] with a probability of 70%, and selects the acquisition pattern of step [U004] with a probability of 30%.
データ取得装置200は、図19のステップS1904で図7の1行目のエントリをデータ取得推定テーブル700から取得し、ステップS1905で、最高選択確率(70%)であるステップ番号[U003]の取得パターンについて、事前取得処理の起動タイミング1001を設定する。また、データ取得装置200は、ステップS1906において、ステップ情報管理テーブル800に、ステップ番号701として、選択したステップ番号[U003]を格納し、前ステップ番号801として、当該選択前のステップ番号[U001]を格納する。
The data acquisition apparatus 200 acquires the entry in the first row of FIG. 7 from the data acquisition estimation table 700 in step S1904 of FIG. 19, and acquires the step number [U003] that is the highest selection probability (70%) in step S1905. The start timing 1001 of the advance acquisition process is set for the pattern. In step S1906, the data acquisition apparatus 200 stores the selected step number [U003] as the step number 701 in the step information management table 800, and the previous step number 801 as the step number [U001] before the selection. Is stored.
そして、データ取得装置200は、ステップS2001で、実際に受信したデータ取得要求内の取得パターンがステップ[U003]の取得パターンに一致するか否かを判断する。一致する場合(ステップS2001:Yes)、データ取得装置200は、ステップS1905において起動タイミング1001で事前取得したステップ[U003]の取得パターンに該当するデータをユーザID:A001のユーザの端末101に送信する(ステップS2002)。
Then, in step S2001, the data acquisition device 200 determines whether or not the acquisition pattern in the actually received data acquisition request matches the acquisition pattern in step [U003]. If they match (step S2001: Yes), the data acquisition apparatus 200 transmits data corresponding to the acquisition pattern of step [U003] acquired in advance at the start timing 1001 in step S1905 to the terminal 101 of the user with the user ID: A001. (Step S2002).
一方、ステップS2001で不一致と判断された場合(ステップS2001:No)、当該ユーザが要求したデータは、ステップS1905において起動タイミング1001で事前取得したステップ[U003]の取得パターンに該当するデータではないことを意味する。したがって、データ取得装置200は、当該実際のデータ取得要求に該当するデータを電力NWモデルDB104から取得し、履歴を蓄積する(ステップS2006)。これにより、予測が外れた場合でも、過去のデータとして蓄積し、学習することで、以降の予測精度(選択確率1203)の向上を図ることができる。
On the other hand, if it is determined that there is a mismatch in step S2001 (step S2001: No), the data requested by the user is not data corresponding to the acquisition pattern of step [U003] acquired in advance at activation timing 1001 in step S1905. Means. Therefore, the data acquisition device 200 acquires data corresponding to the actual data acquisition request from the power NW model DB 104 and accumulates the history (step S2006). As a result, even when the prediction is lost, the subsequent prediction accuracy (selection probability 1203) can be improved by accumulating and learning as past data.
このあと、データ取得装置200は、ステップS2007において、ステップ情報管理テーブル800から取得ユーザID602の前ステップ番号801として、[U001]を取得する。そして、データ取得装置200は、ステップS2008において、取得した前ステップ番号[U001]に対応する次回取得タイミング配列703がデータ取得推定テーブル700にあるか否かを判断する。
Thereafter, the data acquisition device 200 acquires [U001] as the previous step number 801 of the acquisition user ID 602 from the step information management table 800 in step S2007. In step S2008, the data acquisition apparatus 200 determines whether the next acquisition timing array 703 corresponding to the acquired previous step number [U001] is in the data acquisition estimation table 700.
この場合、前回選択されなかった選択確率30%のステップ番号[U003]の次回取得タイミング配列703が存在するため(ステップS2008:Yes)、データ取得装置200は、当該次回取得タイミング配列703である{[U004][1][30]}から、ステップ番号[U004]を選択する(ステップS2009)。この選択されたステップ番号[U004]が「移行先ステップ番号701」である。
In this case, since the next acquisition timing array 703 of the step number [U003] with a selection probability of 30% that has not been selected last time exists (step S2008: Yes), the data acquisition device 200 has the next acquisition timing array 703 { Step number [U004] is selected from [U004] [1] [30]} (step S2009). The selected step number [U004] is the “migration destination step number 701”.
そして、データ取得装置200は、データ取得推定テーブル700において、次回取得タイミング配列703である{[U004][1][30]}内の移行先ステップ番号[U004]のエントリに、ステップS1907で実際にデータ取得要求がされた取得パターンが存在するか否かを判断する(ステップS2010)。存在する場合(ステップS2010:Yes)、ステップS2005でデータ取得要求された取得パターンと、ステップ番号[U004]の取得パターンとが一致することを意味する。したがって、データ取得装置200は、ステップ情報管理テーブル800の当該ユーザID:A001のエントリにおいて、ステップ番号701を、ステップ番号[U003]から移行先ステップ番号[U004]に更新する。
In step S1907, the data acquisition apparatus 200 sets the entry of the transfer destination step number [U004] in {[U004] [1] [30]} that is the next acquisition timing array 703 in the data acquisition estimation table 700 in step S1907. It is determined whether there is an acquisition pattern for which a data acquisition request has been made (step S2010). If it exists (step S2010: Yes), it means that the acquisition pattern requested for data acquisition in step S2005 matches the acquisition pattern of step number [U004]. Therefore, the data acquisition apparatus 200 updates the step number 701 from the step number [U003] to the transfer destination step number [U004] in the entry of the user ID: A001 in the step information management table 800.
これにより、データ取得装置200は、ステップ番号[U004]の次回取得タイミング配列703での最高選択確率(65%)のステップ番号701([U011])に対応するエントリに対する取得パターンについて、事前取得処理の起動タイミング1001を設定する(ステップS2012)。これにより、データ取得装置200は、実際に受信したデータ取得要求に応じて、事前取得すべき[U001]→[U003]のルートから、[U001]→[U004]のルートに乗り換えることができる。このように、ユーザの実際のデータ取得要求に追従して事前取得処理を実行するため、事前取得すべき取得パターンの予測が外れた場合であって、当該乗換により、事前取得を継続することができる。
As a result, the data acquisition apparatus 200 performs an advance acquisition process for the acquisition pattern for the entry corresponding to the step number 701 ([U011]) of the highest selection probability (65%) in the next acquisition timing array 703 of the step number [U004]. The activation timing 1001 is set (step S2012). As a result, the data acquisition apparatus 200 can switch from the route [U001] → [U003] to be acquired in advance to the route [U001] → [U004] in accordance with the data acquisition request actually received. In this way, in order to execute the pre-acquisition process following the user's actual data acquisition request, it is possible to continue the pre-acquisition by the transfer in the case where the acquisition pattern to be acquired in advance is not predicted. it can.
<データ取得・履歴蓄積処理>
図22は、図19および図20に示したデータ取得・履歴蓄積処理(ステップS1908、S2006)の詳細な処理手順例を示すフローチャートである。データ取得・履歴蓄積処理(ステップS1908、S2006)は、データ取得要求で選択された取得パターン(パターン形状606および属性値607の組み合わせ)に該当するデータを取得し、かつ、その履歴をデータ取得履歴蓄積テーブル600に蓄積する処理である。 <Data acquisition / history storage processing>
FIG. 22 is a flowchart illustrating a detailed processing procedure example of the data acquisition / history accumulation processing (steps S1908 and S2006) illustrated in FIGS. 19 and 20. The data acquisition / history accumulation processing (steps S1908, S2006) acquires data corresponding to the acquisition pattern (a combination of thepattern shape 606 and the attribute value 607) selected in the data acquisition request, and uses the history as the data acquisition history. This is a process of accumulating in the accumulation table 600.
図22は、図19および図20に示したデータ取得・履歴蓄積処理(ステップS1908、S2006)の詳細な処理手順例を示すフローチャートである。データ取得・履歴蓄積処理(ステップS1908、S2006)は、データ取得要求で選択された取得パターン(パターン形状606および属性値607の組み合わせ)に該当するデータを取得し、かつ、その履歴をデータ取得履歴蓄積テーブル600に蓄積する処理である。 <Data acquisition / history storage processing>
FIG. 22 is a flowchart illustrating a detailed processing procedure example of the data acquisition / history accumulation processing (steps S1908 and S2006) illustrated in FIGS. 19 and 20. The data acquisition / history accumulation processing (steps S1908, S2006) acquires data corresponding to the acquisition pattern (a combination of the
データ取得装置200は、電力NWモデルDB104にデータ取得要求を送信し、当該データ取得要求時刻604を取得する(ステップS2201)。データ取得装置200は、電力NWモデルDB104から、データ取得要求の取得パターン(パターン形状606および属性値607)に該当するデータを取得し(ステップS2202)、XMLデータに変換する(ステップS2203)。データ取得装置200は、データ取得要求時刻604からステップS2203のXMLデータの出力までの時間をデータ処理時間605として算出する(ステップS2204)。
The data acquisition device 200 transmits a data acquisition request to the power NW model DB 104 and acquires the data acquisition request time 604 (step S2201). The data acquisition device 200 acquires data corresponding to the acquisition pattern (pattern shape 606 and attribute value 607) of the data acquisition request from the power NW model DB 104 (step S2202), and converts it into XML data (step S2203). The data acquisition device 200 calculates the time from the data acquisition request time 604 to the output of the XML data in step S2203 as the data processing time 605 (step S2204).
データ取得装置200は、変換したXMLデータをログイン端末101に送信する(ステップS2205)。そして、データ取得装置200は、データ取得履歴情報(ユーザID602、セッションID603、データ取得要求時刻604、データ処理時間605、パターン形状606、属性値607)をデータ取得履歴蓄積テーブル600に登録する(ステップS2206)。これにより、一連の処理が終了する。
The data acquisition device 200 transmits the converted XML data to the login terminal 101 (step S2205). Then, the data acquisition device 200 registers data acquisition history information (user ID 602, session ID 603, data acquisition request time 604, data processing time 605, pattern shape 606, attribute value 607) in the data acquisition history accumulation table 600 (step S2206). As a result, a series of processing ends.
<データ事前取得処理>
図23は、データ事前取得処理の詳細な処理手順例を示すフローチャートである。データ事前取得処理は、ステップS1905、S2004およびS2012で設定された起動タイミング1001で起動されて、処理を開始する。 <Data pre-acquisition processing>
FIG. 23 is a flowchart illustrating a detailed processing procedure example of the data pre-acquisition processing. The data pre-acquisition process is started at thestart timing 1001 set in steps S1905, S2004, and S2012, and starts the process.
図23は、データ事前取得処理の詳細な処理手順例を示すフローチャートである。データ事前取得処理は、ステップS1905、S2004およびS2012で設定された起動タイミング1001で起動されて、処理を開始する。 <Data pre-acquisition processing>
FIG. 23 is a flowchart illustrating a detailed processing procedure example of the data pre-acquisition processing. The data pre-acquisition process is started at the
データ取得装置200は、起動タイミング1001になるまで待ち受ける(ステップS2301:No)。データ取得装置200は、ステップS1902の取得ユーザID602のエントリにおけるステップ番号701を、ステップ情報管理テーブル800から取得する(ステップS2302)。データ取得装置200は、取得ステップ番号701のエントリにおけるパターン形状606および代表属性値702を、データ取得推定テーブル700から取得する(ステップS2303)。
The data acquisition device 200 waits until the start timing 1001 is reached (step S2301: No). The data acquisition apparatus 200 acquires the step number 701 in the entry of the acquisition user ID 602 in step S1902 from the step information management table 800 (step S2302). The data acquisition device 200 acquires the pattern shape 606 and the representative attribute value 702 in the entry of the acquisition step number 701 from the data acquisition estimation table 700 (step S2303).
データ取得装置200は、パターン形状606および代表属性値702を充足するデータを、電力NWモデルDB104から取得する(ステップS2304)。そして、データ取得装置200は、取得したデータをXMLデータに変換して、事前取得データ901とする(ステップS2305)。データ取得装置200は、事前取得情報(ユーザID602、パターン形状606、属性値607、事前取得データ901)を事前取得情報管理テーブル900に登録する(ステップS2306)。
The data acquisition device 200 acquires data satisfying the pattern shape 606 and the representative attribute value 702 from the power NW model DB 104 (step S2304). Then, the data acquisition device 200 converts the acquired data into XML data and sets it as pre-acquisition data 901 (step S2305). The data acquisition apparatus 200 registers the pre-acquisition information (user ID 602, pattern shape 606, attribute value 607, pre-acquisition data 901) in the prior acquisition information management table 900 (step S2306).
このあと、データ取得装置200は、事前取得データ901が処理される、すなわち、ステップS2002において事前取得情報管理テーブル900から読み出されて、ログイン端末101に送信されるのを待ち受ける(ステップS2307:No)。事前取得データ901が処理された場合(ステップS2307:Yes)、データ取得装置200は、当該エントリを事前取得情報管理テーブル900から削除する(ステップS2308)。これにより、一連の処理が終了する。なお、セッションが終了した場合、データ取得装置200は、当該ユーザID602のエントリを事前取得情報管理テーブル900から削除してもよい。
Thereafter, the data acquisition device 200 waits for the pre-acquisition data 901 to be processed, that is, read from the pre-acquisition information management table 900 in step S2002 and transmitted to the login terminal 101 (step S2307: No). ). When the pre-acquisition data 901 is processed (step S2307: Yes), the data acquisition device 200 deletes the entry from the pre-acquisition information management table 900 (step S2308). As a result, a series of processing ends. When the session ends, the data acquisition device 200 may delete the entry of the user ID 602 from the pre-acquisition information management table 900.
実施例1によれば、その時必要とされるデータを先読みするため、データ取得要求がされた場合に、要求元の端末101に即時応答することができる。また、特に、XMLデータへの変換といったデータ取得に時間がかかる場合に有用である。
According to the first embodiment, since the data required at that time is prefetched, it is possible to immediately respond to the request source terminal 101 when a data acquisition request is made. In particular, it is useful when it takes time to acquire data such as conversion to XML data.
実施例2は、データ取得履歴情報を蓄積していない新規ユーザが必要とするデータを推定して、必要なタイミングでデータを事前に取得する例である。具体的には、たとえば、データ取得装置200が、新規ユーザが業務で使用するアプリケーション102のIDごとに取得パターンを学習することで、新規ユーザがデータ取得要求を送信した時、アプリケーションIDごとの学習結果を基にして新規ユーザが必要とするデータを推定して必要なタイミングでデータを事前取得する。すなわち、新規ユーザの傾向がわからないため、データ取得装置200は、使用するアプリケーション102により傾向を推定して、事前取得する。これにより、新規ユーザに対するデータ応答の高速化を図る。なお、ここでは実施例1の処理をベースとして説明するため、差異のある箇所に着目して説明する。
Embodiment 2 is an example in which data required by a new user who has not accumulated data acquisition history information is estimated, and data is acquired in advance at a necessary timing. Specifically, for example, when the new user transmits a data acquisition request by learning the acquisition pattern for each ID of the application 102 used by the new user in the business, the data acquisition device 200 learns for each application ID. Data required by a new user is estimated based on the result, and data is acquired in advance at the necessary timing. That is, since the tendency of a new user is not known, the data acquisition apparatus 200 estimates the tendency by the application 102 to be used and acquires in advance. This speeds up the data response to the new user. In addition, since it demonstrates based on the process of Example 1 here, it demonstrates paying attention to a different location.
<データ取得履歴蓄積テーブル600>
図24は、実施例2にかかるデータ取得履歴蓄積テーブル600の記憶内容例を示す説明図である。データ取得履歴蓄積テーブル600は、実施例1のデータ取得履歴蓄積テーブル600にアプリケーションIDフィールド2401が追加されたテーブルである。アプリケーションIDフィールド2401は、アプリケーションIDを格納する記憶領域である。アプリケーションID2401は、アプリケーション102を一意に特定する識別情報である。 <Data acquisition history accumulation table 600>
FIG. 24 is an explanatory diagram of an example of stored contents of the data acquisition history accumulation table 600 according to the second embodiment. The data acquisition history accumulation table 600 is a table in which anapplication ID field 2401 is added to the data acquisition history accumulation table 600 of the first embodiment. An application ID field 2401 is a storage area for storing an application ID. The application ID 2401 is identification information that uniquely identifies the application 102.
図24は、実施例2にかかるデータ取得履歴蓄積テーブル600の記憶内容例を示す説明図である。データ取得履歴蓄積テーブル600は、実施例1のデータ取得履歴蓄積テーブル600にアプリケーションIDフィールド2401が追加されたテーブルである。アプリケーションIDフィールド2401は、アプリケーションIDを格納する記憶領域である。アプリケーションID2401は、アプリケーション102を一意に特定する識別情報である。 <Data acquisition history accumulation table 600>
FIG. 24 is an explanatory diagram of an example of stored contents of the data acquisition history accumulation table 600 according to the second embodiment. The data acquisition history accumulation table 600 is a table in which an
<第2データ取得推定テーブル>
図25は、第2データ取得推定テーブルの記憶内容例を示す説明図である。実施例2では、実施例1のデータ取得推定テーブル700を「第1データ取得推定テーブル700」と称す。第2データ取得推定テーブル2500は、第1データ取得推定テーブル700のユーザIDフィールド602を、アプリケーションIDフィールド2401に置き換えたテーブルである。 <Second data acquisition estimation table>
FIG. 25 is an explanatory diagram of an example of stored contents of the second data acquisition estimation table. In the second embodiment, the data acquisition estimation table 700 of the first embodiment is referred to as a “first data acquisition estimation table 700”. The second data acquisition estimation table 2500 is a table in which theuser ID field 602 of the first data acquisition estimation table 700 is replaced with an application ID field 2401.
図25は、第2データ取得推定テーブルの記憶内容例を示す説明図である。実施例2では、実施例1のデータ取得推定テーブル700を「第1データ取得推定テーブル700」と称す。第2データ取得推定テーブル2500は、第1データ取得推定テーブル700のユーザIDフィールド602を、アプリケーションIDフィールド2401に置き換えたテーブルである。 <Second data acquisition estimation table>
FIG. 25 is an explanatory diagram of an example of stored contents of the second data acquisition estimation table. In the second embodiment, the data acquisition estimation table 700 of the first embodiment is referred to as a “first data acquisition estimation table 700”. The second data acquisition estimation table 2500 is a table in which the
<データ取得処理>
図26は、実施例2にかかるデータ取得装置200によるデータ取得処理の詳細な処理手順例1を示すフローチャートである。まず、データ取得装置200は、端末101のログイン検出を待ち受ける(ステップS2601:No)。ログインが検出された場合(ステップS2601:Yes)、データ取得装置200は、端末101からのユーザID602および利用しているアプリケーションID2401を取得し、セッションID603を新規発行する(ステップS2602)。 <Data acquisition process>
FIG. 26 is a flowchart of a detailed process procedure example 1 of the data acquisition process performed by thedata acquisition apparatus 200 according to the second embodiment. First, the data acquisition device 200 waits for login detection of the terminal 101 (step S2601: No). When the login is detected (step S2601: Yes), the data acquisition apparatus 200 acquires the user ID 602 and the application ID 2401 being used from the terminal 101, and newly issues a session ID 603 (step S2602).
図26は、実施例2にかかるデータ取得装置200によるデータ取得処理の詳細な処理手順例1を示すフローチャートである。まず、データ取得装置200は、端末101のログイン検出を待ち受ける(ステップS2601:No)。ログインが検出された場合(ステップS2601:Yes)、データ取得装置200は、端末101からのユーザID602および利用しているアプリケーションID2401を取得し、セッションID603を新規発行する(ステップS2602)。 <Data acquisition process>
FIG. 26 is a flowchart of a detailed process procedure example 1 of the data acquisition process performed by the
このあと、データ取得装置200は、ステップS2602での取得ユーザID602のエントリが、第1データ取得推定テーブル700に存在するか否かを判断する(ステップS2603)。存在しない場合(ステップS2603:No)、取得ユーザID602についてデータの事前取得ができず、ステップS2604に移行する。存在する場合(ステップS2603:Yes)、ステップS2605に移行する。
Thereafter, the data acquisition apparatus 200 determines whether the entry of the acquisition user ID 602 in step S2602 exists in the first data acquisition estimation table 700 (step S2603). If it does not exist (step S2603: NO), data cannot be acquired in advance for the acquired user ID 602, and the process proceeds to step S2604. When it exists (step S2603: Yes), the process proceeds to step S2605.
ステップS2604において、データ取得装置200は、取得アプリケーションID2401のエントリが第2データ取得推定テーブル2500に存在するか否かを判断する(ステップS2604)。
In step S2604, the data acquisition device 200 determines whether an entry of the acquisition application ID 2401 exists in the second data acquisition estimation table 2500 (step S2604).
ステップS2603またはS2604において、ステップS2602での取得ユーザID602またはアプリケーションID2401のエントリが、第1データ取得推定テーブル700または第2データ取得推定テーブル2500に存在する場合(ステップS2603:Yes、S2604:Yes)、データの事前取得が可能となる。この場合、データ取得装置200は、取得パターンIDと代表属性値702がNULLで取得ID(ステップS2603:Yesの場合はユーザID602、ステップS2604:Yesの場合は、アプリケーションID2401)と一致するエントリを、データ取得推定テーブル700(ユーザID602の場合は、第1データ取得推定テーブル700、アプリケーションID2401の場合は、第2データ取得推定テーブル2500)から取得する(ステップS2605)。
In step S2603 or S2604, when the entry of the acquisition user ID 602 or application ID 2401 in step S2602 exists in the first data acquisition estimation table 700 or the second data acquisition estimation table 2500 (step S2603: Yes, S2604: Yes), Data can be acquired in advance. In this case, the data acquisition apparatus 200 includes an entry whose acquisition pattern ID and representative attribute value 702 are NULL and matches the acquisition ID (step S2603: user ID 602 if Yes, step S2604: application ID 2401 if Yes). Obtained from the data acquisition estimation table 700 (first data acquisition estimation table 700 for user ID 602, second data acquisition estimation table 2500 for application ID 2401) (step S2605).
そして、データ取得装置200は、事前取得処理(図23)の起動タイミング1001を設定する(ステップS2606)。設定した起動タイミング1001は、図10の起動タイミング管理テーブル1000でユーザID602ごとに管理される。事前取得処理(図23)の起動タイミング1001の設定の詳細については、図10のタイミングチャートで説明したので省略する。
And the data acquisition device 200 sets the start timing 1001 of the pre-acquisition process (FIG. 23) (step S2606). The set activation timing 1001 is managed for each user ID 602 in the activation timing management table 1000 of FIG. Details of the setting of the activation timing 1001 of the pre-acquisition process (FIG. 23) have been described with reference to the timing chart of FIG.
そして、データ取得装置200は、ステップ情報を図8に示したステップ情報管理テーブル800に格納する(ステップS2607)。ここで、ステップ情報とは、取得ユーザID602、ステップ番号701(ステップS2605での取得エントリの次回取得タイミング配列703での最高選択確率のステップ番号701)、および、前ステップ番号801(ステップS2605での取得エントリのステップ番号701)である。そして、図20のステップS2001に移行する。
And the data acquisition device 200 stores the step information in the step information management table 800 shown in FIG. 8 (step S2607). Here, the step information includes the acquisition user ID 602, the step number 701 (the step number 701 of the highest selection probability in the next acquisition timing array 703 of the acquisition entry in step S2605), and the previous step number 801 (in step S2605). Step number 701) of the acquisition entry. Then, the process proceeds to step S2001 in FIG.
なお、ログイン検出(ステップS2601:Yes)直後、すなわち、ログイン検出後一度もログイン端末101からデータ取得要求を受信していない場合(ステップS2608:No)に限り、点線矢印で示したように、図20のステップS2001ではなく、ステップS2608に移行する。
Note that, as shown by the dotted line arrow, only after login detection (step S2601: Yes), that is, when no data acquisition request has been received from the login terminal 101 even after login detection (step S2608: No), Instead of 20 step S2001, the process proceeds to step S2608.
ステップS2604において、取得アプリケーションID2401のエントリが存在しない場合(ステップS2604:No)、ステップS2608に移行する。データ取得装置200は、ログイン端末101からデータ取得要求が受信したか否かを判断する(ステップS2608)。受信されていない場合(ステップS2608:No)、ステップS2600に移行する。受信された場合(ステップS2608:Yes)、データ取得装置200は、データ取得・履歴蓄積処理を実行して(ステップS2609)、ステップS2600に移行する。データ取得・履歴蓄積処理(ステップS2609)は、図22に示したデータ取得・履歴蓄積処理(ステップS1908)において、データ取得履歴情報として、アプリケーションIDも登録する点を除いて他は同一処理である。
In step S2604, when there is no entry of the acquisition application ID 2401 (step S2604: No), the process proceeds to step S2608. The data acquisition device 200 determines whether a data acquisition request has been received from the login terminal 101 (step S2608). If not received (step S2608: No), the process proceeds to step S2600. If received (step S2608: Yes), the data acquisition device 200 executes data acquisition / history accumulation processing (step S2609), and proceeds to step S2600. The data acquisition / history storage process (step S2609) is the same as the data acquisition / history storage process (step S1908) shown in FIG. 22 except that the application ID is also registered as data acquisition history information. .
このあと、ログイン端末101のログアウトが検出されたか否かを判断する(ステップS2600)。ログアウトが検出されていない場合(ステップS2600:No)、ステップS2603に戻り、ログアウトが検出された場合(ステップS2600:Yes)、一連の処理を終了する。
Thereafter, it is determined whether or not logout of the login terminal 101 has been detected (step S2600). When logout is not detected (step S2600: No), the process returns to step S2603, and when logout is detected (step S2600: Yes), a series of processing ends.
このように、実施例2では、傾向がわからない新規ユーザについても、データ取得装置200は、使用するアプリケーション102により傾向を推定して、事前取得することで、新規ユーザに対するデータ応答の高速化を図ることができる。なお、実施例2では、アプリケーションID2401およびアプリケーションIDフィールド2401を用いて説明したが、アプリケーション102の機能IDおよび機能IDフィールドや、ユーザが所属する組織IDおよび組織IDフィールドに置き換えてもよい。
As described above, in the second embodiment, even for a new user whose tendency is not known, the data acquisition apparatus 200 estimates the tendency using the application 102 to be used and acquires in advance, thereby speeding up the data response to the new user. be able to. In the second embodiment, the application ID 2401 and the application ID field 2401 have been described. However, the function ID and function ID field of the application 102, or the organization ID and organization ID field to which the user belongs may be replaced.
実施例3は、実施例1において、事前取得するデータに取得済みのデータがある場合に重複箇所を除いたデータを事前に取得する例(差分取得)である。次ステップにおいて事前取得するデータに取得済みのデータがある場合、前ステップのデータとの重複箇所を除いてデータを事前取得すれば、電力NWモデルDB104から取得したデータの変換処理を削減でき、データ応答の高速化が可能となる。なお、ここでは実施例1の処理をベースとして説明するため、差異のある箇所に着目して説明する。
[Embodiment 3] Embodiment 3 is an example (difference acquisition) in which data excluding duplicate portions is acquired in advance when there is already acquired data in the data acquired in advance in Embodiment 1. If there is already acquired data in the data acquired in advance in the next step, the data conversion processing acquired from the power NW model DB 104 can be reduced if the data is acquired in advance excluding the overlapping part with the data in the previous step. The response can be speeded up. In addition, since it demonstrates based on the process of Example 1 here, it demonstrates paying attention to a different location.
図27は、実施例3にかかるデータ事前取得例を示す説明図である。たとえば、ユーザが、1回目のデータ取得要求において、直径3kmの円の取得パターンを選択してデータを取得したとする。2回目のデータ取得要求において、同一位置で、直径5kmの円の取得パターンを選択した場合、データ取得装置200は、直径5kmの円の取得パターンから、1回目の直径3kmの円の取得パターンを除いた範囲(この場合、ドーナツ形状となる)について、電力NWモデルDB104からデータ取得する。そして、データ取得装置200は、1回目の取得データ(XMLデータ)と今回(2回目)のXMLデータとをマージして、端末101に返す。また、3回目のデータ取得要求において、同一位置で、直径7kmの円の取得パターンを選択した場合、データ取得装置200は、直径7kmの円の取得パターンから、2回目の直径5kmの円の取得パターンを除いた範囲(この場合も、ドーナツ形状となる)について、電力NWモデルDB104からデータ取得する。そして、データ取得装置200は、2回目のマージ後の取得データ(XMLデータ)と今回(3回目)のXMLデータとをマージして、端末101に返す。
FIG. 27 is an explanatory diagram of an example of preliminary data acquisition according to the third embodiment. For example, it is assumed that the user acquires data by selecting an acquisition pattern of a circle having a diameter of 3 km in the first data acquisition request. In the second data acquisition request, when an acquisition pattern of a circle with a diameter of 5 km is selected at the same position, the data acquisition device 200 changes the acquisition pattern of a circle with a diameter of 5 km from the acquisition pattern of a circle with a diameter of 5 km. Data is acquired from the power NW model DB 104 for the excluded range (in this case, a donut shape). Then, the data acquisition device 200 merges the first acquired data (XML data) and the current (second) XML data and returns the merged data to the terminal 101. In addition, in the third data acquisition request, when an acquisition pattern of a circle with a diameter of 7 km is selected at the same position, the data acquisition device 200 acquires a second circle with a diameter of 5 km from the acquisition pattern of a circle with a diameter of 7 km. Data is acquired from the power NW model DB 104 for a range excluding the pattern (in this case, a donut shape is also obtained). Then, the data acquisition device 200 merges the acquired data (XML data) after the second merge and the current (third) XML data and returns the merged data to the terminal 101.
<データ事前取得処理>
図28は、実施例3にかかるデータ事前取得処理の詳細な処理手順例を示すフローチャートである。データ事前取得処理は、ステップS1905、S2004およびS2012で設定された起動タイミング1001で起動されて、処理を開始する。 <Data pre-acquisition processing>
FIG. 28 is a flowchart of a detailed process procedure example of the data pre-acquisition process according to the third embodiment. The data pre-acquisition process is started at thestart timing 1001 set in steps S1905, S2004, and S2012, and starts the process.
図28は、実施例3にかかるデータ事前取得処理の詳細な処理手順例を示すフローチャートである。データ事前取得処理は、ステップS1905、S2004およびS2012で設定された起動タイミング1001で起動されて、処理を開始する。 <Data pre-acquisition processing>
FIG. 28 is a flowchart of a detailed process procedure example of the data pre-acquisition process according to the third embodiment. The data pre-acquisition process is started at the
データ取得装置200は、起動タイミング1001になるまで待ち受ける(ステップS2801:No)。データ取得装置200は、ステップS1902の取得ユーザID602のエントリにおけるステップ番号701および前ステップ番号801を、ステップ情報管理テーブル800から取得する(ステップS2802)。データ取得装置200は、取得ステップ番号701のエントリにおけるパターン形状606および代表属性値702(取得パターン)と、取得した前ステップ番号801のエントリにおけるパターン形状606および代表属性値702(前回取得パターン)とを、データ取得推定テーブル700から取得する(ステップS2803)。
The data acquisition device 200 waits until the start timing 1001 (step S2801: No). The data acquisition device 200 acquires the step number 701 and the previous step number 801 in the entry of the acquisition user ID 602 in step S1902 from the step information management table 800 (step S2802). The data acquisition apparatus 200 includes the pattern shape 606 and the representative attribute value 702 (acquisition pattern) in the entry of the acquisition step number 701, and the pattern shape 606 and the representative attribute value 702 (previous acquisition pattern) in the acquired entry of the previous step number 801. Is acquired from the data acquisition estimation table 700 (step S2803).
データ取得装置200は、取得パターンと前回取得パターンとが重複するか否かを判断する(ステップS2804)。重複しない場合(ステップS2804:No)、データ取得装置200は、パターン形状606および代表属性値702を充足するデータを、電力NWモデルDB104から取得する(ステップS2805)。そして、データ取得装置200は、取得したデータをXMLデータに変換して、事前取得データ901とする(ステップS2806)。データ取得装置200は、事前取得情報(ユーザID602、パターン形状606、属性値607、事前取得データ901)を事前取得情報管理テーブル900に登録する(ステップS2807)。このあと、ステップS2812に移行する。
The data acquisition apparatus 200 determines whether the acquisition pattern and the previous acquisition pattern overlap (step S2804). When not overlapping (step S2804: No), the data acquisition device 200 acquires data satisfying the pattern shape 606 and the representative attribute value 702 from the power NW model DB 104 (step S2805). Then, the data acquisition device 200 converts the acquired data into XML data and sets it as pre-acquisition data 901 (step S2806). The data acquisition apparatus 200 registers the pre-acquisition information (user ID 602, pattern shape 606, attribute value 607, pre-acquisition data 901) in the pre-acquisition information management table 900 (step S2807). Thereafter, the process proceeds to step S2812.
一方、ステップS2804において、重複すると判定された場合(ステップS2804:Yes)、データ取得装置200は、取得パターンから前回取得パターンを引いた差分取得パターンを用いて差分取得する条件式を生成する(ステップS2808)。データ取得装置200は、差分条件式を充足するデータを、電力NWモデルDB104から取得する(ステップS2809)。そして、データ取得装置200は、取得したデータをXMLデータに変換して、前回取得したXMLデータとマージして事前取得データ901とする(ステップS2810)。データ取得装置200は、事前取得情報(ユーザID602、パターン形状606、属性値607、事前取得データ901)を事前取得情報管理テーブル900に登録する(ステップS2811)。このあと、ステップS2812に移行する。
On the other hand, if it is determined in step S2804 that they overlap (step S2804: Yes), the data acquisition device 200 generates a conditional expression for acquiring a difference using a difference acquisition pattern obtained by subtracting the previous acquisition pattern from the acquisition pattern (step S2804). S2808). The data acquisition device 200 acquires data satisfying the difference conditional expression from the power NW model DB 104 (step S2809). Then, the data acquisition device 200 converts the acquired data into XML data, and merges it with the previously acquired XML data to obtain the pre-acquired data 901 (step S2810). The data acquisition device 200 registers the pre-acquisition information (user ID 602, pattern shape 606, attribute value 607, pre-acquisition data 901) in the prior acquisition information management table 900 (step S2811). Thereafter, the process proceeds to step S2812.
これにより、一連の処理が終了する。なお、セッションが終了した場合、データ取得装置200は、当該ユーザID602のエントリを事前取得情報管理テーブル900から削除してもよい。
This completes a series of processing. When the session ends, the data acquisition device 200 may delete the entry of the user ID 602 from the pre-acquisition information management table 900.
実施例3によれば、重複部分のデータ変換が不要となり、要求元の端末101に即時応答することができる。
According to the third embodiment, it is not necessary to convert the data in the overlapping portion, and an immediate response can be made to the request source terminal 101.
実施例4は、複数のユーザのデータ処理時間605が重複した場合の起動タイミング1001の調整例である。複数のデータ処理時間605が重複した場合、データ取得装置200は、そのデータ処理時間605の重複数が、調整前の重複数未満となるように、複数の起動タイミング1001(データ処理時間605の開始時刻)を調整する。これにより、調整前に比べて、事前取得処理の負荷を低減することができる。
Example 4 is an example of adjusting the start timing 1001 when the data processing times 605 of a plurality of users overlap. When a plurality of data processing times 605 overlap, the data acquisition apparatus 200 determines that the plurality of start timings 1001 (start of the data processing time 605) so that the duplication number of the data processing time 605 is less than the duplication number before adjustment. Time). Thereby, the load of the prior acquisition process can be reduced as compared with before adjustment.
図29は、実施例4にかかる起動タイミング1001の調整例を示す説明図である。(A)は、調整前の状態、(B)は調整後の状態を示す。図28の例では、多重度(1以上の整数)を2とする。多重度とは、重複を許容する平均データ処理時間の最大個数であり、ユーザの重複数-1以下、換言すれば、平均データ処理時間の重複数-1以下となる。ここで、dpa~dpdは、4人のユーザの各々の平均データ処理時間(図10のタイムチャートを参照)であり、ta~tdは、その起動タイミング1001である。なお、起動タイミング1001であるta,tbは同一時刻(たとえば、10時21分)である(異なる時刻でもよい)。(A)では、期間oltにおいて、平均データ処理時間dpa~dpdが重複する。
FIG. 29 is an explanatory diagram of an example of adjusting the start timing 1001 according to the fourth embodiment. (A) shows the state before adjustment, and (B) shows the state after adjustment. In the example of FIG. 28, the multiplicity (an integer of 1 or more) is set to 2. The multiplicity is the maximum number of average data processing times that allow duplication, and is equal to or less than the user duplication number−1, in other words, equal to or less than the duplication number−1 of the average data processing time. Here, dpa to dpd are average data processing times of the four users (see the time chart in FIG. 10), and ta to td are the activation timings 1001. It should be noted that ta and tb that are the start timing 1001 are the same time (for example, 10:21) (may be different times). In (A), the average data processing times dpa to dpd overlap in the period alt.
多重度が2であるため、データ取得装置200は、平均データ処理時間の重複数が2以下となるように、各平均データ処理時間を調整する。(B)に示したように、データ取得装置200は、平均データ処理時間dpa,dpbを固定したままとし、平均データ処理時間dpc,dpdを平均データ処理時間dpa,dpbと重複しないようにシフトする。
Since the multiplicity is 2, the data acquisition apparatus 200 adjusts each average data processing time so that the average data processing time overlap number is 2 or less. As shown in (B), the data acquisition device 200 keeps the average data processing times dpa and dpb fixed, and shifts the average data processing times dpc and dpd so as not to overlap with the average data processing times dpa and dpb. .
また、このシフト量は、シフト前の起動タイミング1001との差が小さくなるように調整してもよい。具体的には、たとえば、シフト対象となる平均データ処理時間の終了時刻の次の時刻が、シフト対象外の平均データ処理時間の起動タイミング1001となるようにしてもよく、また、シフト対象外となる平均データ処理時間の終了時刻の次の時刻が、シフト対象の平均データ処理時間の起動タイミング1001となるようにしてもよい。これにより、データ取得装置200の処理負荷を低減しつつ、起動タイミング1001のずれを最小限に抑制することができる。
Further, this shift amount may be adjusted so that the difference from the start timing 1001 before the shift becomes small. Specifically, for example, the time next to the end time of the average data processing time to be shifted may be the start timing 1001 of the average data processing time that is not to be shifted. The time next to the end time of the average data processing time may be the start timing 1001 of the average data processing time to be shifted. As a result, it is possible to minimize the deviation of the activation timing 1001 while reducing the processing load on the data acquisition device 200.
なお、多重度は2であるため、この場合、当該4人のユーザ以外の他のユーザの平均データ処理時間と重複しなければ、データ取得装置200は、多重度が1(すなわち重複しない)となるように調整してもよい。このように、データ取得装置200が起動タイミング1001のずれよりもデータ取得装置200の処理負荷を重要視するように設定されている場合は、多重度がより低くなるように調整してもよい。
Note that since the multiplicity is 2, in this case, the data acquisition apparatus 200 determines that the multiplicity is 1 (that is, does not overlap) unless the average data processing time of other users other than the four users overlaps. You may adjust so that it may become. As described above, when the data acquisition device 200 is set so that the processing load of the data acquisition device 200 is more important than the deviation of the activation timing 1001, the multiplicity may be adjusted to be lower.
なお、実施例4では、平均データ処理時間の重複を検出することにより、起動タイミング1001を調整する例について説明したが、起動タイミング1001の重複を検出することにより、起動タイミング1001を調整することとしてもよい。この場合、平均データ処理時間の算出が、重複した起動タイミング1001に限定されるため、調整処理の簡素化を図ることができる。
In the fourth embodiment, the example in which the activation timing 1001 is adjusted by detecting the overlap of the average data processing time has been described. However, the activation timing 1001 is adjusted by detecting the overlap of the activation timing 1001. Also good. In this case, since the calculation of the average data processing time is limited to the overlapping activation timing 1001, the adjustment process can be simplified.
<調整処理手順例>
図30は、起動タイミング1001の調整処理手順例を示すフローチャートである。当該フローチャートは、たとえば、最新の起動タイミング1001が設定されたタイミングで実行される。まず、データ取得装置200は、設定済みで、かつ、また到来していない複数の起動タイミング1001に対応するユーザID602の各々について、データ取得推定テーブル700からパターン形状606を取得する(ステップS3001)。 <Adjustment processing procedure example>
FIG. 30 is a flowchart illustrating an example of the adjustment processing procedure of theactivation timing 1001. The flowchart is executed, for example, at the timing when the latest activation timing 1001 is set. First, the data acquisition device 200 acquires the pattern shape 606 from the data acquisition estimation table 700 for each of the user IDs 602 corresponding to the plurality of activation timings 1001 that have been set and have not arrived (step S3001).
図30は、起動タイミング1001の調整処理手順例を示すフローチャートである。当該フローチャートは、たとえば、最新の起動タイミング1001が設定されたタイミングで実行される。まず、データ取得装置200は、設定済みで、かつ、また到来していない複数の起動タイミング1001に対応するユーザID602の各々について、データ取得推定テーブル700からパターン形状606を取得する(ステップS3001)。 <Adjustment processing procedure example>
FIG. 30 is a flowchart illustrating an example of the adjustment processing procedure of the
つぎに、データ取得装置200は、データ取得履歴蓄積テーブル600を参照して、ステップS3001で取得したパターン形状606におけるデータ処理時間605を取得し、当該ユーザについて、取得したパターン形状606における平均データ処理時間を、ユーザID602ごとに算出する(ステップS3002)。
Next, the data acquisition apparatus 200 refers to the data acquisition history accumulation table 600, acquires the data processing time 605 in the pattern shape 606 acquired in step S3001, and average data processing in the acquired pattern shape 606 for the user. The time is calculated for each user ID 602 (step S3002).
そして、データ取得装置200は、各ユーザID602の起動タイミング1001からの平均データ処理時間が重複するか否かを判断する(ステップS3003)。ここでは、平均データ処理時間の重複数が多重度以下であれば、データ取得装置200は、重複しないと判断し(ステップS3003:No)、多重度を超えていれば、データ取得装置200は、重複すると判断する(ステップS3003:Yes)。
Then, the data acquisition apparatus 200 determines whether or not the average data processing time from the activation timing 1001 of each user ID 602 overlaps (step S3003). Here, if the overlap of the average data processing time is less than or equal to the multiplicity, the data acquisition device 200 determines that there is no overlap (step S3003: No), and if the multiplicity is exceeded, the data acquisition device 200 It is determined that they overlap (step S3003: Yes).
重複しない場合(ステップS3003:No)、データ取得装置200は、起動タイミング1001の調整処理を終了する。一方、重複する場合(ステップS3003:Yes)、データ取得装置200は、多重度に基づいて、各起動タイミング1001を調整し、調整した起動タイミング1001について起動タイミング管理テーブル1000を更新する(ステップS3004)。これにより、データ取得装置200は、起動タイミング1001の調整処理を終了する。
If there is no overlap (step S3003: No), the data acquisition device 200 ends the adjustment process of the activation timing 1001. On the other hand, if they overlap (step S3003: Yes), the data acquisition device 200 adjusts each activation timing 1001 based on the multiplicity, and updates the activation timing management table 1000 for the adjusted activation timing 1001 (step S3004). . Thereby, the data acquisition device 200 ends the adjustment process of the activation timing 1001.
このように、上述したデータ取得装置200によれば、ユーザが要求するであろうデータ取得要求を推定して、当該データ取得要求に該当するデータを事前に取得することにより、データ取得要求があった場合に即座にデータをユーザに提供することができる。したがって、要求に応じて取得するデータの応答遅延の抑制を図ることができる。
As described above, according to the data acquisition device 200 described above, a data acquisition request is made by estimating a data acquisition request that the user will request and acquiring data corresponding to the data acquisition request in advance. Data can be provided to the user immediately. Therefore, it is possible to suppress response delay of data acquired in response to a request.
また、ユーザが要求するであろうデータ取得要求が複数種類存在する場合、過去のデータ取得要求の学習結果から、ユーザが選択するであろうデータ取得要求ごとの選択確率1203を求めておくことで、データ事前取得の推定精度の向上を図ることができる。
Further, when there are a plurality of types of data acquisition requests that the user will request, by obtaining the selection probability 1203 for each data acquisition request that the user will select from the learning result of the past data acquisition requests. Therefore, it is possible to improve the estimation accuracy of data pre-acquisition.
また、選択確率1203に応じて選択されたデータ取得要求とは異なるデータ取得要求が実際に受信された場合も、データ取得装置200は、取得パターン列の乗換をすることで、データの事前取得を継続的に実行することができる。また、当該異なるデータ取得要求を学習することにより、これ以降、データ事前取得の推定精度の向上を図ることができる。
Further, even when a data acquisition request different from the data acquisition request selected according to the selection probability 1203 is actually received, the data acquisition device 200 performs data acquisition in advance by changing the acquisition pattern sequence. Can be run continuously. Further, by learning the different data acquisition requests, it is possible to improve the estimation accuracy of data prior acquisition thereafter.
また、要求元は、ユーザ(作業者)を特定する端末であるため、ユーザに固有な取得パターンを学習することができる。また、要求元は、複数のユーザが利用するアプリケーション102でもよい。これにより、アプリケーション102に固有な取得パターンを学習することができる。また、これにより、新規ユーザであっても、利用するアプリケーション102が特定されることで、データを事前取得することが可能となる。
Also, since the request source is a terminal that identifies the user (worker), it is possible to learn an acquisition pattern unique to the user. The request source may be the application 102 used by a plurality of users. Thereby, an acquisition pattern unique to the application 102 can be learned. As a result, even for a new user, data can be acquired in advance by specifying the application 102 to be used.
また、一連のデータ取得要求の取得パターンが重複する場合、重複箇所を除いて事前取得することにより、事前取得処理の高速化を図ることができる。
Also, when the acquisition patterns of a series of data acquisition requests are duplicated, the advance acquisition process can be speeded up by acquiring in advance excluding the overlapping part.
複数のユーザのデータ処理時間の時間帯が重複する場合、多重度に応じてユーザ数未満となるように重複数を調整することにより、データ取得装置200の負荷低減を図ることができる。
When the time periods of data processing times of a plurality of users overlap, the load on the data acquisition device 200 can be reduced by adjusting the number of overlaps so as to be less than the number of users according to the multiplicity.
また、上述した実施例1~4では、電力設備をノードとした電力NWモデルの例に挙げて説明したが、他のデータにも適用することができる。たとえば、小売り企業の売り上げ分析を目的に店舗別のデータを取得したい場合、ノードを店舗とし、属性を月当りの売上、月当たりの客数、最も売上額の多い顧客の年齢層、店舗位置にすればよい。これにより、たとえば、分類されたデータに対して、60歳代の顧客が最も多く、売上が1,000万円以上で、客数が1,000人以下の店舗のデータを取得して分析するといった利用方法が可能になる。また、続けて、50歳代、40歳代というように属性を変えて分析を進める場合、取得パターンのステップが推定可能である。
In the first to fourth embodiments described above, the power NW model using power equipment as a node has been described as an example, but the present invention can also be applied to other data. For example, if you want to acquire store-specific data for the purpose of analyzing sales of a retail company, the node is a store, and the attributes are sales per month, number of customers per month, age group of customers with the highest sales, and store location. That's fine. As a result, for example, for the classified data, data of stores having the largest number of customers in their 60s, sales of 10 million yen or more, and the number of customers of 1,000 or less are acquired and analyzed. Usage is possible. Further, when the analysis is continued by changing the attributes such as the 50s and 40s, the acquisition pattern step can be estimated.
なお、本発明は前述した実施例に限定されるものではなく、添付した特許請求の範囲の趣旨内における様々な変形例及び同等の構成が含まれる。例えば、前述した実施例は本発明を分かりやすく説明するために詳細に説明したものであり、必ずしも説明した全ての構成を備えるものに本発明は限定されない。また、ある実施例の構成の一部を他の実施例の構成に置き換えてもよい。また、ある実施例の構成に他の実施例の構成を加えてもよい。また、各実施例の構成の一部について、他の構成の追加、削除、または置換をしてもよい。
The present invention is not limited to the above-described embodiments, and includes various modifications and equivalent configurations within the scope of the appended claims. For example, the above-described embodiments have been described in detail for easy understanding of the present invention, and the present invention is not necessarily limited to those having all the configurations described. A part of the configuration of one embodiment may be replaced with the configuration of another embodiment. Moreover, you may add the structure of another Example to the structure of a certain Example. Moreover, you may add, delete, or replace another structure about a part of structure of each Example.
また、前述した各構成、機能、処理部、処理手段等は、それらの一部又は全部を、例えば集積回路で設計する等により、ハードウェアで実現してもよく、プロセッサがそれぞれの機能を実現するプログラムを解釈し実行することにより、ソフトウェアで実現してもよい。
In addition, each of the above-described configurations, functions, processing units, processing means, etc. may be realized in hardware by designing a part or all of them, for example, with an integrated circuit, and the processor realizes each function. It may be realized by software by interpreting and executing the program to be executed.
各機能を実現するプログラム、テーブル、ファイル等の情報は、メモリ、ハードディスク、SSD(Solid State Drive)等の記憶装置、又は、IC(Integrated Circuit)カード、SDカード、DVD(Digital Versatile Disc)の記録媒体に格納することができる。
Information such as programs, tables, and files for realizing each function is recorded on a memory, a hard disk, a storage device such as SSD (Solid State Drive), or an IC (Integrated Circuit) card, SD card, DVD (Digital Versatile Disc). It can be stored on a medium.
また、制御線や情報線は説明上必要と考えられるものを示しており、実装上必要な全ての制御線や情報線を示しているとは限らない。実際には、ほとんど全ての構成が相互に接続されていると考えてよい。
Also, the control lines and information lines indicate what is considered necessary for the explanation, and do not necessarily indicate all control lines and information lines necessary for mounting. In practice, it can be considered that almost all the components are connected to each other.
Claims (12)
- データ群を記憶するデータベースにアクセス可能であり、前記データベースに対する要求元からのデータ取得要求に応じたデータを前記データベースから取得して前記要求元に返すデータ取得装置であって、
プログラムを実行するプロセッサと、前記プログラムを記憶する記憶デバイスと、を有し、
前記プロセッサは、
前記要求元から受信された一連のデータ取得要求の各々のデータ取得要求について、前記データ取得要求の種類と、前記データ取得要求の時系列順を規定する取得タイミングと、を学習する学習処理と、
前記一連のデータ取得要求以降の第1データ取得要求に先立って、前記学習処理による学習結果に基づいて、前記要求元から取得され得るデータ取得要求である第1の次回推定データ取得要求の種類および取得タイミングを特定する特定処理と、
前記特定処理によって種類が特定された第1の次回推定データ取得要求に該当するデータを、前記データベースから取得する事前取得処理と、
前記第1データ取得要求が受信された場合、前記第1データ取得要求に含まれる種類と、前記特定処理によって特定された前記第1の次回推定データ取得要求の種類と、が一致するか否かを判断する判断処理と、
前記判断処理によって一致すると判断された場合、前記事前取得処理による事前取得結果を、前記特定処理によって特定された前記第1の次回推定データ取得要求の取得タイミングで前記要求元に送信する送信処理と、
を実行することを特徴とするデータ取得装置。 A data acquisition device that is accessible to a database storing a data group, acquires data according to a data acquisition request from a request source for the database, and returns the data to the request source.
A processor that executes the program; and a storage device that stores the program;
The processor is
For each data acquisition request of the series of data acquisition requests received from the request source, a learning process for learning the type of the data acquisition request and the acquisition timing that defines the time series order of the data acquisition request;
Prior to the first data acquisition request after the series of data acquisition requests, the type of the first next estimated data acquisition request that is a data acquisition request that can be acquired from the request source based on the learning result by the learning process and Specific processing to identify acquisition timing;
Pre-acquisition processing for acquiring data corresponding to the first next estimated data acquisition request whose type is specified by the specifying processing from the database;
If the first data acquisition request is received, whether or not the type included in the first data acquisition request matches the type of the first next estimated data acquisition request specified by the specifying process A judgment process for judging
A transmission process for transmitting to the request source the acquisition result of the first next estimated data acquisition request specified by the specifying process, when the determination process determines that they match. When,
The data acquisition apparatus characterized by performing. - 請求項1に記載のデータ取得装置であって、
前記学習処理では、前記プロセッサは、前記要求元からの過去の一連のデータ取得要求について、前記要求元から前記一連のデータ取得要求の各々のデータ取得要求がその時系列順で前記要求元から選択される確率を算出し、
前記特定処理では、前記プロセッサは、前記第1の次回推定データ取得要求の種類を前記学習処理によって算出された確率に基づいて特定する、
ことを特徴とするデータ取得装置。 The data acquisition device according to claim 1,
In the learning process, the processor selects, from the request source, each data acquisition request of the series of data acquisition requests from the request source in chronological order for a series of past data acquisition requests from the request source. The probability of
In the specifying process, the processor specifies the type of the first next estimated data acquisition request based on the probability calculated by the learning process.
A data acquisition apparatus characterized by that. - 請求項2に記載のデータ取得装置であって、
前記特定処理では、前記プロセッサは、前記第1の次回推定データ取得要求が複数存在する場合、最も確率が高い確率を有する第1の次回推定データ取得要求の種類および取得タイミングを特定することを特徴とするデータ取得装置。 The data acquisition device according to claim 2,
In the specifying process, when there are a plurality of first next estimated data acquisition requests, the processor specifies the type and acquisition timing of the first next estimated data acquisition request having the highest probability. A data acquisition device. - 請求項3に記載のデータ取得装置であって、
前記特定処理では、前記プロセッサは、前記判断処理によって不一致と判断された場合、選択されなかった第1の次回推定データ取得要求の種類および取得タイミングを特定し、
前記判断処理では、前記プロセッサは、前記第1データ取得要求に含まれる種類と、前記選択されなかった第1の次回推定データ取得要求の種類と、が一致するか否かを判断し、
前記特定処理では、前記プロセッサは、前記第1データ取得要求に含まれる種類と、前記選択されなかった第1の次回推定データ取得要求の種類と、が一致すると判断された場合、前記学習結果に基づいて、前記第1データ取得要求の次に前記要求元から取得され得るデータ取得要求である第2の次回推定データ取得要求の種類および取得タイミングを特定することを特徴とするデータ取得装置。 The data acquisition device according to claim 3,
In the specifying process, the processor specifies the type and the acquisition timing of the first next estimated data acquisition request that has not been selected, when the determination process determines that there is a mismatch,
In the determination process, the processor determines whether or not the type included in the first data acquisition request matches the type of the first next estimated data acquisition request not selected.
In the specific process, when the processor determines that the type included in the first data acquisition request matches the type of the first next estimated data acquisition request that has not been selected, Based on this, the data acquisition device is characterized by identifying the type and acquisition timing of the second next estimated data acquisition request, which is a data acquisition request that can be acquired from the request source after the first data acquisition request. - 請求項1に記載のデータ取得装置であって、
前記学習処理では、前記プロセッサは、前記要求元からの過去の一連のデータ取得要求の各々について、1つ前のデータ取得要求からの経過時間に基づいて、前記取得タイミングを学習する、
ことを特徴とするデータ取得装置。 The data acquisition device according to claim 1,
In the learning process, the processor learns the acquisition timing based on an elapsed time from the previous data acquisition request for each of a series of past data acquisition requests from the request source.
A data acquisition apparatus characterized by that. - 請求項1に記載のデータ取得装置であって、
前記プロセッサは、
前記第1の次回推定データ取得要求の取得タイミングが、前記第1の次回推定データ取得要求に該当するデータの所定の形式への変換に要するデータ変換時間の経過時以降となるように、前記事前取得処理の起動タイミングを設定する設定処理を実行し、
前記事前取得処理では、前記プロセッサは、前記設定処理によって設定された起動タイミングで、前記第1の次回推定データ取得要求に該当するデータを前記データベースから取得する、
ことを特徴とするデータ取得装置。 The data acquisition device according to claim 1,
The processor is
The acquisition timing of the first next estimated data acquisition request is after the elapse of the data conversion time required for converting the data corresponding to the first next estimated data acquisition request into a predetermined format. Execute the setting process to set the start timing of the pre-acquisition process,
In the pre-acquisition process, the processor acquires data corresponding to the first next estimated data acquisition request from the database at the start timing set by the setting process.
A data acquisition apparatus characterized by that. - 請求項1に記載のデータ取得装置であって、
前記要求元は、利用者の識別情報によって特定されることを特徴とするデータ取得装置。 The data acquisition device according to claim 1,
The data acquisition apparatus according to claim 1, wherein the request source is specified by user identification information. - 請求項1に記載のデータ取得装置であって、
前記要求元は、前記要求元で前記データ取得要求を発行するアプリケーションの識別情報によって特定されることを特徴とするデータ取得装置。 The data acquisition device according to claim 1,
The request source is specified by identification information of an application that issues the data acquisition request at the request source. - 請求項1に記載のデータ取得装置であって、
前記事前取得処理では、前記プロセッサは、前記第1データ取得要求の次の第2データ取得要求に先立って前記要求元から取得され得るデータ取得要求である第2の次回推定データ取得要求に該当するデータが、前記第1データ取得要求に該当するデータと重複する場合、前記第2の次回推定データ取得要求に該当するデータのうち前記第1データ取得要求に該当するデータと重複しないデータを前記データベースから取得して、前記第1データ取得要求に該当するデータと重複するデータとマージする、
ことを特徴とするデータ取得装置。 The data acquisition device according to claim 1,
In the pre-acquisition process, the processor corresponds to a second next estimated data acquisition request that is a data acquisition request that can be acquired from the request source prior to a second data acquisition request subsequent to the first data acquisition request. If the data to be overlapped with the data corresponding to the first data acquisition request, the data not overlapping with the data corresponding to the first data acquisition request among the data corresponding to the second next estimated data acquisition request Acquired from a database and merged with data that overlaps with data corresponding to the first data acquisition request;
A data acquisition apparatus characterized by that. - 請求項6に記載のデータ取得装置であって、
前記設定処理では、前記プロセッサは、複数の前記要求元の各々からの前記第1の次回推定データ取得要求に該当するデータを前記データベースから取得する前記事前取得処理の時間帯が重複する場合、重複する時間帯の数が前記要求元の数よりも少なくなるように、前記複数の要求元の前記事前取得処理の前記起動タイミングを調整する、
ことを特徴とするデータ取得装置。 The data acquisition device according to claim 6,
In the setting process, when the time zone of the prior acquisition process for acquiring data corresponding to the first next estimated data acquisition request from each of the plurality of request sources from the database overlaps, Adjusting the activation timing of the prior acquisition processing of the plurality of request sources so that the number of overlapping time zones is less than the number of request sources;
A data acquisition apparatus characterized by that. - データ群を記憶するデータベースにアクセス可能であり、前記データベースに対する要求元からのデータ取得要求に応じたデータを前記データベースから取得して前記要求元に返すデータ取得装置によるデータ取得方法であって、
前記データ取得装置は、プログラムを実行するプロセッサと、前記プログラムを記憶する記憶デバイスと、を有し、
前記プロセッサは、
前記要求元から受信された一連のデータ取得要求の各々のデータ取得要求について、前記データ取得要求の種類と、前記データ取得要求の時系列順を規定する取得タイミングと、を学習する学習処理と、
前記一連のデータ取得要求以降の第1データ取得要求に先立って、前記学習処理による学習結果に基づいて、前記要求元から取得され得るデータ取得要求である第1の次回推定データ取得要求の種類および取得タイミングを特定する特定処理と、
前記特定処理によって種類が特定された第1の次回推定データ取得要求に該当するデータを、前記データベースから取得する事前取得処理と、
前記第1データ取得要求が受信された場合、前記第1データ取得要求に含まれる種類と、前記特定処理によって特定された前記第1の次回推定データ取得要求の種類と、が一致するか否かを判断する判断処理と、
前記判断処理によって一致すると判断された場合、前記事前取得処理による事前取得結果を、前記特定処理によって特定された前記第1の次回推定データ取得要求の取得タイミングで前記要求元に送信する送信処理と、
を実行することを特徴とするデータ取得方法。 A data acquisition method by a data acquisition device that is accessible to a database storing a data group, acquires data according to a data acquisition request from a request source for the database, and returns the data to the request source,
The data acquisition device includes a processor that executes a program, and a storage device that stores the program,
The processor is
For each data acquisition request of the series of data acquisition requests received from the request source, a learning process for learning the type of the data acquisition request and the acquisition timing that defines the time series order of the data acquisition request;
Prior to the first data acquisition request after the series of data acquisition requests, the type of the first next estimated data acquisition request that is a data acquisition request that can be acquired from the request source based on the learning result by the learning process and Specific processing to identify acquisition timing;
Pre-acquisition processing for acquiring data corresponding to the first next estimated data acquisition request whose type is specified by the specifying processing from the database;
If the first data acquisition request is received, whether or not the type included in the first data acquisition request matches the type of the first next estimated data acquisition request specified by the specifying process A judgment process for judging
A transmission process for transmitting to the request source the acquisition result of the first next estimated data acquisition request specified by the specifying process, when the determination process determines that they match. When,
The data acquisition method characterized by performing. - データ群を記憶するデータベースにアクセス可能であり、前記データベースに対する要求元からのデータ取得要求に応じたデータを前記データベースから取得して前記要求元に返すデータ取得装置で実行されるデータ取得プログラムであって、
前記データ取得プログラムを実行するプロセッサに、
前記要求元から受信された一連のデータ取得要求の各々のデータ取得要求について、前記データ取得要求の種類と、前記データ取得要求の時系列順を規定する取得タイミングと、を学習する学習処理と、
前記一連のデータ取得要求以降の第1データ取得要求に先立って、前記学習処理による学習結果に基づいて、前記要求元から取得され得るデータ取得要求である第1の次回推定データ取得要求の種類および取得タイミングを特定する特定処理と、
前記特定処理によって種類が特定された第1の次回推定データ取得要求に該当するデータを、前記データベースから取得する事前取得処理と、
前記第1データ取得要求が受信された場合、前記第1データ取得要求に含まれる種類と、前記特定処理によって特定された前記第1の次回推定データ取得要求の種類と、が一致するか否かを判断する判断処理と、
前記判断処理によって一致すると判断された場合、前記事前取得処理による事前取得結果を、前記特定処理によって特定された前記第1の次回推定データ取得要求の取得タイミングで前記要求元に送信する送信処理と、
を実行させることを特徴とするデータ取得プログラム。 A data acquisition program that is accessible to a database that stores a data group and that is executed by a data acquisition device that acquires data according to a data acquisition request from a request source for the database from the database and returns the data to the request source. And
In a processor that executes the data acquisition program,
For each data acquisition request of the series of data acquisition requests received from the request source, a learning process for learning the type of the data acquisition request and the acquisition timing that defines the time series order of the data acquisition request;
Prior to the first data acquisition request after the series of data acquisition requests, the type of the first next estimated data acquisition request that is a data acquisition request that can be acquired from the request source based on the learning result by the learning process and Specific processing to identify acquisition timing;
Pre-acquisition processing for acquiring data corresponding to the first next estimated data acquisition request whose type is specified by the specifying processing from the database;
If the first data acquisition request is received, whether or not the type included in the first data acquisition request matches the type of the first next estimated data acquisition request specified by the specifying process A judgment process for judging
A transmission process for transmitting to the request source the acquisition result of the first next estimated data acquisition request specified by the specifying process, when the determination process determines that they match. When,
A data acquisition program for executing
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2017/005900 WO2018150539A1 (en) | 2017-02-17 | 2017-02-17 | Data acquisition device, data acquisition method, and data acquisition program |
JP2018537684A JP6591080B2 (en) | 2017-02-17 | 2017-10-26 | Data acquisition device, data acquisition method, and data acquisition program |
PCT/JP2017/038685 WO2018150639A1 (en) | 2017-02-17 | 2017-10-26 | Data acquisition device, data acquisition method, and data acquisition program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2017/005900 WO2018150539A1 (en) | 2017-02-17 | 2017-02-17 | Data acquisition device, data acquisition method, and data acquisition program |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018150539A1 true WO2018150539A1 (en) | 2018-08-23 |
Family
ID=63169237
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2017/005900 WO2018150539A1 (en) | 2017-02-17 | 2017-02-17 | Data acquisition device, data acquisition method, and data acquisition program |
PCT/JP2017/038685 WO2018150639A1 (en) | 2017-02-17 | 2017-10-26 | Data acquisition device, data acquisition method, and data acquisition program |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2017/038685 WO2018150639A1 (en) | 2017-02-17 | 2017-10-26 | Data acquisition device, data acquisition method, and data acquisition program |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP6591080B2 (en) |
WO (2) | WO2018150539A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109688121A (en) * | 2018-12-17 | 2019-04-26 | 中国平安财产保险股份有限公司 | Resource data acquisition methods, device, computer equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1173425A (en) * | 1997-08-29 | 1999-03-16 | Oki Electric Ind Co Ltd | Electronic file system |
JPH11120069A (en) * | 1997-10-17 | 1999-04-30 | Hitachi Ltd | Data prefetching method |
JP2001256099A (en) * | 2000-03-09 | 2001-09-21 | Seiko Epson Corp | Access control device |
JP2003150419A (en) * | 2001-11-14 | 2003-05-23 | Hitachi Ltd | Storage device having means for acquiring execution information of database management system |
JP2006260067A (en) * | 2005-03-16 | 2006-09-28 | Internatl Business Mach Corp <Ibm> | Lookahead device, lookahead method and lookahead program |
WO2013175625A1 (en) * | 2012-05-25 | 2013-11-28 | 株式会社日立製作所 | Database management method, database management device, and storage medium |
-
2017
- 2017-02-17 WO PCT/JP2017/005900 patent/WO2018150539A1/en active Application Filing
- 2017-10-26 JP JP2018537684A patent/JP6591080B2/en active Active
- 2017-10-26 WO PCT/JP2017/038685 patent/WO2018150639A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1173425A (en) * | 1997-08-29 | 1999-03-16 | Oki Electric Ind Co Ltd | Electronic file system |
JPH11120069A (en) * | 1997-10-17 | 1999-04-30 | Hitachi Ltd | Data prefetching method |
JP2001256099A (en) * | 2000-03-09 | 2001-09-21 | Seiko Epson Corp | Access control device |
JP2003150419A (en) * | 2001-11-14 | 2003-05-23 | Hitachi Ltd | Storage device having means for acquiring execution information of database management system |
JP2006260067A (en) * | 2005-03-16 | 2006-09-28 | Internatl Business Mach Corp <Ibm> | Lookahead device, lookahead method and lookahead program |
WO2013175625A1 (en) * | 2012-05-25 | 2013-11-28 | 株式会社日立製作所 | Database management method, database management device, and storage medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109688121A (en) * | 2018-12-17 | 2019-04-26 | 中国平安财产保险股份有限公司 | Resource data acquisition methods, device, computer equipment and storage medium |
CN109688121B (en) * | 2018-12-17 | 2022-11-04 | 中国平安财产保险股份有限公司 | Resource data acquisition method and device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2018150639A1 (en) | 2018-08-23 |
JP6591080B2 (en) | 2019-10-16 |
JPWO2018150639A1 (en) | 2019-02-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104903894B (en) | System and method for distributed networks database query engine | |
JP6162781B2 (en) | Method and apparatus for determining the location of a new point of interest | |
CN105243169B (en) | A kind of data query method and system | |
CN105930428B (en) | For executing the method and system of the interleaved connection in multi-tenant storage | |
CN109376971B (en) | Load curve prediction method and system for power consumers | |
CN104871154A (en) | Optimizing data block size for deduplication | |
WO2013183115A1 (en) | Log management system and program | |
JP7119630B2 (en) | Information processing device, information exchange system, information processing method and information processing program | |
CN101013427A (en) | Method and system for managing data | |
US20180173767A1 (en) | System and method for facilitating queries via request-prediction-based temporary storage of query results | |
US10375157B2 (en) | System and method for reducing data streaming and/or visualization network resource usage | |
CN107820613A (en) | Database index is recommended and created automatically | |
US10055459B2 (en) | Query hint management for a database management system | |
CN102761602A (en) | Hadoop-based mass data real-time analyzing and processing method | |
JP2019125283A (en) | Query generation support method and query generation support device | |
US8903872B1 (en) | NoSql online analytical processing architecture | |
CN104615734B (en) | A kind of community management service big data processing system and its processing method | |
WO2018006023A1 (en) | Time series data query engine | |
JP6591080B2 (en) | Data acquisition device, data acquisition method, and data acquisition program | |
CN107491463A (en) | The optimization method and system of data query | |
JP2014146123A (en) | Server system and data processing method | |
CN104113590B (en) | Copy selection method based on copy response time prediction | |
JP2024541021A (en) | Key-based handling of product purchases | |
CN103401715B (en) | The management method of across a network emergency resources and system | |
JP2015149024A (en) | Search system, control method therefor, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17896656 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17896656 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: JP |