Data linkage method and data linkage program

By adaptively switching the data reading mode in the connector, the efficiency and resource shortage of data links between digital twin systems are solved, and efficient and timely data transmission and utilization are achieved.

JP2025014713APending Publication Date: 2025-01-30FUJITSU LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023117485
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-07-19
Publication Date
2025-01-30

Smart Images

  • Figure 2025014713000001_ABST
    Figure 2025014713000001_ABST
Patent Text Reader

Abstract

To provide a data linkage method and a data linkage program that adaptively select a data reading mode.SOLUTION: A data linkage method between a first digital twin system and a second digital twin system is executed by a connector disposed as a computer between an application program that is in the same group as a first digital twin system and a second digital twin system that is in a different group from the first digital twin system. The data linkage method executes processing in which a first reading mode and a second reading mode are switched on the basis of a relationship between a request interval at which the application program requests data from the connector and an update interval of the second digital twin system, which is the destination of the data read by the connector.SELECTED DRAWING: Figure 7
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a data linking method and a data linking program. [Background technology]

[0002] A distributed simulation system in which multiple simulators are connected is known (see, for example, Patent Document 1). The distributed simulation system includes a system in which multiple sub-simulators are linked via a network for the purpose of improving the calculation capacity in a simulation. The distributed simulation system may be, for example, a system in which simulators operated by individuals are linked via a network to execute a virtual simulation in which many people participate.

[0003] In addition to distributed simulation systems, digital twin systems are also known, which digitize the real world and map it onto a virtual world, allowing you to grasp and analyze the virtual world from a bird's-eye view as data. Digital twin systems collect large amounts of data from the ever-changing real world, and virtually construct and reproduce the real world in cyberspace. By using digital twin systems, virtual cities, people, and events can be reproduced, making it possible to realize large-scale simulations. For example, it is possible to avoid congestion and improve delivery efficiency by utilizing the location data of large amounts of vehicles. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2023-005741 A Summary of the Invention [Problem to be solved by the invention]

[0005] Incidentally, digital twin systems may be constructed on an organizational basis. For example, digital twin systems may be constructed by both public and private organizations. When digital twin systems are constructed by different organizations, it is often difficult to link the data managed by each digital twin system due to organizational differences. As a result, there are fewer opportunities to share data between digital twin systems.

[0006] Connectors that support data integration in such cases where different organizations are involved may be used. A connector is a software interface such as an API (Application Programming Interface), and can be implemented by a computer. By using a connector, for example, an application program (hereinafter referred to as an app as appropriate) that belongs to the same organization as a digital twin system that belongs to a public organization can obtain data from a digital twin system that belongs to a private organization via the connector.

[0007] Here, from the time when the app requests data from the connector to the time when the data is obtained from the connector, the connector is assumed to read data from the digital twin system in one of two types of read modes. For example, a first read mode is assumed in which the connector reads data from the digital twin system every time data is requested from the app. Also, a second read mode is assumed in which the connector reads data from the digital twin system before the data is requested from the app.

[0008] However, when the first read mode is used, since the data is not prepared in the connector in advance, it may take a long time from when the application requests data from the connector to when the data is obtained from the connector. On the other hand, when the second read mode is used, since data is accumulated in the connector, there is a risk of the connector's storage resources (specifically, available storage capacity) becoming insufficient.

[0009] Therefore, in one aspect, an object of the present invention is to provide a data linking method and a data linking program that adaptively select a data read mode. [Means for solving the problem]

[0010] In one embodiment, the data linkage method is a data linkage method between a first digital twin system and a second digital twin system, executed by a connector placed as a computer between an application program in the same group as a first digital twin system and a second digital twin system in a different group from the first digital twin system, and the data linkage method executes processing to switch between a first read mode and a second read mode based on the relationship between a request interval at which the application program requests data from the connector and the update interval of the second digital twin system from which the connector reads the data. Effect of the Invention

[0011] The data reading mode can be adaptively selected. [Brief description of the drawings]

[0012] [Figure 1] 1 is an example of a data linkage system. [Diagram 2] 2 is an example of a hardware configuration of a connector. [Diagram 3] 4 is an example of a functional configuration of a connector. [Figure 4] 1 is an example of position data. [Diagram 5] 1A is an example of a management table, and FIG. 1B is another example of a management table. [Figure 6] FIG. 13 is an example of a processing sequence diagram of a pre-read mode. [Figure 7] 13A is a flowchart illustrating an example of a process executed by a connector, and FIG. [Figure 8]FIG. 13 is an example of a process sequence diagram of a read-each-time mode. [Figure 9] 11 is an example of a process sequence diagram illustrating switching from a pre-read mode to a read-each-time mode. [Figure 10] FIG. 13 is an example of a process sequence diagram illustrating switching from a read-as-you-go mode to a read-ahead mode. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

[0014] 1, the data linkage system ST includes a first digital twin system 10, a second digital twin system 20, a server 100, and a connector 200. Both the first digital twin system 10 and the second digital twin system 20 are computer systems that collect large amounts of data from the ever-changing real world and virtually construct and reproduce the real world in cyberspace.

[0015] Although details will be described later, for example, the second digital twin system 20 collects position data of multiple vehicles traveling within a certain area, such as a city, and accumulates and manages the data in a second DB (Data Base) 21 provided in the second digital twin system 20. Then, the second digital twin system 20 virtually constructs and reproduces the vehicle's driving conditions in the real world in cyberspace based on the position data managed in the second DB 21. Although not shown, the second digital twin system 20 may also be provided with a specified DB that manages the vehicle's driving distance.

[0016] The server 100 includes the application 110. In other words, the application 110 is installed in the server 100. The application 110 executes a predetermined process. For example, the application 110 calculates the amount of carbon dioxide emitted from the vehicle within the above-mentioned area based on the vehicle's position data as the predetermined process. Here, when the vehicle is located on the road, the vehicle is assumed to be traveling. When the vehicle is located in a garage or parking lot, the vehicle is assumed to be stopped.

[0017] Therefore, when application 110 determines that a vehicle is located on a road based on the position data and map data, it calculates the amount of carbon dioxide emissions in the area by multiplying the unit emission amount emitted by each vehicle by the number of vehicles located in the area. After calculating the amount of carbon dioxide emissions, application 110 stores and manages emission data indicating the amount of carbon dioxide emissions in first DB11 provided in first digital twin system 10.

[0018] The first digital twin system 10 and the server 100 (specifically, the app 110) are connected via a communication network NW1. The second digital twin system 20 and the connector 200 are connected via a communication network NW2. The server 100 (specifically, the app 110) and the connector 200 are connected via a communication network NW3. Therefore, the app 110 cannot directly access the second digital twin system 20 without going through the connector 200.

[0019] The communication networks NW1, NW2, and NW3 each include at least one of a LAN (Local Area Network), a WAN (Wide Area Network), and the Internet. For example, the communication networks NW1 and NW2 may be LANs, and the communication network NW3 may be the Internet.

[0020] Here, the first digital twin system 10, the server 100, and the communication network NW1 all belong to the same first group G1. The second digital twin system 20, the connector 200, and the communication network NW2 all belong to the same second group G2. However, the first group G1 and the second group G2 are different.

[0021] For example, the first group G1 is a public organization or a public group, and the second group G2 is a private organization or a private group. As a specific example, the first group G1 is an administration or a government agency that manages the amount of carbon dioxide emitted by vehicles. As described above, the emission amount data representing the amount of carbon dioxide emission is accumulated and managed in the first DB11 provided in the first digital twin system 10. On the other hand, the second group G2 is businesses that manufacture and sell vehicles, businesses that rent out vehicles for a fee or free of charge, etc. The vehicles may be four-wheeled vehicles, or two-wheeled vehicles including e-scooters and electric kickboards. As described above, the position data representing the position of such vehicles is accumulated and managed in the second DB21 provided in the second digital twin system 20.

[0022] In this way, in the case where the first group G1 and the second group G2 are different, in data federation between the first digital twin system 10 and the second digital twin system 20, the connector 200 is used to improve the opportunities for utilizing data. The connector 200 includes a software interface such as an API, and can be realized by a computer. By using the connector 200, the application 110 belonging to the first group G1 can obtain the position data of the second digital twin system 20 belonging to the second group G2 via the connector 200.

[0023] Next, the hardware configuration of the connector 200 will be described with reference to Fig. 2. Note that the hardware configurations of the first digital twin system 10, the second digital twin system 20, and the server 100 are basically the same as the hardware configuration of the connector 200, so detailed description will be omitted.

[0024] The connector 200 includes a CPU (Central Processing Unit) 200A as a processor, and a RAM (Random Access Memory) 200B and a ROM (Read Only Memory) 200C as memories. The RAM 200B includes a DRAM (Dynamic RAM) and an SRAM (Static RAM). The SRAM may be included in the CPU 200A. The connector 200 includes a network I / F (Interface) 200D and an HDD (Hard Disk Drive) 200E. An SSD (Solid State Drive) may be used instead of the HDD 200E.

[0025] The connector 200 may include at least one of an input I / F 200F, an output I / F 200G, an input / output I / F 200H, and a drive device 200I, as necessary. The CPU 200A to the drive device 200I are connected to each other by an internal bus 200J. In other words, the connector 200 can be realized by a computer.

[0026] An input device 710 is connected to the input I / F 200F. Examples of the input device 710 include a keyboard, a mouse, and a touch panel. A display device 720 is connected to the output I / F 200G. Examples of the display device 720 include a liquid crystal display. A semiconductor memory 730 is connected to the input / output I / F 200H. Examples of the semiconductor memory 730 include a USB (Universal Serial Bus) memory and a flash memory. The input / output I / F 200H reads the data linking program stored in the semiconductor memory 730. The input I / F 200F and the input / output I / F 200H each include a USB port, for example. The output I / F 200G includes a display port, for example.

[0027] A portable recording medium 740 is inserted into the drive device 200I. The portable recording medium 740 may be a removable disk such as a CD (Compact Disc)-ROM or a DVD (Digital Versatile Disc). The drive device 200I reads the data linking program recorded on the portable recording medium 740. The network I / F 200D includes, for example, a LAN port and a communication circuit. The communication circuit includes either or both of a wired communication circuit and a wireless communication circuit. The network I / F 200D is connected to a communication network NW2.

[0028] A data linking program stored in at least one of ROM 200C, HDD 200E, and semiconductor memory 730 is temporarily stored in RAM 200B by CPU 200A. A data linking program recorded in portable recording medium 740 is temporarily stored in RAM 200B by CPU 200A. By executing the stored data linking program, CPU 200A realizes various functions described later, and executes a data linking method including various processes described later. The data linking program may correspond to a flowchart described later.

[0029] The functional configuration of the connector 200 will be described with reference to Figures 3 to 6. Note that Figure 3 shows the main functional parts of the connector 200.

[0030] As shown in FIG. 3, the connector 200 includes a storage unit 210, a processing unit 220, and a communication unit 230. The storage unit 210 can be realized by either one or both of the RAM 200B and the HDD 200E described above. The processing unit 220 can be realized by the CPU 200A described above. The communication unit 230 can be realized by the network I / F 200D described above. The storage unit 210, the processing unit 220, and the communication unit 230 are connected to each other. The storage unit 210 includes a data storage unit 211 and a management table storage unit 212. The processing unit 220 includes a receiving unit 221, a measuring unit 222, a switching unit 223, a reading unit 224, and a transmitting unit 225.

[0031] The data storage unit 211 stores vehicle position data. As shown in FIG. 4, the position data has multiple items, such as a vehicle ID (identifier), latitude, longitude, and collection date and time. Identification information representing the vehicle's identifier is registered in the vehicle ID item. Latitude information representing the latitude at which the vehicle is located is registered in the latitude item. Longitude information representing the longitude at which the vehicle is located is registered in the longitude item. The collection date and time item registers the date and time at which the second digital twin system 20 collected the position data from the vehicle. Details will be described later, but the data storage unit 211 stores position data distributed or provided from the second digital twin system 20.

[0032] The management table storage unit 212 stores a management table. The management table manages the read mode when the connector 200 reads position data from the second digital twin system 20. For example, as shown in FIG. 5(a), the management table has multiple items such as a property ID, a request interval (ΔTr), an update interval (ΔTs), and a read mode. In the property ID item, for example, a combination of the name of the digital twin system to be read and the name of the data to be read is registered. The connector 200 can specify, for example, the second digital twin system 20 to be read from, based on the combination registered in the property ID item. In addition, the connector 200 can specify, for example, the vehicle's position data as the data to be read, based on the combination registered in the property ID item.

[0033] In the item of request interval, the average time interval at which the application 110 requests data from the connector 200 is registered as the request interval ΔTr. For example, as shown in Fig. 6, the application 110 requests data from the connector 200 periodically based on settings, or non-periodically based on an operation by an administrator who manages the server 100. In this embodiment, the application 110 requests position data from the connector 200.

[0034] The connector 200 provides the data to the application 110 every time it receives a data request from the application 110, and also holds the reception date and time. When the connector 200 holds two consecutive reception dates and times, it calculates a request interval ΔTr based on the difference between the two reception dates and times. When the connector 200 calculates a plurality of request intervals ΔTr, it calculates an average request interval ΔTr by dividing the sum of the request intervals ΔTr by the number of request intervals ΔTr, and manages the average request interval ΔTr in a management table.

[0035] In the item of update interval, the average time interval at which the second digital twin system 20 is updated is registered as the update interval ΔTs. For example, as shown in FIG. 6, when the connector 200 transmits a data distribution registration to the second digital twin system 20 in advance, the second digital twin system 20 continuously distributes the data to the connector 200. More specifically, the second digital twin system 20 updates the second digital twin system 20 every time it collects position data from the vehicle, and continuously distributes the position data to the connector 200 after a certain time (e.g., several seconds or several milliseconds) has elapsed after the update is completed. If the time interval at which the second digital twin system 20 collects position data from the vehicle is constant, the second digital twin system 20 distributes the position data to the connector 200 at a constant time interval. The model of data distribution and advance distribution registration corresponds to, for example, a publish-subscribe type model.

[0036] The connector 200 holds the reception date and time each time position data is received. When the connector 200 holds two consecutive reception dates and times, it calculates the update interval ΔTs based on the difference between the two reception dates and times. When the connector 200 calculates a plurality of update intervals ΔTs, it calculates the average update interval ΔTs by dividing the sum of the update intervals ΔTs by the number of update intervals ΔTs, and manages the average update interval ΔTs in a management table.

[0037] Returning to FIG. 5(a), the read mode item is registered with a read mode in which the connector 200 reads data from the second digital twin system 20. One of two types of read modes is registered in the read mode item. Specifically, based on the relationship between the average of the request interval ΔTr and the average of the update interval ΔTs, one of the read-as-you-go mode and the read-ahead mode is registered in the read mode item. The read-as-you-go mode is an example of the first read mode. The read-ahead mode is an example of the second read mode. The read-as-you-go mode and the read-ahead mode will be described in detail later. For example, if the average of the request interval ΔTr is greater than twice the average of the update interval ΔTs, the read-as-you-go mode is registered in the read mode item. If the average of the request interval ΔTr is equal to or less than twice the average of the update interval ΔTs, the read-ahead mode is registered in the read mode item.

[0038] In this embodiment, the coefficient "2" is used as an example of the coefficient representing the magnification ratio, but is not particularly limited to the coefficient "2" as long as it is greater than the coefficient "1" and equal to or less than the coefficient "2". By using a coefficient greater than the coefficient "1" and equal to or less than the coefficient "2", the time from when the application 110 requests the connector 200 for position data to when the application 110 acquires the position data from the connector 200 is shortened. In addition, by using a coefficient greater than the coefficient "1" and equal to or less than the coefficient "2", the application 110 acquires the position data from the connector 200 before too much position data is accumulated in the connector 200. As a result, a shortage of storage resources (specifically, available storage capacity) of the data storage unit 211 of the connector 200 is suppressed.

[0039] In the above-described embodiment, as an example, a combination of the name of the digital twin system to be read and the name of the data to be read is registered in the property ID field. However, as shown in Fig. 5(b), the name of the data to be read may be registered alone in the property ID field. In this case, the management table storage unit 212 stores multiple management tables in units of digital twin system names.

[0040] 3, the receiving unit 221 receives a data request transmitted from the application 110. The data request is message information in which the application 110 requests the connector 200 to provide location data. In addition, the receiving unit 221 receives location data distributed from the second digital twin system 20.

[0041] The measurement unit 222 measures the average of the request interval ΔTr. More specifically, the measurement unit 222 holds the reception date and time each time the receiving unit 221 receives a data request from the application 110. When the measurement unit 222 holds two consecutive reception dates and times, it calculates the request interval ΔTr based on the difference between the two reception dates and times. When the measurement unit 222 calculates a plurality of request intervals ΔTr, it calculates the average of the request intervals ΔTr by dividing the sum of the request intervals ΔTr by the number of request intervals ΔTr. When the measurement unit 222 calculates the average of the request intervals ΔTr, it registers the average of the request intervals ΔTr in a management table.

[0042] Furthermore, the measurement unit 222 measures the average update interval ΔTs. More specifically, the measurement unit 222 holds the reception date and time each time the receiving unit 221 receives position data from the second digital twin system 20. When the measurement unit 222 holds two consecutive reception dates and times, it calculates the update interval ΔTs based on the difference between the two reception dates and times. When the measurement unit 222 calculates multiple update intervals ΔTs, it calculates the average update interval ΔTs by dividing the sum of the update intervals ΔTs by the number of update intervals ΔTs. When the measurement unit 222 calculates the average update interval ΔTs, it registers the average update interval ΔTs in the management table.

[0043] The switching unit 223 switches between the read-as-you-go mode and the read-ahead mode based on the relationship between the average of the request interval ΔTr and the average of the update interval ΔTs registered in the management table. For example, if the average of the request interval ΔTr is greater than twice the average of the update interval ΔTs, the switching unit 223 registers the read-as-you-go mode in the read mode item. If the average of the request interval ΔTr is equal to or less than twice the average of the update interval ΔTs, the switching unit 223 registers the read-ahead mode in the read mode item. In this way, the connector 200 can adaptively select the read mode for the position data based on the relationship between the average of the request interval ΔTr and the average of the update interval ΔTs registered in the management table.

[0044] The reading unit 224 reads the position data from the second digital twin system 20 based on the read mode registered in the management table. For example, if the pre-read mode is registered, the reading unit 224 reads the position data from the second digital twin system 20 before the receiving unit 221 receives a data request from the application 110, and stores the position data in the data storage unit 211 (see also FIG. 6). That is, the position data is prepared in the data storage unit 211 before the receiving unit 221 receives a data request from the application 110.

[0045] In this way, the connector 200 can prepare to provide the location data before receiving a data request. Therefore, when the connector 200 receives a data request, it can provide the location data to the application 110 in a shorter time than when the connector 200 is not prepared. Note that, although details will be described later, when the read-each-time mode is registered in the management table, the reading unit 224 reads the location data from the second digital twin system 20 each time the receiving unit 221 receives a data request from the application 110. When the reading unit 224 reads the location data, it outputs the location data to the transmitting unit 225 without storing it in the data storage unit 211. This makes it possible to suppress a reduction in the storage capacity of the data storage unit 211. In other words, it is possible to suppress a shortage of resources in the data storage unit 211.

[0046] The transmission unit 225 transmits a registration for distribution of location data to the second digital twin system 20 at a predetermined timing. For example, the transmission unit 225 transmits a registration for distribution of location data to the second digital twin system 20 immediately after the data linkage system ST starts operation. The transmission unit 225 may transmit a registration for distribution of location data to the second digital twin system 20 at the timing when the switching unit 223 switches from the read-each-time mode to the read-ahead mode. In this way, location data is provided from the second digital twin system 20 every time the second digital twin system 20 is updated.

[0047] Furthermore, the transmitting unit 225 transmits the position data to the application 110. As a result, the position data is provided from the connector 200 to the application 110. For example, when the read-each-time mode is registered in the management table, the transmitting unit 225 transmits the position data output from the reading unit 224 to the application 110. When the read-ahead mode is registered in the management table, the transmitting unit 225 acquires the position data stored in the data storage unit 211 and transmits it to the application 110.

[0048] The operation of the connector 200 will be described with reference to FIGS.

[0049] 7(a), the receiver 221 waits until it receives either a data request or location data (step S1: NO). That is, the receiver 221 waits until it receives a data request from the application 110 or location data from the second digital twin system 20. When it receives either a data request or location data (step S1: YES), the receiver 221 determines whether it has received a data request (step S2).

[0050] When the receiving unit 221 receives a data request (step S2: YES), the measuring unit 222 updates the request interval ΔTr (step S3). More specifically, the measuring unit 222 calculates the average of the request interval ΔTr, and updates the average of the request interval ΔTr registered in the management table based on the average of the request interval ΔTr. When the measuring unit 222 updates the request interval ΔTr, the switching unit 223 executes a switching process (step S4). The details will be described later, but the switching process is a process for switching the read mode. By executing the switching process, the switching unit 223 switches between the read-each-time mode and the read-ahead mode.

[0051] When the switching process is executed, the switching unit 223 determines whether the read mode is the read-each-time mode (step S5). If the read mode is the read-each-time mode (step S5: YES), the read unit 224 reads the position data (step S6). For example, as shown in FIG. 8, when the read unit 224 reads the position data from the second digital twin system 20, the second digital twin system 20 provides the position data to the receiving unit 221 by transmitting the position data. As a result, the receiving unit 221 receives the position data.

[0052] When the receiving unit 221 receives the position data, the transmitting unit 225 transmits the position data to the application 110 (step S7), and the process ends. More specifically, when the receiving unit 221 receives the position data, it outputs the position data to the transmitting unit 225 without storing it in the data storage unit 211. As a result, the transmitting unit 225 transmits the position data to the application 110, and the process ends. That is, as shown in FIG. 8, the connector 200 provides the application 110 with the position data. Since the receiving unit 221 does not store the position data in the data storage unit 211, an increase in the amount of position data in the data storage unit 211 is avoided. As a result, a decrease in the available storage capacity is suppressed.

[0053] On the other hand, in the process of step S5, if the read mode is not the read-each-time mode (step S5: NO), the read mode is the read-ahead mode, and so transmission unit 225 acquires the position data from data storage unit 211 (step S8). Upon acquiring the position data, transmission unit 225 executes the process of step S7 and transmits the position data to application 110. After transmitting the position data, transmission unit 225 deletes the transmitted position data remaining in data storage unit 211, thereby making it possible to avoid wasteful consumption of the available storage capacity of data storage unit 211.

[0054] In addition, in the process of step S2, if the receiving unit 221 does not receive a data request, the receiving unit 221 determines that it has received position data (step S2: NO), and the measuring unit 222 updates the update interval ΔTs (step S9). More specifically, the measuring unit 222 calculates the average update interval ΔTs, and updates the average update interval ΔTs registered in the management table based on the average update interval ΔTs. When the measuring unit 222 updates the update interval ΔTs, the switching unit 223 executes a switching process (step S10).

[0055] When the switching process is executed, the receiving unit 221 stores the position data in the data storage unit 211 (step S11) and ends the process. In this way, when the receiving unit 221 receives position data instead of a data request, the position data is stored in the data storage unit 211. As a result, when the receiving unit 221 receives a data request from the app 110, the transmitting unit 225 can acquire the position data from the data storage unit 211 and transmit the position data promptly. In other words, the transmitting unit 225 can transmit the position data in a shorter time than it takes for the reading unit 224 to read the position data from the second digital twin system 20 and for the transmitting unit 225 to transmit the position data to the app 110.

[0056] Next, the above-mentioned switching process will be described in detail with reference to FIG. 7(b), FIG. 9 and FIG.

[0057] When the switching process starts, as shown in Fig. 7(b), the switching unit 223 judges whether the average of the request interval ΔTr is greater than twice the average of the update interval ΔTs (step S21). If the average of the request interval ΔTr is greater than twice the average of the update interval ΔTs (step S21: YES), the switching unit 223 switches the mode to the read-as-you-go mode (step S22). After switching the mode to the read-as-you-go mode, the switching unit 223 performs a distribution stop process (step S23) and ends the switching process.

[0058] For example, as shown in Fig. 9, the average request interval ΔTr may be less than twice the average update interval ΔTs, and the system may be operated in pre-read mode. In such a case, the update interval ΔTs of the second digital twin system 20 may gradually become shorter due to reasons such as an improvement in the communication environment or a reduction in the amount of position data. As a result, if there is no change in the request interval ΔTr, the average request interval ΔTr may become greater than twice the average update interval ΔTs.

[0059] Furthermore, because the update interval ΔTs gradually becomes shorter, there is a possibility that the connector 200 will be continuously provided with position data from the second digital twin system 20 during the period from data request DR1 to data request DR2. If the connector 200 continues to hold the received position data until it receives data request DR2, there is a possibility that the connector 200 will waste available storage capacity.

[0060] In such a case, the switching unit 223 switches from the pre-read mode to the read-each-time mode and performs a distribution stop process for the second digital twin system 20. As a result, after the distribution stop process, the provision of position data from the second digital twin system 20 is stopped. As a result, every time the connector 200 reads position data into the second digital twin system 20, the second digital twin system 20 provides the position data to the connector 200. This prevents unnecessary consumption of the available storage capacity of the connector 200.

[0061] On the other hand, as shown in Fig. 7(b), if the average of the request interval ΔTr is equal to or less than twice the average of the update interval ΔTs (step S21: NO), the switching unit 223 switches the mode to the pre-read mode (step S24). After switching to the pre-read mode, the switching unit 223 performs a distribution registration process (step S25) and ends the switching process.

[0062] For example, as shown in Fig. 10, there are cases where the average request interval ΔTr is greater than twice the average update interval ΔTs, and so the system is operated in read-as-you-go mode. In such cases, the update interval ΔTs of the second digital twin system 20 may gradually become longer due to reasons such as deterioration of the communication environment or an increase in the amount of position data. As a result, if there is no change in the request interval ΔTr, there is a possibility that the average request interval ΔTr will become less than twice the average update interval ΔTs.

[0063] In such a case, the switching unit 223 switches from the read-each-time mode to the read-ahead mode, and performs a distribution registration process for the second digital twin system 20. As a result, after the distribution registration process, the second digital twin system 20 starts to provide the position data. As a result, the connector 200 periodically receives the position data from the second digital twin system 20.

[0064] When receiving a data request from application 110, the connector 200 has prepared the position data in advance. Therefore, the connector 200 can provide the position data to application 110 in a response time RT2 that is shorter than the response time RT1 in the case where the connector 200 is operated in the read-as-you-go mode. In this way, when the connector 200 switches from the read-as-you-go mode to the read-ahead mode, the connector 200 can provide the position data in a short time in response to a data request from application 110.

[0065] As described above, according to this embodiment, a connector 200 is placed as a computer between an app 110 belonging to the same first group G1 as the first digital twin system 10 and a second digital twin system 20 belonging to a second group G2 different from the first digital twin system 10, and performs data linkage between the first digital twin system 10 and the second digital twin system 20.

[0066] Then, the connector 200 switches between the read-as-you-go mode and the read-ahead mode based on the relationship between the request interval ΔTr at which the application 110 requests data from the connector 200 and the update interval ΔTs of the second digital twin system 20 from which the connector 200 reads data. This allows the data reading mode to be adaptively selected. In particular, the connector 200 can improve the accuracy of switching by switching between the read-as-you-go mode and the read-ahead mode based on the relationship between the average of the request interval ΔTr and the average of the update interval ΔTs.

[0067] Although the preferred embodiment of the present invention has been described in detail above, the present invention is not limited to the specific embodiment, and various modifications and variations are possible within the scope of the gist of the present invention described in the claims.

[0068] For example, when the connector 200 is operated in the read-each-time mode, it is difficult to measure the update interval ΔTs based on the periodic delivery of position data. For this reason, when the connector 200 is operated in the read-each-time mode, the connector 200 may perform a separate short-term delivery registration process for measuring the update interval ΔTs on the second digital twin system 20. When this separate delivery registration process is performed, the second digital twin system 20 may, for example, notify the connector 200 of updates to the second digital twin system 20 periodically or non-periodically. This allows the connector 200 to measure the update interval ΔTs even when the connector 200 is operated in the read-each-time mode.

[0069] In addition, the following supplementary notes are provided in relation to the above description. (Additional Note 1) A data linking method between a first digital twin system and a second digital twin system, executed by a connector placed as a computer between an application program in the same group as a first digital twin system and a second digital twin system in a different group from the first digital twin system, the data linking method executing processing to switch between a first read mode and a second read mode based on the relationship between the request interval at which the application program requests data from the connector and the update interval of the second digital twin system from which the connector reads the data. (Appendix 2) The data integration method described in Appendix 1, characterized in that the connector calculates an average of the request interval based on the history of the request interval, calculates an average of the update interval based on the history of the update interval, and switches between the first read mode and the second read mode based on the relationship between the average request interval and the average update interval. (Appendix 3) The data integration method described in Appendix 1 or 2, characterized in that the first read mode is a mode in which the connector reads the data from the second digital twin system each time the data is requested from the application program, and the connector selects the first read mode when the request interval is greater than a coefficient multiple of the update interval. (Appendix 4) The data integration method described in Appendix 1 or 2, characterized in that the second read mode is a mode in which the connector first reads the data from the second digital twin system before the data is requested by the application program, and the connector selects the second read mode when the request interval is smaller than a coefficient multiple of the update interval. (Supplementary Note 5) The data linking method according to Supplementary Note 3 or 4, characterized in that the coefficient multiplication is greater than 1 and less than or equal to 2. (Appendix 6) The data integration method described in Appendix 1 or 2, characterized in that the application program acquires data managed by the second digital twin system via the connector, executes a specified processing based on the acquired data, and stores the execution results in the first digital twin system. (Appendix 7) A data linkage program between a first digital twin system and a second digital twin system, which is executed by a connector placed as a computer between an application program in the same group as a first digital twin system and a second digital twin system in a different group from the first digital twin system, the data linkage program executing a process that switches between a first read mode and a second read mode based on the relationship between the request interval at which the application program requests data from the connector and the update interval of the second digital twin system into which the connector reads the data. [Explanation of symbols]

[0070] ST Data Linkage System 10 First Digital Twin System 20 Second Digital Twin System 100 Servers 110 Apps 200 Connectors 211 Data storage unit 212 Management table storage unit 221 Receiving unit 222 Measurement Division 223 Switching section 224 Reading section 225 Transmitter

Claims

1. A method for linking data between a first digital twin system and a second digital twin system, the method being executed by a connector disposed as a computer between an application program that is in the same group as a first digital twin system and a second digital twin system that is in a different group from the first digital twin system, the method comprising: Switching between a first read mode and a second read mode is performed based on the relationship between a request interval at which the application program requests data from the connector and an update interval of the second digital twin system from which the connector reads the data. The data integration method to execute the process.

2. the connector calculates an average of the request intervals based on a history of the request intervals, calculates the average of the update intervals based on a history of the update intervals, and performs the switching between the first read mode and the second read mode based on a relationship between the average of the request intervals and the average of the update intervals; The data linking method according to claim 1 .

3. The first read mode is a mode in which the connector reads the data from the second digital twin system each time the data is requested from the application program, The connector selects the first read mode if the request interval is greater than a factor of the update interval.

3. The data linking method according to claim 1 or 2.

4. The second read mode is a mode in which the connector first reads the data from the second digital twin system before the data is requested from the application program, The connector selects the second read mode if the request interval is less than a factor of the update interval.

3. The data linking method according to claim 1 or 2.

5. A data linking program between a first digital twin system and a second digital twin system, the data linking program being executed by a connector disposed as a computer between an application program in the same group as a first digital twin system and a second digital twin system in a different group from the first digital twin system, Switching between a first read mode and a second read mode is performed based on the relationship between a request interval at which the application program requests data from the connector and an update interval of the second digital twin system from which the connector reads the data. A data linking program that executes processing.

Citation Information

Patent Citations

  • Processing device and distributed simulation system

    JP2023005741A