Data control method and data control program

The data control method simplifies the management of dynamic simulator collaborations in social simulations by using behavior logic to determine data transmission paths, addressing the complexity of frequent updates and changes in control logic, and enhancing the efficiency of data management and simulation execution.

WO2024180942A1PCT designated stage expired Publication Date: 2024-09-06FUJITSU LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2024/001681
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-01
Filing Date
2024-01-22
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

In social simulations, the dynamic nature of collaboration between multiple simulators requires frequent updates and changes in control logic, making it time-consuming and effort-intensive to manage data linkage and control across different simulators.

Method used

A data control method and program that uses a control unit to execute logic based on behavior logic, determining the appropriate simulator for data transmission dynamically, allowing for easier creation and updating of controls by coordinating data linkage between multiple simulators.

Benefits of technology

This approach simplifies the process of creating and updating controls in each simulator, enabling efficient data management and simulation execution by determining the correct data transmission paths based on the behavior logic, thus reducing the complexity of managing dynamic collaboration in social simulations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024001681_06092024_PF_FP
    Figure JP2024001681_06092024_PF_FP
Patent Text Reader

Abstract

[Problem] To facilitate the work of, e.g., creating and updating controls described in each simulator. [Solution] A data control device 1 successively executes logics on the basis of a behavioral logic describing the 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 shop simulator 3B or a second shop simulator 3B. The data control device 1 transmits the data of the object to the shop simulator 3B to which the data of the object has been determined to be transmitted. The processing by the data control device 1 may be applied to a social simulation involving a local government or a traffic infrastructure, for example.
Need to check novelty before this filing date? Find Prior Art

Description

Data control method and data control program

[0001] The present invention relates to a data control method and a data control program.

[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 simulations used to study social science issues, and is used to verify in advance what will happen if a policy is implemented in society.

[0003] Furthermore, the Function Mock-up Interface (FMI) is 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 in automobile design by integrating the simulators that reproduce the engine and steering behavior of an automobile.

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

[0005] Also, a technology has been disclosed that enables an overall simulation by linking multiple different simulators (see, for example, Patent Document 1). In this technology, an integrated simulator system connected to multiple simulation devices acquires part information indicating the 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.

[0006] JP 2011-107962 A

[0007] However, when it comes to collaboration between simulations in social simulations, the collaboration destination changes depending on the state of the data being collaborated, and often also changes depending on the policies being simulated, etc. This creates a problem of time-consuming work involved in creating and updating the controls described in each simulator that executes 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 depending on the state of the linked data, and the linked destination often changes depending on the measures being simulated.

[0009] One aspect of the present invention is to facilitate tasks such as creating and updating controls described in each simulator.

[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 that describes the behavior of the 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 determines whether to send the data of the target to a second simulator or a third simulator using pre-stored attributes of the target, 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.

[0011] According to one embodiment, it is possible to easily create and update the control described in each simulator.

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

[0013] Hereinafter, embodiments of the data control method and data control program disclosed in the present application will be described in detail with reference to the accompanying drawings. However, the present invention is not limited to the embodiments.

[0014] [Functional Configuration of Data Control System] FIG. 1 is a block diagram illustrating an example of the functional configuration of a data control system according to a first embodiment. As illustrated in FIG. 1, the data control system 9 includes a data control device 1, multiple simulators 3, and a simulation execution management unit 5. The data control device 1 receives a simulation execution start instruction from the simulation execution management unit 5 and coordinates data among the multiple simulators 3. The data control device 1 executes logic for each target based on logic (behavior) associated with the target, and performs tasks such as participation, withdrawal (non-participation), and data transmission for each simulator 3 according to the execution results. That is, the data control device 1 has logic (behavior) for each target and coordinates data among the multiple simulators 3 based on the logic for 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, simulating the time required for movement and road congestion. The store simulator simulates, for example, the behavior of objects (people) in the store using a state transition model, and reproduces the inventory status and waiting queues of products in the store.

[0015] Here, an image of the data control method according to Example 1 will be described with reference to Figures 2A and 2B. Figures 2A and 2B are diagrams showing an image of the data control method according to Example 1. In Figures 2A and 2B, the target 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 about person A and information about person B. Assume 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, according to the execution results, requests the traffic simulator 3A and the store simulator 3B to participate, requests the traffic simulator 3A to leave participation, and transmits other data to the traffic simulator 3A and the store simulator 3B. The data control device 1 also executes logic based on the logic (behavior) associated with person B, and, according to the execution results, requests the traffic simulator 3A and the store simulator 3B to participate, requests the traffic simulator 3A to leave participation, and transmits other data to the traffic simulator 3A and the store simulator 3B.

[0018] Here, for example, the data control device 1 executes a process in the logic "Go to a store" for person A, and requests the traffic simulator 3A to participate and move (S1). At this time, the data control device 1 maintains "Participate in simulator A" as 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 the participation (S3). At this time, the data control device 1 maintains "Not participating in simulator A" as the state associated with person A. In addition, the data control device 1 selects the store simulator 3B as the destination to which data is to be sent in accordance with person A's attributes, and requests the store simulator 3B to participate and buy bread (S4). At this time, the data control device 1 maintains "Participate in simulator B" as 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 participation requests, leave requests, and other data to the traffic simulator 3A and the store simulator 3B according to the execution results.

[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 the description easier. In other words, it becomes easier to create and update the control described in each simulator 3. In addition, it becomes possible to consistently describe the behavior of objects as logic, making it easier to create and update the logic.

[0020] 2B shows the timing for advancing the processing within the logic. For each person, the data control device 1 executes the next processing within the logic when the simulator results have been notified from all simulators 3 whose participation is recorded.

[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. Then, assume that the execution of simulator b (3B) has completed.

[0022] Then, when the data control device 1 receives a simulation result notification from simulator b (3B) for person B, it executes the processing in the next logic since it has received notification of the simulator results 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 processing in the next logic without waiting for the completion of simulator a.

[0023] This allows the data control device 1 to proceed with 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 Data Control Device] Returning to FIG. 1 , the data control device 1 includes an object management unit 10. An 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 participation requests, withdrawal (non-participation) requests, and other data to each simulator 3 according to the execution results. The object management unit 10 includes an initial setting unit 11, an execution determination unit 12, a logic execution unit 13, a destination determination unit 14, a termination 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 now 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 in the simulation performed by the data control system 9. The number of steps refers to a period of time, and is expressed in seconds, for example. The object ID list is a list of IDs that uniquely identify the target objects. The simulator ID list is a list of IDs that uniquely identify the simulator 3 that performs 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" refers to, for example, a traffic simulator. "Store a" and "Store b" refer to, for example, store simulators.

[0027] Returning to FIG. 1 , the simulation information 22 is information that manages the current execution position of logic for an object and the current number of steps in the simulation. An example of the simulation information 22 will now be described with reference to FIG. 4 . FIG. 4 is a diagram illustrating 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 the logic. The current number of steps is the current number of steps in the 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 illustrating an example of simulator cooperation information according to the first embodiment. As shown in Fig. 5 , the simulator cooperation information 23 is information that associates a participation status, a result reception status, and a non-participation step 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 that a simulator is participating, or "not participating" indicating that a simulator is not participating. 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 that a simulator has received the result, or "not received" indicating that a simulator has not received the result. The non-participation step is information indicating the number of steps during which a simulator 3 is not participating, if any. Note that the non-participation step is not used in Example 1.

[0030] Returning to FIG. 1 , the object logic information 24 is information about logic that describes the behavior of an object. In other words, the object logic information 24 is information that describes 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 behavior 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 indicates 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 behavior logic of the person moves from home to the destination store using the traffic simulator (execution position 1). The behavior logic then executes a process to determine whether the person has arrived while waiting for the arrival (execution position 2). If it determines that the person has not arrived (execution position 2: No), the behavior logic repeats the process until the person has arrived. On the other hand, if it determines that the person has arrived (execution position 2: Yes), the behavior logic purchases the desired item in the store simulator (execution position 3). The behavior logic then executes a process to determine whether the person has left the store while waiting to leave (execution position 4). If it determines that the person has not left the store (execution position 4: No), the behavior logic repeats the process until the person has left the store. On the other hand, if it determines that the person has left the store (execution position 4: Yes), the behavior logic moves from the store to home using the traffic simulator (execution position 5). The behavior logic then determines whether the person has arrived while waiting for the arrival (execution position 6). If it determines that the person has not arrived (execution position 6: No), the behavior logic repeats the process until the person has arrived. On the other hand, if it is determined that the user has arrived (execution position 6: Yes), the human behavior logic ends. 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 [transportation] current location, and a [transportation] 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 the item 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 "in movement," which indicates that the object is moving to the destination, or "arrived," which indicates that the object has arrived at the destination. The [traffic] current location and [traffic] movement status are set 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 results sent 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 simulation execution from the simulation execution management unit 5, it sets the current execution position and the current step count in the simulation information 22 to the initial values ​​"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 "not participating" and the result receipt information to the initial value "-". Then, the initial setting unit 11 sets the current position and movement status in the object internal information 25 to the initial value "-".

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

[0037] As a result, the execution decision unit 12 can proceed with logic processing without waiting for the receipt of simulation results from the non-participating simulator 3, thereby efficiently progressing 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 determination unit 12 determines that the next logic process should be executed, the logic execution unit 13 executes the next logic process. Then, the logic execution unit 13 determines whether to participate in, not participate in, or withdraw from participation in the simulator 3 based on the execution result.

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

[0040] The termination determination unit 15 determines the termination of the simulation in the multiple simulators 3. For example, the termination determination unit 15 acquires the current step number from the simulation information 22. The termination determination unit 15 also 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 termination determination unit 15 determines to terminate the simulation. If the current step number is less than the simulation step number, the termination determination 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 retention information 26 for the object in association with the simulator 3. The receiving unit 16 is realized by, for example, a network interface card (NIC) or the like.

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

[0043] [Functional Configuration of Simulator] 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 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 the overall definition of the simulation performed by the data control system 9. 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 number of steps in a simulation for the simulator 3. The simulation information 42 is information that associates a simulation ID with the current number of steps. The simulation ID is an ID that uniquely identifies the simulator 3 that executes the simulation. The current number of steps is the current number of steps in a simulation for the simulator 3.

[0046] The object collaboration information 43 is information that manages 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 that associates a participation status, a message reception status, and a non-participation step 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 reception, or "not received" indicating not reception. The non-participation step is information indicating the number of steps, if any, 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 sent from the data control device 1 as received data.

[0049] 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 count 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. 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 "participating" and sets the message reception status to "received." 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 "not participating" and sets the message reception status to "received."

[0051] The execution decision unit 33 decides whether to execute a simulation. For example, the execution decision unit 33 decides to execute a simulation if the reception status corresponding to all objects has been received. The execution decision unit 33 decides not to execute a simulation if the reception status corresponding to any object has not yet been received.

[0052] The simulator execution unit 34 executes a simulation specific to the simulator 3. For example, when the execution determination unit 33 determines that a simulation should be executed, the simulator execution unit 34 executes the simulation.

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

[0054] The termination determination unit 36 ​​determines the termination of the simulation specific to the simulator 3. For example, the termination determination unit 36 ​​acquires the current step number from the simulation information 42. The termination determination unit 36 ​​also 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 termination determination unit 36 ​​determines to terminate the simulation. If the current step number is less than the simulation step number, the termination determination unit 36 ​​continues the simulation.

[0055] The receiving unit 37 receives various messages transmitted from each object manager 10. The receiving unit 37 then associates the various received messages with the objects indicated by the object manager 10 and stores them in the received data retention information 44. 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 results to the object management unit 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 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 simulation execution. The timing of the instruction to start simulation execution may be when a start instruction is received from a system administrator, or may be when a predetermined time arrives.

[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. The data control between simulators 3 shown in Fig. 9 is for the 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 the 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.” Furthermore, with regard to 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.” There is also one traffic simulator 3A with an ID of “Traffic.” The objects of “Person A” and “Person B” are assumed to operate according to the same logic. The same logic as that shown in FIG. 6 is applied to each object, 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 their initial states. That is, the simulation information 22 for the object “Person A” has “0” set as the current execution position and “0” as the current step count. Regarding the simulator cooperation information 23 for the object “Person A,” the participation status for each simulator is set to “not participating,” and the result receipt status for each simulator is set to “-.” The simulation information 42 and object collaboration information 43 in each of the simulators 3A and 3B are in their initial states. That is, the current step count 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 manager 10 of "Person A," the logic execution unit 13 receives a simulation execution start instruction from the simulation execution manager 5. Then, the logic execution unit 13 sets the current execution position of the behavior logic to "1" and the current step count 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, "Move from home to destination store using traffic simulator," is executed. Then, the logic execution unit 13 determines participation 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 linkage information 23 to "Participate." Additionally, the destination determination unit 14 references the simulator linkage information 23, determines the traffic simulator 3A, whose participation status is "Participate," as the 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 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.

[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 non-participation messages to the destination store simulators 3B of "store 1" and "store 2" determined by the destination determination unit 14 (c5, c6).

[0063] In traffic simulator 3A, which has received the participation message from object manager 10 for "person A," participation status setting unit 32 sets the participation status corresponding to "person A" in object collaboration information 43 to "participating" and sets the message receipt status to "received" (c7). Traffic simulator 3A then adds "person A" to the simulation body, and stores the location 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] 10C, 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 collaboration 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 receipt status to "received." The traffic simulator 3A then 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 the store simulator 3B for "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 receipt status to "received." In the store simulator 3B for "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 receipt status to "received."

[0067] 10D , in the traffic simulator 3A and the store simulators 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 determines 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). Additionally, the simulator execution unit 34 updates the current step count in 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 step number in the simulation information 42 to "1" (c15). 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 destination determination unit 35 refers to the object collaboration information 43 and determines the objects whose participation status is "participating" as destinations of the simulation results, and updates the reception status from "received" to "not received." Here, the destination determination unit 35 determines "person A" and "person B" whose participation status is "participating" as 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 transmitting 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 transmitting 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 for "Store 1" and the store simulator 3B for "Store 2" do not participate in the objects of "person A" and "person B," and therefore do not transmit anything.

[0071] When the execution decision unit 12 of the object management unit 10 of "person A" receives a simulation result from a participating traffic simulator 3A, it updates the result reception status corresponding to that 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 result to the [traffic] current position and [traffic] movement status in the object internal information 25 (c24). 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 manager 10 of "Person A," the execution decision unit 12 determines to execute the next logic process if the result reception status corresponding to all participating simulators 3 indicates "received." In this case, the execution decision unit 12 determines to execute the next logic process because the only participating simulator 3 is traffic simulator 3A and the result reception status corresponding to traffic simulator 3A indicates "received." In other words, if the execution decision unit 12 has received simulation results from the participating simulator 3, it determines to execute the next logic process without waiting for the reception of simulation results from the other simulators 3.

[0073] The logic execution unit 13 then updates the current execution position of the behavior logic in the simulation information 22 from "1" to "2" and updates the current step count from "1" to "2" (c30). The logic execution unit 13 then executes the second logic process of the behavior logic (c31). Here, the second logic process, "Waiting for arrival, has it arrived?", is executed. Based on the execution result of the logic process, the logic execution unit 13 determines participation in the traffic simulator 3A and updates the participation status corresponding to the traffic simulator 3A in the simulator linkage information 23 to "participating." Furthermore, the destination determination unit 14, with reference to the simulator linkage information 23, determines the traffic simulator 3A, whose participation status is "participating," as the destination of the participation message and updates the reception status to "not received" (c32). Furthermore, with reference to the simulator linkage information 23, the destination determination unit 14 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.

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

[0075] In the traffic simulator 3A, which receives the participation continuation 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" (c36).

[0076] 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" (c37). In the store simulator 3B of "Store 2," 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."

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

[0078] In the traffic simulator 3A, the destination determination unit 35 refers to the object collaboration information 43 and determines the objects whose participation status is "participating" as the destinations of the simulation results, and updates the message reception status to "not received." Here, the destination determination unit 35 determines "person A" and "person B" whose participation status is "participating" as the destinations of the simulation results, 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," 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," the destination determined by the transmission destination determination unit 35 (c42). Note that the store simulator 3B for "store 1" and the store simulator 3B for "store 2" do not participate in the objects of "person A" and "person B," and therefore do not transmit anything.

[0080] 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 linkage information 23 to "received" (c43) for the object management unit 10 of "person A." 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 as the [traffic] movement status. 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 manager 10 of "Person A," the execution decision unit 12 determines to execute the next logic process if the result reception status corresponding to all participating simulators 3 is "received" and the current logic process is a judgment process and the judgment process condition is satisfied. In this case, the only participating simulator 3 is traffic simulator 3A, and the result reception status corresponding to traffic simulator 3A is "received." In addition, the current logic process is a judgment process asking "Waiting for arrival, have you arrived?", but since the movement status for the destination "Store 1" has become "Arrived," the judgment process condition is satisfied. Therefore, the execution decision unit 12 determines to execute the next logic process (c50).

[0082] The logic execution unit 13 then updates the current execution position of the behavior logic in the simulation information 22 from "2" to "3" and updates the current step count from "60" to "61" (c51). The logic execution unit 13 then executes the third logic process of the behavior logic (c52). Here, the second logic process, "Purchase the desired item at the store simulator," is executed. The logic execution unit 13 then determines whether to participate in or withdraw 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 references the simulator cooperation information 23, determines the traffic simulator 3A, whose participation status is "not participating," as the destination of the participation and 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 target store based on the execution result of the logic processing, and updates the participation status corresponding to the store simulator 3B of "Store 1" to "participating" in the simulator cooperation information 23. The target store is set in the object internal information 25. In addition, the transmission destination determination unit 14 refers to the simulator cooperation information 23 and determines the store simulator 3B of "Store 1" whose participation status is "participating" as the transmission destination of the participation message, and updates the reception status to "not received" (c54).

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

[0085] In the traffic simulator 3A, which 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 reception status to "Received" (c58).

[0086] In the store simulator 3B of "Store 1," which has received the participation message from the object management unit 10 of "Person A," the participation status setting unit 32 performs the following processing. 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 reception status to "Received" (c59). In the store simulator 3B of "Store 2," 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."

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

[0088] [Flowchart of Object Management Processing] Here, a flowchart of the object management processing 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 processing according to Example 1. 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, the object manager 10, upon receiving an instruction to start the simulation execution, performs initial settings (step S11).

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

[0091] Next, the object manager 10 determines the participation status of each simulator 3 by referring to the simulator cooperation information 23 (step S13). If the participation status is "Participating" (step S13: Participating), the object manager 10 sends a participation message to the corresponding simulator 3 and updates the reception status of the simulator cooperation information 23 to "Not Receiving" (step S14).

[0092] On the other hand, if the participation status is "not participating" (step S13: not participating), the object management unit 10 sends a non-participation (or participation / withdrawal) message to the corresponding simulator 3 and clears the reception status of the simulator collaboration information 23 (step S15).

[0093] Then, when the object manager 10 has completed determining the participation status for each simulator 3, it determines whether the current step is equal to or greater than the number of simulation steps to determine whether to terminate (step S16). For example, the object manager 10 acquires the current step number from the simulation information 22. The object manager 10 also acquires the number of simulation steps from the overall information 21. Then, the object manager 10 determines whether 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 results from the simulator 3 (step S17A). The object manager 10 determines whether or not the simulation results have been received from the simulator 3 (step S17B). If it is determined that the simulation results have not been received from the simulator 3 (step S17B; No), the object manager 10 repeats the determination process until the simulation results are received.

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

[0097] Then, the object manager 10 determines whether or not the results of all participating simulators 3 have been received (step S19). If it is determined that the results of all 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 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] [Flowchart of Simulator Management Processing] Here, a flowchart of the simulator management processing 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 processing according to Example 1. 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 the 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 sent 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 the reception status to "received" (step S24). Then, the simulator management unit 30 proceeds to step S26.

[0104] On the other hand, if the simulator management unit 30 determines that the type of message is "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).The simulator management unit 30 then proceeds to step S26.

[0105] In step S26, the simulator management unit 30 determines whether the reception status of all objects is set to "received" (step S26). If it is determined 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 number of steps in the simulation information 42 (step S27).

[0107] Then, the simulator management unit 30 determines whether the current step is equal to or greater than the number of simulation steps to determine whether to end the simulation (step S28). For example, the simulator management unit 30 acquires the current step number from the simulation information 22. The simulator management unit 30 also acquires the number of simulation steps from the overall information 21. The simulator management unit 30 then determines 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).The simulator management unit 30 then updates the message reception status of all objects in the object collaboration information 43 to "not received" (step S30).The simulator management unit 30 then proceeds to step S26.

[0110] [Flowchart of Simulation Execution Management Processing] Here, a flowchart of the simulation execution management processing 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 processing according to Example 1. It is assumed that the simulation execution management unit 5 receives a start instruction from the 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 this, each simulator management unit 30 waits 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 determines whether or not all of the object management units 10 and simulator management units 30 have been completed (step S45). If it is determined that all of the object management units 10 and simulator management units 30 have not been completed (step S45; No), the simulation execution management unit 5 repeats the determination process until all of the object management units 10 and 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] Effect of First Embodiment According to the first embodiment, when linking data between multiple simulators 3, the object manager 10 sequentially executes logic based on behavior logic that describes the behavior of the target (object). When the object manager 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 manager 10 determines whether to send the target data to the second simulator 3 or the third simulator 3, using pre-stored attributes of the target. Then, the object manager 10 transmits the target data to the simulator 3 that has been determined to receive the target data. With this configuration, the object manager 10 links data between multiple simulators 3 using behavior logic. This eliminates the need to set control in the simulators 3 when there are multiple destinations, thereby facilitating tasks such as updating the control.

[0116] Furthermore, according to the first embodiment, the object management unit 10 transmits to the first simulator 3 a notification that the object will participate in the first simulator 3 in accordance with the contents of the logic, and retains the participation status for the first simulator 3 in a participation status storage unit that stores the participation status of the object for each simulator 3. When the object management unit 10 is notified by the first simulator that the object 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 retained. With this configuration, the object management unit 10 can proceed with the logic without waiting for a notification from a non-participating simulator 3, thereby efficiently progressing the target logic.

[0117] In the data control device 1 according to the first embodiment, the object manager 10 executes the next logic process if it has received the result reception status corresponding to all participating simulators 3. That is, if the object manager 10 has received simulation results for a target object from participating simulators 3, it executes the next logic process without waiting for the reception of simulation results from non-participating simulators 3. However, the object manager 10 is not limited to this. It may determine non-participation and non-participation periods for simulators 3 based on a predetermined method and notify the non-participation periods to simulators 3 determined not to participate. The notified simulators 3 may then execute the next simulation step during the non-participation period without waiting for the reception of a message from the object manager 10.

[0118] Therefore, in the second embodiment, the object management unit 10 determines whether a simulator 3 will not participate and the period of non-participation based on a predetermined method, and notifies the non-participation period to the simulator 3 that has been determined not to participate. The notified simulator 3 then executes the next simulation step during the non-participation period without waiting for a message from the object management unit 10.

[0119] Here, an image of a data control method according to Example 2 will be described with reference to Fig. 14. Fig. 14 is a diagram showing an image of the data control method according to Example 2. In Fig. 14, the target 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 Figure 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 results. 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 results.

[0121] Furthermore, 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 that simulator 3 that it will not participate for 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] 14, simulator a (3A), which has been notified by person B's object manager 10 that it will not participate until at least step 5, does not need to wait until step 5 to receive a message from person B's object manager 10, and executes the next simulation step after receiving a message from person A's object manager 10. Simulator a (3A) then notifies person A's object manager 10 of the simulation results.

[0123] Here, the predetermined method may be a method of acquiring non-participation and a non-participation period for a specific simulator 3 using a predetermined non-participation rule (Method 1), or a method of acquiring non-participation and a non-participation period for a specific simulator 3 by pre-reading logic associated with an object (Method 2).

[0124] FIG. 15 is a block diagram showing an example of the functional configuration of a data control system according to a second embodiment. Regarding the functional configuration of a 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 denoted by the same reference numerals, and descriptions of the overlapping configurations and operations will be omitted. The first embodiment differs from the second embodiment in that a non-participation step number determination unit 61, non-participation rule information 62, and pre-read information 63 are added to the object management unit 10. The first embodiment differs from the second embodiment in that the destination determination unit 14 is changed to a destination determination unit 14A. The first embodiment differs 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 each 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 simulators 3 of a nonparticipation message indicating that they will not participate 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 steps 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 simulators 3 whose participation status is "participating" 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 simulators 3 whose participation status is "not participating" and whose current number of steps is within the non-participation step number as simulators 3 to which the message will not be sent. The destination determination unit 14A also determines 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 simulators 3 whose participation status is "not participating" and no non-participation step is set or simulators 3 whose participation status is "not participating" and whose current number of steps exceeds the non-participation step number as the destination of the message indicating non-participation.

[0127] The participation status setting unit 32A sets the participation status for an object. For example, the participation status setting unit 32A waits for various messages from the object management unit 10. 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 object in the object collaboration information 43 to "participate" and sets the message reception status to "received." 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 object in the object collaboration information 43 to "not participate" and sets the message reception status to "received." When the participation status setting unit 32A receives a non-participation message from the object management unit 10 indicating non-participation equal to the number of non-participation steps, it sets the non-participation step corresponding to the object in the object collaboration information 43 to the received number of non-participation steps.

[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 reception status corresponding to all objects has been received. Furthermore, even if the reception status corresponding to all objects has not been received, the execution decision unit 33A decides to execute a simulation if the number of non-participating steps corresponding to the objects that have not been received is 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 reception of only the non-participating steps, even if the reception status corresponding to some objects has not been received, thereby shortening the waiting time.

[0129] [Example of Determining the Number of Non-Participating Steps] Fig. 16 is a diagram illustrating an example of determining the number of non-participating steps according to the second embodiment. The example in Fig. 16 illustrates a case where the number of non-participating steps is determined using a non-participating rule 62 (method 1). The non-participating rule 62 may be created in advance by a simulation designer. For example, the simulation designer uses internal information (25) of an object to create a program that creates the non-participating rule 62 that indicates the conditions for not participating in the simulator 3.

[0130] In the example shown in FIG. 16 , rule 1 of the non-participation rule 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 references the target store ID (d1) in the object internal information 25 based on rule 1 of the non-participation rule 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 in the overall information 21.

[0131] Furthermore, rule 2 of the non-participation rules 62 is set as follows: "If waiting to arrive at a store, 1. calculate the distance between the current location and the store location, 2. estimate the minimum 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 references the movement status, current location, and store location in the object internal information 25, and if the movement status (d2) is "moving," calculates the minimum number of steps from the current location (d4) and the store location (d3). Then, the non-participation step number determination unit 61 determines non-participation in the store simulator (3) of the destination store by the calculated minimum number of steps.

[0132] [Another Example of Determining the Number of Non-Participation Steps] FIG. 17 is a diagram illustrating another example of determining the number of non-participation steps according to the second embodiment. The example in FIG. 17 illustrates a case where the number of non-participation steps is determined by pre-reading the logic associated with the object (Method 2). FIG. 17 illustrates object logic information 24 (abbreviated as logic) for "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 using the traffic simulator." The object management unit 10 then participates in the traffic simulator 3A and waits for the simulation results. While waiting for the simulation results, the non-participation step number determination unit 61 of the object management unit 10 uses logic to verify possible patterns when the simulation results are returned. Here, the verification result for one step (e.g., one second) ahead is as follows: For "Store 1," it is possible to wait for the arrival of the simulation results or to arrive at the store (possibly participating), so it is necessary to wait for the simulation results. 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 determining unit 61 verifies possible patterns such as one step ahead, two steps ahead, etc. from the logic execution at the current execution position, and determines the non-participating simulators 3 and the number of non-participating steps.

[0133] 18 is a diagram showing a specific example of a non-participation rule according to Example 2. Rule 1 of the non-participation rule 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 also 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] Furthermore, rule 2 of the non-participation rules 62 shown in FIG. 18 indicates that for each simulator 3, "if 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 number of steps means non-participation to the destination store."

[0135] [Example of Data Control] Here, an example of data control according to Example 2 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 Example 2. Note that here, it is assumed that the non-participation step number determination unit 61 applies the non-participation rule 62. Furthermore, it is assumed that the object represented by "Person A" moves to "Store 1" and buys "prepared bread," and the object represented by "Person B" moves to "Store 2" and buys "vegetables."

[0136] Steps c1 to c8 in FIGS. 19A and 19B are the same as those in FIGS. 10B and 10C, and are therefore designated by the same reference numerals. As shown in FIG. 19A, for the object manager 10 of "Person A," the logic execution unit 13 receives a simulation execution start instruction from the simulation execution manager 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 count to "1" (c1). The logic execution unit 13 then executes the first logic process of the behavior logic (c2). Here, the first logic process, "Move from home to destination store using traffic simulator," is executed. Based on the execution results of the logic process, the logic execution unit 13 then determines participation in the traffic simulator 3A. The logic execution unit 13 then sets the participation status corresponding to the traffic simulator 3A in the simulator linkage information 23 to "Participate." 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 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 non-participation messages to the destination store simulators 3B of "Store 1" and "Store 2" determined by the destination determination unit 14 (c5, c6).

[0138] In traffic simulator 3A, which has received the participation message from object manager 10 for "person A," participation status setting unit 32A sets the participation status corresponding to "person A" in object collaboration information 43 to "participating" and sets the message receipt status to "received" (c7). Traffic simulator 3A then adds "person A" to the simulation body, and stores the location information of the departure point and destination of "person A" in the simulation body.

[0139] In the store simulator 3B of "Store 1", which 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", which 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] 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 "participating" and sets the message receipt status to "received." The traffic simulator 3A then 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 for "Store 1," the participation status setting unit 32A sets the participation status corresponding to "person B" in the object collaboration information 43 to "not participating" and sets the message receipt status to "received." In the store simulator 3B for "Store 2," the participation status setting unit 32A sets the participation status corresponding to "person B" in the object collaboration information 43 to "not participating" and sets the message receipt status to "received."

[0142] 19C , 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 while waiting for the simulation results. That is, the non-participation step number determination unit 61 determines whether there is a non-participating simulator 3 without waiting for the simulation results. For example, the non-participation step number determination unit 61 references the destination store ID in the object internal information 25 based on rule 1 of the non-participation rule 62 and determines not to participate in store simulators 3B other than the destination store. In this case, since the destination store ID in the object internal information 25 is "Store 1," it is determined that non-participation will occur in store simulators 3B indicated by "Store 2" other than "Store 1." At this time, the non-participation step number determination unit 61 determines the number of non-participation steps as the number of simulation steps in the overall information 21. In this case, the number of simulation steps in the overall information 21 is "3600," so 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, "Store 2" matches rule 1 of the non-participation rules 62, so the object management unit 10 of "Person A" will not participate in simulator 3B of "Store 2" until the set "3600" steps. Note that the non-participation step number determination unit 61 is not yet in a waiting state for arrival (on the move), so it does not match rule 2 of the non-participation rules 62.

[0143] Similarly, for the object manager 10 of "person B," the non-participation step number determiner 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 non-participation step number determination unit 61 notifies the simulator 3B of "Store 2" of a non-participation message indicating that the person will be absent for the non-participation step number "3600" via the transmission unit 17 (c102). Similarly, for the object management unit 10 of "Person B," the non-participation step number determination unit 61 notifies the simulator 3B of "Store 1" of a non-participation message indicating that the person will be absent for the non-participation 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-participating 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-participating step corresponding to "Person A" in the object collaboration information 43 to "3600."

[0146] 19E is the same processing as in FIG. 10E. As shown in FIG. 19E, in the traffic simulator 3A, the destination determination unit 35 refers to the object collaboration information 43 and determines the objects whose participation status is "participating" as destinations of the simulation results, and updates the reception status from "received" to "not received." Here, the destination determination unit 35 determines "person A" and "person B" whose participation status is "participating" as destinations of the simulation results, 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," 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," the destination determined by the transmission destination determination unit 35 (c112). Note that the store simulator 3A for "store 1" and the store simulator 3B for "store 2" do not participate in the objects of "person A" and "person B," and therefore do not transmit anything.

[0148] When the execution decision unit 12 of the object management unit 10 of "person A" receives the simulation results from the participating traffic simulator 3A, it updates the result reception status corresponding to that 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). 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 determines to execute the next logic process if the result reception status corresponding to all participating simulators 3 is "received." In this case, the execution decision unit 12 determines to execute the next logic process because the only participating simulator 3 is traffic simulator 3A and the result reception status corresponding to traffic simulator 3A is "received."

[0150] The logic execution unit 13 then 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). The logic execution unit 13 then executes the second logic process of the behavior logic (c121). Here, the second logic process, "Waiting for arrival, has it arrived?", is executed. The logic execution unit 13 then 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 linkage information 23 to "participating." In addition, the transmission destination determination unit 14 references the simulator linkage information 23, determines the traffic simulator 3A, whose participation status is "participating," as the 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] The transmitting unit 17 then transmits a participation continuation message to the traffic simulator 3A, which is the destination determined by the destination determining unit 14A (c123). The transmitting unit 17 also transmits a non-participation continuation message to the store simulator 3B of "Store 1", which is the destination determined by the destination determining unit 14A (c124).

[0153] In the traffic simulator 3A, which receives the participation continuation 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" (c125).

[0154] In the store simulator 3B of "Store 1," which has received a message of continued non-participation 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 for "Store 1," the execution decision unit 33A determines that a simulation can be executed if the reception status corresponding to all objects is not "received" but the number of non-participating steps corresponding to the objects that have not been received is equal to or greater than the current number of steps. Here, for the object collaboration 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, because the number of non-participating steps ("3600") corresponding to "Person B" is equal to or greater than the current number of steps ("1"), the execution decision unit 33A determines that the next simulation can be executed (c130). This allows the execution decision unit 33A to execute the next simulation step without waiting for the non-participating steps to be received, even if the reception status corresponding to some objects is not "received," thereby shortening the waiting time.

[0156] In the store simulator 3B of "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).The simulator execution unit 34 then updates the current step number in 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 again applies the non-participation rule 62 to each “non-participating” simulator 3 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 non-participation step number determination unit 61 determines that "Store 1" is the destination store and therefore does not match rule 1 of the non-participation rules 62. Next, if the object is waiting to arrive at the destination store, the non-participation step number determination unit 61 determines that rule 2 of the non-participation rules 62 matches. Here, the destination store ID in the object internal information 25 is "Store 1" and the movement status is "moving," so the non-participation step number determination unit 61 determines that rule 2 of the non-participation rules 62 matches. Therefore, based on rule 2 of the non-participation rules 62, the non-participation step number determination unit 61 calculates the shortest number of steps from the current location to the store location as the number of non-participation steps, and determines that the number of steps equals the number of non-participation steps to be the destination store, "Store 1," and that the store simulator 3B will not participate in the store simulator 3B for the calculated number of steps. Here, the calculated number of non-participation steps (shortest number of steps) is assumed to be "50." Then, the non-participation step number determining section 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 Figure 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 not participate for the non-participation step number "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] 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," the destination determined by the transmission destination determination unit 35 (c160). For 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 that simulator 3A in the simulator linkage information 23 to "Received" (c161). Additionally, 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, the [traffic] movement status is set to "moving."

[0163] It should be noted that after 50 steps have passed, "Person A" should not have arrived at the destination store, "Store 1." This is because 50 steps is the minimum 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, 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 management unit 10 of "Person A," the execution decision unit 12 determines to execute the next logic process if the result reception status corresponding to all participating simulators 3 is "received." In this case, the execution decision unit 12 determines 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."

[0165] The logic execution unit 13 then updates the current execution position of the behavior logic in the simulation information 22 to "2" and the current step count to "51" (c170). The logic execution unit 13 then executes the second logic process of the behavior logic (c171). Here, the second logic process, "Waiting for arrival, has it arrived?", is executed. The logic execution unit 13 then 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 linkage information 23 to "participating." In addition, the transmission destination determination unit 14A references the simulator linkage information 23, determines the traffic simulator 3A, whose participation status is "participating," as the transmission destination of the participation message, and updates the reception status to "not received."

[0166] Furthermore, the destination determination unit 14A references the simulation information 42 and the simulator cooperation information 23 and determines the simulator 3 whose participation status is "not participating" and whose current number of steps exceeds the non-participation step as the destination of the non-participation message. In this case, 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 exceeds the non-participation step for "Store 1," the participation status needs to be notified to "Store 1" 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 transmitting unit 17 transmits a participation continuation message to the traffic simulator 3A that is the destination determined by the destination determining unit 14A. The transmitting unit 17 also transmits a non-participation continuation message to the store simulator 3B of "Store 1" that is the destination determined by the destination determining unit 14A (c173).

[0168] In the traffic simulator 3A, which receives a participation continuation 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."

[0169] 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 receipt status corresponding to "Person A" to "Received" in the object collaboration information 43. 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 , for the object management units 10 of "Person A" and "Person B," the non-participation step number determination unit 61 then applies the non-participation rule 62 to each "non-participating" simulator 3 again while waiting for the simulation results (c180). Then, if a match is found with the non-participation rule 62, the non-participation step number determination unit 61 determines that the corresponding store simulator 3B will not participate for the number of steps determined based on the non-participation rule 62, and notifies this via the transmission unit 17.

[0171] [Flowchart of Object Management Processing] Here, a flowchart of the object management processing executed by the object management unit 10 will be described with reference to Fig. 20. Fig. 20 is a diagram showing an example of a flowchart of the object management processing according to Example 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, the object manager 10 performs initial settings (step S51).

[0173] Then, the object manager 10 executes the 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 manager 10 executes steps S53 to S56 for each simulator 3. That is, the object manager 10 determines the participation status by referring to the simulator cooperation information 23 (step S53). If the participation status is "participating" (step S53: participating), 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 S54).

[0175] If the participation status is "not participating" and the current number of steps is within the number of non-participating steps (step S53: not participating and within the number of non-participating steps), the object management unit 10 does not send anything (step S55). The current number of steps may be acquired from the simulation information 22. The number of non-participating steps may be acquired from the non-participating steps 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 number of non-participation steps (step S56). For example, if the participation status is "not participating" and no non-participation steps have been set, or if the participation status is "not participating" and the current number of steps exceeds the number of non-participation steps, 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 steps corresponding to the relevant simulator 3 in the simulator cooperation information 23 to "-".

[0177] Then, when the object manager 10 has completed determining the participation status for each simulator 3, it determines whether the current step is equal to or greater than the number of simulation steps to determine whether to terminate (step S57). For example, the object manager 10 acquires the current step number from the simulation information 22. The object manager 10 also acquires the number of simulation steps from the overall information 21. Then, the object manager 10 determines whether 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 process for determining the number of non-participating steps (step S58). The flowchart of the process for determining the number of non-participating steps 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 determines whether or not the simulation result has been received from the simulator 3 (step S59B). If it is determined that the simulation result has not been received from the simulator 3 (step S59B; No), the object manager 10 repeats the determination process until the simulation result is received.

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

[0182] Then, the object manager 10 determines whether or not the results of all participating simulators 3 have been received (step S61). If it is determined that the results of all 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 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 Non-Participation Step Number Determination Process (When Non-Participation Rule is Used)] Fig. 21 is a diagram illustrating an example of a flowchart of non-participation step number determination process according to Example 2. Note that Fig. 21 describes a flowchart of non-participation step number determination process when non-participation rule 62 is used.

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

[0188] On the other hand, if the participation status is "not participating" and no non-participation steps have been set (step S71; not participating and the number of non-participation steps has not been set), the object management unit 10 applies each non-participation rule and calculates the number of non-participation steps (step S73).The object management unit 10 then determines whether the non-participation rule 62 has returned the number of non-participation steps (step S74).If it is determined 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 number of non-participation steps (step S74; Yes), the object management unit 10 records the number of non-participation steps in the simulator cooperation information 23 (step S75).Then, the object management unit 10 transmits a non-participation message to the corresponding simulator 3 indicating that the simulator 3 will not participate by the number of non-participation steps (step S76).

[0190] Then, when the object manager 10 has completed the execution of the processes of steps S71 to S76 for each simulator 3, it ends the non-participating step number determination process.

[0191] [Flowchart of Non-Participating Step Number Determination Process (Logic Pre-Reading)] Fig. 22 is a diagram illustrating another example of a flowchart of the non-participating step number determination process according to Example 2. Note that Fig. 22 describes a flowchart of the non-participating step number determination process when logic pre-reading is used for the logic of the object logic information 24 shown in Fig. 17 .

[0192] The object management unit 10 initializes the look-ahead information 63 (step S81). For example, if the predicted number of steps is "0" (current), the logic execution position is set to "1" (start of movement) and "traffic" (current), which indicates 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 "travel from home to the destination store using the traffic simulator."

[0193] The object manager 10 then extracts rows with a predicted step count of "0" from the look-ahead information 63. The object manager 10 executes the logic for each row and records the simulators 3 that may participate (step S82). At this time, if the logic has conditional branches, the object manager 10 records all of them. For example, suppose the object manager 10 executes the logic processing indicated by the logic execution position "1" in the row with a predicted step count of "0." Then, after the predicted step "1" has elapsed, 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 that the simulator 3 will move to a store, so the logic execution position transitions to "3." The logic execution position "3" indicates the logic "Purchase the desired item at the store simulator." Therefore, in such a case, the participating simulator 3 will be the "store."

[0194] The object manager 10 then extracts rows with a predicted step count of "1" from the look-ahead information 63. The object manager 10 executes the logic for each row and records the simulators 3 that may participate (step S83). At this time, if the logic has conditional branches, the object manager 10 records all of them.

[0195] The object manager 10 then repeats this process for a preset number of steps (step S84). For example, the object manager 10 adds 1 to the predicted number of steps. The object manager 10 then extracts the rows with the predicted number of steps from the look-ahead information 63. The object manager 10 executes logic for each row and records the simulators 3 that have the potential to participate. The object manager 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 later. 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 has recorded 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).The object management unit 10 then ends the non-participation step number determination process.

[0198] [Flowchart of Simulator Management Processing] Here, a flowchart of the simulator management processing 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 processing 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 the 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 sent 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 the reception status to "received" (step S94). Then, the simulator management unit 30 proceeds to step S97.

[0201] If the simulator management unit 30 determines that the type of 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).The simulator management unit 30 then proceeds to step S97.

[0202] If the simulator management unit 30 determines that the type of message is designated step non-participation (step S93; designated step non-participation), the simulator management unit 30 updates the non-participation steps in the object collaboration information 43 to the designated 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 reception status of all objects is "received" or whether, 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). If it is determined that the reception status of any object is not "received" and the number of non-participation steps of the object that has not been received is not 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 indicates "received," or that even if not all objects have been received, the number of non-participation steps set is 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 has not been "received," the simulator management unit 30 executes a simulation as long as 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 non-participation steps to be received, even if the reception status corresponding to some objects has not been "received," thereby shortening the waiting time.

[0205] Then, the simulator management unit 30 determines whether the current step is equal to or greater than the number of simulation steps to determine whether to end the simulation (step S99). For example, the simulator management unit 30 acquires the current step number from the simulation information 22. The simulator management unit 30 also acquires the number of simulation steps from the overall information 21. The simulator management unit 30 then determines 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).The simulator management unit 30 then sets the message reception status of all objects in the object collaboration information 43 to "not received" (step S101).The simulator management unit 30 then proceeds to step S97.

[0208] Effect of Second Embodiment According to the second embodiment, the object management unit 10 determines non-participation and the non-participation period for some simulators 3 out of a plurality of simulators 3 based on a predetermined method. The object management unit 10 transmits information to the determined simulators 3 that the simulators 3 will not participate for the non-participation period, and stores information that the simulators 3 will not participate for the non-participation period in the participation status storage unit. The object management unit 10 then does not transmit target data to the determined simulators 3 for the non-participation period. With this configuration, the object management unit 10 can reduce communication costs by not transmitting data to the simulators 3 for the non-participation period.

[0209] Furthermore, according to the second embodiment, the simulator 3 that has received the information that it will not participate during the non-participation period executes the 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 reducing the waiting time.

[0210] Furthermore, according to the second embodiment, the predetermined method uses a non-participation rule that uses the attributes of the target to acquire specific non-participating simulators 3 and their non-participation periods. With this configuration, the object management unit 10 can acquire non-participating simulators 3 and their non-participation periods by using the non-participation rule. As a result, the object management unit 10 can execute the next logic without waiting for the simulation results of the non-participating simulators 3, thereby shortening the wait time. Furthermore, the simulators 3 can execute the next step of simulation without waiting for data from the target during the non-participation period, thereby shortening the wait time.

[0211] Furthermore, according to the second embodiment, a non-participation rule is used to acquire specific non-participating simulators 3 and their non-participation periods using target location information obtained from the first simulator 3. With this configuration, the object management unit 10 can acquire non-participating simulators 3 and their non-participation periods by using the non-participation rule. As a result, the object management unit 10 can execute the next logic without waiting for the simulation results of the non-participating simulators 3, thereby shortening the wait time. Furthermore, the simulator 3 can execute the next step of simulation without waiting for data from the target during the non-participation period, thereby shortening the wait time.

[0212] Furthermore, according to the second embodiment, the predetermined method acquires specific non-participating simulators 3 and their non-participation periods using the results of logic pre-reading. This configuration allows the object management unit 10 to acquire non-participating simulators 3 and their non-participation periods without using non-participation rules. As a result, the object management unit 10 can execute the next logic without waiting for the simulation results of the non-participating simulators 3, thereby shortening the wait time. Furthermore, the simulators 3 can execute the next step of simulation without waiting for data from the target during the non-participation period, thereby shortening the wait time.

[0213] [Others] In the first and second embodiments, the components of the data control device 1 shown in the drawings do not necessarily have to be physically configured as shown. In other words, the specific distribution and integration of the data control device 1 is not limited to the illustrated configuration. All or part of the data control device 1 can be functionally or physically distributed and integrated in any unit depending on various loads, usage conditions, etc. Furthermore, a storage unit (not shown) that stores information such as the overall information 21 may be connected to the data control device 1 as an external device via a network. Furthermore, the object management unit 10 can be placed on a cloud, and users can connect to the cloud via a network from a terminal or the like 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] 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] As shown in Figure 24, computer 200 has a CPU (Central Processing Unit) 203 that executes various types of arithmetic processing, an input device 215 that accepts data input from a user, and a display device 209. 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 exchanges data with other computers via a network. Computer 200 also has a memory 201 that temporarily stores various types of information, and an HDD (Hard Disk Drive) 205. Memory 201, CPU 203, HDD 205, display device 209, drive device 213, input device 215, and 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 serves as an interface between the network and the inside of the device, and controls the input and output of data from other computers. The communication I / F 217 can be, for example, a modem or a LAN adapter.

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

[0218] The CPU 203 reads the data control program 205a, expands it in the memory 201, and executes it as a process. These processes correspond to the various functional units of the object management unit 10. The data control processing related information 205b includes, for example, overall information 21, simulation information 22, simulator linkage information 23, object logic information 24, and object internal information 25. A removable disk 211, for example, 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 and execute the data control program 205a from such a medium.

[0220] Furthermore, the data control method performed by the data control device 1 described in the first and second embodiments can be applied to social simulations used by local governments and transportation infrastructure, for example.

[0221] REFERENCE SIGNS LIST 1 Data control device 3 Simulator 5 Simulation execution control unit 9 Data control system 10 Object management unit 11, 31 Initial setting unit 12, 33, 33A Execution decision unit 13 Logic execution unit 14, 14A, 35 Destination determination unit 15, 36 End determination unit 16, 37 Reception unit 17, 38 Transmission unit 21, 41 Overall information 22, 42 Simulation information 23 Simulator collaboration information 24 Object logic information 25 Object internal information 30 Simulator management unit 32, 32A Participation status setting unit 34 Simulator execution unit 43 Object collaboration information 61 Non-participation step number determination unit 62 Non-participation rule information 63 Look-ahead information

Claims

1. A data control method for linking data between multiple simulators, characterized in that a control unit that controls the data linking executes sequential logic based on behavior logic that describes the behavior of the target, and when a specific logic is executed and a notification is received from a first simulator that the target has moved to a specified position, determines whether to send the data of the target to a second simulator or a third simulator using pre-stored attributes of the target, and transmits the data of the target to the simulator determined to receive the data of the target.

2. The data control method according to claim 1, characterized in that the process of executing the logic includes transmitting to the first simulator a request to participate in the first simulator in accordance with the contents of the logic, and retaining the target's participation in the participation status for the first simulator in a participation status storage unit that stores the target's participation status for each simulator, and when notified by the first simulator that the target has moved to a specified position, executing the next logic if simulator results have been notified from all simulators that have been retained as participating in the participation status.

3. The data control method according to claim 2, further comprising: determining non-participation and non-participation periods for some simulators among the plurality of simulators based on a predetermined method; transmitting information indicating non-participation for the non-participation periods to the determined simulators; and storing information indicating non-participation for the non-participation periods in the participation status storage unit for the simulators; and not transmitting the target data to the determined simulator for the non-participation periods.

4. The data control method according to claim 3, characterized in that the simulator, having received information that it will not participate during the non-participation period, executes a simulation without waiting for receipt of the target data until the non-participation period.

5. The data control method according to claim 3, wherein the predetermined method uses a non-participation rule that uses attributes of the target to obtain a specific simulator that is non-participating and a non-participation period.

6. The data control method according to claim 3, characterized in that the predetermined method uses a non-participation rule that uses the target location information obtained from the first simulator to obtain a specific simulator that is not participating and a non-participation period.

7. The data control method according to claim 3, wherein the predetermined method uses the results of looking ahead at the logic to obtain a specific simulator that is not participating and a period of non-participation.

8. A data control program for linking data between multiple simulators, the data control program causing a computer to execute the following processes: sequentially execute logic based on behavior logic describing the behavior of a target; when a first simulator notifies the computer that the target has moved to a specified position in response to the execution of a specific logic, determine whether to send data of the target to a second simulator or a third simulator using pre-stored attributes of the target; and transmit the data of the target to the simulator determined to receive the data of the target.

9. The data control program according to claim 8, characterized in that the process of executing the logic includes transmitting to the first simulator a participation in the first simulator in accordance with the contents of the logic, and retaining the participation in the participation status for the first simulator in a participation status storage unit that stores the participation status of the target for each simulator, and when notified by the first simulator that the target has moved to a specified position, executing the next logic if simulator results have been notified from all simulators that are retained as participating in the participation status.

10. A data control program as claimed in claim 9, wherein said processing includes: determining non-participation and non-participation period for some simulators among said plurality of simulators based on a predetermined method; transmitting information about non-participation for the non-participation period to the determined simulators, and storing information about non-participation for the non-participation period in the participation status storage unit for said simulator; and not transmitting said target data to said determined simulator for the non-participation period.

11. The data control program according to claim 10, characterized in that the simulator, having received information that it will not participate during the non-participation period, executes a simulation without waiting for receipt of the target data until the non-participation period.

12. The data control program according to claim 10, wherein the predetermined method uses a non-participation rule that uses attributes of the target to obtain a specific simulator that is non-participating and a non-participation period.

13. The data control program according to claim 10, characterized in that the predetermined method uses a non-participation rule that uses the target location information obtained from the first simulator to obtain a specific simulator that is not participating and a non-participation period.

14. The data control program according to claim 10, wherein the predetermined method uses the results of looking ahead at the logic to obtain a specific simulator that is not participating and a period of non-participation.

Citation Information

Patent Citations

  • Simulation device and simulation method

    JP2011107962A

  • Simulation device and method, and program

    WO2015008791A1