DATA COLLECTING APPARATUS, DATA COLLECTING METHOD, AND PROGRAM
20190363932 ยท 2019-11-28
Assignee
Inventors
Cpc classification
H04L41/22
ELECTRICITY
G05B2219/1214
PHYSICS
H04L41/0853
ELECTRICITY
H04L67/12
ELECTRICITY
International classification
Abstract
A data collecting apparatus (10) is connected to a device (20) via a network (31, 32), and includes a collector (142, 142), a communication controller (130), and a process execution controller (110). The collector (141, 142) collects data from the device (20) based on collection setting information, converts format of the data collected, and outputs the data whose format is converted. The communication controller (130) manages an addition of the collector (141, 142), provides the collection setting information to the collector (141, 142), and outputs data collected by the collector (141, 142). The process execution controller (110) manages processing of data outputted from the communication controller (130). The collector (141, 142) is provided as plug-in software (121, 122) containing information regarding a parameter setting item for when data is collected. The collection setting information is information in which a setting value is added with respect to the parameter setting item.
Claims
1. A data collecting apparatus to be connected to a device via a network, the data collecting apparatus comprising: collection circuitry configured to collect data based on collection setting information from the device, convert a format of the data collected, and output the data whose format is converted; communication control circuitry configured to manage an addition of the collection circuitry, provide the collection setting information to the collection circuitry, and output the data collected by the collection circuitry; and process execution control circuitry configured to manage processing of the data outputted by the communication control circuitry, wherein the collection circuitry includes plug-in software containing information regarding a parameter setting item for when data is collected from the device, and the collection setting information is information in which a setting value is added with respect to the parameter setting item.
2. The data collecting apparatus according to claim 1, further comprising: receiving circuitry configured to receive an input of the collection setting information by outputting screen information indicating an input screen for inputting of the collection setting information.
3. The data collecting apparatus according to claim 2 to be connected to the network and another network, wherein the collection circuitry provides setting support information for setting the collection setting information, the collection setting information is information in which a setting value is added with respect to the parameter setting item, and the receiving circuitry acquires the setting support information of one collection circuitry selected by a user from among the collection circuitry and another collection circuitry configured to collect data transmitted in the another network, generates the screen information from the setting support information acquired, and outputs the screen information generated.
4. The data collecting apparatus according to claim 3, wherein the setting support information is screen configuration information indicating a configuration of the input screen.
5. A data collecting method to be executed by a data collecting apparatus that is connected to a device via a network, the method comprising: by a communication control circuitry for managing an addition of collection circuitry configured to collect including plug-in software containing information regarding a parameter setting item for when data is collected from the device, providing to the collection circuitry collection setting information in which a setting value is added with respect to the parameter setting item; by the circuitry configured to collect, collecting data from the device based on the collection setting information, converting a format of the data collected, and outputting the data whose format is converted; by the communication control circuitry, outputting the data collected by the collector; and by process execution control circuitry, managing processing of the data outputted from the communication control circuitry.
6. A non-transitory computer-readable recording medium storing a program, the program causing a computer connected to a device via a network to function as: collection circuitry configured to collect data based on collection setting information from the device, convert a format of the data collected, and output the data whose format is converted; a communication control circuitry configured to manage an addition of the collection circuitry, provide the collection setting information to the collection circuitry, and output the data collected by the collection circuitry; and process execution circuitry configured to manage processing of the data outputted by the communication control circuitry, wherein the collection circuitry includes plug-in software containing information regarding a parameter setting item for when data is collected from the device, and the collection setting information is information in which a setting value is added with respect to the parameter setting item.
7. The data collecting method according to claim 5 to be executed by the data collecting apparatus that is connected to the network and another network, the method further comprising: receiving an input of the collection setting information by outputting screen information indicating an input screen for inputting of the collection setting information; providing setting support information for setting the collection setting information; and acquiring the setting support information of one circuitry configured to collect selected by a user from among the circuitry configured to collect and another circuitry configured to collect data transmitted in the another network, generating the screen information from the setting support information acquired, and outputting the screen information generated.
8. The non-transitory computer-readable recording medium according to claim 6, the program causing the computer connected to the network and another network to further function as: receiving circuitry configured to receive an input of the collection setting information by outputting screen information indicating an input screen for inputting of the collection setting information, wherein the receiving circuitry acquires the setting support information of one circuitry configured to collect selected by a user from among the circuitry configured to collect and another circuitry configured to collect that collects data transmitted in the another network, generates the screen information from the setting support information acquired, and outputs the screen information generated.
Description
BRIEF DESCRIPTION OF DRAWINGS
[0010]
[0011]
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
DESCRIPTION OF EMBODIMENTS
[0025] Embodiments of the present disclosure are described below in reference to the drawings.
Embodiments
[0026] A data collecting apparatus 10 according to the present embodiment is a computer apparatus that is installed in a factory. The data collecting apparatus 10, as illustrated in
[0027] The first network 31 and the second network 32, for example, are networks for realizing real-time control, monitoring, and management, as typified by CC-Link IE, Ethernet/IP, PROFINET, and the like. However, the first network 31 and the second network 32 are not limited to these networks. Other networks may be used. Also, the device 20, for example, is a controller as typified by a PLC, an actuator, a driver that drives the actuator, a machine tool, a sensor, a robot, or another kind of device. Also, the quantity of devices that are connected to each of the first network 31 and the second network 32 and communicate with the data collecting apparatus 10 may be one or may be more than one.
[0028] As illustrated in
[0029] The processor 11 includes a central processing unit (CPU) or a micro processing unit (MPU). By executing a program P1 that is stored in the auxiliary storage 13, the processor 11 achieves various functions and executes processing described further below.
[0030] The main storage 12 includes a random access memory (RAM). The program P1 is loaded from the auxiliary storage 13 into the main storage 12. Then, the main storage 12 is used as a working area of the processor 11.
[0031] The auxiliary storage 13 includes a non-volatile memory as typified by a hard disk drive and flash memory. The auxiliary storage 13 stores, in addition to the program P1, various types of data used for processing by the processor 11. The auxiliary storage 13 provides the processor 11 with data that is used by the processor 11 and stores data that is provided by the processor 11, in accordance with instructions by the processor 11.
[0032] The inputter 14 includes an inputting device as typified by an input key and pointing device. The inputter 14 acquires information inputted by the user of the data collecting apparatus 10 and notifies of the acquired information to the processor 11.
[0033] The outputter 15 includes an output device as typified by a liquid crystal display (LCD) and speakers. The outputter 15 presents the user of the data collecting apparatus 10 with various types of information in accordance with an instruction by the processor 11.
[0034] The communicator 16 includes a network interface controller (NIC) for communicating with external devices. The communicator 16 receives a signal from an external device and outputs data included in the signal to the processor 11. Also, the communicator 16 transmits to the external device a signal indicating data outputted by the processor 11.
[0035] The data collecting apparatus 10 achieves various functions through cooperation between the hardware components illustrated in
[0036] The process execution controller 110 is realized mainly by the processor 11. The process execution controller 110 causes the data processor 111 to execute processing of, for example, organizing, diagnosis, analysis, and storing of the collected data. Also, the process execution controller 110 acquires a processing result from the data processor 111 and outputs information indicating the processing result. Examples of output by the process execution controller 110 include storing of information into the storage 120, notification of information for displaying a screen on the UI unit 160, and transmission of the processing result via the first network 31, the second network 32, or a non-illustrated network. The process execution controller 110 functions as process execution control means in the claims, yet this is to be taken in a non-limiting sense.
[0037] Here, management of processing of data by the process execution controller 110 includes determining at least one of (i) content of processing performed on the data or (ii) a unit that performs processing on the data. Although the data processor 111 in the present embodiment processes data, another unit may process the data, as described further below. Furthermore, management of the processing of the data by the process execution controller 110 includes the management of various conditions including the start time and end time for the performing of processing on the data as well as the order at which processing is performed. In other words, the process execution controller 110 is a unit that controls the execution of processing that is performed on the collected data.
[0038] The data processor 111 is realized mainly by the processor 11. The data processor 111 acquires the collected data from the process execution controller 110 in accordance with the instructions from process execution controller 110, and subsequently processes this data. Then, the data processor 111 outputs the information indicating the data processing result to the process execution controller 110.
[0039] The storage 120 is realized mainly by the auxiliary storage 13. The data stored in the storage 120 includes the plug-in software 121 and 122. The plug-in software 121 and 122 corresponds to a portion of the program P1 (see
[0040] The communication controller 130 is realized mainly by the processor 11. The communication controller 130 manages the collecting of data by the data collecting apparatus 10. Specifically, the communication controller 130 starts up the collectors 141 and 142 by respectively loading the plug-in software 121 and 122. In other words, the communication controller 130 manages the adding of the collectors 141 and 142. Also, the communication controller 130 includes a setting module 131 and a relay module 132. The setting module 131 acquires, from the receiver 150, information necessary for the collection of data by the collectors 141 and 142, and sets the collectors 141 and 142. The relay module 132 functions as an interface for relaying transmissions of data between the process execution controller 110 and the collectors 141 and 142 and for connecting the collectors 141 and 142 with the process execution controller 110. The relay module 132 acquires, from the collectors 141 and 142, data collected by the collectors 141 and 142, and sends the data as necessary to the process execution controller 110. The communication controller 130 functions as communication control means in the claims, yet this is to be taken in a non-limiting sense.
[0041] The collectors 141 and 142 are realized mainly by the processor 11 and the communicator 16. The collectors 141 and 142 collect data based on pre-set collection setting information. The collection setting information includes, for example, information regarding a network through which data is collected, information indicating collection target data, and a collection time interval. The information regarding the network is, for example, a communication mode and a parameter necessary for communication using the communication mode. Also, the collection target data refers to information indicating a device that is to transmit the collected data, a type of collected data, a time at which data is collected, or a range of values. Also, the collection time interval is, for example, 100 s, 1 ms, or 10 ms. The collectors 141 and 142 respectively convert data of a format that conforms to a communication standard of the first network 31 and data of a format that conforms to a communication standard of the second network 32 into data of a common format and then outputs the data converted into a common format to the communication controller 130. Furthermore, the collector 141 and the collector 142 each have a function for providing setting support information for the setting of the collection setting information by the user. The details of the setting support information are described further below. The collectors 141 and 142 function as collection means in the claims, yet this is to be taken in a non-limiting sense.
[0042] The receiver 150 is realized mainly by the processor 11. Upon selection by the user of one collector from among the collectors 141 and 142, the receiver 150 acquires, via the communication controller 130, setting support information that is provided from the one selected collector. The receiver 150 generates, based on the setting support information acquired from the collectors 141 and 142 that are respectively realized by the plug-in software 121 and 122, screen information indicating an input screen for inputting collection setting information. Then, after the outputting of the generated screen information to the UI unit 160, the receiver 150 receives collection setting information inputted by the user from the UI unit 160, and notifies of the inputted collection setting information to the setting module 131 of the communication controller 130. The receiver 150 functions as receiving means in the claims, yet this is to be taken in a non-limiting sense.
[0043] The UI unit 160 is realized mainly by the inputter 14 and the outputter 15. The UI unit 160 displays an input screen for the user in accordance with screen information outputted by the receiver 150. Then, the UI unit 160 notifies of the inputted collection setting information to the receiver 150. The UI unit 160 may be a touchscreen in which the inputter 14 and the outputter 15 are integrally formed and may be realized by the outputter 15 as an LCD and the inputter 14 as an input keys formed separately from this outputter 15.
[0044] Next, processing that is executed by the data collecting apparatus 10 is described in detail with reference to
[0045] In the setting processing, the data collecting apparatus 10, as illustrated in
[0046] Conversely, if a determination is made that the setting has begun (YES in step S11), the data collecting apparatus 10 executes collector-addition processing (step S12). In the collector-addition processing, as illustrated in
[0047] Conversely, if a determination is made that there is an adding instruction (YES in step S121), the communication controller 130 loads the plug-in software 121 or 122 or another plug-in software specified by the user and adds the collector 140 (step S122). In doing so, the collector 143 that collects data transmitted in a third network 33 is added to the data collecting apparatus 10 as illustrated in
[0048] Referring back to
[0049] Next, the receiver 150 outputs, to the UI unit 160, screen information for generating a list screen that presents the list of the collectors 140 to the user, and then the UI unit 160 displays the list screen (step S15). This list screen, as illustrated in
[0050] Referring back to
[0051] Next, the receiver 150 notifies of the selection result to the communication controller 130, and requests the communication controller 130 for setting support information which is for setting collection setting information of the selected collector 140. (step S17). Specifically, the receiver 150 notifies the communication controller 130 of the identification number and requests for setting support information of the collector 140 to which this identification number is assigned.
[0052] The communication controller 130 that received this request acquires setting support information from the selected collector 140 and sends the acquired setting support information to the receiver 150 (step S18). The setting support information according to the present embodiment is screen configuration information indicating a configuration of an input screen for inputting collection setting information. This screen configuration information may be information that associates (i) icons, buttons, text data, as well as selections and textboxes for inputting of information by the user together with (ii) data indicating their respective on-screen positions. Also, the screen configuration information may include data indicating a flow for transitioning to different screens in accordance with information inputted by the user. Furthermore, the screen configuration information may include advice to the user and a value conversion tool. The value conversion tool, for example, is used by the user for converting a hexadecimal value into a decimal value and inputting the result into the input field. The setting support information may be stored in the storage 120 as part of the plug-in software, may be newly generated by the collector 140, or may be information that is acquired by the collector 140 from outside of the data collecting apparatus 10.
[0053] Next, the receiver 150 generates screen information indicating an input screen, based on the setting support information, and outputs the generated screen information to the UI unit 160, and the UI unit 160, in turn, displays the input screen (step S19).
[0054] As illustrated in
[0055] Referring back to
[0056] Next, the receiver 150 determines whether or not there is an instruction for the setting of another collector 140 (step S22). Specifically, the receiver 150 determines whether or not a user made an instruction, via the UI unit 160, indicating that collection setting information is to be entered for another collector 140.
[0057] In a case in which a determination is made that no other collector 140 is to be set (NO in step S22), the data collecting apparatus 10 ends the setting processing. Conversely, in a case in which a determination is made that another collector 140 is to be set (YES in step S22), processing is repeated from step S15. In doing so, the collection setting information is input for each collector 140. Also, at step S21, the collection setting information is added to the storage 120. In doing so, collection setting information 123 is stored into the storage 120, as illustrated in
[0058] The collection setting information 123 is a data table in which the identification number of the collector, the communication standard of the network through which data is collected, the collection target, and the collection time interval are associated with one another, as illustrated in
[0059] The collection setting information 123 is not limited to the example illustrated in
[0060] Referring back to
[0061] Next, each collector 140 receives data by communicating with a corresponding device via the network in accordance with the set collection setting information, and transmits the received data to the process execution controller 110 via the communication controller 130 (step S32). Specifically, the communication controller 130 outputs the data collected by the collector 140 to the process execution controller 110. Then, the process execution controller 110 determines the processing of the collected data, and the data processor 111 processes the data collected, and outputs the processed data (step S33). After doing so, the collection processing ends.
[0062] The collection of data by each collector 140 may be performed by requesting the corresponding device 20 to transmit data, or may be performed by receiving data transmitted by the corresponding device 20 to the network regardless of whether or not there is a request.
[0063] As described above, the data collecting apparatus 10 displays an input screen for inputting collection setting information. In doing so, a user of the data collecting apparatus 10 can input information necessary for the collection of data while viewing the input screen. This, in turn, simplifies the setting task for collecting data.
[0064] Also, the data collecting apparatus 10 includes a collector 140 as a driver that supports various networks, a process execution controller 110 for the processing of data in real-time, and a communication controller 130 that functions as an interface between the collector 140 and the process execution controller 110. Therefore, the acquisition of data transmitted in the network and data processing can be smoothly joined together.
[0065] Also, the data collecting apparatus 10 stores the plug-in software 121 and 122 for causing the processor 11 to function as the collector 140. Therefore, data can be easily collected from a new network by executing the plug-in software 121 and 122. Furthermore, since the plug-in software 121 and 122 are rewritable, a user of the data collecting apparatus 10 can freely design the operation of the collection 140 as needed. Thus, the data collecting apparatus 10 can simplify the setting task for collecting data.
[0066] Moreover, the data collecting apparatus 10 includes the receiver 150 that outputs screen information and receives information inputted by the user. Therefore, the user can freely input collection setting information.
[0067] Furthermore, the data collecting apparatus 10 includes the UI unit 160 and the collector 140 outputs screen configuration information indicating a configuration of a screen to be displayed on the UI unit 160. Therefore, the provider of the collector 140 can freely create an input screen that relies on a specific data collection mode, without the provider of the collector 140 notifying a person in charge of management of a factory. Here, the provider of the collector 140 may be a manufacturer or a user of the data collecting apparatus 10, or may be a developer who develops the plug-in software 121 and 122.
[0068] Although embodiments of the present disclosure are described above, the present disclosure is not limited to the aforementioned embodiments.
[0069] For example, in the aforementioned embodiments, the communication controller 130 acquires screen configuration information as setting support information from the collector 140. However, this is not restrictive. For example, as illustrated in
[0070] The model information, for example, is a set that includes a name, address, type information (words, bits, character strings, and other information), and an attribute (reading/writing). Here, the term address refers to an address of data that is stored in the device 20. For example, in a case in which a storage region of temperature information in a device 20 starts from a 200 address, the collector 140 can acquire temperature information as data by specifying addresses from 200 and beyond with respect to the device 20. However, since a user is required to attain proficiency in data collection in order to determine an attribute of data by designating an address by a numerical value, the setting task might be complicated for inexperienced users. Therefore, if setting support information is handled using the format of a model by utilizing model information and associating a name to the address, even an inexperienced user can be expected to easily execute data collection.
[0071] Also, in a case in which the collectors 140 include one of the I/F modules 141a and 142a, the provider of the collector 140 can easily provide model information by various modes. For example, a file in which model information is defined in advance may be read by the collector 140 to generate model information. Also, the model information may be acquired for each device 20 of the devices 20 that are connected to the data collecting apparatus 10 via a network. The user can easily specify (set) data to be collected by selecting the model that the collector 140 supports.
[0072] Also, although the data collecting apparatus 10 includes the UI unit 160, this is not restrictive. For example, as illustrated in
[0073] Also, in the aforementioned embodiments, the number of networks to which the data collecting apparatus 10 is connected is two or three but this is not restrictive. The number of networks may be one or more than three.
[0074] In the aforementioned embodiments, the collector 141 is realized by executing the plug-in software 121 and the collector 142 is realized by executing the plug-in software 122 but this is not restrictive. For example, the collector 141 and the collector 142 can be realized by executing the plug-in software 121 twice. Alternatively, the collectors 141 and 142 may be realized by executing new plug-in software obtained or created by the user of the data collecting apparatus 10.
[0075] Also, the process execution controller 110, the communication controller 130, and the receiver 150 may be realized by executing a single program or may be realized by executing different programs.
[0076] Also, as illustrated in
[0077] Also, regarding the parameter setting items,
[0078] Also, the functions of the data collecting apparatus 10 can be achieved by dedicated hardware or a general computer system.
[0079] For example, the device for executing the aforementioned processing can be realized by storing the program P1 that is executed by the processor 11 onto a computer-readable recording medium, by distributing the program P1, and by installing the program P1 stored in the recording medium onto the computer.
[0080] Furthermore, the program P1 may be stored on a disk device included of a server device on a communication network such as the Internet, to enable the program to be downloaded to the computer, for example by superimposing the program onto a carrier wave.
[0081] Further, the aforementioned processing can be achieved by starting and running the program P1 while transferring the program P1 via the communication network.
[0082] Moreover, the aforementioned processing can be achieved by executing all or part of the program P1 on the server device, and executing the program while transmitting and receiving of the information relating to such processing through the communication network by the computer.
[0083] Moreover, if the aforementioned functions are executed by sharing the functions between an operating system (OS) and application programs, or are executed by both the OS and the application programs in cooperation with each other, the non-OS portion along may be stored in the aforementioned medium and distributed, or alternatively, may be, for example, downloaded to the computer.
[0084] In addition, the means for achieving the functions of the data collecting apparatus 10 may be realized not just through software, but entirely or partially through dedicated hardware that includes a circuit.
[0085] The foregoing describes some example embodiments for explanatory purposes. Although the foregoing discussion has presented specific embodiments, persons skilled in the art will recognize that changes may be made in form and detail without departing from the broader spirit and scope of the invention. Accordingly, the specification and drawings are to be regarded in an illustrative rather than a restrictive sense. This detailed description, therefore, is not to be taken in a limiting sense, and the scope of the invention is defined only by the included claims, along with the full range of equivalents to which such claims are entitled.
INDUSTRIAL APPLICABILITY
[0086] The present disclosure is suitable for the collection of data.
REFERENCE SIGNS LIST
[0087] 10 Data collecting apparatus
[0088] 11 Processor
[0089] 12 Main storage
[0090] 13 Auxiliary storage
[0091] 14 Inputter
[0092] 15 Outputter
[0093] 16 Communicator
[0094] 17 Internal bus
[0095] 20 Device
[0096] 31 First network
[0097] 32 Second network
[0098] 33 Third network
[0099] 40 UI terminal
[0100] 110 Process execution controller
[0101] 111 Data processor
[0102] 120 Storage
[0103] 121, 122 Plug-in software
[0104] 123 Collection setting information
[0105] 130 Communication controller
[0106] 131 Setting module
[0107] 132 Relay module
[0108] 140 to 143 Collector
[0109] 141a, 142a I/F module
[0110] 150 Receiver
[0111] 160 UI unit
[0112] P1 Program