Data control method and data control program

The data control method simplifies control creation and updates in social simulations by managing data linkage and transmission between simulators based on behavior logic, enhancing efficiency and reducing the need for simulator-specific updates.

JP2024123776AActive Publication Date: 2024-09-12FUJITSU LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2023031446
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-01
Publication Date
2024-09-12
Estimated Expiration
2043-03-01

AI Technical Summary

Technical Problem

In social simulations, the collaboration destination between simulators often changes based on the state of the data and the policy being simulated, requiring significant time and effort to create and update controls in each simulator.

Method used

A data control method that uses a control unit to manage data linkage between multiple simulators by executing logic based on behavior logic, determining the appropriate simulator for data transmission, and coordinating data exchange without the need for extensive simulator-specific control updates.

Benefits of technology

Facilitates easy creation and updating of controls in each simulator, allowing efficient data coordination and simulation execution without waiting for non-participating simulators.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024123776000001
    Figure 2024123776000001
Patent Text Reader

Abstract

To facilitate operations, such as creating and updating control described in each simulator.SOLUTION: A data control device 1 successively executes logics on the basis of a behavioral logic describing a behavior of an object. The data control device 1, when notified by a traffic simulator 3A that the object has moved to a predetermined position in accordance with the execution of a specific logic, uses previously stored attributes of the object to determine whether to transmit data of the object to a first store simulator 3B or a second store simulator 3B. The data control device 1 transmits the data of the object to the determined store simulator 3B to which the data of the object is to be transmitted. Processing of the data control device 1 can be applied to a social simulation involving a local government or a traffic infrastructure, for example.SELECTED DRAWING: Figure 2A
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a data control method and the like. [Background technology]

[0002] In recent years, there has been a demand for simulations that cross multiple fields by linking multiple simulators. For example, in social simulation, there is a demand for linking many simulators. Social simulation here refers to a simulation for studying problems in social sciences, and is used to verify in advance what will happen when a policy is implemented in society.

[0003] Also, FMI (Function Mock-up Interface) is known as a standard interface for linking multiple simulators. FMI is a standard interface for exchanging simulation results between different simulators. For example, FMI can be used for automobile design by making each simulator that reproduces the engine and steering behavior of an automobile conform to each other and integrating each simulator.

[0004] Also, HLA (High Level Architecture) is known as a standard for linking multiple simulators. HLA is a standard for interconnecting different simulators on a network and linking them together. For example, HLA is used in military simulations, etc., and defines an object that mediates between simulators, and links them together via that object. There is an object management service for sharing data between simulators.

[0005] Also, a technology has been disclosed that can perform an overall simulation by linking multiple different simulators (for example, see Patent Document 1). In this technology, an integrated simulator system connected to multiple simulation devices acquires part information indicating parts to be simulated from each of the multiple simulators, displays the acquired part information, connects and arranges the part information based on a user's arrangement instruction for the displayed part information, and sets connection attributes between the arranged parts. In other words, the integrated simulator system shares data between the simulators. [Prior art documents] [Patent documents]

[0006] [Patent Document 1] JP 2011-107962 A Summary of the Invention [Problem to be solved by the invention]

[0007] However, in social simulations, the connections between simulations change depending on the state of the data being connected, and in many cases the connections also change depending on the policies being simulated, etc. This causes a problem in that it takes a lot of time to create and update the controls described in each simulator that runs the simulation.

[0008] For example, in technologies that can perform overall simulations and HLA, there are systems and services that share data between simulators. However, the simulations in each simulator change their connections depending on the state of the data they are linked to, and the connections often change depending on the measures being simulated.

[0009] An object of one aspect of the present invention is to facilitate tasks such as creating and updating controls described in each simulator. [Means for solving the problem]

[0010] In one aspect, a data control method for linking data between multiple simulators is provided, in which a control unit that controls the linking of data sequentially executes logic based on behavioral logic describing the behavior of a target, and when a first simulator notifies the control unit that the target has moved to a predetermined position in response to the execution of a specific logic, the control unit uses pre-stored attributes of the target to determine whether to send the data of the target to a second simulator or a third simulator, and a computer executes the processing of the data control method to send the data of the target to the simulator that has been determined to send the data of the target. Effect of the Invention

[0011] According to one embodiment, it is possible to easily perform tasks such as creating and updating the control described in each simulator. [Brief description of the drawings]

[0012] [Figure 1] FIG. 1 is a block diagram illustrating an example of a functional configuration of a data control system according to a first embodiment. [Figure 2A] FIG. 2A is a diagram (1) illustrating an image of a data control method according to the first embodiment. [Figure 2B] FIG. 2B is a diagram (2) illustrating an image of the data control method according to the first embodiment. [Diagram 3] FIG. 3 is a diagram illustrating an example of the overall information according to the first embodiment. [Figure 4] FIG. 4 is a diagram illustrating an example of simulation information according to the first embodiment. [Diagram 5] FIG. 5 is a diagram illustrating an example of simulator cooperation information according to the first embodiment. [Figure 6] FIG. 6 is a diagram illustrating an example of logic according to the first embodiment. [Figure 7] FIG. 7 is a diagram illustrating an example of object internal information according to the first embodiment. [Figure 8]FIG. 8 is a diagram illustrating an example of object association information according to the first embodiment. [Figure 9] FIG. 9 is a diagram illustrating an example of data control between simulators according to the first embodiment. [Figure 10A] FIG. 10A is a diagram (1) illustrating an example of the flow of data control related to the first embodiment. [Figure 10B] FIG. 10B is a diagram (2) illustrating an example of the flow of data control related to the first embodiment. [Figure 10C] FIG. 10C is a diagram (3) illustrating an example of the flow of data control related to the first embodiment. [Figure 10D] FIG. 10D is a diagram (4) illustrating an example of the flow of data control related to the first embodiment. [Figure 10E] FIG. 10E is a diagram (5) illustrating an example of the flow of data control related to the first embodiment. [Figure 10F] FIG. 10F is a diagram (6) illustrating an example of the flow of data control related to the first embodiment. [Figure 10G] FIG. 10G is a diagram (7) illustrating an example of the flow of data control related to the first embodiment. [Figure 10H] FIG. 10H is a diagram (8) illustrating an example of the flow of data control related to the first embodiment. [Figure 11] FIG. 11 is a diagram illustrating an example of a flowchart of an object management process according to the first embodiment. [Figure 12] FIG. 12 is a diagram illustrating an example of a flowchart of a simulator management process according to the first embodiment. [Figure 13] FIG. 13 is a diagram illustrating an example of a flowchart of a simulation execution management process according to the first embodiment. [Figure 14] FIG. 14 is a diagram illustrating an image of a data control method according to the second embodiment. [Figure 15] FIG. 15 is a block diagram illustrating an example of a functional configuration of a data control system according to the second embodiment. As illustrated in FIG. [Figure 16] FIG. 16 is a diagram illustrating an example of determining the number of non-participation steps according to the second embodiment. [Figure 17]FIG. 17 is a diagram illustrating another example of determining the number of non-participation steps according to the second embodiment. [Figure 18] FIG. 18 is a diagram illustrating a specific example of the non-participation rule according to the second embodiment. [Figure 19A] FIG. 19A is a diagram (1) illustrating an example of the flow of data control related to the second embodiment. [Figure 19B] FIG. 19B is a diagram (2) illustrating an example of the flow of data control related to the second embodiment. [Figure 19C] FIG. 19C is a diagram (3) illustrating an example of the flow of data control related to the second embodiment. [Figure 19D] FIG. 19D is a diagram (4) illustrating an example of the flow of data control related to the second embodiment. [Figure 19E] FIG. 19E is a diagram (5) illustrating an example of the flow of data control related to the second embodiment. [Figure 19F] FIG. 19F is a diagram (6) illustrating an example of the flow of data control related to the second embodiment. [Figure 19G] FIG. 19G is a diagram (7) illustrating an example of the flow of data control related to the second embodiment. [Figure 19H] FIG. 19H is a diagram (8) illustrating an example of the flow of data control related to the second embodiment. [Figure 19I] FIG. 19I is a diagram (9) illustrating an example of the flow of data control related to the second embodiment. [Figure 19J] FIG. 19J is a diagram (10) illustrating an example of the flow of data control related to the second embodiment. [Figure 19K] FIG. 19K is a diagram (11) illustrating an example of the flow of data control related to the second embodiment. [Figure 19L] FIG. 19L is a diagram (12) illustrating an example of the flow of data control related to the second embodiment. [Figure 20] FIG. 20 is a diagram illustrating an example of a flowchart of an object management process according to the second embodiment. [Figure 21] FIG. 21 is an example of a flowchart of the non-participation step number determination process according to the second embodiment. [Figure 22]FIG. 22 is a diagram illustrating another example of a flowchart of the non-participation step number determination process according to the second embodiment. [Figure 23] FIG. 23 is a diagram illustrating an example of a flowchart of a simulator management process according to the second embodiment. [Figure 24] FIG. 24 is a diagram illustrating an example of a computer that executes a data control program. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] Hereinafter, an embodiment of the data control method and the data control program disclosed in the present application will be described in detail with reference to the drawings. Note that the present invention is not limited to the embodiment. EXAMPLES

[0014] [Functional configuration of data control system] FIG. 1 is a block diagram showing an example of a functional configuration of a data control system according to a first embodiment. As shown in FIG. 1, a data control system 9 includes a data control device 1, a plurality of simulators 3, and a simulation execution management unit 5. The data control device 1 receives a start instruction for simulation execution from the simulation execution management unit 5 and links data between the plurality of simulators 3. The data control device 1 executes logic for each target based on a logic (behavior) associated with the target, and performs participation, withdrawal (non-participation), and data transmission for each simulator 3 according to the execution result. That is, the data control device 1 has logic (behavior) for each target, and links data between the plurality of simulators 3 based on the logic of each target. The target here refers to an object such as a person. The simulator 3 is a simulator that executes a social simulation. Examples of the simulator 3 include a traffic simulator and a store simulator. The traffic simulator, for example, simulates the walking movement of an object (such as a person) on a road, and simulates the time required for the movement, road congestion, and the like. The store simulator simulates, for example, the behavior of objects (people) in a store using a state transition model, and reproduces the inventory status and waiting lines of products in the store.

[0015] Here, an image of the data control method according to the embodiment 1 will be described with reference to Fig. 2A and Fig. 2B. Fig. 2A and Fig. 2B are diagrams showing an image of the data control method according to the embodiment 1. In Fig. 2A and Fig. 2B, the subject is a person, and the multiple simulators 3 are described as simulator a (3A) and simulator b (3B).

[0016] 2A, the data control device 1 has information including the logic, attributes, and status of each person. Here, the data control device 1 has information on person A and information on person B. Moreover, it is assumed that simulator a (3A) is, for example, a traffic simulator, and simulator b (3B) is, for example, a store simulator.

[0017] The data control device 1 then executes logic based on the logic (behavior) associated with person A, and transmits a participation request, a participation leaving request, and other data to the traffic simulator 3A and the store simulator 3B according to the execution result. The data control device 1 also executes logic for person B based on the logic (behavior) associated with person B, and transmits a participation request, a participation leaving request, and other data to the traffic simulator 3A and the store simulator 3B according to the execution result.

[0018] Here, for example, the data control device 1 executes a process in the logic "go to the store" for person A, and requests the traffic simulator 3A to participate and move (S1). At this time, the data control device 1 holds "participate in simulator A" in the state associated with person A. Then, when the data control device 1 receives an arrival notification from the traffic simulator 3A for person A (S2), it executes a process in the next logic "buy bread" for person A, and requests the traffic simulator 3A to leave participation (S3). At this time, the data control device 1 holds "not participating in simulator A" in the state associated with person A. In addition, the data control device 1 selects the store simulator 3B as a destination to which data is transmitted according to the attributes of person A, and requests the store simulator 3B to participate and buy bread (S4). At this time, the data control device 1 holds "participate in simulator B" in the state associated with person A. In this way, the data control device 1 executes a process in the logic based on the logic (behavior) associated with the person, and transmits a participation request, a leave request, and other data to the traffic simulator 3A and the store simulator 3B according to the execution result.

[0019] This eliminates the need for simulators 3 to cooperate with each other, and allows only the description of the operation of the simulator itself, making description easier. In other words, it becomes easier to create and update the control described in each simulator 3. In addition, it becomes easier to create and update the logic, since the behavior of objects can be consistently described as logic.

[0020] 2B shows the timing for advancing the process in the logic. If the data control device 1 has received the simulator results from all simulators 3 that are registered as participating for each person, the data control device 1 executes the next process in the logic.

[0021] Here, person A has participated in simulator a (3A), and simulator a (3A) is currently executing the corresponding simulation. Person A has not participated in simulator b (3B). Person B has participated in simulator b (3B), and simulator b (3B) is currently executing the corresponding simulation. It is also assumed that the execution of simulator b (3B) has been completed.

[0022] Then, when the data control device 1 receives a simulation result notification from simulator b (3B) for person B, it executes the process in the next logic since the simulator results have been notified from all participating simulators 3. In other words, when the data control device 1 receives a simulation result notification from simulator b (3B) for person B, it can execute the process in the next logic without waiting for the completion of simulator a.

[0023] This allows the data control device 1 to proceed with the processing within the logic without waiting for a notification from the non-participating simulator, thereby enabling the target logic to proceed efficiently.

[0024] [Functional configuration of the data control device] Returning to FIG. 1, the data control device 1 includes an object management unit 10. The object management unit 10 is provided for each object. The object here is an example of a target. The object management unit 10 executes logic for each object based on the logic (behavior) associated with each object, and transmits a participation request, a withdrawal (non-participation) request, and other data to each simulator 3 according to the execution result. The object management unit 10 includes an initial setting unit 11, an execution decision unit 12, a logic execution unit 13, a destination determination unit 14, an end determination unit 15, a receiving unit 16, and a transmitting unit 17. The object management unit 10 also includes overall information 21, simulation information 22, simulator cooperation information 23, object logic information 24, object internal information 25, and received data retention information 26.

[0025] The overall information 21 is information that indicates an overall definition of the simulation performed by the data control system 9. The overall information 21 is defined in advance. An example of the overall information 21 will be described with reference to FIG. 3. FIG. 3 is a diagram showing an example of the overall information according to the first embodiment. As shown in FIG. 3, the overall information 21 is information that associates the number of simulation steps, an object ID list, and a simulator ID list. The number of simulation steps is the total number of steps of the simulation performed by the data control system 9. The number of steps refers to a period, and is expressed in seconds, for example. The object ID list is a list of IDs that uniquely identify the target object. The simulator ID list is a list of IDs that uniquely identify the simulator 3 that executes the simulation.

[0026] As an example, the overall information 21 stores "3600" (seconds) as the number of simulation steps, "person A, person B" as the object ID list, and "traffic, store a, store b" as the simulator ID list. "Traffic" means, for example, a traffic simulator. "Store a" and "Store b" mean, for example, a store simulator.

[0027] Returning to FIG. 1, the simulation information 22 is information for managing the current execution position of logic for an object and the current number of steps in a simulation. An example of the simulation information 22 will now be described with reference to FIG. 4. FIG. 4 is a diagram showing an example of simulation information according to the first embodiment. As shown in FIG. 4, the simulation information 22 is information that associates an object ID, a current execution position, and a current number of steps. The object ID is an ID that uniquely identifies an object. The current execution position is the current execution position of logic. The current number of steps is the current number of steps in a simulation.

[0028] Returning to Fig. 1, the simulator cooperation information 23 is information for managing cooperation with each simulator 3. An example of the simulator cooperation information 23 will now be described with reference to Fig. 5. Fig. 5 is a diagram showing an example of the simulator cooperation information according to the first embodiment. As shown in Fig. 5, the simulator cooperation information 23 is information in which a participation status, a result reception status, and a non-participation step are associated with each simulator 3.

[0029] The participation status is information indicating whether or not a simulator 3 is participating. As an example, the participation status is set to "participating" indicating participation, or "not participating" indicating not participation. The result reception status is information indicating whether or not a simulation result has been received from a participating simulator 3. As an example, the result reception status is set to "received" indicating receipt, or "not received" indicating not receipt. The non-participation step is information indicating the number of steps, if there is a period (number of steps) during which participation in the simulator 3 is not occurring. The non-participation step is not used in the first embodiment.

[0030] Returning to FIG. 1, the object logic information 24 is information on logic describing the actions of an object. In other words, the object logic information 24 is information describing the behavior of an object. The object logic information 24 is defined in advance for each object. An example of logic will now be described with reference to FIG. 6. FIG. 6 is a diagram showing an example of logic according to the first embodiment. As shown in FIG. 6, logic regarding the actions of a certain object (here, a person) included in the object ID list is shown. The number to the left of each process included in the logic is a number indicating the order (execution position) of the process. The logic is executed in order from the smallest number. Hereinafter, each process included in the logic will be referred to as a "logic process".

[0031] In the example of FIG. 6, the human behavior logic moves from home to a destination store using the traffic simulator (execution position 1). Then, the human behavior logic executes a process of determining whether or not the person has arrived while waiting for the person to arrive (execution position 2). If it is determined that the person has not arrived (execution position 2: No), the human behavior logic repeats the process of determining until the person has arrived. On the other hand, if it is determined that the person has arrived (execution position 2: Yes), the human behavior logic purchases the desired item in the store simulator (execution position 3). Then, the human behavior logic executes a process of determining whether or not the person has left the store while waiting to leave (execution position 4). If it is determined that the person has not left the store (execution position 4: No), the human behavior logic repeats the process of determining until the person has left the store. On the other hand, if it is determined that the person has left the store (execution position 4: Yes), the human behavior logic moves from the store to home using the traffic simulator (execution position 5). Then, the human behavior logic determines whether or not the person has arrived while waiting for the person to arrive (execution position 6). If it is determined that the customer has not arrived (execution position 6: No), the human behavior logic repeats the determination process until the customer has arrived. On the other hand, if it is determined that the customer has arrived (execution position 6: Yes), the human behavior logic ends the logic. The destination store and the item to be purchased are set in the object internal information 25, which will be described later.

[0032] Returning to FIG. 1, the object internal information 25 is internal information corresponding to an object. An example of the object internal information 25 will now be described with reference to FIG. 7. FIG. 7 is a diagram showing an example of the object internal information according to the first embodiment. As shown in FIG. 7, the object internal information 25 is information that associates a destination store ID, a home location, a store location, an item to buy, a [transport] current location, and a [transport] travel status.

[0033] The destination store ID is an ID that uniquely identifies the destination store. The home location is the location of the object's home. The store location is the location of the destination store. The desired item is an item that the object wants to buy at the destination store. The destination store ID, home location, store location, and desired item are set in advance. The [traffic] current location is the current location of the object simulated by the traffic simulator. The [traffic] movement status is the movement status of the object simulated by the traffic simulator. As an example, the movement status is set to "moving", which indicates that the object is moving to the destination, and "arrived", which indicates that the object has arrived at the destination. The [traffic] current location and the [traffic] movement status are set at the time when the simulation results are returned by the traffic simulator.

[0034] Returning to FIG. 1, the received data holding information 26 is information that holds the simulation result transmitted from the simulator 3 as received data.

[0035] The initial setting unit 11 performs initial settings. For example, when the initial setting unit 11 receives an instruction to start a simulation execution from the simulation execution management unit 5, it sets the current execution position and the current step number in the simulation information 22 to the initial values ​​of "0". Then, the initial setting unit 11 sets the participation status corresponding to each simulator in the simulator cooperation information 23 to the initial value of "not participating" and the result receipt information to the initial value of "-". Then, the initial setting unit 11 sets the current position and movement status in the object internal information 25 to the initial value of "-".

[0036] The execution decision unit 12 decides to execute logic. For example, the execution decision unit 12 waits for the reception of simulation results from the participating simulator 3. Then, when the execution decision unit 12 receives a simulation result from the participating simulator 3, it sets the result reception status corresponding to the simulator 3 in the simulator cooperation information 23 to "received". In addition, when the execution decision unit 12 receives a simulation result from a traffic simulator, it sets the current position and the movement status included in the simulation result to the corresponding portion in the object internal information 25. Then, the execution decision unit 12 decides to execute the next logic process if the result reception status corresponding to all the participating simulators 3 is "received". In other words, if the execution decision unit 12 has received a simulation result from the participating simulator 3 for the target object, it decides to execute the next logic process without waiting for the reception of the simulation result from the non-participating simulator 3. Also, if the result reception status corresponding to any of the participating simulators 3 has not yet been received, the execution decision unit 12 decides not to execute the next logic process.

[0037] As a result, the execution decision unit 12 can proceed with logic processing without waiting for receipt of simulation results from the non-participating simulator 3, thereby efficiently processing the target logic.

[0038] The logic execution unit 13 executes logic. For example, when the logic execution unit 13 receives an instruction to start simulation execution from the simulation execution management unit 5, it executes the first logic process. Furthermore, when the execution decision unit 12 decides to execute the next logic process, the logic execution unit 13 executes the next logic process. Then, the logic execution unit 13 decides to participate in, not participate in, or withdraw from the simulator 3 based on the execution result.

[0039] The transmission destination determination unit 14 determines the transmission destination. For example, the transmission destination determination unit 14 refers to the simulator cooperation information 23 and determines the simulator 3 whose participation status is "participating" as the transmission destination of the message indicating participation, and sets the reception status to "not received." In addition, the transmission destination determination unit 14 refers to the simulator cooperation information 23 for each simulator 3 and determines the simulator 3 whose participation status is "not participating" as the transmission destination of the message indicating non-participation, and sets the reception status to "-" to clear it.

[0040] The end judgment unit 15 judges the end of the simulation in the multiple simulators 3. For example, the end judgment unit 15 acquires the current step number from the simulation information 22. Also, the end judgment unit 15 acquires the simulation step number from the overall information 21. Then, if the current step number is equal to or greater than the simulation step number, the end judgment unit 15 judges to end the simulation. Also, if the current step number is less than the simulation step number, the end judgment unit 15 continues the simulation.

[0041] The receiving unit 16 receives the simulation results transmitted for the object from each simulator 3. Then, the receiving unit 16 stores the received simulation results for the object in the received data holding information 26 for the object in association with the simulator 3. The receiving unit 16 is realized by, for example, a NIC (Network Interface Card) or the like.

[0042] The transmission unit 17 transmits various messages to the simulator 3 of the destination determined by the destination determination unit 14 for the object. The transmission unit 17 is realized by, for example, a NIC.

[0043] [Simulator functional configuration] The simulator 3 includes a simulator management unit 30. The simulator management unit 30 executes a simulation specific to the simulator 3. The simulator management unit 30 has an initial setting unit 31, a participation status setting unit 32, an execution determination unit 33, a simulator execution unit 34, a transmission destination determination unit 35, an end determination unit 36, a receiving unit 37, and a transmitting unit 38. The simulator management unit 30 also has overall information 41, simulation information 42, object collaboration information 43, and received data retention information 44.

[0044] The overall information 41 is information that indicates an overall definition of the simulation carried out by the data control system 9. Note that the overall information 41 has the same content as the overall information 21 of the object management unit 10, and therefore a description thereof will be omitted.

[0045] The simulation information 42 is information for managing the current step number of the simulation for the simulator 3. The simulation information 42 is information that associates a simulation ID with the current step number. The simulation ID is an ID that uniquely identifies the simulator 3 that executes the simulation. The current step number is the current step number of the simulation for the simulator 3.

[0046] The object collaboration information 43 is information for managing collaboration with each object. An example of the object collaboration information 43 will now be described with reference to Fig. 8. Fig. 8 is a diagram showing an example of the object collaboration information according to the first embodiment. As shown in Fig. 8, the object collaboration information 43 is information in which a participation status, a message reception status, and a non-participation step are associated with each object.

[0047] The participation status is information indicating whether an object is participating or not participating. As an example, the participation status is set to "participating" indicating participation, or "not participating" indicating not participation. The message reception status is information indicating whether a message has been received from an object. As an example, the message reception status is set to "received" indicating receipt, or "not received" indicating not receipt. The non-participation step is information indicating the number of steps, if there is a period (number of steps) during which the object does not participate in simulator 3. Note that the non-participation step is not used in Example 1.

[0048] The received data holding information 44 is information that holds messages transmitted from the data control device 1 as received data.

[0049] Returning to Fig. 1, the initial setting unit 31 performs initial settings. For example, upon receiving an instruction to start simulation execution from the simulation execution management unit 5, the initial setting unit 31 sets the current step number in the simulation information 42 to the initial value "0". Then, the initial setting unit 31 sets the participation status corresponding to each object in the object collaboration information 43 to the initial value "not participating" and the message reception status to the initial value "-".

[0050] The participation status setting unit 32 sets the participation status for an object. For example, the participation status setting unit 32 waits for various messages from the object management unit 10. Then, when the participation status setting unit 32 receives a message indicating participation from the object management unit 10, it sets the participation status corresponding to the corresponding object in the object collaboration information 43 to "participation" and sets the message reception status to "received." Furthermore, when the participation status setting unit 32 receives a message indicating non-participation from the object management unit 10, it sets the participation status corresponding to the corresponding object in the object collaboration information 43 to "non-participation" and sets the message reception status to "received."

[0051] The execution decision unit 33 decides to execute a simulation. For example, if the receiving status corresponding to all objects indicates that they have been received, the execution decision unit 33 decides to execute a simulation. If the receiving status corresponding to any object indicates that it has not been received, the execution decision unit 33 decides not to execute a simulation.

[0052] The simulator execution unit 34 executes a simulation specific to the simulator 3. For example, when the execution decision unit 33 decides to execute a simulation, the simulator execution unit 34 executes the simulation.

[0053] The transmission destination determination unit 35 determines the transmission destination. For example, the transmission destination determination unit 35 refers to the object collaboration information 43 and determines an object whose participation status is "participation" as the transmission destination of the simulation result, and sets the reception status to "not received."

[0054] The end determination unit 36 ​​determines the end of the simulation specific to the simulator 3. For example, the end determination unit 36 ​​acquires the current step number from the simulation information 42. Also, the end determination unit 36 ​​acquires the simulation step number from the overall information 41. Then, if the current step number is equal to or greater than the simulation step number, the end determination unit 36 ​​determines to end the simulation. Also, if the current step number is less than the simulation step number, the end determination unit 36 ​​continues the simulation.

[0055] The receiving unit 37 receives various messages transmitted from each object manager 10. Then, the receiving unit 37 stores the various received messages in the received data retention information 44 in association with the object indicated by the object manager 10. The receiving unit 37 is realized by, for example, a network interface card (NIC) or the like.

[0056] The transmitting unit 38 transmits the simulation result to the object manager 10 of the destination determined by the destination determining unit 35. The transmitting unit 38 is realized by, for example, a NIC or the like.

[0057] [Functional configuration of the simulation execution management unit] The simulation execution management unit 5 manages the execution of a simulation. For example, the simulation execution management unit 5 instructs the object management unit 10 for each object and the multiple simulators 3 to start executing a simulation. The timing of the instruction to start the simulation execution may be when a start instruction is received from a system administrator, or when a predetermined time has come.

[0058] [Example of data control] Here, an example of data control according to the first embodiment will be described with reference to Fig. 9 and Figs. 10A to 10H. Fig. 9 is a diagram showing an example of data control between simulators according to the first embodiment. Data control between simulators 3 shown in Fig. 9 is a case of "going to a store and shopping." Such data control is performed in cooperation between one traffic simulator 3A and multiple store simulators 3B.

[0059] 10A to 10H are diagrams illustrating an example of a flow of data control according to the first embodiment.

[0060] As shown in FIG. 10A, there is an object management unit 10 corresponding to an object with an ID of "person A" and an object management unit 10 corresponding to an object with an ID of "person B". In addition, for the store simulator 3B, there is a store simulator 3B with an ID of "store 1" and a store simulator 3B with an ID of "store 2". In addition, there is one traffic simulator 3A with an ID of "traffic". It is assumed that the object of "person A" and the object of "person B" operate according to the same logic. The same logic as that shown in FIG. 6 is applied to each logic, and is stored in each object logic information 24. The simulation information 22, simulator cooperation information 23, and object internal information 25 in each object management unit 10 are in the initial state. That is, in the simulation information 22 of the object "person A", "0" is set as the current execution position, and "0" is set as the current step number. In the simulator cooperation information 23 of the object "person A", the participation status for each simulator is set to "not participating", and the result reception status for each simulator is set to "-". Moreover, the simulation information 42 and object collaboration information 43 in each of the simulators 3A, 3B are in the initial state. That is, the current step number is set to "0" in the simulation information 42 of the traffic simulator 3A and the store simulator 3B. In the object collaboration information 43 of the traffic simulator 3A and the store simulator 3B, the participation status for each object is set to "not participating," and the message reception status for each object is set to "not received."

[0061] As shown in FIG. 10B, for the object management unit 10 of "person A", the logic execution unit 13 receives an instruction to start simulation execution from the simulation execution management unit 5. Then, the logic execution unit 13 sets the current execution position of the behavior logic to "1" and the current step number to "1" for the simulation information 22 (c1). Then, the logic execution unit 13 executes the first logic process of the behavior logic (c2). Here, the first logic process of "moving from home to destination store by traffic simulator" is executed. Then, the logic execution unit 13 decides to participate in the traffic simulator 3A based on the execution result of the logic process. Then, the logic execution unit 13 sets the participation status corresponding to the traffic simulator 3A in the simulator cooperation information 23 to "participation". In addition, the transmission destination determination unit 14 refers to the simulator cooperation information 23, and determines the traffic simulator 3A whose participation status is "participation" as the transmission destination of the participation message, and updates the reception status to "not received" (c3). In addition, the destination determination unit 14 refers to the simulator collaboration information 23 and determines the store simulators 3B for "Store 1" and "Store 2", whose participation status is "non-participating", as the destinations for the non-participation message, and sets the reception status to "-" to clear it.

[0062] The transmitting unit 17 transmits a participation message including the departure point and destination to the destination traffic simulator 3A determined by the destination determination unit 14 (c4). In this case, the departure point is "home" and the destination is "store 1". The departure point and destination are set in the object internal information 25. The transmitting unit 17 also transmits a non-participation message to the destination store simulators 3B of "store 1" and "store 2" determined by the destination determination unit 14 (c5, c6).

[0063] In the traffic simulator 3A that has received the participation message from the object management unit 10 of "person A," the participation status setting unit 32 sets the participation status corresponding to "person A" in the object collaboration information 43 to "participating," and sets the message reception status to "received" (c7). Then, the traffic simulator 3A adds "person A" to the simulation body, and retains the position information of the departure point and destination of "person A" in the simulation body.

[0064] In the store simulator 3B of "Store 1" that has received the non-participation message from the object management unit 10 of "Person A," the participation status setting unit 32 updates the participation status corresponding to "Person A" in the object collaboration information 43 to "not participating" and updates the message receipt status to "received" (c8). Also, in the store simulator 3B of "Store 2" that has received the non-participation message from the object management unit 10 of "Person A," the participation status setting unit 32 updates the participation status corresponding to "Person A" in the object collaboration information 43 to "not participating" and updates the message receipt status to "received."

[0065] As shown in Fig. 10C, the object manager 10 of "person B" executes logic in the same manner as the object manager 10 of "person A". As a result, the simulator cooperation information 23 becomes the same as the result shown in Fig. 10B.

[0066] In the traffic simulator 3A, the participation status setting unit 32 updates the participation status corresponding to "person B" in the object collaboration information 43 to "participating" and updates the message reception status to "received". Then, the traffic simulator 3A adds "person B" to the simulation body, and stores the location information of the departure point and destination of "person B" in the simulation body. In addition, in the store simulator 3B of "Store 1", the participation status setting unit 32 updates the participation status corresponding to "person B" in the object collaboration information 43 to "not participating" and updates the message reception status to "received". In the store simulator 3B of "Store 2", the participation status setting unit 32 updates the participation status corresponding to "person B" in the object collaboration information 43 to "not participating" and updates the message reception status to "received".

[0067] As shown in FIG. 10D, in the traffic simulator 3A and the store simulator 3B for "Store 1" and "Store 2," the execution decision unit 33 decides to execute a simulation if the message reception status corresponding to all objects is "received." Here, in the traffic simulator 3A, the execution decision unit 33 decides that a simulation can be executed because the message reception status corresponding to "Person A" and "Person B" in the object collaboration information 43 is "received" (c10). Therefore, the simulator execution unit 34 executes one step (c11). In addition, the simulator execution unit 34 updates the current step number of the simulation information 42 to "1" (c12).

[0068] Furthermore, in the store simulator 3B of "Store 1", the execution decision unit 33 determines that the simulation can be executed because the message reception status corresponding to "Person A" and "Person B" in the object collaboration information 43 is "Received" (c13). Therefore, the simulator execution unit 34 executes one step (c14). In addition, the simulator execution unit 34 updates the current number of steps in the simulation information 42 to "1" (c15). Note that the store simulator 3B of "Store 2" also performs the same process as the store simulator 3B of "Store 1".

[0069] 10E, in the traffic simulator 3A, the transmission destination determination unit 35 refers to the object collaboration information 43 and determines the objects whose participation status is "participating" as the transmission destinations of the simulation results, and updates the reception status from "received" to "not received." Here, the transmission destination determination unit 35 determines "person A" and "person B" whose participation status is "participating" as the transmission destinations of the simulation results, and updates the message reception status from "received" to "not received" (c20).

[0070] Then, in the traffic simulator 3A, the transmission unit 38 transmits the simulation results including the current position and movement status to the object management unit 10 of "person A" which is the destination determined by the transmission destination determination unit 35 (c21). The transmission unit 38 also transmits the simulation results including the current position and movement status to the object management unit 10 of "person B" which is the destination determined by the transmission destination determination unit 35 (c22). Note that the store simulator 3A of "Store 1" and the store simulator 3B of "Store 2" do not participate in either the objects of "person A" or "person B", and therefore do not transmit anything.

[0071] With regard to the object management unit 10 of "person A", when the execution decision unit 12 receives the simulation results from the participating traffic simulator 3A, it updates the result reception status corresponding to the simulator 3A in the simulator cooperation information 23 to "received" (c23). In addition, the execution decision unit 12 updates the current position and movement status ("moving") included in the simulation results to the [traffic] current position and [traffic] movement status in the object internal information 25 (c24). Note that the object management unit 10 of "person B" also performs the same process as the object management unit 10 of "person A".

[0072] 10F, for the object management unit 10 of "Person A," the execution decision unit 12 decides to execute the next logic process if the result reception statuses corresponding to all participating simulators 3 are "received." In this case, the execution decision unit 12 decides to execute the next logic process because the participating simulator 3 is only the traffic simulator 3A and the result reception status corresponding to the traffic simulator 3A is "received." In other words, if the execution decision unit 12 has received simulation results from the participating simulator 3, it decides to execute the next logic process without waiting for the reception of simulation results from the other simulators 3.

[0073] Then, the logic execution unit 13 updates the current execution position of the behavior logic from "1" to "2" for the simulation information 22, and updates the current step number from "1" to "2" (c30). Then, the logic execution unit 13 executes the second logic process of the behavior logic (c31). Here, the second logic process of "Waiting for arrival, has it arrived?" is executed. Then, the logic execution unit 13 determines participation in the traffic simulator 3A based on the execution result of the logic process, and updates the participation status corresponding to the traffic simulator 3A in the simulator cooperation information 23 to "participation". In addition, the transmission destination determination unit 14 refers to the simulator cooperation information 23 and determines the traffic simulator 3A whose participation status is "participation" as the transmission destination of the participation message, and updates the reception status to "not received" (c32). Also, the transmission destination determination unit 14 refers to the simulator cooperation information 23 and determines the store simulators 3B of "store 1" and "store 2" whose participation status is "not participating" as the transmission destination of the non-participation message.

[0074] Then, the transmission unit 17 transmits a participation continuation message to the traffic simulator 3A of the destination determined by the transmission destination determination unit 14 (c33). In addition, the transmission unit 17 transmits a non-participation continuation message to the store simulators 3B of "Store 1" and "Store 2" of the destination determined by the transmission destination determination unit 14 (c34, c35).

[0075] In the traffic simulator 3A that has received the participation continuation message from the object manager 10 of "person A," the participation status setting unit 32 updates the message reception status corresponding to "person A" in the object collaboration information 43 to "received" (c36).

[0076] In the store simulator 3B of "Store 1" which has received the continued nonparticipation message from the object management unit 10 of "Person A," the participation status setting unit 32 updates the message reception status corresponding to "Person A" in the object collaboration information 43 to "Received" (c37). In the store simulator 3B of "Store 2" which has received the continued nonparticipation message from the object management unit 10 of "Person A," the participation status setting unit 32 updates the message reception status corresponding to "Person A" in the object collaboration information 43 to "Received."

[0077] 10G, it is assumed that after a while of operation, the object of "Person A" arrives at the store. It is assumed that the current number of steps in the simulation information 22, 42 is "60".

[0078] In the traffic simulator 3A, the transmission destination determination unit 35 refers to the object collaboration information 43 and determines the objects whose participation status is "participating" as the transmission destination of the simulation result, and updates the reception status to "not received." Here, the transmission destination determination unit 35 determines "person A" and "person B" whose participation status is "participating" as the transmission destination of the simulation result, and updates the message reception status to "not received" (c40).

[0079] Then, in the traffic simulator 3A, the transmission unit 38 transmits the simulation results including the current position and movement status ("arrival") to the object management unit 10 of "person A" which is the destination determined by the transmission destination determination unit 35 (c41). The transmission unit 38 also transmits the simulation results including the current position and movement status to the object management unit 10 of "person B" which is the destination determined by the transmission destination determination unit 35 (c42). Note that the store simulator 3B of "Store 1" and the store simulator 3B of "Store 2" do not participate in either the objects of "person A" or "person B", and therefore do not transmit anything.

[0080] With regard to the object management unit 10 of "person A", when the execution decision unit 12 receives the simulation results from the participating traffic simulator 3A, it updates the result reception status corresponding to the simulator 3A in the simulator cooperation information 23 to "received" (c43). In addition, the execution decision unit 12 sets the current position and movement status ("arrival") included in the simulation results to the [traffic] current position and [traffic] movement status in the object internal information 25 (c44). Here, "arrival" is set to the [traffic] movement status. Note that the object management unit 10 of "person B" also performs the same process as the object management unit 10 of "person A".

[0081] As shown in FIG. 10H, for the object management unit 10 of "Person A," the execution decision unit 12 decides to execute the next logic process if the result receipt status corresponding to all participating simulators 3 is "received" and the current logic process is a judgment process and the judgment process is satisfied. Here, the participating simulator 3 is only the traffic simulator 3A, and the result receipt status corresponding to the traffic simulator 3A is "received." In addition, the current logic process is a judgment process of "waiting for arrival, arrived?", but the movement status for the target "store 1" has become "arrived," so the judgment process is satisfied. Therefore, the execution decision unit 12 decides to execute the next logic process (c50).

[0082] Then, the logic execution unit 13 updates the current execution position of the behavior logic in the simulation information 22 from "2" to "3" and updates the current step number from "60" to "61" (c51). Then, the logic execution unit 13 executes the third logic process of the behavior logic (c52). Here, the second logic process of "purchase the item you want to buy at the store simulator" is executed. Then, the logic execution unit 13 determines participation / withdrawal from the traffic simulator 3A based on the execution result of the logic process, and updates the participation status corresponding to the traffic simulator 3A in the simulator cooperation information 23 to "not participating". In addition, the transmission destination determination unit 14 refers to the simulator cooperation information 23, determines the traffic simulator 3A whose participation status is "not participating" as the transmission destination of the participation / withdrawal message, and updates the reception status to "-" (c53).

[0083] Furthermore, the logic execution unit 13 determines participation in the store simulator 3B of "Store 1" indicating the destination store based on the execution result of the logic process, and updates the participation status corresponding to the store simulator 3B of "Store 1" in the simulator cooperation information 23 to "participate". The destination store is set in the object internal information 25. In addition, the transmission destination determination unit 14 refers to the simulator cooperation information 23, determines the store simulator 3B of "Store 1" whose participation status is "participate" as the transmission destination of the participation message, and updates the reception status to "not received" (c54).

[0084] Then, the transmitting unit 17 transmits a join / leave message to the traffic simulator 3A of the destination determined by the destination determining unit 14 (c55). The transmitting unit 17 also transmits a join message including information about the desired item being "savory bread" to the store simulator 3B of "Store 1" of the destination determined by the destination determining unit 14 (c56). The desired item is acquired from the object internal information 25. The transmitting unit 17 also transmits a continue non-participation message to the store simulator 3B of "Store 2" of the destination determined by the destination determining unit 14 (c57).

[0085] In the traffic simulator 3A that has received the participation / withdrawal message from the object management unit 10 of "person A," the participation status setting unit 32 performs the following process: The participation status setting unit 32 updates the participation status corresponding to "person A" in the object collaboration information 43 to "not participating" and the message receipt status to "received" (c58).

[0086] In the store simulator 3B of "Store 1" that has received the participation message from the object management unit 10 of "Person A," the participation status setting unit 32 performs the following process. The participation status setting unit 32 updates the participation status corresponding to "Person A" in the object collaboration information 43 to "participating" and the message receipt status to "received" (c59). In the store simulator 3B of "Store 2" that has received the continued non-participation message from the object management unit 10 of "Person A," the participation status setting unit 32 updates the message receipt status corresponding to "Person A" in the object collaboration information 43 to "received."

[0087] In this manner, the object manager 10 and the plurality of simulators 3 thereafter repeat the same operations up to the number of steps set in the number of simulation steps in the overall information 21, 41.

[0088] [Object management process flowchart] Here, a flowchart of the object management process executed by the object management unit 10 will be described with reference to Fig. 11. Fig. 11 is a diagram illustrating an example of a flowchart of the object management process according to the first embodiment. It is assumed that the object management unit 10 receives an instruction to start simulation execution from the simulation execution management unit 5.

[0089] As shown in FIG. 11, upon receiving an instruction to start a simulation execution, the object manager 10 performs initial settings (step S11).

[0090] Then, the object manager 10 executes logic and determines whether to participate in, not participate in, or withdraw from the simulator 3 based on the execution result (step S12).

[0091] Next, the object manager 10 refers to the simulator cooperation information 23 and determines the participation status for each simulator 3 (step S13). If the participation status is "participation" (step S13: participation), the object manager 10 transmits a participation message to the corresponding simulator 3 and updates the reception status of the simulator cooperation information 23 to "not received" (step S14).

[0092] On the other hand, if the participation status is “not participating” (step S13: not participating), the object manager 10 sends a not participating (or participation / withdrawal) message to the corresponding simulator 3 and clears the reception status of the simulator cooperation information 23 (step S15).

[0093] Then, when the object management unit 10 completes the determination of the participation status for each simulator 3, it determines whether or not the current step is equal to or greater than the number of simulation steps to determine the end (step S16). For example, the object management unit 10 acquires the current step number from the simulation information 22. Also, the object management unit 10 acquires the number of simulation steps from the overall information 21. Then, the object management unit 10 determines whether or not the current step number is equal to or greater than the number of simulation steps.

[0094] If it is determined that the current step is equal to or greater than the number of simulation steps (step S16; Yes), the object manager 10 ends the object management process.

[0095] On the other hand, if it is determined that the current step is less than the number of simulation steps (step S16; No), the object manager 10 waits for the simulation result from the simulator 3 (step S17A). The object manager 10 determines whether or not the simulation result has been received from the simulator 3 (step S17B). If it is determined that the simulation result has not been received from the simulator 3 (step S17B; No), the object manager 10 repeats the determination process until the simulation result is received.

[0096] On the other hand, when it is determined that the simulation result has been received from the simulator 3 (step S17B; Yes), the object manager 10 stores the simulation result in the object internal information 25. In addition, the object manager 10 sets the reception status of the simulator cooperation information 23 to "received" (step S18).

[0097] Then, the object manager 10 judges whether or not the results of all the participating simulators 3 have been received (step S19). If it is judged that the results of all the participating simulators 3 have not been received (step S19; No), the object manager 10 proceeds to step S17A to receive the next simulation result.

[0098] On the other hand, if it is determined that the results of all participating simulators 3 have been received (step S19; Yes), the object manager 10 determines whether the current logic is a judgment process (step S19A). If it is determined that the current logic is not a judgment process (step S19A; No), the object manager 10 proceeds to step S12 to execute the next logic.

[0099] On the other hand, if it is determined that the current logic is a judgment process (step S19A; Yes), the object manager 10 refers to the object internal information 25 and determines whether or not the judgment process is satisfied (step S19B). If it is determined that the judgment process is not satisfied (step S19B; No), the object manager 10 proceeds to step S17A to receive the next simulation result.

[0100] On the other hand, if it is determined that the determination process is satisfied (step S19B; Yes), the object manager 10 proceeds to step S12 to execute the next logic.

[0101] [Simulator management process flowchart] Here, a flowchart of the simulator management process executed by the simulator management unit 30 will be described with reference to Fig. 12. Fig. 12 is a diagram illustrating an example of a flowchart of the simulator management process according to the first embodiment. It is assumed that the simulator management unit 30 receives an instruction to start simulation execution from the simulation execution management unit 5.

[0102] As shown in FIG. 12, upon receiving an instruction to start a simulation execution, the simulator management unit 30 performs initial settings (step S21).

[0103] The simulator management unit 30 waits for a message of the object transmitted from the object management unit 10 (step S22). When the simulator management unit 30 receives a message, it determines the type of the message (step S23). When it determines that the type of the message is "participation" (step S23; participation), the simulator management unit 30 updates the participation status of the object collaboration information 43 to "participation" and updates the reception status to "received" (step S24). Then, the simulator management unit 30 proceeds to step S26.

[0104] On the other hand, if the type of the message is determined to be "non-participation" (or participation / withdrawal) (step S23; non-participation), the simulator management unit 30 updates the participation status of the object collaboration information 43 to "non-participation" and updates the reception status to "received" (step S25). Then, the simulator management unit 30 proceeds to step S26.

[0105] In step S26, the simulator management unit 30 judges whether or not the reception status of all objects is set to "received" (step S26). If it is judged that the reception status of all objects is not set to "received" (step S26; No), the simulator management unit 30 proceeds to step S22 to wait for the next message.

[0106] On the other hand, if it is determined that the reception status of all objects is set to "received" (step S26; Yes), the simulator management unit 30 executes a simulation and updates the current step number of the simulation information 42 (step S27).

[0107] Then, the simulator management unit 30 judges whether the current step is equal to or greater than the number of simulation steps to judge whether to end the simulation (step S28). For example, the simulator management unit 30 acquires the current step number from the simulation information 22. Also, the simulator management unit 30 acquires the number of simulation steps from the overall information 21. Then, the simulator management unit 30 judges whether the current step number is equal to or greater than the number of simulation steps.

[0108] If it is determined that the current step is equal to or greater than the number of simulation steps (step S28; Yes), the simulator management unit 30 ends the simulator management process.

[0109] On the other hand, if it is determined that the current step is less than the number of simulation steps (step S28; No), the simulator management unit 30 transmits the simulation results to all participating objects (step S29). Then, the simulator management unit 30 updates the message reception status of all objects in the object collaboration information 43 to "not received" (step S30). Then, the simulator management unit 30 proceeds to step S26.

[0110] [Flowchart of simulation execution management process] Here, a flowchart of the simulation execution management process executed by the simulation execution management unit 5 will be described with reference to Fig. 13. Fig. 13 is a diagram illustrating an example of a flowchart of the simulation execution management process according to the first embodiment. It is assumed that the simulation execution management unit 5 receives a start instruction from a system administrator.

[0111] The simulation execution management unit 5 initializes various data in the object management unit 10 (step S41). The simulation execution management unit 5 initializes various data in each simulator management unit 30 (step S42).

[0112] Then, the simulation execution management unit 5 starts the operation of each simulator management unit 30 (step S43). After that, each simulator management unit 30 goes into a state of waiting for a message from the object management unit 10. Then, the simulation execution management unit 5 starts the operation of the object management unit 10 (step S44).

[0113] Then, the simulation execution management unit 5 judges whether or not all the object management units 10 and the simulator management units 30 have been completed (step S45). If it is judged that all the object management units 10 and the simulator management units 30 have not been completed (step S45; No), the simulation execution management unit 5 repeats the judgment process until all the object management units 10 and the simulator management units 30 have been completed.

[0114] On the other hand, if it is determined that all the object managers 10 and simulator managers 30 have finished (step S45; Yes), the simulation execution manager 5 ends the simulation execution management process.

[0115] [Effects of Example 1] According to the above-mentioned first embodiment, when the object management unit 10 links data between a plurality of simulators 3, the object management unit 10 executes logic sequentially based on the behavior logic describing the behavior of the target (object). When the object management unit 10 is notified by the first simulator 3 that the target has moved to a predetermined position in response to the execution of a specific logic, the object management unit 10 uses the pre-stored attributes of the target to determine whether to transmit the target data to the second simulator 3 or the third simulator 3. Then, the object management unit 10 transmits the target data to the simulator 3 determined to transmit the target data. According to this configuration, the object management unit 10 links data between a plurality of simulators 3 using the behavior logic. This makes it unnecessary to set the control in the simulator 3 when there are a plurality of transmission destinations, and facilitates the work of updating the control.

[0116] According to the first embodiment, the object management unit 10 transmits to the first simulator 3 a notification of participation in the first simulator 3 in accordance with the contents of the logic, and holds the participation in the participation status for the first simulator 3 in the participation status storage unit that stores the participation status of the target for each simulator 3. When the object management unit 10 is notified by the first simulator that the target has moved to a predetermined position, the object management unit 10 executes the next logic if the simulator results have been notified from all simulators 3 whose participation status is held. According to this configuration, the object management unit 10 can efficiently proceed with the logic of the target by proceeding with the logic without waiting for a notification from a non-participating simulator 3. EXAMPLES

[0117] Incidentally, in the data control device 1 according to the first embodiment, it has been described that the object management unit 10 executes the next logic process if the result reception status corresponding to all participating simulators 3 has been received. That is, if the object management unit 10 has received simulation results from the participating simulators 3 for the target object, it executes the next logic process without waiting for the reception of simulation results from the non-participating simulators 3. However, the object management unit 10 is not limited to this, and may determine non-participation and non-participation period in the simulator 3 based on a predetermined method, and may notify the non-participation period to the simulator 3 determined not to participate. Then, the simulator 3 that has received the notification may execute the next simulation step without waiting for the reception of a message from the object management unit 10 during the non-participation period.

[0118] In the second embodiment, the object manager 10 determines whether or not the simulator 3 will participate and the period during which the simulator 3 will not participate based on a predetermined method, and notifies the non-participation period to the simulator 3 determined not to participate. The simulator 3 that has received the notification then executes the next simulation step without waiting for a message from the object manager 10 during the non-participation period.

[0119] Here, an image of a data control method according to the second embodiment will be described with reference to Fig. 14. Fig. 14 is a diagram showing an image of the data control method according to the second embodiment. In Fig. 14, the subject is a person, and the multiple simulators 3 are described as simulator a (3A) and simulator b (3B).

[0120] As shown in the left diagram of Fig. 14, the object manager 10 of "person A" executes logic based on the logic (behavior) associated with person A, and is participating in simulator a (3A) according to the execution result. The object manager 10 of "person B" executes logic based on the logic (behavior) associated with person B, and is participating in simulator b (3A) according to the execution result.

[0121] Also, the object management unit 10 of "person B" checks, based on a predetermined method, whether there is a simulator 3 that is unlikely to participate for a while, and if so, notifies the simulator 3 that it will not participate during the non-participation period. Here, the object management unit 10 of "person B" notifies simulator a (3A) that it will not participate until at least step "5".

[0122] As shown in the right diagram of Fig. 14, simulator a (3A), which has been notified by the object manager 10 of "person B" that it will not participate until at least step "5", does not need to wait until step "5" to receive a message from the object manager 10 of "person B", and executes the next simulation step after receiving a message from the object manager 10 of "person A". Simulator a (3A) then notifies the object manager 10 of "person A" of the simulation result.

[0123] Here, the predetermined method may be a case where a non-participation and non-participation period in a specific simulator 3 is obtained using a predetermined non-participation rule (Method 1). Also, the predetermined method may be a case where a non-participation and non-participation period in a specific simulator 3 is obtained by pre-reading logic associated with an object (Method 2).

[0124] FIG. 15 is a block diagram showing an example of a functional configuration of a data control system according to a second embodiment. In addition, in the functional configuration of the data control system 9 according to the second embodiment, the same components as those of the data control system 9 shown in FIG. 1 are indicated with the same reference numerals, and the description of the overlapping components and operations is omitted. The first embodiment is different from the second embodiment in that a non-participation step number determination unit 61, non-participation rule information 62, and pre-reading information 63 are added to the object management unit 10. The first embodiment is different from the second embodiment in that the destination determination unit 14 is changed to a destination determination unit 14A. The first embodiment is different from the second embodiment in that the participation status setting unit 32 and the execution determination unit 33 of the simulator 3 are changed to a participation status setting unit 32A and an execution determination unit 33A.

[0125] The nonparticipation step number determination unit 61 determines the number of nonparticipation steps for the simulator 3. For example, the nonparticipation step number determination unit 61 determines nonparticipation and the number of nonparticipation steps (nonparticipation period) for some simulators 3 out of the multiple simulators 3 based on a predetermined method. Then, the nonparticipation step number determination unit 61 notifies the determined simulator 3 of a nonparticipation message indicating nonparticipation for the number of nonparticipation steps via the transmission unit 17. Then, the nonparticipation step number determination unit 61 sets the determined number of nonparticipation steps as the nonparticipation step for the corresponding simulator 3 in the simulator cooperation information 23.

[0126] The destination determination unit 14A determines the destination. For example, the destination determination unit 14A refers to the simulator cooperation information 23 and determines the simulator 3 whose participation status is "participation" as the destination of the message indicating participation, and sets the reception status to "not received". The destination determination unit 14A also refers to the simulator cooperation information 23 and the simulation information 22 and determines the simulator 3 whose participation status is "not participating" and whose current step number is within the non-participation step as the simulator 3 to which the message is not to be transmitted. The destination determination unit 14A also determines the other simulators 3 whose participation status is "not participating" as the destination of the message indicating non-participation, and sets the reception status and non-participation step to "-" to clear them. That is, the destination determination unit 14A determines the simulator 3 whose participation status is "not participating" and whose non-participation step is not set or the simulator 3 whose participation status is "not participating" and whose current step number exceeds the non-participation step as the destination of the message indicating non-participation.

[0127] The participation status setting unit 32A sets the participation status for the object. For example, the participation status setting unit 32A waits for various messages from the object management unit 10. Then, when the participation status setting unit 32A receives a message indicating participation from the object management unit 10, it sets the participation status corresponding to the corresponding object in the object collaboration information 43 to "participation" and sets the message reception status to "received". Also, when the participation status setting unit 32A receives a message indicating non-participation from the object management unit 10, it sets the participation status corresponding to the corresponding object in the object collaboration information 43 to "non-participation" and sets the message reception status to "received". Then, when the participation status setting unit 32A receives a non-participation message indicating non-participation by the non-participation step number from the object management unit 10, it sets the non-participation step corresponding to the corresponding object in the object collaboration information 43 to the received non-participation step number.

[0128] The execution decision unit 33A decides to execute a simulation. For example, the execution decision unit 33A decides to execute a simulation if the receiving status corresponding to all objects has been received. Also, even if the receiving status corresponding to all objects has not been received, the execution decision unit 33A decides to execute a simulation if the non-participating steps corresponding to the objects that have not been received are equal to or greater than the current number of steps. This allows the execution decision unit 33A to execute the next step of the simulation without waiting for the non-participating steps to be received even if the receiving status corresponding to some objects has not been received, thereby shortening the waiting time.

[0129] [An example of determining the number of steps not to participate] Fig. 16 is a diagram showing an example of determining the number of non-participation steps according to the second embodiment. The example in Fig. 16 is a case where the number of non-participation steps is determined using a non-participation rule 62 (method 1). The non-participation rule 62 may be created in advance by a simulation designer. For example, the simulation designer creates a program using internal information (25) of an object to create the non-participation rule 62 indicating the conditions for not participating in the simulator 3.

[0130] In the example shown in FIG. 16, rule 1 of the non-participation rules 62 is set to "determine at the start that the object will not participate in any stores other than the target store." In other words, this rule indicates that the object will only participate in the target store and will not participate in any other stores. The non-participation step number determination unit 61 refers to the target store ID (d1) of the object internal information 25 based on rule 1 of the non-participation rules 62, and determines not to participate in store simulators (3) other than the target store. At this time, the non-participation step number determination unit 61 determines the number of non-participation steps as the number of simulation steps of the overall information 21.

[0131] Furthermore, for the non-participation rules 62, rule 2 is set as follows: "If waiting to arrive at a store, 1. calculate the distance between the current position and the store position, 2. estimate the shortest number of steps to the store from the distance, and 3. determine that number of steps means non-participation to the destination store." Based on rule 2 of the non-participation rules 62, the non-participation step number determination unit 61 refers to the movement status, current position, and store position of the object internal information 25, and if the movement status (d2) is "moving", calculates the shortest number of steps from the current position (d4) and the store position (d3). Then, the non-participation step number determination unit 61 determines non-participation in the store simulator (3) of the destination store for the number of calculated shortest steps.

[0132] [Another example of determining the number of non-participation steps] FIG. 17 is a diagram showing another example of determining the number of non-participation steps according to the second embodiment. The example of FIG. 17 is a case where the number of non-participation steps is determined by reading ahead the logic associated with the object (method 2). FIG. 17 shows object logic information 24 (abbreviated as logic) of "go to store 1 and shop". For example, assume that the current execution position of the simulation information 22 is "1". That is, the object management unit 10 executes "move from home to store 1 with traffic simulator". Then, the object management unit 10 participates in the traffic simulator 3A and waits for the simulation result. While waiting for the simulation result, the non-participation step number determination unit 61 of the object management unit 10 uses logic to verify possible patterns when the simulation result is returned. Here, the verification result one step ahead (for example, one second) is as follows. For "store 1", it is possible to wait for the arrival of the simulation result or to arrive at the store (participation is possible), so it is necessary to wait for the simulation result. For "store 2", at least one logic processing destination will not participate, so it is possible to notify that it will not participate next. In this way, the non-participating step number determination unit 61 verifies possible patterns such as one step ahead, two steps ahead, etc. from the logic execution of the current execution position, and determines non-participating simulators 3 and the number of non-participating steps.

[0133] [Specific examples of non-participation rules] Fig. 18 is a diagram showing a specific example of non-participation rules according to the second embodiment. Rule 1 of the non-participation rules 62 shown in Fig. 18 indicates that for each simulator 3, "if the ID of the simulator 3 is the ID of a traffic simulator or the destination store ID associated with the 'person' indicated by the object ID, do nothing." On the other hand, it indicates that "if the ID of the simulator 3 is not the ID of a traffic simulator and is not the destination store ID associated with the 'person' indicated by the object ID, this simulator 3 will not participate up to the number of simulation steps described in the overall information 21."

[0134] In addition, rule 2 of the non-participation rules 62 shown in FIG. 18 indicates that for each simulator 3, "if the simulator is waiting to arrive at a store, 1. calculate the distance between the store location and the current location, 2. estimate the shortest number of steps to the store from the distance, and 3. determine that the number of steps indicates non-participation to the destination store."

[0135] [Example of data control] Here, an example of data control according to the second embodiment will be described with reference to Figs. 19A to 19L. Figs. 19A to 19L are diagrams showing an example of the flow of data control according to the second embodiment. Note that here, it is assumed that the nonparticipation step number determination unit 61 applies the nonparticipation rule 62. Also, it is assumed that the object represented by "Person A" moves to "Store 1" and buys "savory bread", and the object represented by "Person B" moves to "Store 2" and buys "vegetables".

[0136] Since c1 to c8 shown in FIG. 19A and FIG. 19B are the same processes as those in FIG. 10B and FIG. 10C, they are designated by the same reference numerals. As shown in FIG. 19A, for the object management unit 10 of "person A", the logic execution unit 13 receives an instruction to start simulation execution from the simulation execution management unit 5. Then, for the simulation information 22, the logic execution unit 13 sets the current execution position of the behavior logic to "1" and the current step number to "1" (c1), and then the logic execution unit 13 executes the first logic process of the behavior logic (c2). Here, the first logic process of "moving from home to destination store by traffic simulator" is executed. Then, the logic execution unit 13 decides to participate in the traffic simulator 3A based on the execution result of the logic process. Then, the logic execution unit 13 sets the participation status corresponding to the traffic simulator 3A in the simulator cooperation information 23 to "participation". In addition, the destination determination unit 14 refers to the simulator cooperation information 23 and determines the traffic simulator 3A, whose participation status is "participating", as the destination of the participation message, and sets the reception status to "not received" (c3). Also, the destination determination unit 14A refers to the simulator cooperation information 23 and determines the store simulators 3B of "Store 1" and "Store 2", whose participation status is "not participating", as the destination of the non-participation message, and sets the reception status to "-" to clear it.

[0137] The transmitting unit 17 transmits a participation message including the departure point and destination to the destination traffic simulator 3A determined by the destination determination unit 14 (c4). In this case, the departure point is the home and the destination is "Store 1." The departure point and destination are set in the object internal information 25. The transmitting unit 17 also transmits a non-participation message to the destination store simulators 3B of "Store 1" and "Store 2" determined by the destination determination unit 14 (c5, c6).

[0138] In the traffic simulator 3A that has received the participation message from the object management unit 10 of "person A," the participation status setting unit 32A sets the participation status corresponding to "person A" in the object collaboration information 43 to "participating," and sets the message reception status to "received" (c7). Then, the traffic simulator 3A adds "person A" to the simulation body, and retains the position information of the departure point and destination of "person A" in the simulation body.

[0139] In the store simulator 3B of "Store 1" that has received the non-participation message from the object management unit 10 of "Person A," the participation status setting unit 32A sets the participation status corresponding to "Person A" in the object collaboration information 43 to "not participating" and sets the message receipt status to "received" (c8). Also, in the store simulator 3B of "Store 2" that has received the non-participation message from the object management unit 10 of "Person A," the participation status setting unit 32 sets the participation status corresponding to "Person A" in the object collaboration information 43 to "not participating" and sets the message receipt status to "received."

[0140] As shown in Fig. 19B, the object manager 10 for "person B" executes logic in the same manner as the object manager 10 for "person A." As a result, the simulator cooperation information 23 becomes the same as the result shown in Fig. 19A.

[0141] In the traffic simulator 3A, the participation status setting unit 32A sets the participation status corresponding to "person B" in the object collaboration information 43 to "participate" and sets the message reception status to "received." Then, the traffic simulator 3A adds "person B" to the simulation body, and retains the location information of the departure point and destination of "person B" in the simulation body. In addition, in the store simulator 3B of "Store 1," the participation status setting unit 32A sets the participation status corresponding to "person B" in the object collaboration information 43 to "not participate" and sets the message reception status to "received." In the store simulator 3B of "Store 2," the participation status setting unit 32A sets the participation status corresponding to "person B" in the object collaboration information 43 to "not participate" and sets the message reception status to "received."

[0142] As shown in FIG. 19C, for the object management unit 10 of "person A", the nonparticipation step number determination unit 61 applies the nonparticipation rule 62 to each "nonparticipating" simulator 3 while waiting for the simulation result. That is, the nonparticipation step number determination unit 61 determines whether there is a simulator 3 that will not participate without waiting for the simulation result. For example, the nonparticipation step number determination unit 61 refers to the destination store ID of the object internal information 25 based on rule 1 of the nonparticipation rule 62 and determines nonparticipation in the store simulator 3B other than the destination store. Here, since the destination store ID of the object internal information 25 is "store 1", nonparticipation in the store simulator 3B indicated by "store 2" other than "store 1" is determined. At this time, the nonparticipation step number determination unit 61 determines the nonparticipation step number as the simulation step number of the overall information 21. In this case, since the number of simulation steps in the overall information 21 is "3600", the non-participation step number determination unit 61 updates the non-participation steps corresponding to "Store 2" in the simulator cooperation information 23 from "-" to "3600" (c101). As a result, since "Store 2" matches rule 1 of the non-participation rules 62, the object management unit 10 of "Person A" does not participate in the simulator 3B of "Store 2" until the set "3600" steps. Note that the non-participation step number determination unit 61 does not match rule 2 of the non-participation rules 62 since it is not yet in a waiting for arrival state (moving).

[0143] Similarly, for the object manager 10 of "person B," the non-participation step number determining unit 61 updates the non-participation steps corresponding to "store 1" in the simulator cooperation information 23 from "-" to "3600."

[0144] 19D, for the object management unit 10 of "person A", the nonparticipation step number determination unit 61 notifies the simulator 3B of "store 2" of a nonparticipation message indicating that the person will be nonparticipating for the nonparticipation step number "3600" via the transmission unit 17 (c102). Similarly, for the object management unit 10 of "person B", the nonparticipation step number determination unit 61 notifies the simulator 3B of "store 1" of a nonparticipation message indicating that the person will be nonparticipating for the nonparticipation step number "3600" via the transmission unit 17 (c103).

[0145] Then, in the store simulator 3B of "Store 1," the participation status setting unit 32A updates the non-participation step corresponding to "Person B" in the object collaboration information 43 to "3600" (c104). Similarly, in the store simulator 3B of "Store 2," the participation status setting unit 32A updates the non-participation step corresponding to "Person A" in the object collaboration information 43 to "3600."

[0146] Fig. 19E is the same process as Fig. 10E. As shown in Fig. 19E, in the traffic simulator 3A, the transmission destination determination unit 35 refers to the object cooperation information 43 and determines the object whose participation status is "participating" as the transmission destination of the simulation result, and updates the reception status from "received" to "not received". Here, the transmission destination determination unit 35 determines "person A" and "person B" whose participation status is "participating" as the transmission destination of the simulation result, and updates the message reception status from "received" to "not received" (c110).

[0147] Then, in the traffic simulator 3A, the transmission unit 38 transmits the simulation results including the current position and movement status to the object management unit 10 of "person A" which is the destination determined by the transmission destination determination unit 35 (c111). The transmission unit 38 also transmits the simulation results including the current position and movement status to the object management unit 10 of "person B" which is the destination determined by the transmission destination determination unit 35 (c112). Note that the store simulator 3A of "Store 1" and the store simulator 3B of "Store 2" do not participate in either the objects of "person A" or "person B", and therefore do not transmit anything.

[0148] With regard to the object management unit 10 of "person A", when the execution decision unit 12 receives the simulation results from the participating traffic simulator 3A, it updates the result reception status corresponding to the simulator 3A in the simulator cooperation information 23 to "received" (c113). In addition, the execution decision unit 12 updates the current position and movement status ("moving") included in the simulation results to the [traffic] current position and [traffic] movement status in the object internal information 25 (c114). Note that the object management unit 10 of "person B" also performs the same process as the object management unit 10 of "person A".

[0149] 19F, for the object management unit 10 of "Person A," the execution decision unit 12 decides to execute the next logic process if the result receipt statuses corresponding to all participating simulators 3 are "received." In this case, the only participating simulator 3 is the traffic simulator 3A, and the result receipt status corresponding to the traffic simulator 3A is "received," so the execution decision unit 12 decides to execute the next logic process.

[0150] Then, the logic execution unit 13 updates the current execution position of the behavior logic in the simulation information 22 to "2" and updates the current step count to "2" (c120). Then, the logic execution unit 13 executes the second logic process of the behavior logic (c121). Here, the second logic process of "Waiting for arrival, has it arrived?" is executed. Then, the logic execution unit 13 determines participation in the traffic simulator 3A based on the execution result of the logic process, and sets the participation status corresponding to the traffic simulator 3A in the simulator cooperation information 23 to "participate". In addition, the transmission destination determination unit 14 refers to the simulator cooperation information 23, determines the traffic simulator 3A, whose participation status is "participate", as the transmission destination of the participation message, and updates the reception status to "not received" (c122).

[0151] Furthermore, the destination determination unit 14A refers to the simulator cooperation information 23 and determines the store simulator 3B of "Store 1" whose participation status is "not participating" as the destination of the non-participation message. Then, the destination determination unit 14A refers to the simulator cooperation information 23 and the simulation information 22 and determines the store simulator 3B of "Store 2" whose participation status is "not participating" and whose current number of steps ("2") is within the non-participation steps ("3600"), as the simulator 3 to which the message will not be sent. Therefore, no message is sent to the store simulator 3B of "Store 2".

[0152] Then, the transmission unit 17 transmits a participation continuation message to the traffic simulator 3A that is the destination determined by the transmission destination determination unit 14A (c123). Also, the transmission unit 17 transmits a non-participation continuation message to the store simulator 3B of "Store 1" that is the destination determined by the transmission destination determination unit 14 (c124).

[0153] In the traffic simulator 3A that has received the participation continuation message from the object manager 10 of "person A," the participation status setting unit 32 updates the message reception status corresponding to "person A" in the object collaboration information 43 to "received" (c125).

[0154] In the store simulator 3B of "Store 1", which has received the continued non-participation message from the object management unit 10 of "Person A", the participation status setting unit 32 updates the message reception status corresponding to "Person A" in the object collaboration information 43 to "Received" (c126).

[0155] As shown in FIG. 19G, in the store simulator 3B of "Store 1", the execution decision unit 33A decides that the simulation can be executed if the reception status corresponding to all objects is not "received" but the non-participation steps corresponding to the objects that are not "received" are equal to or greater than the current number of steps. Here, for the object linkage information 43, the message reception status corresponding to "person A" is "received", but the message reception status corresponding to "person B" is "not received". However, since the non-participation steps ("3600") corresponding to "person B" are equal to or greater than the current number of steps ("1"), the execution decision unit 33A decides that the next simulation can be executed (c130). As a result, even if the reception status corresponding to some objects is not "received", the execution decision unit 33A can execute the next simulation step without waiting for the non-participation steps to be received, thereby shortening the waiting time.

[0156] In the store simulator 3B for "Store 1", the simulator execution unit 34 executes one step of the simulation because the execution decision unit 33A has determined that the simulation can be executed (c131). Then, the simulator execution unit 34 updates the current step number of the simulation information 42 by 1 (c132).

[0157] 19H, for the object management unit 10 of "Person A," the non-participation step number determination unit 61 applies the non-participation rule 62 to each "non-participating" simulator 3 again while waiting for the simulation result. In this case, the target is "Store 1," for which no non-participation steps are set in the simulator cooperation information 23.

[0158] For example, the nonparticipation step number determination unit 61 determines that "Store 1" is the destination store and therefore does not match rule 1 of the nonparticipation rules 62. Next, if the vehicle is waiting to arrive at the destination store, the nonparticipation step number determination unit 61 determines that the vehicle matches rule 2 of the nonparticipation rules 62. Here, the destination store ID of the object internal information 25 is "Store 1" and the moving status is "moving", so the nonparticipation step number determination unit 61 determines that the vehicle matches rule 2 of the nonparticipation rules 62. Therefore, the nonparticipation step number determination unit 61 calculates the shortest number of steps from the current position to the store position as the nonparticipation step number based on rule 2 of the nonparticipation rules 62, and determines that the vehicle will not participate in the store simulator 3B of the destination store "Store 1" by the calculated number of steps. Here, the calculated number of nonparticipation steps (shortest number of steps) is assumed to be "50". Then, the non-participation step number determination unit 61 updates the non-participation steps for "Store 1" in the simulator cooperation information 23 to the determined number of non-participation steps "50" (c140).

[0159] As shown in FIG. 19I, for the object management unit 10 of "Person A," the non-participation step number determination unit 61 notifies the simulator 3B of "Store 1" via the transmission unit 17 of a non-participation message indicating that the simulator 3B will be non-participating for the non-participation step number of "50" (c150).

[0160] Then, in the store simulator 3B of "Store 1," the participation status setting unit 32A updates the non-participation step corresponding to "Person A" in the object collaboration information 43 to "50" (c151).

[0161] 19J, it is assumed that after a period of operation, the current number of steps has reached 50. The current number of steps in the simulation information 22 and 42 indicates "50".

[0162] As shown in FIG. 19J, in the traffic simulator 3A, the transmission unit 38 transmits the simulation results including the current position and movement status to the object management unit 10 of "person A" that is the destination determined by the transmission destination determination unit 35 (c160). When the execution decision unit 12 receives the simulation results from the participating traffic simulator 3A, it updates the result reception status corresponding to the simulator 3A in the simulator cooperation information 23 to "received" (c161). In addition, the execution decision unit 12 sets the current position and movement status included in the simulation results to the [traffic] current position and [traffic] movement status in the object internal information 25 (c162). Here, it is assumed that the [traffic] movement status is set to "moving".

[0163] Incidentally, when 50 steps have passed, "Person A" should not have arrived at the destination store, "Store 1", yet. This is because 50 steps is the shortest number of steps calculated using the non-participation rule 62. If a simulation result including "Arrival" as a movement state is received from the traffic simulator 3A, then the non-participation rule 62 will be incorrect. In such a case, the object management unit 10 will end with an error.

[0164] 19K, for the object manager 10 of "Person A," the execution decision unit 12 decides to execute the next logic process if the result receipt statuses corresponding to all participating simulators 3 are "received." In this case, the only participating simulator 3 is the traffic simulator 3A, and the result receipt status corresponding to the traffic simulator 3A is "received," so the execution decision unit 12 decides to execute the next logic process.

[0165] Then, the logic execution unit 13 updates the current execution position of the behavior logic to "2" and the current step number to "51" for the simulation information 22 (c170). Then, the logic execution unit 13 executes the second logic process of the behavior logic (c171). Here, the second logic process of "Waiting for arrival, has it arrived?" is executed. Then, the logic execution unit 13 decides to participate in the traffic simulator 3A based on the execution result of the logic process, and sets the participation status corresponding to the traffic simulator 3A in the simulator cooperation information 23 to "participate". In addition, the transmission destination determination unit 14A refers to the simulator cooperation information 23, determines the traffic simulator 3A whose participation status is "participate" as the transmission destination of the participation message, and updates the reception status to "not received".

[0166] Furthermore, the destination determination unit 14A refers to the simulation information 42 and the simulator cooperation information 23 and determines the simulator 3 whose participation status is "non-participation" and whose current number of steps exceeds the non-participation step as the destination of the non-participation message. Here, the current number of steps is "51" and the non-participation step corresponding to "Store 1" is "50", so the destination determination unit 14A determines the store simulator 3B of "Store 1" as the destination of the non-participation message (c172). In other words, since the current number of steps has exceeded the non-participation step for "Store 1", it is necessary to notify "Store 1" of the participation status again. Thereafter, the destination determination unit 14A sets the simulator cooperation information 23 to "-" to clear the reception status and non-participation step corresponding to "Store 1".

[0167] Then, the transmission unit 17 transmits a participation continuation message to the traffic simulator 3A that is the destination determined by the transmission destination determination unit 14A. Also, the transmission unit 17 transmits a non-participation continuation message to the store simulator 3B of "Store 1" that is the destination determined by the transmission destination determination unit 14A (c173).

[0168] In traffic simulator 3A that has received the participation continuation message from object manager 10 of "person A," participation status setting unit 32 updates the message reception status corresponding to "person A" in object collaboration information 43 to "received."

[0169] In the store simulator 3B of "Store 1" that has received the continued non-participation message from the object management unit 10 of "Person A," the participation status setting unit 32 updates the message receipt status corresponding to "Person A" in the object collaboration information 43 to "Received." In addition, the participation status setting unit 32 updates the non-participation step corresponding to "Person A" in the object collaboration information 43 to "-" (c174).

[0170] 19L, thereafter, for the object management units 10 of "Person A" and "Person B", the nonparticipation step number determination unit 61 applies the nonparticipation rule 62 to each "nonparticipating" simulator 3 again while waiting for the simulation result (c180). Then, if there is a match with the nonparticipation rule 62, the nonparticipation step number determination unit 61 determines nonparticipation in the corresponding store simulator 3B for the number of steps determined based on the nonparticipation rule 62, and notifies this via the transmission unit 17.

[0171] [Object management process flowchart] Here, a flowchart of the object management process executed by the object management unit 10 will be described with reference to Fig. 20. Fig. 20 is a diagram illustrating an example of a flowchart of the object management process according to the embodiment 2. It is assumed that the object management unit 10 receives an instruction to start simulation execution from the simulation execution management unit 5.

[0172] As shown in FIG. 20, upon receiving an instruction to start a simulation execution, the object manager 10 performs initial settings (step S51).

[0173] Then, the object manager 10 executes logic and determines whether to participate in, not participate in, or withdraw from the simulator 3 based on the execution result (step S52).

[0174] Next, the object management unit 10 executes steps S53 to S56 for each simulator 3. That is, the object management unit 10 refers to the simulator cooperation information 23 to determine the participation status (step S53). If the participation status is "participation" (step S53: participation), the object management unit 10 transmits a participation message to the corresponding simulator 3 and updates the reception status of the simulator cooperation information 23 to "not received" (step S54).

[0175] Also, if the participation status is “not participating” and the current step number is within the non-participating step number (step S53: not participating and within the non-participating step number), the object management unit 10 does not transmit anything (step S55). The current step number may be acquired from the simulation information 22. The non-participating step number may be acquired from the non-participating step corresponding to the relevant simulator 3 in the simulator cooperation information 23.

[0176] Furthermore, if the participation status is "not participating" (otherwise) (step S53; not participating (otherwise)), the object management unit 10 sends a non-participation message and clears the reception status and the non-participation step count (step S56). For example, if the participation status is "not participating" and no non-participation step is set, or if the participation status is "not participating" and the current number of steps exceeds the non-participation step count, the object management unit 10 sends a non-participation message to the relevant simulator 3. Then, the object management unit 10 sets the reception status and non-participation step corresponding to the relevant simulator 3 in the simulator cooperation information 23 to "-".

[0177] Then, when the object management unit 10 completes the determination of the participation status for each simulator 3, it determines whether or not the current step is equal to or greater than the number of simulation steps to determine the end (step S57). For example, the object management unit 10 acquires the current step number from the simulation information 22. Also, the object management unit 10 acquires the number of simulation steps from the overall information 21. Then, the object management unit 10 determines whether or not the current step number is equal to or greater than the number of simulation steps.

[0178] If it is determined that the current step is equal to or greater than the number of simulation steps (step S57; Yes), the object manager 10 ends the object management process.

[0179] On the other hand, if it is determined that the current step is less than the number of simulation steps (step S57; No), the object manager 10 executes a non-participation step number determination process (step S58). Note that a flowchart of the non-participation step number determination process will be described later.

[0180] Next, the object manager 10 waits for the simulation result from the simulator 3 (step S59A). The object manager 10 judges whether or not the simulation result has been received from the simulator 3 (step S59B). If it is judged that the simulation result has not been received from the simulator 3 (step S59B; No), the object manager 10 repeats the judgment process until the simulation result is received.

[0181] On the other hand, when it is determined that the simulation result has been received from the simulator 3 (step S59B; Yes), the object manager 10 stores the simulation result in the object internal information 25. In addition, the object manager 10 sets the reception status of the simulator cooperation information 23 to "received" (step S60).

[0182] Then, the object manager 10 judges whether or not the results of all the participating simulators 3 have been received (step S61). If it is judged that the results of all the participating simulators 3 have not been received (step S61; No), the object manager 10 proceeds to step S59A to receive the next simulation result.

[0183] On the other hand, if it is determined that the results of all participating simulators 3 have been received (step S61; Yes), the object manager 10 determines whether the current logic is a judgment process (step S61A). If it is determined that the current logic is not a judgment process (step S61A; No), the object manager 10 proceeds to step S52 to execute the next logic.

[0184] On the other hand, if it is determined that the current logic is a judgment process (step S61A; Yes), the object manager 10 refers to the object internal information 25 and determines whether or not the judgment process is satisfied (step S61B). If it is determined that the judgment process is not satisfied (step S61B; No), the object manager 10 proceeds to step S59A to receive the next simulation result.

[0185] On the other hand, if it is determined that the determination process is satisfied (step S61B; Yes), the object manager 10 proceeds to step S52 to execute the next logic.

[0186] [Flowchart of the process for determining the number of non-participation steps (when using the non-participation rule)] Fig. 21 is a diagram illustrating an example of a flowchart of the nonparticipation step number determination process according to the embodiment 2. Note that Fig. 21 illustrates a flowchart of the nonparticipation step number determination process when the nonparticipation rule 62 is used.

[0187] The object management unit 10 executes steps S71 to S76 for each simulator 3. That is, the object management unit 10 judges the participation status by referring to the simulator cooperation information 23 (step S71). If the participation status is "participating" or the non-participation step has been set (step S71; participating or the number of non-participation steps has been set), the object management unit 10 does nothing (step S72).

[0188] On the other hand, if the participation status is "non-participation" and no non-participation steps are set (step S71; non-participation and the number of non-participation steps is not set), the object management unit 10 applies each non-participation rule and calculates the number of non-participation steps (step S73). Then, the object management unit 10 judges whether the non-participation rule 62 has returned the number of non-participation steps (step S74). If it is judged that the non-participation rule 62 has not returned the number of non-participation steps (step S74; No), the object management unit 10 does nothing (step S72).

[0189] On the other hand, if it is determined that the non-participation rule 62 has returned the non-participation step number (step S74; Yes), the object management unit 10 records the non-participation step number in the simulator cooperation information 23 (step S75).Then, the object management unit 10 transmits a non-participation message indicating non-participation to the corresponding simulator 3 for the number of non-participation steps (step S76).

[0190] Then, when the object management unit 10 completes the execution of the processes of steps S71 to S76 for each simulator 3, it ends the nonparticipation step number determination process.

[0191] [Flowchart of the process for determining the number of non-participating steps (logic pre-reading)] Fig. 22 is a diagram illustrating another example of a flowchart of the nonparticipation step number determination process according to the embodiment 2. Note that Fig. 22 illustrates a flowchart of the nonparticipation step number determination process in the case where logic pre-reading for the logic of the object logic information 24 illustrated in Fig. 17 is used.

[0192] The object management unit 10 initializes the look-ahead information 63 (step S81). For example, when the predicted number of steps is "0" (present), "1" (start of movement) is set as the logic execution position, and "traffic" (present) indicating the traffic simulator 3A as the participating simulator is set in the look-ahead information 63. The logic execution position "1" indicates that the logic is "moving from home to the destination store using the traffic simulator."

[0193] Then, the object management unit 10 extracts a row with a predicted step number of "0" from the look-ahead information 63. The object management unit 10 executes logic for each row and records simulators 3 that may participate (step S82). At this time, if there are conditional branches in the logic, the object management unit 10 records all of them. For example, the object management unit 10 executes logic processing indicated by the logic execution position "1" of the row with the predicted step number of "0". Then, when the predicted step "1" has passed, if the simulation result is "waiting for arrival", the logic execution position remains at "2". The logic execution position "2" indicates the logic "waiting for arrival, has it arrived?". Therefore, in such a case, the participating simulator 3 has not yet been determined. If the simulation result arrives immediately, there is a possibility of moving to a store, so the logic execution position transitions to "3". The logic execution position "3" indicates the logic "purchase the item you want to buy at the store simulator". Therefore, in such a case, the participating simulator 3 becomes the "store".

[0194] Then, the object management unit 10 extracts lines with a predicted step number of "1" from the look-ahead information 63. The object management unit 10 executes the logic for each and records the simulators 3 that may participate (step S83). At this time, if there are conditional branches in the logic, the object management unit 10 records all of them.

[0195] Then, the object management unit 10 repeats the process for a preset number of steps (step S84). For example, the object management unit 10 adds 1 to the predicted number of steps. Then, the object management unit 10 extracts the rows of the predicted number of steps from the look-ahead information 63. The object management unit 10 executes logic for each row and records simulators 3 that may participate. The object management unit 10 repeats this process until the predicted number of steps reaches the preset number of steps.

[0196] Then, the object management unit 10 refers to the look-ahead information 63 and calculates, for each simulator 3, the number of steps in which it may participate for the first time. If the calculated number of steps is more than two steps ahead, the object management unit 10 records the number of steps in the non-participating step corresponding to the relevant simulator 3 in the simulator cooperation information 23 (step S85). Here, "Store 1" has the possibility of participating one step ahead. As a result, "Store 1" is not recorded in the number of non-participating steps. "Store 2" has no possibility of participating at least two steps ahead. As a result, "Store 2" is recorded in the number of non-participating steps up to the current number of steps + 2.

[0197] Then, when the object management unit 10 records the number of non-participation steps, it transmits a non-participation message indicating non-participation to the corresponding simulator 3 for the number of non-participation steps (step S86). Then, the object management unit 10 ends the non-participation step number determination process.

[0198] [Simulator management process flowchart] Here, a flowchart of the simulator management process executed by the simulator management unit 30 will be described with reference to Fig. 23. Fig. 23 is a diagram illustrating an example of a flowchart of the simulator management process according to Example 2. It is assumed that the simulator management unit 30 receives an instruction to start simulation execution from the simulation execution management unit 5.

[0199] As shown in FIG. 23, upon receiving an instruction to start a simulation execution, the simulator management unit 30 performs initial settings (step S91).

[0200] The simulator management unit 30 waits for a message of the object transmitted from the object management unit 10 (step S92). When the simulator management unit 30 receives a message, it determines the type of the message (step S93). When it determines that the type of the message is participation (step S93; participation), the simulator management unit 30 updates the participation status of the object collaboration information 43 to "participation" and updates the reception status to "received" (step S94). Then, the simulator management unit 30 proceeds to step S97.

[0201] Also, when it is determined that the type of the message is non-participation (or participation / withdrawal) (step S93; non-participation), the simulator management unit 30 updates the participation status of the object collaboration information 43 to "non-participation" and updates the reception status to "received" (step S95). Then, the simulator management unit 30 proceeds to step S97.

[0202] If the type of the message is determined to be "specified step non-participation" (step S93; specified step non-participation), the simulator management unit 30 updates the non-participation steps in the object collaboration information 43 to the specified number of steps (step S96). Then, the simulator management unit 30 proceeds to step S97.

[0203] In step S97, the simulator management unit 30 refers to the object collaboration information 43 and determines whether the receiving status of all objects is "received" or whether the non-participation step number is set to be equal to or greater than the current step number even if the receiving status of all objects is not "received" (step S97). If it is determined that the receiving status of any object is not "received" and the non-participation step number of the object that is not "received" has not been set (step S97; No), the simulator management unit 30 proceeds to step S92 to wait for the next message.

[0204] On the other hand, if it is determined that the reception status of all objects is "received", or that even if not received, the number of non-participation steps is set to be equal to or greater than the current number of steps (step S97; Yes), the simulator management unit 30 performs the following process. The simulator management unit 30 executes a simulation and updates the current number of steps in the simulation information 42 (step S98). That is, even if the reception status corresponding to all objects is not "received", the simulator management unit 30 executes a simulation if the non-participation steps corresponding to objects that have not been received are equal to or greater than the current number of steps. This allows the simulator management unit 30 to execute the next step of the simulation without waiting for the reception of only the non-participation steps, even if the reception status corresponding to some objects is not "received", thereby shortening the waiting time.

[0205] Then, the simulator management unit 30 judges whether the current step is equal to or greater than the number of simulation steps to judge whether to end the simulation (step S99). For example, the simulator management unit 30 acquires the current step number from the simulation information 22. Also, the simulator management unit 30 acquires the number of simulation steps from the overall information 21. Then, the simulator management unit 30 judges whether the current step number is equal to or greater than the number of simulation steps.

[0206] If it is determined that the current step is equal to or greater than the number of simulation steps (step S99; Yes), the simulator management unit 30 ends the simulator management process.

[0207] On the other hand, if it is determined that the current step is less than the number of simulation steps (step S99; No), the simulator management unit 30 transmits the simulation results to all participating objects (step S100). Then, the simulator management unit 30 sets the message reception status of all objects in the object collaboration information 43 to "unreceived" (step S101). Then, the simulator management unit 30 proceeds to step S97.

[0208] [Effects of Example 2] According to the above-mentioned second embodiment, the object management unit 10 determines non-participation and the non-participation period for some simulators 3 among the multiple simulators 3 based on a predetermined method. The object management unit 10 transmits information about non-participation for the non-participation period to the determined simulators 3, and stores information about non-participation for the non-participation period in the participation status storage unit for the simulator 3. Then, the object management unit 10 does not transmit target data to the determined simulator 3 for the non-participation period. According to this configuration, the object management unit 10 can reduce communication costs by not transmitting data to the simulator 3 for the non-participation period.

[0209] According to the second embodiment, the simulator 3 that has received the information that it will not participate during the non-participation period executes a simulation without waiting for the reception of data from the target during the non-participation period. With this configuration, the simulator 3 can execute the next step of the simulation without waiting for data from the target during the non-participation period, thereby shortening the waiting time.

[0210] Moreover, according to the above-mentioned second embodiment, the predetermined method uses a non-participation rule that uses the attributes of the target to acquire a specific non-participating simulator 3 and a non-participation period. According to this configuration, the object management unit 10 can acquire a non-participating simulator 3 and a non-participation period by using the non-participation rule. As a result, the object management unit 10 can execute the next logic without waiting for the simulation result of the non-participating simulator 3, and the waiting time can be shortened. Also, the simulator 3 can execute the simulation of the next step without waiting for data from the target for the non-participation period, and the waiting time can be shortened.

[0211] Moreover, according to the above-mentioned second embodiment, a non-participation rule is used to acquire a specific non-participating simulator 3 and a non-participation period using the target's position information obtained from the first simulator 3. According to this configuration, the object management unit 10 can acquire a non-participating simulator 3 and a non-participation period by using the non-participation rule. As a result, the object management unit 10 can execute the next logic without waiting for the simulation result of the non-participating simulator 3, and the waiting time can be shortened. Also, the simulator 3 can execute the next step simulation without waiting for data from the target during the non-participation period, and the waiting time can be shortened.

[0212] Moreover, according to the above-mentioned second embodiment, the predetermined method acquires a specific non-participating simulator 3 and a non-participation period by using the result of pre-reading the logic. With this configuration, the object management unit 10 can acquire a non-participating simulator 3 and a non-participation period without using a non-participation rule. As a result, the object management unit 10 can execute the next logic without waiting for the simulation result of the non-participating simulator 3, and the waiting time can be shortened. Also, the simulator 3 can execute the next step simulation without waiting for data from the target during the non-participation period, and the waiting time can be shortened.

[0213] [others] In the above-mentioned first and second embodiments, each component of the data control device 1 does not necessarily have to be physically configured as shown in the drawings. That is, the specific form of distribution and integration of the data control device 1 is not limited to that shown in the drawings, and all or part of it can be functionally or physically distributed and integrated in any unit according to various loads, usage conditions, etc. Also, a storage unit (not shown) that stores information such as the overall information 21 may be connected via a network as an external device of the data control device 1. Furthermore, it is also possible to place the object management unit 10 on a cloud, and a user can connect to the cloud from a terminal or the like via a network to use the processing executed by the object management unit 10. In this way, the processing of the present invention can be provided as a service.

[0214] Moreover, the various processes described in the above embodiments can be realized by executing a prepared program on a computer such as a personal computer or a workstation. Therefore, an example of a computer that executes a data control program that realizes the same functions as the object manager 10 shown in Fig. 1 will be described below. Fig. 24 is a diagram showing an example of a computer that executes a data control program.

[0215] 24, the computer 200 has a CPU (Central Processing Unit) 203 that executes various arithmetic processes, an input device 215 that accepts data input from a user, and a display device 209. The computer 200 also has a drive device 213 that reads programs and the like from a storage medium, and a communication I / F (Interface) 217 ​​that transmits and receives data to and from other computers via a network. The computer 200 also has a memory 201 that temporarily stores various information, and a HDD (Hard Disk Drive) 205. The memory 201, the CPU 203, the HDD 205, the display device 209, the drive device 213, the input device 215, and the communication I / F 217 are connected by a bus 219.

[0216] The drive device 213 is, for example, a device for the removable disk 211. The HDD 205 stores a data control program 205a and data control processing related information 205b. The communication I / F 217 manages the interface between the network and the inside of the device, and controls the input and output of data from other computers. For example, a modem or a LAN adapter can be used as the communication I / F 217.

[0217] The display device 209 is a display device that displays a cursor, an icon, a tool box, and data such as documents, images, function information, etc. The display device 209 can be, for example, a liquid crystal display or an organic EL (Electroluminescence) display.

[0218] The CPU 203 reads out the data control program 205a, expands it in the memory 201, and executes it as a process. Such a process corresponds to each functional unit of the object management unit 10. The data control processing related information 205b includes, for example, overall information 21, simulation information 22, simulator cooperation information 23, object logic information 24, and object internal information 25. For example, a removable disk 211 stores each piece of information such as the data control program 205a.

[0219] It should be noted that the data control program 205a does not necessarily have to be stored in the HDD 205 from the beginning. For example, the program may be stored in a "portable physical medium" such as a flexible disk (FD), CD-ROM, DVD disk, magneto-optical disk, or IC card that is inserted into the computer 200. The computer 200 may then read out and execute the data control program 205a from the medium.

[0220] Furthermore, the data control method performed by the data control device 1 described in the first and second embodiments above is applicable to social simulations used in, for example, local governments and transportation infrastructure. [Explanation of symbols]

[0221] 1 Data control device 3. Simulator 5 Simulation execution control section 9 Data Control System 10 Object Management Section 11,31 Initial setting section 12, 33, 33A Execution decision section 13 Logic execution unit 14, 14A, 35 Destination determination unit 15,36 End judgment section 16,37 Receiver 17,38 Transmitter 21,41 General Information 22,42 Simulation Information 23 Simulator Collaboration Information 24 Object Logic Information 25 Object Internal Information 30 Simulator Management Department 32, 32A Participation Status Setting Section 34 Simulator Execution Department 43 Object Linkage Information 61 Non-participation step number determination unit 62 Non-Participation Rules Information 63 Pre-reading information

Claims

1. A data control method for linking data between a plurality of simulators, comprising the steps of: A control unit that controls data linkage Executes logic sequentially based on the action logic that describes the target action, when a notification is received from a first simulator that the object has moved to a predetermined position in response to execution of a specific logic, determining whether to transmit data of the object to a second simulator or a third simulator using pre-stored attributes of the object; Transmitting the data of the target to the simulator determined to transmit the data of the target A data control method, characterized in that processing is executed by a computer.

2. The process of executing the logic includes: transmitting to the first simulator a participation in the first simulator according to the contents of the logic, and retaining the participation in the first simulator in a participation status storage unit that stores a participation status of the target with respect to each simulator; When the first simulator notifies the user that the target has moved to a predetermined position, if the simulator results have been notified from all simulators that are held to participate in the participation status, the following logic is executed.

2. The data control method according to claim 1.

3. determining non-participation and non-participation periods for some simulators among the plurality of simulators based on a predetermined method; transmitting to the determined simulator information indicating that the simulator will not participate during the non-participation period, and storing information indicating that the simulator will not participate during the non-participation period in the participation status storage unit; During the non-participation period, data of the target is not transmitted to the determined simulator.

3. The data control method according to claim 2.

4. The simulator that has received the information that the simulator will not participate during the non-participation period executes a simulation without waiting for reception of the target data until the non-participation period.

4. The data control method according to claim 3.

5. The predetermined method uses non-participation rules that use the attributes of the target to obtain a particular simulator that is non-participating and a non-participation period.

4. The data control method according to claim 3.

6. The predetermined method uses a non-participation rule to obtain a specific simulator that is non-participating and a non-participation period using the location information of the target obtained from the first simulator.

4. The data control method according to claim 3.

7. The predetermined method uses the result of looking ahead at the logic to obtain a specific simulator that is not participating and a period of non-participation.

4. The data control method according to claim 3.

8. A data control program for linking data between a plurality of simulators, Executes logic sequentially based on the action logic that describes the target action, when a notification is received from a first simulator that the object has moved to a predetermined position in response to execution of a specific logic, determining whether to transmit data of the object to a second simulator or a third simulator using pre-stored attributes of the object; Transmitting the data of the target to the simulator determined to transmit the data of the target A data control program that causes a computer to execute a process.

Citation Information

Patent Citations

  • Simulation apparatus, method for the same, and program

    US20160132778A1

  • Simulation device and method, and program

    WO2015008791A1

  • Simulation device and simulation method

    JP2011107962A