Information processing device, information processing system, information processing method, and program
The information processing system enables embedded devices to share data without specifying a connection destination, improving processing capabilities and reducing memory requirements by using a publish/subscribe method for efficient service distribution among multiple devices.
Patent Information
- Application Number
- JP2020029734
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-02-25
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2040-02-25
AI Technical Summary
Embedded devices face limitations in memory capacity and function implementation, which restrict processing capabilities and service execution, and existing technologies require manual connection settings to receive services from other devices.
An information processing system that allows devices to share data without specifying a destination, using a publish/subscribe type data communication method like DDS, enabling automatic detection, addition, and deletion of devices, and distributing services among multiple devices with varying processing capacities.
Reduces the need for manual connection settings and memory capacity, allowing embedded devices to receive services efficiently without specifying a connection destination, thereby reducing installation man-hours and enhancing processing capabilities.
Smart Images

Figure 0007579640000001 
Figure 0007579640000002 
Figure 0007579640000003
Abstract
Description
[Technical field]
[0001] An embodiment of the present invention relates to an information processing device, an information processing system, an information processing method, and a program. [Background technology]
[0002] Conventionally, embedded devices are often unable to hold large amounts of memory, and there is a demand to reduce the number of functions implemented in embedded devices, such as by reducing the size of the programs and data they can hold. On the other hand, limiting the size of the programs and data they can hold can sometimes limit processing capabilities such as the types of services (processing) that can be executed and the speed at which services can be executed.
[0003] In this situation, a technology has been disclosed that allows a device to execute a process larger than its own program size by receiving a service from another device connected via a network. However, in order to receive a service from another device via a network, a connection setting is required to specify in advance the device that will execute the service, i.e., the connection destination. Furthermore, the connection setting may require a lot of work. Summary of the Invention [Problem to be solved by the invention]
[0004] The problem to be solved by the present invention is to receive services from other devices without specifying a connection destination in advance. [Means for solving the problem]
[0005] The information processing apparatus of the embodiment transmits shared data without specifying a destination. , at least one of the types of executable services and the execution speeds of the services are different from each other. The information processing device shares the shared data with another information processing device by transmitting and receiving the shared data to and from the other information processing device. A determination unit;The service execution device includes an execution unit and a distribution unit. The reception unit includes a first parameter and an execution request for requesting execution of a first service using the first parameter. , delivered from the other information processing device without specifying a destination First shared data is received. The determination unit determines whether or not the first service is executable based on the received first shared data. The execution unit is When the first service is executable, Executing the first service in response to the first shared data. do. The distribution unit Obtained by executing the first service The second shared data includes the result of the first execution. , to the other information processing device without specifying a destination. To distribute. [Brief description of the drawings]
[0006] [Figure 1] FIG. 1 is a diagram illustrating an example of a configuration of an information processing system according to an embodiment. [Diagram 2] FIG. 2 is a block diagram illustrating an example of a hardware configuration of the information processing device according to the embodiment. [Diagram 3] FIG. 3 is a block diagram illustrating an example of a functional configuration of the information processing device according to the embodiment. [Figure 4] FIG. 4 is a flowchart showing an example of processing executed by the information processing device according to the embodiment. [Diagram 5] FIG. 5 is a diagram for explaining sharing of priority in the information processing system according to the embodiment. [Figure 6] FIG. 6 is a diagram for explaining data including priorities that is shared in the information processing system according to the embodiment. [Figure 7] FIG. 7 is a diagram for explaining a service execution request in the information processing system according to the embodiment. [Figure 8] FIG. 8 is a diagram for explaining data including a service execution request, which is shared in the information processing system according to the embodiment. [Figure 9] FIG. 9 is a diagram for explaining a change of priority in the information processing system according to the embodiment. [Figure 10]FIG. 10 is a diagram for explaining sharing of execution results of a service in the information processing system according to the embodiment. [Figure 11] FIG. 11 is a diagram for explaining data including a result of execution of a service, which is shared in the information processing system according to the embodiment. [Figure 12] FIG. 12 is a diagram for explaining the execution of a service in the case where there are a plurality of information processing devices with the same priority in the information processing system according to the embodiment. [Figure 13] FIG. 13 is a diagram for explaining a case where a requested service cannot be executed by a single information processing device in the information processing system according to the embodiment. [Figure 14] FIG. 14 is a diagram for explaining an application example of the information processing system according to the embodiment. [Figure 15] FIG. 15 is a diagram for explaining an application example of the information processing system according to the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0007] Hereinafter, an information processing device, an information processing system, an information processing method, and a program according to each embodiment will be described in detail with reference to the drawings. Note that the present invention is not limited to the embodiments described below.
[0008] (First embodiment) Fig. 1 is a diagram showing an example of the configuration of an information processing system 1 according to an embodiment. As shown in Fig. 1, the information processing system 1 includes a plurality of information processing devices 10. Fig. 1 illustrates a first device 11, a second device 12, a third device 13, and a fourth device 14 as examples of the plurality of information processing devices 10. In the following description, when there is no need to distinguish which of the first device 11, the second device 12, the third device 13, and the fourth device 14 is the information processing device 10, they may be collectively referred to as the information processing device 10.
[0009] Note that the information processing system 1 according to the embodiment is not limited to four information processing devices 10 (first to fourth devices 11 to 14), but may be configured with two or three information processing devices 10, or may be configured with five or more information processing devices 10.
[0010] 1, the multiple information processing devices 10 are connected to each other so as to be able to communicate with each other via a network 90. The network 90 is, for example, a telecommunication line such as the Internet. Each of the multiple information processing devices 10 may be connected to the network 90 by wire or wirelessly.
[0011] In the information processing system 1 according to the embodiment, there may be an information processing device 10 connected to the network 90 via another information processing device 10.
[0012] The information processing system 1 according to the embodiment is a system that distributes data (shared data) between the multiple information processing devices 10 without specifying a destination, thereby sharing shared data between the multiple information processing devices 10. In other words, the information processing system 1 according to the embodiment is a system that shares shared data between the multiple information processing devices 10 by transmitting and receiving shared data without specifying a destination between the multiple information processing devices 10. Also, the information processing device 10 according to the embodiment is a device that shares shared data with other information processing devices by transmitting and receiving shared data without specifying a destination between the other information processing devices.
[0013] As an example, the information processing system 1 according to the embodiment is constructed using DDS (Data Distribution Service). Here, DDS (Data Distribution Service) is a publish / subscribe type data communication method, and is an example of a communication specification based on distributed object technology. In this case, each information processing device 10 can be expressed as an RTSP (Real Time Streaming Protocol) server. By using DDS for data sharing, it is possible to realize real-time and highly reliable data transmission.
[0014] In the information processing system 1 constructed using DDS, each information processing device 10 operates as a publisher (distributor) and a subscriber (subscriber). When operating as a publisher, the information processing device 10 distributes data without recognizing the data transmission (distribution) destination. When operating as a subscriber, the information processing device 10 receives data without recognizing the data transmission (distribution) source. Thus, in the information processing system 1 constructed using DDS, each information processing device 10 performs data-centric communication specifying data attributes, rather than communication specifying a connection destination. For this reason, there is no need to specify a connection destination, and the information processing device 10 incorporated in the information processing system 1 can be easily automatically detected, added, and deleted.
[0015] The information processing system 1 according to the embodiment is not limited to being constructed using a DDS, and may be constructed using an ASP (Application Service Provider).
[0016] In the information processing system 1, the shared data distributed from each information processing device 10 is stored in a virtual database VDB. As a storage area for the virtual database VDB, the memory 120 (see FIG. 2) of each information processing device 10 may be used, or an external storage device such as a data server connected to the network 90 may be used. "Distributing data" refers to distributing data or distributing a notification indicating that the data has been stored in a predetermined area (virtual database VDB). "Receiving data" refers to receiving data or receiving a notification indicating that the data has been stored in a predetermined area.
[0017] In addition, in the information processing system 1 according to the embodiment, as an example, a plurality of information processing devices 10 with different processing capabilities are mixed. Here, the processing capabilities refer to the types of services that can be executed, the execution speed of the services, etc. Also, the services refer to the functions or processes executed by the information processing devices 10.
[0018] The information processing system 1 may include at least two information processing devices 10 that are equal (similar) in at least one of the types of services that can be executed and the execution speeds of the services. In the information processing system 1, all of the information processing devices 10 may be equal (similar) in at least one of the types of services that can be executed and the execution speeds of the services.
[0019] In the information processing system 1 according to the embodiment, any information processing device 10 can receive a service from another information processing device 10 via the network 90. Similarly, any information processing device 10 can provide a service to another information processing device 10 via the network 90. That is, the information processing system 1 according to the embodiment is a distributed processing system that executes a service in a distributed manner among a plurality of information processing devices 10. In other words, the information processing system 1 according to the embodiment is a distributed processing system that uses a publish / subscribe type data communication method in which a plurality of information processing devices 10 with different processing capabilities are mixed.
[0020] Fig. 2 is a block diagram showing an example of a hardware configuration of the information processing device 10 according to the embodiment. As shown in Fig. 2, the information processing device 10 includes a processor 110, a memory 120, and a communication I / F 130. The processor 110, the memory 120, and the communication I / F 130 are communicatively connected via, for example, a bus 190.
[0021] The processor 110 controls the overall operation of the information processing device 10. The processor 110 controls the operation of the information processing device 10 by executing each program, such as a control program 121, stored in the memory 120. As the processor 110, for example, a CPU (Central Processing Unit) is used, but other processors, such as a GPU (Graphics Processing Unit), ASIC (Application Specific Integrated Circuit), or FPGA (Field Programmable Gate Array), may also be used.
[0022] The memory 120 includes, for example, a random access memory (RAM), a read only memory (ROM), and a hard disk drive (HDD). The RAM is used as a working memory and is a volatile memory in which data is stored when the processor 110 executes arithmetic processing. The ROM is a non-volatile memory that stores data such as each program, such as the control program 121, executed by the processor 110, and parameters. The HDD is a non-volatile memory that stores data such as each program, such as the control program 121, executed by the processor 110, and parameters. The memory 120 of each information processing device 10 can be used as a storage area for a virtual database VDB.
[0023] The memory 120 does not have to include an HDD. On the other hand, the memory 120 may include other non-volatile memory such as an SSD (Solid State Drive) or a flash memory. In this case, each program such as the control program 121 executed by the processor 110 and data such as parameters may be stored in the other non-volatile memory.
[0024] The communication I / F 130 is a communication circuit that communicates with other information processing devices 10 via the network 90. The communication I / F 130 may be a communication circuit for wired communication or a communication circuit for wireless communication.
[0025] The information processing device 10 may further include a unique function unit that executes a unique function. As an example, when the information processing device 10 is an imaging device such as a camera, the information processing device 10 further includes an imaging unit that captures an image and outputs image data. As an example, when the information processing device 10 is a product reading device, the information processing device 10 further includes a reading unit that reads information about the product based on the image data by reading a code symbol or digital watermark such as a barcode or a two-dimensional code attached to the product, or by extracting a feature amount of the product and performing object recognition.
[0026] 3 is a block diagram showing an example of a functional configuration of the information processing device 10 according to the embodiment. The processor 110 executes a control program 121 loaded in the RAM of the memory 120 to realize functions as a receiving unit 101, a determining unit 102, a storage unit 103, an executing unit 104, and a distributing unit 105.
[0027] The receiving unit 101 receives a topic (shared data) distributed to the virtual database VDB from the distribution unit 105 of another information processing device 10, i.e., a publisher. In other words, the receiving unit 101 can be expressed as a function of the information processing device 10 when operating as a subscriber.
[0028] The determination unit 102 determines whether the service requested by the received topic can be executed in the own device, for example, based on the processing capacity of the own device. Also, the determination unit 102 determines whether the service requested by the received topic can be executed in the own device, for example, based on the priority of each service of each information processing device 10.
[0029] The storage unit 103 stores data such as parameters and each program, such as the control program 121, executed by the information processing device 10. The storage unit 103 also stores received or adopted topics.
[0030] The execution unit 104 executes the service requested to be executed in accordance with the received topic (shared data). More specifically, the execution unit 104 executes the service determined to be executed in the own device.
[0031] The distribution unit 105 distributes a topic including a service execution request to the virtual database VDB based on, for example, the processing capacity of its own device. The distribution unit 105 also distributes a topic including an execution result of the service executed by the execution unit 104 to the virtual database VDB. In other words, the distribution unit 105 can be expressed as a function of the information processing device 10 when operating as a publisher.
[0032] Hereinafter, an example of the operation of the information processing system 1 according to the embodiment will be described with reference to FIGS.
[0033] FIG. 4 is a flowchart showing an example of processing executed by the information processing device 10 according to the embodiment.
[0034] Here, the first device 11 is an information processing device 10 that requests the provision of the service FAA among the multiple information processing devices 10. The first device 11 is, as an example, an information processing device 10 that cannot execute the service FAA. As another example, the first device 11 is an information processing device 10 that can execute the service FAA, but is in a state where the service FAA cannot be executed due to a lack of resources at the time of the service request. The second device 12 is an information processing device 10 that can execute multiple services, including the service FAA, the service FAB, and the service FAN. The third device 13 and the fourth device 14 are each an information processing device 10 that can execute at least the service FAA. Here, the service FAA is an example of the first service.
[0035] A plurality of information processing devices 10 share executable services and priorities (S101). Fig. 5 is a diagram for explaining the sharing of priorities in the information processing system 1 according to the embodiment. As shown in Fig. 5, the distribution unit 105 of each information processing device 10 acting as a publisher distributes a topic P (shared data) to the virtual database VDB. Also, the receiving unit 101 of each information processing device 10 acting as a subscriber receives the topic P distributed from each of the plurality of information processing devices 10 from the virtual database VDB.
[0036] Topic P is shared data including information indicating a service executable by the own device and a priority regarding the execution of the service in the own device. Here, topic P is an example of the fifth shared data. FIG. 6 is a diagram for explaining data (topic P) including a priority, which is shared in the information processing system 1 according to the embodiment. FIG. 6 illustrates topic P including information indicating a priority regarding the execution of service FAA. As shown in FIG. 6, topic P includes a service name, a device ID, and a priority. The service name is information indicating that the topic is related to service FAA. The device ID is information indicating an information processing device 10 capable of executing service FAA. The priority is information indicating a priority regarding the execution of service FAA in each information processing device 10. The priority may be set in advance according to, for example, the execution speed of each service of each information processing device 10, and may be stored in memory 120 of each information processing device 10. In addition, although details will be described later, the information indicating the priority may be changed according to the processing capacity of each information processing device 10 at each point in time.
[0037] As an example, a topic P is provided for each service, but this is not limiting. A topic P may be provided for each of a plurality of services. Furthermore, a plurality of topics may be grouped by further including a group name, for example.
[0038] The topic P may include information about an information processing device 10 that is incapable of executing a service, as the information processing device 10 with the lowest priority.
[0039] The multiple information processing devices 10 share the execution request and parameters (S102). FIG. 7 is a diagram for explaining a service execution request in the information processing system 1 according to the embodiment. The distribution unit 105 of the first device 11 acting as a publisher requesting provision of the service FAA distributes topic A (shared data) to the virtual database VDB, as shown in FIG. 7. Also, the receiving units 101 of the second to fourth devices 12 to 14 acting as subscribers receive topic A distributed from the first device 11 from the virtual database VDB.
[0040] Topic A is shared data including an execution request for requesting execution of service FAA and parameters used for executing service FAA. Here, topic A is an example of first shared data. Also, the parameters used for executing service FAA are an example of first parameters. FIG. 8 is a diagram for explaining data (topic A) including a service execution request shared in the information processing system 1 according to the embodiment. As shown in FIG. 8, topic A includes a request source device ID, a request ID, a process name, and at least one parameter. The request source device ID is information indicating the information processing device 10 that has requested the execution of service FAA. The request ID is information for uniquely identifying a series of topics related to service FAA. The process name is information indicating the service (service FAA) whose execution is requested. At least one parameter is information used for executing service FAA. Note that while FIG. 8 illustrates three parameters, the number of parameters is set arbitrarily according to the service, for example.
[0041] The determination unit 102 of each information processing device 10 checks the name and priority of the service requested to be executed based on the shared data (topic P and topic A) (S103). In the information processing system 1 according to the embodiment, as described above, data (topic P) related to the execution of each service is shared (distributed / received) among the multiple information processing devices 10, so that each determination unit 102 can easily check the existence of other devices capable of executing (providing) the service requested to be executed and the priority of the other devices related to the service.
[0042] The determination unit 102 of each information processing device 10 determines whether or not to execute the service FAA requested to be executed in the own device based on, for example, the processing capability and priority of the own device (S104). Each determination unit 102 determines to execute the service FAA in the own device when, for example, the own device is capable of executing the service FAA and the priority of the own device with respect to the service FAA is the highest.
[0043] Each determination unit 102 may determine whether topic A is distributed by its own device based on the request ID of topic A or the request source device ID. Furthermore, each determination unit 102 may determine that service FAA is executed in its own device when topic A is distributed by its own device and the priority of its own device is the highest and the service FAA is executable by its own device. Furthermore, each determination unit 102 may determine that the execution request of service FAA is withdrawn when topic A is distributed by its own device but there is no other device capable of executing service FAA. At this time, the first device 11 that distributed topic A including the execution request of service FAA may present to the user by display or audio output that a time error has occurred, that there is no device capable of executing service FAA, that service FAA cannot be used, etc. The withdrawal of the execution request of service FAA is executed, for example, by distribution of shared data (topic) requesting the suspension of execution of service FAA. Alternatively, the withdrawal of the execution request of service FAA is executed, for example, by deleting topic A.
[0044] Hereinafter, it is assumed that the second device 12 has the highest priority regarding the service FAA at the time of the determination in S104.
[0045] When it is determined that the service FAA is executed in the own device (S104: Yes), that is, the distribution unit 105 of the second device 12 re-distributes the topic P with the priority of the own device updated (S105). FIG. 9 is a diagram for explaining the change of priority in the information processing system 1 according to the embodiment. The distribution unit 105 of the second device 12 as a publisher distributes the topic P (shared data) related to each service with the priority of the own device lowered to the virtual database VDB. This allows other information processing devices 10 to respond to other service requests while the second device 12 is executing the service FAA. In other words, by appropriately distributing each service, the processing efficiency of the information processing system 1 as a whole can be improved. In addition, the execution unit 104 of the second device 12 executes the service FAA (S106).
[0046] The period during which the priority of the information processing device 10 that executes the service is lowered is not limited to the period during which the service is being executed, but may include a predetermined period after the service is executed. This makes it possible to prevent service requests from concentrating on one information processing device 10.
[0047] On the other hand, when it is determined that the service FAA is not executed in the own device (S104: No), that is, the determination units 102 of the first, third and fourth devices 11, 13 and 14 ignore the received topic A (S105). Also, the receiving units 101 of the first, third and fourth devices 11, 13 and 14 as subscribers receive, for example, topic P redistributed in S105 (S108). This allows each information processing device 10 to execute the determination of S104 according to the latest priority when a topic requesting execution of another service is newly received.
[0048] After the service FAA is executed by the execution unit 104 of the second device 12, the multiple information processing devices 10 share the executed service name and the execution result (S109). FIG. 10 is a diagram for explaining the sharing of the service execution result in the information processing system 1 according to the embodiment. The distribution unit 105 of the second device 12 that executed the service FAA distributes the topic AA (shared data) to the virtual database VDB as a publisher, as shown in FIG. 10. In addition, the receiving units 101 of the first, third and fourth devices 11, 13 and 14 each receive the topic AA distributed from the second device 12 from the virtual database VDB as a subscriber.
[0049] Topic AA is shared data including the execution result of service FAA. Here, topic AA is an example of second shared data. Moreover, the execution result of service FAA is an example of a first execution result. FIG. 11 is a diagram for explaining data (topic AA) including the execution result of the service, which is shared in the information processing system 1 according to the embodiment. As shown in FIG. 11, topic AA includes a request source device ID, a process execution device ID, a request ID, a service name, and an execution result. The process execution device ID is information indicating the information processing device 10 that executed the service FAA. The execution result is a processing result obtained by executing the service FAA. As shown in FIG. 11, topic AA may further include a detailed execution result that describes the execution result in more detail as an execution result. As an example, when the service FAA is image recognition, the execution result of topic AA is information indicating the success or failure of image recognition. Moreover, the detailed execution result is information such as the type, shape, and position of an object identified by image recognition. Note that FIG. 11 illustrates two detailed execution results, but the number of detailed execution results is set arbitrarily according to the service, for example.
[0050] The determination unit 102 of each information processing device 10 determines whether or not the topic AA is data (execution result) related to the service FAA requested to be executed by the own device, for example, based on the request ID of the received shared data (topic AA) and the request source device ID (S110). When the topic AA is the execution result related to the service FAA requested to be executed by the own device (S110: Yes), that is, the execution unit 104 of the first device 11 adopts the execution result of the topic AA as the execution result of the service requested by the own device (S111). At this time, the storage unit 103 of the first device 11 stores the received topic AA. On the other hand, when the topic AA is not the execution result related to the service FAA requested to be executed by the own device (S110: No), that is, each of the execution units 104 of the second to fourth devices 12 to 14 ignores the execution result, that is, the received topic AA. After that, the series of flows related to the service FAA ends.
[0051] In this way, the information processing device 10 (publisher) of the first embodiment makes a service request by distributing a service execution request and shared data (topic) including parameters to other information processing devices 10 (subscribers) without specifying a destination. Also, the information processing device 10 (subscriber) that receives the service execution request executes the requested service, and then operates as a publisher device and distributes the shared data (topic) including the execution result to other information processing devices 10 (subscribers) without specifying a destination.
[0052] According to this configuration, each information processing device 10 can provide services to each other via the network 90 (DDS). Therefore, the functions (services) to be implemented in each information processing device 10 can be reduced. In other words, the memory capacity of each information processing device 10 that holds programs and data can be reduced. Therefore, according to the technology according to the embodiment, it is possible to reduce the number of functions to be implemented in the embedded device. Furthermore, in the information processing system 1 according to the embodiment, it is not necessary to specify a connection destination. Therefore, each information processing device 10 can receive services from other information processing devices 10 without specifying a connection destination in advance. In addition, since there is no need to set a connection destination in advance, the labor required for implementation can be reduced.
[0053] Second embodiment In the first embodiment, the service FAA is executed by one information processing device 10 (second device 12) with the highest priority, but the present invention is not limited to this. For example, the priorities of a plurality of information processing devices 10 may be equal (approximate).
[0054] FIG. 12 is a diagram for explaining the execution of the service FAA in the case where there are a plurality of information processing devices 10 with the same priority in the information processing system 1 according to the embodiment. As an example, the priority regarding the service FAA at the time of the execution request of the service FAA is assumed to be equal among the second to fourth devices 12 to 14. In such a case, the execution units 104 of the second to fourth devices 12 to 14 execute the service FAA (S106). In such a case, as an example, the first device 11 adopts the topic AA that is delivered first. For example, in the example shown in FIG. 12, when the topic AA is delivered to the second device 12 and then to the third device 13, the first device 11 adopts the topic AA delivered from the second device 12.
[0055] 12, each information processing device 10 (fourth device 14) before distributing topic AA stops distributing topic AA from its own device upon receipt of topic AA from another information processing device 10. Furthermore, each information processing device 10 (fourth device 14) before distributing topic AA, if it is executing service FAA, stops execution of service FAA in its own device upon receipt of topic AA from another information processing device 10.
[0056] In this way, according to the information processing device 10 of the second embodiment, even when a service is executed by a plurality of information processing devices 10, it is possible to realize distributed processing of a service using a data sharing system. That is, similar to the first embodiment, it is possible to further reduce the number of functions to be implemented in an embedded device. Furthermore, the information processing device 10 of the second embodiment, upon receiving a topic including an execution result from another information processing device 10, stops the delivery of a topic including an execution result from its own device or the execution of a service in its own device. Therefore, according to the information processing device 10 of the second embodiment, at the stage where the execution of a service by any of the information processing devices 10 is completed, the resources of each information processing device 10 can be released for the execution of another service.
[0057] (Third embodiment) In the first and second embodiments, a case has been exemplified in which the service FAA requested from the first device 11 can be executed by a single information processing device 10 such as the second device 12, but this is not limiting. One requested service FAA may be executed by multiple information processing devices 10. Fig. 13 is a diagram for explaining a case in which the requested service FAA cannot be executed by a single information processing device 10 in the information processing system 1 according to the embodiment.
[0058] In the example shown in FIG. 13, service FAA is a service executed further using the execution result of service FBA and the execution result of service FCA. The third device 13 is an information processing device 10 capable of executing at least one service including service FBA. The fourth device 14 is an information processing device 10 capable of executing at least one service including service FCA. Note that the number of services that each information processing device 10 can execute is an arbitrary number. Here, service FBA and service FCA are each an example of a second service. The execution result of service FBA and the execution result of service FCA are each an example of a second execution result.
[0059] When the distribution unit 105 of the second device 12 is executable to execute the service FAA but not executable to execute the service FBA, the distribution unit 105 distributes a topic FBA (shared data) including an execution request for requesting execution of the service FBA and parameters used to execute the service FBA. Similarly, when the distribution unit 105 of the second device 12 is executable to execute the service FAA but not executable to execute the service FCA, the distribution unit 105 distributes a topic FCA (shared data) including an execution request for requesting execution of the service FCA and parameters used to execute the service FCA. Here, the parameters used to execute the service FBA and the parameters used to execute the service FCA are each an example of a second parameter. Also, the topic FBA and the topic FCA are each an example of a third shared data.
[0060] The receiving unit 101 of the third device 13 receives the topic FBA. The executing unit 104 of the third device 13 executes the service FBA. The distributing unit 105 of the third device 13 distributes the topic FBAA including the execution result of the service FBA. Similarly, the receiving unit 101 of the fourth device 14 receives the topic FCA. The executing unit 104 of the fourth device 14 executes the service FCA. The distributing unit 105 of the fourth device 14 distributes the topic FCAA including the execution result of the service FCA. Here, the topic FBAA and the topic FCAA are each an example of fourth shared data.
[0061] The receiving unit 101 of the second device 12 receives the topic FBAA and the topic FCAA, and executes the service FAA using the execution result of the service FBA and the execution result of the service FCA. Then, the distributing unit 105 of the second device 12 distributes the topic AA including the execution result of the service FAA as described above.
[0062] The above-mentioned service FBA and service FCA are not limited to services that can be processed in parallel. For example, a topic FCA including an execution request of a service FCA may include an execution result of the service FBA as a parameter.
[0063] In this way, when the information processing device 10 of the third embodiment cannot execute the requested service by its own device alone, it requests the other information processing device 10 for the missing processing. Here, the case where the requested service cannot be executed by its own device alone includes a case where the information processing device 10 that received the service execution request does not have part of the requested service implemented. In addition, the case where the requested service cannot be executed by its own device alone includes a case where the function (processing capacity) implemented in the information processing device 10 that received the service execution request is insufficient to execute the requested service. According to this configuration, even if the requested service cannot be executed by a single information processing device 10, the requested service can be executed appropriately. In other words, compared with the first and second embodiments, the number of functions to be implemented in the embedded device can be further reduced.
[0064] In the above-described embodiments, the information processing device 10 is exemplified to determine whether or not to execute the service requested to be executed in the own device based on the processing capacity and priority of the own device, but the present invention is not limited to this. For example, the determination unit 102 of each information processing device 10 may determine whether or not to execute the service requested to be executed in the own device based only on the processing capacity of the own device, regardless of the priority. In addition, in the information processing system 1, when the types of services executable by all the information processing devices 10 are equal (similar), for example, the function of the determination unit 102 may not be provided. In these cases, the service FAA may be executed by all the information processing devices 10 capable of executing the service FAA according to the topic A. In addition, the information processing device 10 that has requested the service FAA may adopt, for example, the execution result of the topic AA that was distributed earliest, as in the above-described embodiments. According to this configuration, the execution speed of each service can be increased to the maximum speed at that time.
[0065] Each topic may include information such as the type of service that classifies the service. For example, the type of service to be supported is preset for each information processing device 10, and the type of service is specified in the topic to be distributed, thereby reducing the amount of processing in the information processing device 10 that does not need to support the specified type. In other words, for example, in a situation where multiple topics related to multiple unrelated services are distributed in parallel, the overall processing capacity of the information processing system 1 can be improved.
[0066] (First application example) The information processing system 1 according to the embodiment can be applied to a product sales data processing system, for example. Fig. 14 is a diagram for explaining an application example of the information processing system 1 according to the embodiment.
[0067] 14, the first device 11 is a commodity reading device that reads commodity information related to a commodity. The commodity reading device further includes a camera 20 as a unique function unit. The camera 20 generates image data (camera image) by capturing an image of the commodity. The second device 12 is an image processing device capable of executing at least a barcode recognition function (service FAA).
[0068] The product reading device (first device 11) distributes topic A including a camera image (parameters) and a barcode recognition request, that is, a request to execute a barcode recognition function (service FAA) based on the camera image.
[0069] After receiving topic A, the image processing device (second device 12) executes a barcode recognition function using the camera image, and distributes topic AA including the execution result of the barcode recognition function (barcode recognition result).
[0070] By receiving the topic AA, the product reading device can read product information related to the product.The product reading device then generates a product registration file in which the product information is registered based on the barcode recognition result and the product master.The accounting device 30 also performs accounting processing related to the accounting of one transaction based on the product registration file provided by the product reading device.
[0071] (Second application example) Note that the information processing device 10 that distributes topic A and the information processing device 10 that receives topic AA may be different information processing devices 10. Fig. 15 is a diagram for explaining an application example of the information processing system 1 according to an embodiment. In the example shown in Fig. 15, unlike the first application example, a checkout device (third device 13) receives topic AA.
[0072] (Third application example) Furthermore, the camera 20 may be located outside the commodity reading device (first device 11). That is, the commodity sales data processing system (information processing system 1) may further include the camera 20 (fourth device 14). As an example, the camera 20 is configured to capture an image at a preset period or capture an image triggered by the output of a sensor that detects the approach of a commodity, and deliver topic A including a camera image (parameters) and a barcode recognition request. As another example, the camera 20 is configured to capture an image in response to receiving a topic including a request to execute an imaging function, and deliver topic A. In this case, the commodity sales data processing system may further include a sensor (information processing device 10) that detects the approach of a commodity, and that is configured to deliver a topic including a request to execute an imaging function.
[0073] (Fourth Application Example) Although the barcode recognition function is exemplified as the FAA service, the FAA service is not limited to this. The FAA service may be a function for recognizing a code symbol attached to a product other than a barcode such as a two-dimensional code, a function for recognizing a digital watermark attached to a product, or an object recognition function that extracts the feature amount of a product.
[0074] Furthermore, the technology according to the third embodiment can also be applied to the above-mentioned product sales data processing system. For example, the second device 12 is an information processing device 10 capable of executing an object recognition function (service FAA). Here, the object recognition function is a service executed using the execution result of an image binarization function (service FBA) and the execution result of an edge detection function based on the binarized image (service FCA).
[0075] The second device 12 receives topic A including image data (parameters) from the camera 20 and an object recognition request (execution request). If the second device 12 cannot execute the binarization function, it distributes topic FBA including image data as parameters and a request to execute the binarization function, and receives topic FBAA including the execution result of the binarization function. Thereafter, if the second device 12 cannot execute the edge detection function, it distributes topic FCA including the execution result of the binarization function (image data) as parameters and a request to execute the edge detection function, and receives topic FCAA including the execution result of the edge detection function. Then, the second device 12 executes object recognition based on the execution result of the edge detection function, and distributes topic AA including the object recognition result.
[0076] In this way, by applying the technology according to each embodiment, it is possible to realize a distributed processing system that provides services between multiple information processing devices 10 without specifying a connection destination, making it easy to automatically detect, add, and delete devices.
[0077] As described above, according to the first to third embodiments, it is possible to receive services from other devices without specifying a connection destination in advance.
[0078] The information processing device 10 of this embodiment is equipped with a control device such as a CPU, a storage device such as a ROM and a RAM, an external storage device such as a HDD and a CD drive device, a display device such as a display device, and input devices such as a keyboard and a mouse, and has a hardware configuration that utilizes a normal computer.
[0079] The control program 121 executed by the information processing device 10 of this embodiment is provided in the form of a file in an installable or executable format recorded on a computer-readable recording medium such as a CD-ROM, a flexible disk (FD), a CD-R, or a DVD (Digital Versatile Disk).
[0080] The control program 121 executed by the information processing device 10 of the present embodiment may be stored in a computer connected to a network such as the Internet and provided by being downloaded via the network. The control program 121 executed by the information processing device 10 of the present embodiment may be provided or distributed via a network such as the Internet.
[0081] Furthermore, the control program 121 executed by the information processing device 10 of this embodiment may be configured to be provided by being pre-installed in a ROM or the like.
[0082] The control program 121 executed by the information processing device 10 of this embodiment has a modular configuration including the above-mentioned units (receiving unit 101, determining unit 102, memory unit 103, executing unit 104, and distributing unit 105). The CPU (processor) reads out the control program 121 from the above-mentioned storage medium and loads the above-mentioned units onto the main storage device. As a result, the receiving unit 101, determining unit 102, memory unit 103, executing unit 104, and distributing unit 105 are generated on the main storage device.
[0083] Although some embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. These embodiments and their modifications are included in the scope and spirit of the invention, and are included in the scope of the invention and its equivalents described in the claims. [Explanation of symbols]
[0084] 1. Information Processing Systems 10. Information processing device 101 Receiving unit 102 Judgment section 103 Storage section 104 Executive Department 105 Distribution Department 11 First Device 12 Second Device 13 Third Device 14 The Fourth Device 110 Processor 120 Memory 121 Control Program 130 Communication I / F 190 Bus 20 Camera 30 Accounting Equipment 90 Network VDB Virtual Database [Prior art documents] [Patent documents]
[0085] [Patent Document 1] JP 2009-152995 A
Claims
1. An information processing device that shares shared data with another information processing device by exchanging shared data that does not specify a destination with the other information processing device that is different from the other information processing device in at least one of a type of an executable service and an execution speed of the service, a receiving unit that receives first shared data distributed from the other information processing device without specifying a destination, the first shared data including a first parameter and an execution request for requesting execution of a first service using the first parameter; a determination unit that determines whether the first service is executable based on the received first shared data; an execution unit that executes the first service in response to the first shared data when the first service is executable; a distribution unit that distributes second shared data including a first execution result obtained by executing the first service to the other information processing device without specifying a destination. Information processing device.
2. the first service is a service that is executed by further using a second execution result obtained by executing a second service using the first parameter or a second parameter based on the first parameter, the distribution unit, when the first service is executable and the second service is not executable, distributes third shared data including the second parameter and an execution request for requesting execution of the second service to the other information processing device without specifying a destination; the receiving unit receives fourth shared data distributed from the other information processing device without specifying a destination, the fourth shared data including the second execution result obtained by the other information processing device executing the second service in response to the third shared data; the execution unit executes the first service further in response to the received fourth shared data. The information processing device according to claim 1 .
3. The other information processing device is capable of executing at least the first service, the receiving unit receives fifth shared data that is distributed from the other information processing device without specifying a destination and includes information indicating a priority regarding execution of the first service; when the first service is executable, the determination unit determines whether to execute the first service based on the fifth shared data; the distribution unit distributes, during or after the execution of the first service, the fifth shared data, the priority of which has been changed to be lower than the priority before the execution of the first service, to the other information processing device without specifying a destination.
3. The information processing device according to claim 1 or 2.
4. An information processing system in which shared data not specifying a transmission destination is exchanged between a plurality of information processing devices including a first information processing device and a second information processing device, the first information processing device and the second information processing device being different from each other in at least one of a type of an executable service and an execution speed of the service, thereby sharing the shared data among the plurality of information processing devices, the first information processing device distributes first shared data including a first parameter and an execution request for requesting execution of a first service using the first parameter; the second information processing device receives the first shared data distributed from the first information processing device without specifying a destination, determines whether or not the first service is executable based on the received first shared data, and when the first service is executable, executes the first service in accordance with the first shared data, and distributes second shared data including a first execution result obtained by executing the first service to the multiple information processing devices without specifying a destination. Information processing system.
5. 1. An information processing method executed in an information processing device that shares shared data with another information processing device by exchanging shared data that does not specify a destination with the other information processing device that differs from the other information processing device in at least one of types of executable services and execution speeds of the services, comprising: receiving first shared data distributed from the other information processing device without specifying a destination, the first shared data including a first parameter and an execution request for requesting execution of a first service using the first parameter; determining whether the first service is executable based on the received first shared data; executing the first service in response to the first shared data when the first service is executable; and distributing second shared data including a first execution result obtained by executing the first service to the other information processing device without specifying a destination. Information processing methods.
6. A computer of an information processing device that shares shared data with another information processing device by exchanging shared data without specifying a destination with the other information processing device that has at least one of a type of executable service and an execution speed of the service different from each other, receiving first shared data distributed from the other information processing device without specifying a destination, the first shared data including a first parameter and an execution request for requesting execution of a first service using the first parameter; when receiving the first shared data, determining whether the first service is executable based on the received first shared data; executing the first service in response to the first shared data when the first service is executable; and delivering second shared data including a first execution result obtained by executing the first service to the other information processing device without specifying a destination. program.
Citation Information
Patent Citations
Communication system, transmission terminal used for communication system, relay terminal used for communication system, communication method in communication system and computer program used for communication system
JP2009152995A
Delivery system, method and program
JP2013212444A
Image forming device, image data control method, and program therefor
US20100103450A1
Data distribution system based on the exchange of asynchronous messages
US20130024874A1
Exposure of public internet protocol addresses in an advertising exchange server to improve relevancy of advertisements
US20170041655A1
