CN110705935B - Logistics document processing method and device - Google Patents

Logistics document processing method and device Download PDF

Info

Publication number
CN110705935B
CN110705935B CN201910927187.2A CN201910927187A CN110705935B CN 110705935 B CN110705935 B CN 110705935B CN 201910927187 A CN201910927187 A CN 201910927187A CN 110705935 B CN110705935 B CN 110705935B
Authority
CN
China
Prior art keywords
service data
logistics
message
documents
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910927187.2A
Other languages
Chinese (zh)
Other versions
CN110705935A (en
Inventor
马奔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Zhenshi Information Technology Co Ltd
Original Assignee
Beijing Jingdong Zhenshi Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Zhenshi Information Technology Co Ltd filed Critical Beijing Jingdong Zhenshi Information Technology Co Ltd
Priority to CN201910927187.2A priority Critical patent/CN110705935B/en
Publication of CN110705935A publication Critical patent/CN110705935A/en
Application granted granted Critical
Publication of CN110705935B publication Critical patent/CN110705935B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against orders
    • G06Q10/0875Itemisation or classification of parts, supplies or services, e.g. bill of materials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • Economics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Development Economics (AREA)
  • Computational Linguistics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Resources & Organizations (AREA)
  • Accounting & Taxation (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Finance (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a method and a device for processing logistics receipts, and relates to the technical field of computers. A specific implementation mode of the method comprises the steps of receiving a logistics document comparison instruction of a plurality of links, respectively obtaining service data from block chain link points corresponding to the logistics document, and calculating a message abstract of the block chain node service data; acquiring respective local service data based on the service systems respectively corresponding to the plurality of logistics receipts to calculate message summaries of the local service data; and respectively comparing the message abstract of the local service data with the message abstract of the corresponding block link point service data so as to execute comparison of the logistics documents in multiple links. Therefore, the method and the device can solve the problems of difficulty in comparison of the logistics documents and low efficiency.

Description

Logistics document processing method and device
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for processing logistics documents.
Background
At present, in the process of delivering, transporting and warehousing the logistics documents, the situation that the logistics documents of both parties are inconsistent is difficult to avoid, for example, the logistics documents are inconsistent when the logistics documents are delivered and warehoused, and the comparison of the logistics documents is needed at this time. The logistics documents are all in the corresponding business system, and when one logistics document has a plurality of data entries, the logistics document needs to be compared item by item to find out inconsistent places.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art:
due to the large volume of logistics documents, the comparison is very tedious and time-consuming, and particularly in the background of hundred million concurrency, the need for rapid comparison is unlikely. In addition, the logistics documents of both parties are in the business systems of the parties, and when the logistics documents are inconsistent with the business data of the other party, no authoritative system is used for comparison, so that the other party cannot be persuaded in comparison, and divergence is generated.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for processing a logistics document, which can solve the problems of difficulty in comparing the logistics documents and low efficiency.
In order to achieve the above object, according to an aspect of the embodiments of the present invention, a method for processing a logistics document is provided, including receiving a comparison instruction of the logistics documents in multiple links, and obtaining service data from block link points corresponding to the logistics document, respectively, so as to calculate a message summary of the service data of the block link nodes; acquiring respective local service data based on the service systems respectively corresponding to the plurality of logistics receipts to calculate message summaries of the local service data; and respectively comparing the message abstract of the local service data with the message abstract of the corresponding block link point service data so as to execute comparison of the logistics documents in multiple links.
Optionally, before obtaining the service data from the block link points corresponding to the logistics documents, the method includes:
acquiring corresponding local business data based on a business system corresponding to the logistics document of each link, and splicing the local business data into a message with a preset format through an intelligent contract;
and storing the message to a block chain node corresponding to the logistics document in the link.
Optionally, the method further comprises:
receiving an instruction for constructing a new service system;
acquiring service data based on a logistics document with the consistent comparison between the message abstract of the local service data and the message abstract of the corresponding block link point service data;
and storing the service data into a new service system.
Optionally, the obtaining the service data from the block link points corresponding to the logistics document respectively to calculate the message summary of the block link node service data includes:
and respectively reading the business data from the block chain link points corresponding to the logistics document into the parallel computing engine so as to respectively obtain the message abstracts of the block chain link point business data.
In addition, according to an aspect of the embodiment of the present invention, a device for processing a logistics document is provided, which includes a calculation module, configured to receive a comparison instruction of the logistics documents in multiple links, and obtain service data from block link points corresponding to the logistics documents, respectively, so as to calculate a message digest of the service data of the block link nodes; acquiring respective local service data based on the service systems respectively corresponding to the plurality of logistics receipts to calculate message summaries of the local service data; and the comparison module is used for comparing the message abstract of the local service data with the message abstract of the corresponding block link point service data respectively so as to execute comparison of the logistics documents in multiple links.
Optionally, before the computing module obtains the service data from the block link points corresponding to the logistics documents, the method includes:
acquiring corresponding local business data based on a business system corresponding to the logistics document of each link, and splicing the local business data into a message with a preset format through an intelligent contract;
and storing the message to a block chain node corresponding to the logistics document in the link.
Optionally, the alignment module is further configured to:
receiving an instruction for constructing a new service system;
acquiring service data based on a logistics document with the consistent comparison between the message abstract of the local service data and the message abstract of the corresponding block link point service data;
and storing the service data into a new service system.
Optionally, the calculating module obtains service data from the block link points corresponding to the logistics document, so as to calculate the message summary of the block link node service data, including:
and respectively reading the business data from the block chain link points corresponding to the logistics document into the parallel computing engine so as to respectively obtain the message abstracts of the block chain link point business data.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any of the above embodiments of processing logistics documents.
According to another aspect of the embodiment of the invention, a computer readable medium is further provided, on which a computer program is stored, which when executed by a processor, implements the method of any of the above embodiments of logistic document-based processing.
One embodiment of the above invention has the following advantages or benefits: the method comprises the steps of respectively obtaining service data from block chain link points corresponding to the logistics documents by receiving a logistics document comparison instruction of a plurality of links so as to calculate message summaries of the block chain link service data; acquiring respective local service data based on the service systems respectively corresponding to the plurality of logistics receipts to calculate message summaries of the local service data; and respectively comparing the message abstract of the local service data with the message abstract of the corresponding block link point service data so as to execute comparison of the logistics documents in multiple links. Therefore, the invention can realize the fast and accurate comparison of the logistics documents in a plurality of links.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a schematic diagram of a main flow of a method for processing a logistics document according to a first embodiment of the invention
Fig. 2 is a schematic view of a main flow of a method of processing a logistics document according to a second embodiment of the invention;
fig. 3 is a schematic view of a main flow of a method of processing a logistic document according to a third embodiment of the present invention;
fig. 4 is a schematic view of a main flow of a method of processing a logistics document according to a fourth embodiment of the present invention;
fig. 5 is a schematic view of a main flow of a method of processing a logistics document according to a fifth embodiment of the present invention;
FIG. 6 is a schematic diagram of the main modules of a device for processing logistics documents in accordance with an embodiment of the present invention;
FIG. 7 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
fig. 8 is a schematic structural diagram of a computer system suitable for implementing a terminal device or a server according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a schematic view of a main flow of a method for processing a logistics document according to a first embodiment of the present invention, and the method for processing the logistics document may include:
step S101, receiving a plurality of link logistics document comparison instructions, and respectively obtaining service data from block chain link points corresponding to the logistics documents to calculate message abstracts of the block chain node service data.
The block chain is essentially a decentralized database, and is a string of data blocks generated by using a cryptographic method to correlate, and each data block contains information of service data for verifying the validity of the information.
Preferably, the business data is respectively read into the parallel computing engine from the block link points corresponding to the logistics document, so as to respectively obtain the message abstracts of the block link point business data. The parallel computation is implemented by a large data stream processing distributed computation framework in a data parallel and pipeline mode, and is suitable for processing mass data in batches. The message digest is a digital digest, that is, a single Hash function is used to convert the plaintext 'digest' to be encrypted into a string of ciphertext with fixed length, and the string of ciphertext has fixed length.
For example: messages obtained from block link points:
{"keyA":"valueA","keyB":"valueB"},
then, the abstract of the message is calculated as follows:
6879dd2ff339fac5f1215fa40a7f28899669fa3dd7b13d2778210e0094f58f81
further, fields in the business data are ordered using intelligent contracts. If the calculated hash values are not ordered, they may not be consistent, for example, the two data, i.e., { "keyA": value A "," keyB ": value B" } and { "keyB": value B "," keyA ": value A" }, are identical in value, but are not identical if the calculated hash values are not ordered.
And step S102, acquiring respective local service data based on the service systems respectively corresponding to the plurality of logistics receipts so as to calculate the message abstract of the local service data.
Preferably, the business data obtained from the business system generates a key according to the field name, generates a value according to the contents of the database column, and generates a character string (e.g., { "keyA": value A "," keyB ": value B" }) according to a preset template to calculate the abstract of the character string. Preferably, the strings are generated according to the json format, which is a lightweight data exchange format that is easy for human reading and writing, and also easy for machine parsing and generation.
Step S103, the message abstracts of the local service data are respectively compared with the message abstracts of the corresponding block link node service data, so as to execute comparison of the logistics documents of a plurality of links.
As another embodiment, the logistics documents need to be transferred among the logistics links, a trusted electronic document is needed to be checked in all the links from the warehouse to the transportation and then to the receiving link, before step S101 is executed, corresponding local business data needs to be obtained based on the business system corresponding to the logistics documents in each link, and the local business data is assembled into a message in a preset format through an intelligent contract. And then, storing the message to a block chain node corresponding to the logistics document in the link.
Preferably, the template engine constructed by the intelligent contract generates the uplink message conforming to a certain format. For example, the following json format logistics document message:
{"keyB":"valueB","keyA":"valueA"}
the method comprises the following steps of constructing different template engines according to different logistics documents by using an intelligent contract, wherein one engine corresponds to one service, and the template engine can be reconstructed without restarting the whole service, such as the template structure of a service A: { "keyA": and "" keyB ": are used for filling values into the template according to json data, so that the problem of sorting is avoided, and the filled data is as follows:
{"keyA":"valueA","keyB":"valueB"}。
it is also worth mentioning that the invention can also receive instructions to build new business systems, for example when the local database is not trusted or a new logistics node. And then, acquiring the service data based on the logistics document in which the message abstract of the local service data is consistent with the message abstract of the corresponding block link point service data in comparison. And further, storing the service data into a new service system.
Therefore, the method for processing the logistics document, provided by the invention, has the advantages that a public block chain system is built, both the logistics document and the logistics document are added as a block chain link point, the business data of the logistics document is linked, both the logistics document and the logistics document trust the business data kept on the block chain, and the trust problem when the business system data corresponding to the logistics document is inconsistent can be further solved. In addition, only the abstracts of the data need to be compared, if the abstracts are consistent, the data are not tampered, and if the abstracts are inconsistent, the data on the block chain is taken as the standard, so that the data comparison and the business system data reconstruction corresponding to the logistics document are carried out under the background of hundred million-level concurrence.
That is, the present invention uses the block chain technology, as long as both sides deploy block chain nodes respectively and access the alliance chain, data can be synchronized, only the verification with the block chain system is needed during the verification, and each newly accessed service system can join the block chain node by itself to synchronize service data by itself.
Fig. 2 is a schematic diagram of a main flow of a method for processing a logistics document according to a second embodiment of the invention, and the method for processing the logistics document may include:
step S201, receiving a comparison instruction of the logistics documents in a plurality of links.
Step S202, respectively reading in the service data from the block chain link points corresponding to the logistics document to the parallel computing engine so as to respectively obtain the message abstracts of the service data of the block chain link points.
Step S203, obtaining respective local service data based on the service systems respectively corresponding to the plurality of logistics documents, so as to calculate a message abstract of the local service data.
In the embodiment, step S202 and step S203 may be executed synchronously, or step S202 may be executed first and then step S203 is executed, or step S203 may be executed first and then step S202 is executed.
Step S204, the message abstracts of the local service data are respectively compared with the message abstracts of the corresponding block chain link point service data.
In the embodiment, when the consistency of the logistics documents is compared, the local business data and the block link point business data are not directly compared, abstract calculation is used, a big data technology is used for parallel calculation, data of one batch are calculated at one time, and the comparison speed is greatly improved.
Step S205, determining whether the message digest of the local service data is consistent with the message digest of the corresponding block link node service data, if so, performing step S206, otherwise, performing step S207.
And step S206, comparing the logistics documents in a plurality of links to obtain the same result.
Step S207, the inconsistent local business data is tampered, and the comparison results of the logistics documents in the multiple links are different.
In an embodiment, service data with credibility is stored in each blockchain node, and if the local service data is inconsistent with the blockchain node service data, it indicates that the local service data has a problem, and the local service data is not consistent with the related content of the local service data of other links.
It is worth to be noted that in the whole process, the block chain guarantees the safety and the credibility of data, the big data technology performs concurrent computation, and the abstract technology guarantees the comparison performance, so that the anti-tampering, high-performance and rapid construction of the logistics documents are finally realized.
Fig. 3 is a schematic diagram of a main flow of a method for processing a logistics document according to a third embodiment of the invention, and the method for processing the logistics document may include:
step S301, receiving an instruction for constructing a new service system.
Step S302, respectively obtaining service data from block chain link points corresponding to logistics documents of a certain link, so as to calculate message abstracts of the block chain link node service data.
Step S303, local service data are obtained based on the service system corresponding to the logistics document, so as to calculate the message abstract of the local service data.
Step S304, the message abstract of the local service data is compared with the message abstract of the corresponding block chain node service data.
Step S305, determining whether the message digest of the local service data is consistent with the message digest of the corresponding block link node service data, if so, performing step S306, otherwise, returning to step S302.
Step S306, acquiring the service data to store the service data into the new service system.
Preferably, each field of the service data in the blockchain node is split and finally inserted into the database of the new service system. For example: traffic data obtained from block chaining points { "mesh point name": "harvest and breed big piece", "address": "certain way", it is right after the check, the new logistics adapter can be inserted into the local database directly.
Fig. 4 is a schematic diagram of a main flow of a method for processing a logistics document according to a fourth embodiment of the invention, and the method for processing the logistics document may include:
step S401, receiving a comparison instruction of the logistics documents in a plurality of links.
Step S402, respectively obtaining service data from the block chain link points corresponding to the logistics documents to calculate the message abstract of the block chain link service data.
Preferably, the business data is respectively read into the parallel computing engine from the block link points corresponding to the logistics document, so as to respectively obtain the message abstracts of the block link point business data.
Step S403, obtaining respective local service data based on the service systems respectively corresponding to the plurality of logistics documents, so as to calculate a message abstract of the local service data.
Step S404, the message abstracts of the local service data are compared with the message abstracts of the corresponding block link node service data respectively so as to execute comparison of the logistics documents of a plurality of links.
Step S405, receiving an instruction to construct a new service system.
Step S406, obtaining the service data based on the logistics document in which the message abstract of the local service data is consistent with the message abstract of the corresponding block link point service data in comparison.
Step S407, storing the service data into a new service system.
Fig. 5 is a schematic diagram of a main flow of a method for processing a logistics document according to a fifth embodiment of the present invention, where the method for processing the logistics document may include:
step S501, acquiring corresponding local business data based on the business system corresponding to the logistics bill of each link.
Step S502, the local service data is assembled into a message with a preset format through an intelligent contract.
And S503, storing the message to the block chain node corresponding to the logistics document in the link.
In an embodiment, the service data of the service system is synchronized in the corresponding blockchain node through steps 501 to S503, and the blockchain node cannot modify the synchronized service data.
Step S504, receiving a comparison instruction of the logistics documents of a plurality of links, and respectively obtaining service data from the block chain link points corresponding to the logistics documents to calculate the message abstract of the block chain node service data.
Preferably, the business data is respectively read into the parallel computing engine from the block link points corresponding to the logistics document, so as to respectively obtain the message abstracts of the block link point business data.
And step S505, acquiring respective local service data based on the service systems respectively corresponding to the plurality of logistics receipts to calculate the message abstract of the local service data.
Step S506, the message abstracts of the local service data are respectively compared with the message abstracts of the corresponding block link node service data, so as to perform comparison of the logistics documents in multiple links.
According to the various embodiments, the method and the system can be seen that the logistics document is linked, the intelligent contract template is used for sequencing business data, then the parallel computing batch computing abstract value is used for comparing and judging whether the logistics document is tampered or not, and the result is input into the database.
Because the traditional service system is not supported by a trusted node, when comparing service data of both parties, the whole service message needs to be compared, for example: the method comprises the steps of { "keyA": value A "," keyB ": value B" }, and the two values of value A and value B need to be analyzed, and are compared in the service system of the other party to find out the inconsistent places, and the trust problem exists.
The invention can make each business system compare with the data on the block chain by itself, if the data is consistent with the abstract of the block chain data, the data is credible data, and the comparison does not need to analyze the business message, only needs to compare the abstract, and can quickly reconstruct the database when the data is falsified.
Fig. 6 is a schematic diagram of main modules of a device for processing a logistics document according to a first embodiment of the invention, and as shown in fig. 6, the device 600 for processing a logistics document includes a calculating module 601 and a comparing module 602. The calculation module 601 is configured to receive a logistics document comparison instruction of multiple links, and obtain service data from block link points corresponding to the logistics document, respectively, so as to calculate a message abstract of the block link node service data; and acquiring respective local service data based on the service systems respectively corresponding to the plurality of logistics receipts so as to calculate the message abstract of the local service data. The comparison module 602 is configured to compare the message digest of the local service data with the message digest of the corresponding block link node service data, respectively, so as to perform comparison of the logistics documents in multiple links.
Preferably, the calculating module 601 obtains the service data from the block link points corresponding to the logistics document, so as to calculate the message summary of the block link node service data, including:
and respectively reading the business data from the block chain link points corresponding to the logistics document into the parallel computing engine so as to respectively obtain the message abstracts of the block chain link point business data.
As another embodiment, before the calculating module 601 obtains the service data from the block link points corresponding to the logistics documents, the method includes:
and acquiring corresponding local service data based on the service system corresponding to the logistics document in each link, and splicing the local service data into a message in a preset format through an intelligent contract. And storing the message to a block chain node corresponding to the logistics document in the link.
It is further worth mentioning that the alignment module 602 is further configured to:
receiving an instruction for constructing a new service system, acquiring service data based on a logistics document with consistent comparison between a message abstract of local service data and a message abstract of corresponding block link point service data, and storing the service data into the new service system.
It should be noted that the method for processing the logistics documents and the device for processing the logistics documents in the present invention have corresponding relation in the specific implementation content, so the repeated content is not described again.
Fig. 7 shows an exemplary system architecture 700 of a method for processing a logistics document or a device for processing a logistics document to which embodiments of the invention can be applied.
As shown in fig. 7, the system architecture 700 may include terminal devices 701, 702, 703, a network 704, and a server 705. The network 704 serves to provide a medium for communication links between the terminal devices 701, 702, 703 and the server 705. Network 704 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
A user may use the terminal devices 701, 702, 703 to interact with a server 705 over a network 704, to receive or send messages or the like. The terminal devices 701, 702, 703 may have installed thereon various communication client applications, such as a shopping-like application, a web browser application, a search-like application, an instant messaging tool, a mailbox client, social platform software, etc. (by way of example only).
The terminal devices 701, 702, 703 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 705 may be a server providing various services, such as a background management server (for example only) providing support for shopping websites browsed by users using the terminal devices 701, 702, 703. The backend management server may analyze and perform other processing on the received data such as the product information query request, and feed back a processing result (for example, target push information, product information — just an example) to the terminal device.
It should be noted that the method for processing the logistics documents provided by the embodiment of the present invention is generally executed by the server 705, and accordingly, the device for processing the logistics documents is generally disposed in the server 705.
It should be understood that the number of terminal devices, networks, and servers in fig. 7 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 8, shown is a block diagram of a computer system 800 suitable for use with a terminal device implementing an embodiment of the present invention. The terminal device shown in fig. 8 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 8, the computer system 800 includes a Central Processing Unit (CPU)801 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)802 or a program loaded from a storage section 808 into a Random Access Memory (RAM) 803. In the RAM803, various programs and data necessary for the operation of the system 800 are also stored. The CPU801, ROM802, and RAM803 are connected to each other via a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
The following components are connected to the I/O interface 805: an input portion 806 including a keyboard, a mouse, and the like; an output section 807 including a signal such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 808 including a hard disk and the like; and a communication section 809 including a network interface card such as a LAN card, a modem, or the like. The communication section 809 performs communication processing via a network such as the internet. A drive 810 is also connected to the I/O interface 805 as necessary. A removable medium 811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 810 as necessary, so that a computer program read out therefrom is mounted on the storage section 808 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 809 and/or installed from the removable medium 811. The computer program executes the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 801.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present invention may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor includes a calculation module and a comparison module. Wherein the names of the modules do not in some cases constitute a limitation of the module itself.
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise: receiving a comparison instruction of the logistics documents of a plurality of links, and respectively obtaining service data from block chain link points corresponding to the logistics documents to calculate message abstracts of the block chain node service data; acquiring respective local service data based on the service systems respectively corresponding to the plurality of logistics receipts to calculate message summaries of the local service data; and respectively comparing the message abstract of the local service data with the message abstract of the corresponding block link point service data so as to execute comparison of the logistics documents in multiple links.
According to the technical scheme of the embodiment of the invention, the problems of difficult comparison of logistics documents and low efficiency can be solved.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (6)

1. A method for processing logistics documents is characterized by comprising the following steps:
receiving a comparison instruction of the logistics documents of a plurality of links, respectively reading in service data from the block link points corresponding to the logistics documents to a parallel computing engine so as to respectively obtain message summaries of the service data of the block link points;
acquiring respective local service data based on the service systems respectively corresponding to the plurality of logistics receipts to calculate message summaries of the local service data;
respectively comparing the message abstract of the local service data with the message abstract of the corresponding block link point service data so as to execute comparison of the logistics documents in multiple links;
before business data is respectively obtained from block link points corresponding to logistics documents, the method comprises the following steps:
acquiring corresponding local business data based on a business system corresponding to the logistics documents in each link, and constructing different template engines according to different logistics documents through intelligent contracts so as to assemble the local business data into messages in a preset format;
and storing the message to a block chain node corresponding to the logistics document in the link.
2. The method of claim 1, further comprising:
receiving an instruction for constructing a new service system;
acquiring service data based on a logistics document with the consistent comparison between the message abstract of the local service data and the message abstract of the corresponding block link point service data;
and storing the service data into a new service system.
3. A logistics document processing device is characterized by comprising:
the calculation module is used for receiving comparison instructions of the logistics documents of a plurality of links, respectively reading in service data from the block link points corresponding to the logistics documents to the parallel calculation engine, and respectively obtaining message abstracts of the service data of the block link points; acquiring respective local service data based on the service systems respectively corresponding to the plurality of logistics receipts to calculate message summaries of the local service data;
the comparison module is used for respectively comparing the message abstract of the local service data with the message abstract of the corresponding block link point service data so as to execute comparison of the logistics documents in multiple links;
the apparatus is further configured to perform the following: before business data are respectively obtained from block link points corresponding to logistics documents, corresponding local business data are obtained based on business systems corresponding to the logistics documents in all links, different template engines are constructed according to different logistics documents through intelligent contracts, and the local business data are assembled into messages in a preset format; and storing the message to a block chain node corresponding to the logistics document in the link.
4. The apparatus of claim 3, wherein the alignment module is further configured to:
receiving an instruction for constructing a new service system;
acquiring service data based on a logistics document with the consistent comparison between the message abstract of the local service data and the message abstract of the corresponding block link point service data;
and storing the service data into a new service system.
5. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of claim 1 or 2.
6. A computer-readable medium, on which a computer program is stored, which program, when being executed by a processor, carries out the method of claim 1 or 2.
CN201910927187.2A 2019-09-27 2019-09-27 Logistics document processing method and device Active CN110705935B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910927187.2A CN110705935B (en) 2019-09-27 2019-09-27 Logistics document processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910927187.2A CN110705935B (en) 2019-09-27 2019-09-27 Logistics document processing method and device

Publications (2)

Publication Number Publication Date
CN110705935A CN110705935A (en) 2020-01-17
CN110705935B true CN110705935B (en) 2022-04-12

Family

ID=69197141

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910927187.2A Active CN110705935B (en) 2019-09-27 2019-09-27 Logistics document processing method and device

Country Status (1)

Country Link
CN (1) CN110705935B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112910999A (en) * 2021-01-29 2021-06-04 四川虹微技术有限公司 Information measurement method, device and system based on block chain and measurement box

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109255622A (en) * 2018-01-08 2019-01-22 浙江甲骨文超级码科技股份有限公司 A kind of back-tracing anti-fake data-storage system
CN109728896A (en) * 2018-12-26 2019-05-07 广州云趣信息科技有限公司 A kind of incoming call certification and source tracing method and process based on block chain

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107196989B (en) * 2017-03-21 2019-08-09 阿里巴巴集团控股有限公司 A kind of processing method and processing device of service request
CN107395557B (en) * 2017-03-28 2020-05-15 创新先进技术有限公司 Service request processing method and device
US10601665B2 (en) * 2017-07-26 2020-03-24 International Business Machines Corporation Using blockchain smart contracts to manage dynamic data usage requirements
CN109101841B (en) * 2018-08-27 2022-08-02 深圳前海益链网络科技有限公司 Data processing method, device and system, computer equipment and storage medium
CN109308211B (en) * 2018-09-11 2021-04-23 上海点融信息科技有限责任公司 Method, apparatus and storage medium for processing transaction data in a blockchain
CN110070359B (en) * 2019-03-19 2020-12-01 创新先进技术有限公司 Block chain-based data checking system, method, computing device and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109255622A (en) * 2018-01-08 2019-01-22 浙江甲骨文超级码科技股份有限公司 A kind of back-tracing anti-fake data-storage system
CN109728896A (en) * 2018-12-26 2019-05-07 广州云趣信息科技有限公司 A kind of incoming call certification and source tracing method and process based on block chain

Also Published As

Publication number Publication date
CN110705935A (en) 2020-01-17

Similar Documents

Publication Publication Date Title
US11640474B2 (en) Method and apparatus for operating database
US11005673B2 (en) Communication gateway services in a networked message distribution system
CN110019080B (en) Data access method and device
CN108846753B (en) Method and apparatus for processing data
CN110572422B (en) Data downloading method, device, equipment and medium
CN109614402A (en) Multidimensional data query method and device
CN111125107A (en) Data processing method, device, electronic equipment and medium
US11997216B2 (en) Systems and methods for maintaining secure, encrypted communications across distributed computer networks by linking cryptography-based digital repositories in order to perform blockchain operations in decentralized applications
CN111241189A (en) Method and device for synchronizing data
CN111753019B (en) Data partitioning method and device applied to data warehouse
WO2022028484A1 (en) File sharing method, apparatus, and system
CN110705935B (en) Logistics document processing method and device
CN113641706B (en) Data query method and device
CN112579673A (en) Multi-source data processing method and device
CN113761565A (en) Data desensitization method and apparatus
US20230269084A1 (en) Systems and methods for selecting secure, encrypted communications across distributed computer networks for cryptography-based digital repositories in order to perform blockchain operations in decentralized applications
CN116069725A (en) File migration method, device, apparatus, medium and program product
US20230269086A1 (en) Systems and methods for using secure, encrypted communications across distributed computer networks to efficiently index blockchain states for performing blockchain operations in decentralized applications using cryptography-based digital repositories
CN111984616A (en) Method, device and system for updating shared file
CN113760861A (en) Data migration method and device
CN110019671B (en) Method and system for processing real-time message
CN113704222A (en) Method and device for processing service request
CN112988857A (en) Service data processing method and device
CN113221157B (en) Equipment upgrading method and device
US20220253467A1 (en) Method, device and program product for generating configuration information of storage system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant