COMMUNICATION PROGRAM, COMMUNICATION METHOD, AND COMMUNICATION DEVICE
Patent Information
- Application Number
- JP2020139858
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-08-21
- Publication Date
- 2024-10-17
- Estimated Expiration
- 2040-08-21
Smart Images

Figure 0007568898000001 
Figure 0007568898000002 
Figure 0007568898000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a communication program, a communication method, and a communication device. [Background technology]
[0002] In recent years, data sharing systems between companies in various industries have been attracting attention. For example, there are systems that link drug distribution and prescription information exchanged between pharmaceutical companies, pharmaceutical wholesalers, and medical institutions, which were previously separated, and this will improve operational efficiency and ensure fair profit distribution based on prescription results.
[0003] On the other hand, data exchanged with other organizations must have traceability guaranteed to prove that it has not been improperly processed or tampered with.
[0004] Technologies related to data traceability include the following: [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2004-213477 A [Patent Document 2] JP 2009-123050 A [Patent Document 3] JP 2018-160828 A Summary of the Invention [Problem to be solved by the invention]
[0006] However, for example, in a method in which the history is shown by attaching information about the original data to the processed data, tracing the history back to the source of the data requires going back through the entire history in order, which takes time and imposes a large processing load.
[0007] Furthermore, with this type of system, for example, when a company that generated data wants to check how the data is being used and processed, it must broadcast an inquiry to all companies in the system, which is time-consuming and places a heavy load on the network.
[0008] Therefore, one disclosure provides a communication program, a communication method, and a communication device that can efficiently perform data traceability. [Means for solving the problem]
[0009] One disclosure is a program possessed by a communication device participating in a data distribution system that manages a history of data distribution using a distributed ledger, which, when a first process related to first data is executed, causes a computer possessed by the communication device to execute a storage process of storing in a pointer table pointer information that corresponds an original identifier, which is an identifier of the history of the process related to the first data performed before the execution of the first process, and a next identifier, which is an identifier of the history of the first process, and a synchronization process of synchronizing the contents of the pointer table with other communication devices. Effect of the Invention
[0010] One aspect of the present invention is to enable efficient data traceability. [Brief description of the drawings]
[0011] [Figure 1] FIG. 1 is a diagram showing an example of the configuration of a data distribution system 1. As shown in FIG. [Diagram 2] FIG. 2 is a diagram illustrating an example of the configuration of the GW server 300. [Diagram 3] FIG. 3 is a diagram showing an example of a data distribution sequence. [Figure 4] FIG. 4 is a diagram showing an example of the pointer table 332 after the data acquisition process S102 is completed. [Diagram 5] FIG. 5 is a diagram showing an example of the pointer table 332 after the data processing step S104 is completed. [Figure 6] FIG. 6 is a diagram showing an example of the pointer table 332 after the data acquisition process S106 is completed. [Figure 7] FIG. 7 is a diagram showing an example of update timing of the pointer table. [Figure 8] FIG. 8 is a diagram showing an example of the pointer table 332. As shown in FIG. [Figure 9] FIG. 9 is a diagram showing an example of the pointer table 332. As shown in FIG. [Figure 10] FIG. 10 is a diagram showing an example of a method for enabling tracing of past history. [Figure 11] FIG. 11 is a diagram showing an example of the pointer table 332 that stores the original record management URL. [Figure 12] FIG. 12 is a diagram showing an example of the pointer table 332 after deletion and updating. [Figure 13] FIG. 13 is a diagram showing an example of the pointer table 332 after deletion and updating. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] [First embodiment] A first embodiment will be described.
[0013] <Example of data distribution system 1 configuration> FIG. 1 is a diagram showing an example of the configuration of a data distribution system 1. The data distribution system 1 includes users 100-1 to 3, a network 200, and GW (GateWay) servers 300-1 to 3. The data distribution system 1 is a communication system in which the users 100-1 to 3 use GW servers 300-1 to 3 to distribute (send and receive) data. The data distribution system 1 is, for example, a communication system using a blockchain, and each of the GW servers 300-1 to 3 has a distributed ledger. The distributed ledger is a ledger that stores information such as transaction history and public data information, and each GW server 300 shares the same information. In the data distribution system 1, the distributed ledgers of the GW servers are synchronized, and for example, when the distributed ledger of a certain GW server 300 is updated, the distributed ledgers of the other GW servers 300 are also updated.
[0014] Users 100-1 to 3 (hereinafter sometimes referred to as users 100) are users of GW servers 300-1 to 3 (hereinafter sometimes referred to as GW servers 300), and are, for example, a company that has the GW server 300 or an administrator within the company. Using the GW server 300, the user 100 communicates with other GW servers 300 to send and receive data.
[0015] The GW server 300 is a communication device having a distributed ledger, such as a computer or a server machine. The GW server 300 communicates with other GW servers 300 via the network 200. The GW server 300 also synchronizes the distributed ledger via the network 200.
[0016] The network 200 is, for example, the Internet or a local network that transmits and receives packets including data between the GW servers 300 using IP (Internet Protocol) addresses or the like.
[0017] In the data circulation system 1, when the GW server 300 generates data, it registers the generated data in the distributed ledger and publishes it to other GW servers 300. When the GW server 300 recognizes the published data, it conducts transactions with the GW server 300 that is the data source as needed and acquires the data.
[0018] <Configuration example of GW server 300> Figure 2 is a diagram showing a configuration example of the GW server 300. The GW server 300 includes a CPU (Central Processing Unit) 310, a storage 320, a memory 330, and a communication circuit 340.
[0019] The storage 320 is an auxiliary storage device such as a flash memory, an HDD (Hard Disk Drive), or an SSD (Solid State Drive) that stores programs and data. The storage 320 stores a distributed ledger management program 321 and a data history management program 322.
[0020] The memory 330 is an area for loading the programs stored in the storage 320. Also, the memory 330 may be used as an area where the programs store data. The memory 330 stores a distributed ledger 331 and a pointer table 332.
[0021] The distributed ledger 331 is a ledger that stores information on the transaction history of data and the published data. The distributed ledger 331 is possessed by each GW server 300, synchronized with each other, and stores the same content.
[0022] The pointer table 332 is a table that stores pointer information including the transaction history and processing history of data. For example, it stores information on the sender and receiver in the data transaction and information on before and after processing in the data processing. Details will be described later.
[0023] The CPU 310 is a processor that loads programs stored in the storage 320 into the memory 330, executes the loaded programs, configures each unit, and realizes each process.
[0024] The communication circuit 340 is a circuit that communicates with other GW servers 300 via the network 200. The communication circuit 340 is, for example, a network interface card (NIC). The communication circuit 340 may be connected to the network 200 wirelessly or wired.
[0025] The CPU 310 establishes a synchronization unit and performs distributed ledger management processing by executing the distributed ledger management program 321. The distributed ledger management processing is processing for updating the distributed ledger and synchronizing the distributed ledger between the GW servers 300.
[0026] The CPU 310 executes the data history management program 322 to construct a storage unit and a synchronization unit, and performs data history management processing. The data history management processing is processing for managing the pointer table 332. In the data history management processing, the GW server 300 updates the pointer table 332 and synchronizes it with the pointer tables 332 of other GW servers 300. Note that synchronization of the pointer table 332 is realized, for example, in the same manner as synchronization of the distributed ledger. Also, when the pointer table 332 is included as part of the distributed ledger, for example, it is synchronized at the same time when the distributed ledger is synchronized.
[0027] <About data history management processing> The data history management process will be described. FIG. 3 is a diagram showing an example of a data distribution sequence. FIG. 3 shows an example of a sequence in which data D1 generated by GW server 300-1 is handed over to GW server 300-2, updated (processed), and further handed over to GW server 300-3. Note that "data D1-x (x is a lowercase alphabet)" in FIG. 3 indicates, for example, the state of data before and after a certain process. Also, "data D1-x" may be interpreted as an identifier of a history (record) indicating that a certain process has been executed on data D1. x is assigned in chronological order, starting from a, in alphabetical order. Note that hereinafter, in each embodiment, unless otherwise specified, a case in which the process in the sequence in FIG. 3 is executed will be described as an example.
[0028] The GW server 300-1 executes data generation and registration to generate and register data (S100). The GW server 300-1 generates and registers data D1. This generated data D1 is referred to as data D1-a. By registering the data D1-a, other GW servers 300 recognize that the data D1-a was generated in the GW server 300-1, and the other GW servers 300 can acquire the data.
[0029] The GW server 300-2 recognizes that the data D1 has been generated and attempts to acquire the data D1. The GW server 300-2, for example, makes a transaction with the GW 300-1 to acquire data (S101). For example, in the transaction, the GW server 300-2 requests the GW server 300-1 to acquire the published data D1. The GW server 300-1 then accepts (or rejects) the request from the GW server 300-2. The GW server 300-2 acquires the data D1 in the transaction (S102) and manages it internally as data D1-b.
[0030] Fig. 4 is a diagram showing an example of pointer table 332 after data acquisition process S102 is completed. The state of pointer table 332 will be described with reference to Fig. 4. Pointer table 332 is a table that stores pointer information that associates history (records) before and after a certain process. Pointer table 332 stores "No.", "original record ID", "next record ID", and "next record management URL".
[0031] "No." indicates a pointer number, and is assigned in order starting from 1 in the order of occurrence, for example.
[0032] The "original record ID" is the identifier (original identifier) of the record of the process that was executed before (just before, last time) a certain process (transaction, processing, acquisition, etc.). The "next record ID" is the identifier (next identifier) of the record of a certain process (transaction, processing, acquisition, etc.). A record is a history of data processing or data handover, such as data transactions, data acquisition, and data processing. In other words, the "original record ID" is the identifier of the record of the transaction, acquisition, or processing that was executed before a certain reference process, and the "next record ID" is the identifier of the record of a certain reference process.
[0033] The "next record management URL" indicates the URL (Uniform Resource Locator) that manages the next record, and the history of the next record can be checked by using the URL.
[0034] Pointer number 1 associates "D1-a", which indicates the record in which data D1, which is the "original record ID", was generated, with "D1-T1", which indicates the record in which data D1, which is the "next record ID", was traded. That is, pointer number 1 indicates that the generated data D1-a was traded by transaction T1. Pointer number 1 stores the management URL of the blockchain (or data distribution system 1, distributed ledger) that manages the transaction history as the "next record management URL". Pointer number 1 is stored in the pointer table 332 by GW server 300-1, for example, when data transaction S101 is established between GW server 300-1 and GW server 300-2.
[0035] The pointer number 2 corresponds to "D1-T1" indicating the record in which the data D1, which is the "original record ID", was traded, and "D1-b" indicating the record from which the data D1, which is the "next record ID", was acquired. That is, the pointer number 2 indicates that the data D1 traded in the transaction T1 has been acquired and stored as the data D1-b. The pointer number 2 stores the URL of the GW server 300-2 that manages the data D1-b as the "next record management URL". The pointer number 2 is stored in the pointer table 332 by the GW server 300-2, for example, when the GW server 300-2 executes the acquisition process S102 of the data D1 associated with the data transaction S101.
[0036] A data transaction is a contract for data transmission and reception between a user 100 of a GW server 300 that acquires data and a user 100 of a GW server 300 that delivers the data. For example, a user 100 who wants to acquire some published data requests the user who published the data to acquire it, and the user 100 who published the data grants (or does not grant) permission to acquire the data.
[0037] 3, the GW server 300-2 processes the data D1-b (S103) to generate data D1-c. Then, the GW server 300-2 further processes the data D1-c (S104) to generate data D1-d.
[0038] 5 is a diagram showing an example of the pointer table 332 after the data processing process S104 is completed. The pointer number 3 associates "D1-b" indicating the record from which the data D1, which is the "original record ID", was acquired with "D1-c" indicating the record from which the data D1, which is the "next record ID", was processed. That is, the pointer number 3 indicates that the acquired data D1-b has been processed and managed as D1-c. The pointer number 3 stores the management URL of the GW server 300-2 that manages the processed data D1 as the "next record management URL". The pointer number 3 is added to the pointer table 332 by the GW server 300-2, for example, when the GW server 300-2 processes the data D1 by the processing process S103.
[0039] Pointer number 4 associates "D1-c" indicating a record obtained by processing data D1, which is the "original record ID," with "D1-d" indicating a record obtained by processing data D1, which is the "next record ID." That is, pointer number 4 indicates that the processed data D1-c is further processed and managed as D1-d. Pointer number 4 stores the management URL of the GW server 300-2 that manages the processed data D1 as the "next record management URL." Pointer number 4 is added to the pointer table 332 by the GW server 300-2, for example, when the GW server 300-2 processes data D1 by processing process S104.
[0040] Returning to the sequence of Fig. 3, the GW server 300-3 attempts to acquire data D1-d managed by the GW server 300-2. The GW server 300-3, for example, performs a transaction to acquire data with the GW 300-2 (S105). The GW server 300-3 acquires data D1 through the transaction (S106) and manages it internally as data D1-e.
[0041] FIG. 6 is a diagram showing an example of the pointer table 332 after the data acquisition process S106 is completed. The pointer number 5 corresponds to "D1-d" indicating the record in which the data D1, which is the "original record ID", has been processed, and "D1-T2" indicating the record in which the data D1, which is the "next record ID", has been traded. That is, the pointer number 5 indicates that the processed data D1-d has been traded by the transaction T2. The pointer number 5 stores the management URL of the blockchain that manages the transaction history as the "next record management URL". The pointer number 5 is stored in the pointer table 332 by the GW server 300-2 when the data transaction S105 is established between the GW server 300-2 and the GW server 300-3, for example.
[0042] Pointer number 6 associates "D1-T2" indicating the record in which data D1, which is the "original record ID", was traded with "D1-e" indicating the record from which data D1, which is the "next record ID", was acquired. That is, pointer number 6 indicates that data D1 traded in transaction T2 has been acquired and stored as data D1-e. Pointer number 6 stores the management URL of the GW server 300-3 that manages data D1-e as the "next record management URL". Pointer number 6 is stored in the pointer table 332 by the GW server 300-3, for example, when the GW server 300-3 executes acquisition process S106 of data D1 associated with data transaction S105.
[0043] In the first embodiment, the GW server 300 has the pointer table 332, and thus can track the history of data in the time direction. For example, when the GW server 300-1 tracks what happened to the generated data D1, it detects pointer number 2, in which D1-T1, which is the next record ID of pointer number 1, is the original record ID. From the record of pointer number 2, the GW server 300-1 can recognize that the data D1-a was traded in the transaction T1 and is (was) managed by the GW server 300-2 as data D1-b. The GW server 300-1 can similarly trace the records of the pointer table 332 to finally detect pointer number 6, and recognize that it is managed by the GW server 300-3 as data D1-e. Furthermore, when the GW server 300-1 wants to check the details of the data D1-e, it can check the management URL of the GW server 300, which is the next record management URL of pointer number 6.
[0044] [Second embodiment] Next, a second embodiment will be described. The GW server 300 in the second embodiment updates the pointer table 332 at a timing different from that in the first embodiment.
[0045] 7 is a diagram showing an example of update timing of the pointer table. The GW server 300 updates the pointer table 332 when data is moved to another GW server 300. The GW server 300 updates the pointer table 332 when handing over data and when acquiring data.
[0046] The pointer information of pointer numbers 1 and 2 is updated when the data acquisition process S102 is executed (S201). When the GW server 300-1 delivers the data D1 in the data acquisition process S102, it adds the pointer information of pointer number 1 to the pointer table 332. When the GW server 300-2 acquires the data D1 in the data acquisition process S102, it adds the pointer information of pointer number 2 to the pointer table 332.
[0047] The pointer information of pointer numbers 3 to 6 is updated when the data acquisition process S106 is executed (S202). When the GW server 300-2 delivers the data D1 in the data acquisition process S106, it adds the pointer information of pointer numbers 3 to 5 to the pointer table 332. When the GW server 300-3 acquires the data D1 in the data acquisition process S106, it adds the pointer information of pointer number 6 to the pointer table 332.
[0048] In the second embodiment, the pointer table 332 is updated when data is moved. This reduces the number of times the pointer table is updated, suppresses the number of communications for synchronizing the pointer table 332, and reduces the load on the network. Note that in the second embodiment, for example, the timing of registering the history of the processing processes S103 and S104 in the pointer table 332 is delayed compared to the first embodiment, but since the history of the processing processes can be obtained from the management URL of the GW server 300-2 that performed the processing processes, the other GW servers 300 can track the latest history.
[0049] [Third embodiment] Next, a third embodiment will be described. The pointer table 332 in the third embodiment stores different pointer information. The pointer table 332 does not store the history of processing inside the GW server 300.
[0050] Fig. 8 is a diagram showing an example of the pointer table 332. In the third embodiment, the GW server 300 does not store the pointer information in the shaded portion of the pointer table 332 in Fig. 8. This makes it possible to reduce the storage capacity of the pointer table 332.
[0051] The next record ID of the pointer information of pointer number 2 is "D1-b" and the original record ID of the pointer information of pointer number 3 is "D1-d", so the pointer information of pointer number 2 and pointer number 3 are not connected. However, for example, the GW server 300-1 can obtain the management URL of the GW server 300-2 from the pointer information of pointer number 2. The GW server 300-1 can obtain the internal history of the GW server 300-2, that is, the fact that the GW server 300-2 has processed data internally and that the processed data is managed as D1-d (record D1-d), by using the management URL of the GW server 300-2. The GW server 300-1 can obtain the pointer information of pointer number 3 from record D1-d, so that the data D1 can be tracked thereafter.
[0052] [Fourth embodiment] Next, a fourth embodiment will be described. The pointer information stored in the pointer table 332 in the fourth embodiment is different. When data processing is performed multiple times inside the GW server 300, the pointer table 332 stores only the final history (of the last processing before the transaction).
[0053] 9 is a diagram showing an example of the pointer table 332. In the third embodiment, the GW server 300 stores the history of the final processing as pointer information. This makes it possible to reduce the amount of storage in the pointer table 332 when multiple processing operations are performed inside the GW server 300.
[0054] When the GW server 300-2 performs the processing processes S103 and S104, it does not store pointer information in the pointer table 332. Then, when the GW server 300-2 performs, for example, data transaction S105, it stores the processing processes S103 and S104 as one piece of pointer information in pointer number 3. The pointer information of pointer number 3 stores the record "D1-b" of the acquired data as the original record ID and the record "D1-d" of the data after the two processing processes S103 and S104 as the next record ID. Furthermore, it stores the management URL of the GW server 300-2 as the next record management URL.
[0055] In the fourth embodiment, the pointer table 332 stores a part of the processing history. In the third embodiment, the pointer information in the pointer table 332 may not be connected, and the GW server 300 may obtain the internal history from another GW server 300 using the management URL.
[0056] However, in the fourth embodiment, the GW server 300 can reduce the amount of information stored in the pointer table 332, while preventing the pointer information from becoming disconnected, and can track the history without using a management URL.
[0057] [Fifth embodiment] Next, a fifth embodiment will be described. In the above embodiment, the GW server 300 tracks a history (future history) showing how data has changed over time. However, the GW server 300 may track a history (past history) showing what kind of processing a certain piece of data underwent to become that piece of data.
[0058] 10 is a diagram showing an example of a method for tracing past history. The GW server 300, for example, adds history information to data D1. The lower shaded rectangle indicates the history information, and the upper rectangle indicates an identifier of the history information (or an identifier of data, transaction, process, etc.).
[0059] The GW server 300-1 creates history information when generating the data D1 and assigns it to the data D1. The identifier of the assigned history information is “D1-a” ((1) in FIG. 10).
[0060] The GW server 300-1 performs transaction T1 (transaction process S101) and creates new history information. The history information stores the identifier of the previous history information, "D1-a." The identifier of the history information to be assigned is then "D1-T1" ((2) in FIG. 10).
[0061] The GW server 300-2 acquires data D1 in transaction T1 (acquisition process S102). At this time, the GW server 300-2 creates new history information. In the history information, the identifier of the previous history information, "D1-T1", is stored. The identifier of the history information to be assigned is then "D1-b" ((3) in FIG. 10).
[0062] After that, in each process, the GW server 300 creates history information and attaches an identifier of the history information. Since the identifier of the previous history information is stored in the history information, the GW server 300 can trace the past history by tracing back the identifier of this history information.
[0063] In addition, "shortcut:D1-T1" in (6) of FIG. 10 is shortcut information. The shortcut information includes, for example, an identifier of history information in a previous transaction. When the GW server 300 acquires only the data movement history, it can acquire how the data was moved by tracking the shortcut information.
[0064] By combining the method shown in FIG. 10 and the processes in the first to fourth embodiments, the GW server 300 can track the history of the past and future directions.
[0065] 10, however, requires an inquiry using the management URL of each GW server 300 or the block chain every time history information is traced back. Therefore, the management URL of the original record ID is stored in the pointer table 332 so that history in the past can be traced in the same way as history in the future can be traced.
[0066] 11 is a diagram showing an example of the pointer table 332 that stores the original record management URL. The GW server 300 stores the "original record management URL" as pointer information. The "original record management URL" indicates the URL that manages the original record, and the history of the original record can be checked by using the URL.
[0067] For example, the original record management URL of the pointer information of pointer number 2 is the management URL of the blockchain that manages "D1-T1." Similarly, for the pointer information of other pointer numbers, the original record management URL is stored as the pointer information.
[0068] In the fifth embodiment, the GW server 300 can track the history in the past by using the pointer table 332. For example, the GW server 300-3 checks the pointer table 332 to check what kind of processing has been performed on the data D1-e. The GW server 300-3 can recognize, for example, from the pointer information of the pointer number 5, that the data D1-d before the transaction T2 was performed was managed by the GW server 300-2 of the original record management URL. Then, the GW server 300-3 can obtain the history related to the data D1-d from the GW server 300-2 by using the original record management URL.
[0069] [Sixth embodiment] Next, a sixth embodiment will be described. In the sixth embodiment, the GW server 300 performs a deletion process to delete predetermined pointer information from the pointer table 332. This makes it possible to suppress the amount of data in the pointer table 332.
[0070] FIG. 12 is a diagram showing an example of a pointer table 332 that has been deleted and updated. The upper diagram in FIG. 12 shows the state before the deletion and update, and the lower diagram in FIG. 12 shows the state after the deletion and update. When multiple management URLs of the same GW server 300 exist as next record management URLs in the pointer table 332, the GW server 300 leaves only the latest pointer information (with the highest pointer number) in the pointer table 332, and deletes other pointer information having the management URL of the same GW server 300. In the upper diagram in FIG. 12, the management URLs of the GW server 300-2 exist at pointer numbers 2, 3, 4, and 8. In this case, the GW server 300 leaves only the pointer information with pointer number 8, and deletes the pointer information with the other pointer numbers 2, 3, and 4. After the deletion and update, the pointer table 332 becomes in the state shown in the lower diagram in FIG. 12.
[0071] In addition, the GW server 300 does not delete the management URL of the blockchain even if there are multiple URLs. The blockchain has a large processing load because it manages data registration and transactions of all the GW servers 300 and performs processes such as ledger synchronization. Therefore, in order to minimize the number of inquiries to the blockchain, the pointer information related to the blockchain is left in the pointer table 332.
[0072] The GW server 300 can use the pointer table 332 after deletion and updating to track the history in the future. For example, if the next record ID is not connected to the original record ID (a certain next record ID does not exist in the original record ID of other pointer information), the history beyond that can be tracked by using the next record management URL. When no deletion or updating is performed, the GW server 300 can track up to the latest history without using the management URL because all pointer information remains. On the other hand, when deletion or updating is performed, the GW server 300 may not be able to track up to the latest history unless it uses the management URL to make an inquiry in some cases, but the amount of data in the pointer table 332 can be reduced.
[0073] FIG. 13 is a diagram showing an example of a pointer table 332 that has been deleted and updated. The upper diagram of FIG. 13 shows the state before the deletion and update, and the lower diagram of FIG. 13 shows the state after the deletion and update. When multiple management URLs of the same GW server 300 exist as next record management URLs in the pointer table 332, the GW server 300 leaves only the oldest pointer information (smallest pointer number) in the pointer table 332, and deletes the other pointer information having the management URL of the same GW server 300. In the upper diagram of FIG. 12, the management URLs of the GW server 300-2 exist at pointer numbers 2, 3, 4, and 8. In this case, the GW server 300 leaves only the pointer information of pointer number 2, and deletes the pointer information of the other pointer numbers 3, 4, and 8. After the deletion and update, the pointer table 332 becomes the state shown in the lower diagram of FIG. 13.
[0074] <Modification> When the pointer table 332 is updated, a synchronization process is performed, and communication occurs within the blockchain. The more the number of GW servers 300, the greater the communication volume and the higher the communication load on the network. That is, when the above-mentioned deletion / update process is performed, the communication load may be high.
[0075] Therefore, in a modified example, the GW server 300 performs an extraction process to extract pointer information instead of deleting and updating the pointer table 332. The GW server 300 performs the extraction process and extracts the pointer information shown in the lower diagram of FIG. 12 or the lower diagram of FIG. 13. The GW server 300 then uses the extracted pointer information to track the history. This allows the GW server 300 to track the history based on the selected pointer information without deleting and updating the pointer table 332. The GW server 300 may, for example, internally store the extracted pointer information for a certain period of time. The GW server 300 may also periodically extract pointer information related to related data from the pointer table 332.
[0076] The following is a summary as follows:
[0077] (Appendix 1) A program included in a communication device participating in a data distribution system that manages a history of data distribution using a distributed ledger, a storage process for storing, when a first process related to first data is executed, pointer information in which a previous identifier, which is an identifier of a history of a process related to the first data executed before the execution of the first process, and a next identifier, which is an identifier of a history of the first process, are associated with each other in a pointer table; A synchronization process for synchronizing the contents of the pointer table with other communication devices. A communication program executed by a computer included in the communication device.
[0078] (Appendix 2) In the storage process, a management URL (Uniform Resource Locator) of the history of the execution of the process corresponding to the next identifier is further included in the pointer information and stored in the pointer table. Attachment 1 describes the communications program.
[0079] (Appendix 3) and a tracing process of detecting the pointer information having an identifier of a history of processing related to the second data as the original identifier from the pointer table, acquiring a next identifier of the detected pointer information, and tracing the history of processing related to the second data. 2. The communication program according to claim 1, which is executed by a computer possessed by the communication device.
[0080] (Appendix 4) The first process includes a transaction process for requesting and accepting acquisition of the first data, and an acquisition process for acquiring the first data in response to the transaction process. Attachment 1 describes the communications program.
[0081] (Appendix 5) The first processing includes a processing process for processing the first data. Attachment 4 describes the communications program.
[0082] (Appendix 6) In the storage process, when the transaction process or the acquisition process is executed, pointer information including an identifier related to the transaction process and the acquisition process and pointer information including an identifier related to the processing process are stored in the pointer table. Attachment 5. A communications program according to claim 5.
[0083] (Appendix 7) In the storage process, when the processing process is executed multiple times within the own device after the acquisition process is executed, the pointer information in which an identifier of the history of the acquisition process is set as an original identifier and an identifier of the history of the processing process executed last among the multiple times is set as a next identifier is stored in the pointer table, and identifiers of the history of the processing processes other than the processing process executed last among the multiple times are not stored in the pointer table. Attachment 5. A communications program according to claim 5.
[0084] (Appendix 8) The pointer table is included in the distributed ledger; The synchronization process is executed in conjunction with the synchronization of the distributed ledger. Attachment 1 describes the communications program.
[0085] (Appendix 9) In the storage process, a management URL of a history of execution of a process corresponding to the original identifier is further stored in the pointer table as the pointer information. Attachment 2. A communications program as described in claim 2.
[0086] (Appendix 10) and a deletion process for deleting, from the pointer table, pointer information other than the pointer information last stored in the pointer table among the plurality of pieces of pointer information when the same management URL exists in the plurality of pieces of pointer information. 3. The communication program according to claim 2, which is executed by a computer possessed by the communication device.
[0087] (Appendix 11) a second deletion process for deleting, from the pointer table, pointer information other than the pointer information that was initially stored in the pointer table among the plurality of pointer information when the same management URL exists in the plurality of pointer information; 3. The communication program according to claim 2, which is executed by a computer possessed by the communication device.
[0088] (Appendix 12) and a second tracking process for, when the same management URL exists in a plurality of pieces of pointer information, extracting pointer information from the pointer table to one of the plurality of pieces of pointer information, and tracking a history of a process related to the third data by using the extracted pointer information. 3. The communication program according to claim 2, which is executed by a computer possessed by the communication device.
[0089] (Appendix 13) A communication device participating in a data distribution system that manages a history of data distribution in a distributed ledger, a storage unit that, when a first process related to first data is executed, stores in a pointer table pointer information that associates a previous identifier, which is an identifier of a history of a process related to the first data executed before the execution of the first process, with a next identifier, which is an identifier of a history of the first process; a synchronization unit that synchronizes the contents of the pointer table with other communication devices; A communication device having the above configuration.
[0090] (Appendix 14) A communication method for a communication device participating in a data distribution system that manages a history of data distribution using a distributed ledger, comprising: when a first process related to the first data is executed, pointer information in which a previous identifier, which is an identifier of a history of a process related to the first data executed before the execution of the first process, is associated with a next identifier, which is an identifier of a history of the first process, is stored in a pointer table; synchronizing the contents of the pointer table with other communication devices; Communication methods. [Explanation of symbols]
[0091] 1: Data distribution system 100 :User 200 : Network 300: GW server 310: CPU 320: Storage 321: Distributed ledger management program 322: Data history management program 330: Memory 331: Distributed Ledger 332: Pointer table 340: Communication circuit
Claims
1. A program included in a communication device participating in a data distribution system that manages a history of data distribution using a distributed ledger, a storage process for storing, when a first process related to first data is executed, pointer information in which a previous identifier, which is an identifier of a history of a process related to the first data executed before the execution of the first process, and a next identifier, which is an identifier of a history of the first process, are associated with each other in a pointer table; and a synchronization process for synchronizing the contents of the pointer table with other communication devices, The first process includes a transaction process for requesting and accepting acquisition of the first data, and an acquisition process for acquiring the first data in response to the transaction process, and the transaction process and pointer information corresponding to the transaction process are also stored in the pointer table. A communication program executed by a computer included in the communication device.
2. In the storage process, a management URL (Uniform Resource Locator) of the history of the execution of the process corresponding to the next identifier is further included in the pointer information and stored in the pointer table. The communication program according to claim 1.
3. and a tracing process for detecting the pointer information having an identifier of a history of processing related to the second data as the original identifier from the pointer table, acquiring a next identifier of the detected pointer information, and tracing the history of processing related to the second data.
2. The communication program according to claim 1, which is executed by a computer included in the communication device.
4. The first process includes a transaction process for requesting and approving acquisition of the first data, and an acquisition process for acquiring the first data in response to the transaction process. The communication program according to claim 1.
5. The first processing includes a processing process for processing the first data. The communication program according to claim 4.
6. In the storage process, when the transaction process or the acquisition process is executed, pointer information including an identifier related to the transaction process and the acquisition process and pointer information including an identifier related to the processing process are stored in the pointer table. The communication program according to claim 5.
7. In the storage process, when the processing process is executed multiple times within the own device after the acquisition process is executed, the pointer information in which an identifier of the history of the acquisition process is set as an original identifier and an identifier of the history of the processing process executed last among the multiple times is set as a next identifier is stored in the pointer table, and identifiers of the history of the processing processes other than the processing process executed last among the multiple times are not stored in the pointer table. The communication program according to claim 5.
8. The pointer table is included in the distributed ledger; The synchronization process is executed in conjunction with the synchronization of the distributed ledger. The communication program according to claim 1.
9. In the storage process, a management URL of a history of execution of a process corresponding to the original identifier is further stored in the pointer table as the pointer information. The communication program according to claim 2.
10. Furthermore, when the first management URL exists in a plurality of pieces of pointer information, a deletion process is performed to delete, from the pointer table, the pointer information other than the pointer information that was last stored in the pointer table among the plurality of pieces of pointer information; 3. The communication program according to claim 2, which is executed by a computer included in the communication device.
11. a second deletion process for deleting, from the pointer table, pointer information other than the pointer information that was initially stored in the pointer table among the plurality of pointer information when the second management URL exists in the plurality of pointer information; 3. The communication program according to claim 2, which is executed by a computer included in the communication device.
12. A communication device participating in a data distribution system that manages a history of data distribution in a distributed ledger, a storage unit that, when a first process related to first data is executed, stores in a pointer table pointer information that associates a previous identifier, which is an identifier of a history of a process related to the first data executed before the execution of the first process, with a next identifier, which is an identifier of a history of the first process; a synchronization unit that synchronizes the contents of the pointer table with other communication devices; the first processing includes a transaction processing for requesting and approving acquisition of the first data, and an acquisition processing for acquiring the first data in response to the transaction processing; The storage unit also stores the transaction process and pointer information corresponding to the transaction process in the pointer table. Communications equipment.
13. A communication method executed by a computer of a communication device participating in a data distribution system that manages a history of data distribution using a distributed ledger, comprising: when a first process related to the first data is executed, pointer information in which a previous identifier, which is an identifier of a history of a process related to the first data executed before the execution of the first process, is associated with a next identifier, which is an identifier of a history of the first process, is stored in a pointer table; Synchronizing the contents of the pointer table with other communication devices; The first process includes a transaction process for requesting and accepting acquisition of the first data, and an acquisition process for acquiring the first data in response to the transaction process, and the transaction process and pointer information corresponding to the transaction process are also stored in the pointer table. Communication methods.
Citation Information
Patent Citations
Distribution history management method for perishable goods, information code for distribution history management, information code generating device for distribution history management, distribution history inquiry method, and inquiry device for distribution history
JP2004213477A
Information retrieving device and registration method of entry information to the same
JP2009123050A
Remittance source device, remittance destination device, remittance method, money receiving method, program, and remittance system
JP2018160828A
Program, information processing system, and information processing method
JP2020035214A
Information processing apparatus, information processing program, and information processing method
JP2020046993A
