CN111400344B - Electronic bill printing method, device, equipment and storage medium - Google Patents

Electronic bill printing method, device, equipment and storage medium Download PDF

Info

Publication number
CN111400344B
CN111400344B CN202010194404.4A CN202010194404A CN111400344B CN 111400344 B CN111400344 B CN 111400344B CN 202010194404 A CN202010194404 A CN 202010194404A CN 111400344 B CN111400344 B CN 111400344B
Authority
CN
China
Prior art keywords
order
information
preset
terminal
user
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
CN202010194404.4A
Other languages
Chinese (zh)
Other versions
CN111400344A (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.)
Dongpu Software Co Ltd
Original Assignee
Dongpu Software 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 Dongpu Software Co Ltd filed Critical Dongpu Software Co Ltd
Priority to CN202010194404.4A priority Critical patent/CN111400344B/en
Publication of CN111400344A publication Critical patent/CN111400344A/en
Application granted granted Critical
Publication of CN111400344B publication Critical patent/CN111400344B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • G06F16/245Query processing
    • 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
    • G06F16/275Synchronous replication
    • 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/083Shipping
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Data Mining & Analysis (AREA)
  • Tourism & Hospitality (AREA)
  • Strategic Management (AREA)
  • Quality & Reliability (AREA)
  • General Business, Economics & Management (AREA)
  • Operations Research (AREA)
  • Marketing (AREA)
  • Computing Systems (AREA)
  • Human Resources & Organizations (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Development Economics (AREA)
  • Computational Linguistics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to the technical field of logistics, and discloses a method, a device, equipment and a storage medium for printing an electronic receipt, which are used for improving the printing efficiency and flexibility of the electronic receipt. The electronic bill printing method includes: receiving a system ordering request sent by a terminal, and performing parameter verification on the system ordering request to obtain a verification result; when the verification result is that the verification is successful, obtaining initial order information based on the order message information; when detecting that the first user provides the freight note number offline, acquiring and verifying the allocated freight note number to obtain a verified freight note number; when detecting that the first user does not adopt the offline supply of the waybill number, locking the preset slave database, and acquiring a new waybill number from the preset slave database; and setting the verified order number or the new order number as a target order number, and packaging the order message information, the initial order information and the target order number into target order information so that the terminal prints the target order information in a preset mode.

Description

Electronic bill printing method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of logistics, in particular to a method, a device, equipment and a storage medium for printing an electronic receipt.
Background
With the development of the current electronic industry, more and more merchants develop offline delivery or store delivery services, the traditional order service cannot meet the rapid development of the current express delivery service volume, and at present, all large, medium and small merchants have the capability of automatically docking express companies to develop services.
The existing method aims at the problems that the flexibility of printing express lists is poor and the printing efficiency is low because the cooperation of express services is developed by public express services, special big clients and a third-party platform, and different management platforms are adopted for order information of different clients in different service scenes.
Disclosure of Invention
The invention mainly aims to solve the problems of poor flexibility and low tape printing efficiency in printing express waybills for different user groups.
The invention provides an electronic bill printing method in a first aspect, which comprises the following steps: receiving a system ordering request sent by a terminal, and performing parameter verification on the system ordering request to obtain a verification result, wherein the system ordering request comprises order message information; when the verification result is successful, storing the order message information into a preset main database, and inquiring a preset slave database based on the order message information to obtain initial order information, wherein the initial order information comprises three-segment code information, package place information, piece collecting network information and piece sending network information; when detecting that the first user provides the waybill number offline, acquiring and verifying the allocated waybill number from the preset database to obtain a verified waybill number; when the first user is detected not to adopt the offline waybill number, locking the preset slave database, and acquiring a new waybill number from the preset slave database; and setting the verified order number or the new order number as a target order number, performing data encapsulation on the order message information, the initial order information and the target order number according to a preset data format to obtain target order information, and sending the target order information to the terminal so that the terminal prints the target order information in a preset mode.
Optionally, in a first implementation manner of the first aspect of the present invention, the receiving a system ordering request sent by a terminal, and performing parameter verification on the system ordering request to obtain a verification result, where the system ordering request includes order message information, and the method includes: receiving a system ordering request sent by a terminal, and analyzing the system ordering request to obtain a request interface type, an account identification of a first user, order message information and signature information; when the request interface type is a target type, acquiring a secret key of a first user, splicing the account identification of the first user, the secret key of the first user and the order message information according to the sequence, and encrypting the spliced character string according to a preset encryption algorithm to obtain information to be verified; judging whether the information to be verified is consistent with the signature information or not to obtain a matching result; if the matching result is matching failure, sending a parameter mismatching response message to the terminal; if the matching result is successful, performing data analysis on the order message information to obtain an analysis result and analyzed message information, wherein the analyzed order message information comprises an order unique serial number and an order type; if the analysis result is analysis failure, sending a request for acquiring normal order information to the terminal; if the analysis result is successful, reading an order unique serial number from the analyzed order message information, and judging whether the order message information exists or not based on the order unique serial number and the account identification of the first user to obtain a verification result; if the order message information exists, determining that the verification result is verification failure, and sending an order repeated response message to the terminal; and if the order message information does not exist, determining that the verification result is successful.
Optionally, in a second implementation manner of the first aspect of the present invention, when the verification result is that the verification is successful, the order message information is stored in a preset master database, and a preset slave database is queried based on the order message information to obtain initial order information, where the initial order information includes three-segment code information, package location information, piece collecting website information, and piece dispatching website information, and the method includes: when the verification result is successful, writing the analyzed order message information into a preset master database according to the account identification of the first user, and screening routing information from the analyzed order message information, wherein the routing information comprises address information for order taking and address information for order delivery, and data synchronization is performed between the preset master database and a preset slave database; acquiring preset distribution area information, and judging whether the routing information exists in the preset distribution area information or not; if the routing information does not exist in the preset distribution area information, sending an order delivery failure response message to the terminal; if the routing information exists in the preset distribution area information, inquiring the preset slave database based on the routing information to obtain initial order information, wherein the initial order information comprises three-segment code information, package-gathering place information, piece collecting network point information and piece distributing network point information.
Optionally, in a third implementation manner of the first aspect of the present invention, when it is detected that the first user provides the waybill number offline, the obtaining and verifying the allocated waybill number from the database by the preset to obtain a verified waybill number includes: when detecting that a first user provides the freight note number offline, inquiring the preset slave database based on the account identification of the first user and the order unique serial number to obtain the allocated freight note number; carrying out validity check on the allocated waybill number according to the order type to obtain a check result; if the verification result is verification failure, sending a request for reallocating the waybill number to the terminal; and if the verification result is that the verification is successful, setting the allocated freight bill number as the verified freight bill number.
Optionally, in a fourth implementation manner of the first aspect of the present invention, when it is detected that the first user does not provide the waybill number offline, the locking the preset slave database, and acquiring a new waybill number from the preset slave database includes: when detecting that the first user does not adopt the offline supply of the waybill number, determining a waybill number section based on the order type; locking the single number inventory data table in the preset slave database, and judging whether the single number inventory data table has a to-be-distributed waybill number; if the list number inventory data table does not contain the freight number to be distributed, sending a list number inventory shortage response message to the terminal; and if the list number inventory data table has the freight bill number to be distributed, inquiring the list number inventory data table based on the freight bill number section to obtain a new freight bill number.
Optionally, in a fifth implementation manner of the first aspect of the present invention, after the setting the verified order number or the new order number as a target order number, performing data encapsulation on the order message information, the initial order information, and the target order number according to a preset data format to obtain target order information, and sending the target order information to the terminal, so that the terminal prints the target order information in a preset manner, the electronic order printing method further includes: when an order import request sent by the terminal is received, importing order information into the preset main database in batches through a file with a preset format, and performing data verification on the order information, wherein the order import request is used for executing an order placing operation of a second user, and the second user has an order import permission and does not have a system order placing permission; and when the order information is detected to pass the verification, distributing a corresponding freight order number and corresponding three-segment code information to the verified order information through a preset script, and sending a print order request to the terminal.
Optionally, in a sixth implementation manner of the first aspect of the present invention, after the setting the verified order number or the new order number as a target order number, performing data encapsulation on the order message information, the initial order information, and the target order number according to a preset data format to obtain target order information, and sending the target order information to the terminal, so that the terminal prints the target order information in a preset manner, the electronic order printing method further includes: when an order modification request sent by the terminal is received, updating a first order in the preset main database based on the order modification request, wherein the first order is an order without logistics information in a first preset time length; when an order canceling request sent by the terminal is received, canceling operation is carried out on a second order in the preset main database based on the order canceling request, the second order is an order which does not have logistics information in a second preset time length and is in a cancelable state, and the second preset time length is smaller than the first preset time length.
A second aspect of the present invention provides an electronic form printing apparatus comprising: the system comprises a receiving module, a processing module and a sending module, wherein the receiving module is used for receiving a system ordering request sent by a terminal and carrying out parameter verification on the system ordering request to obtain a verification result, and the system ordering request comprises order message information; the query module is used for storing the order message information into a preset main database when the verification result is successful, and querying a preset slave database based on the order message information to obtain initial order information, wherein the initial order information comprises three-segment code information, package place information, piece collecting network information and piece dispatching network information; the checking module is used for acquiring and checking the allocated freight note number from the preset slave database to obtain a checked freight note number when detecting that the first user provides the freight note number offline; the distribution module is used for locking the preset slave database and acquiring a new waybill number from the preset slave database when detecting that the first user does not adopt the offline waybill number; and the printing module is used for setting the verified waybill number or the new waybill number as a target waybill number, performing data encapsulation on the order message information, the initial waybill information and the target waybill number according to a preset data format to obtain target waybill information, and sending the target waybill information to the terminal so that the terminal prints the target waybill information in a preset mode.
Optionally, in a first implementation manner of the second aspect of the present invention, the receiving module is specifically configured to: receiving a system ordering request sent by a terminal, and analyzing the system ordering request to obtain a request interface type, an account identification of a first user, order message information and signature information; when the request interface type is a target type, acquiring a secret key of a first user, splicing the account identification of the first user, the secret key of the first user and order message information according to the sequence, and encrypting the spliced character string according to a preset encryption algorithm to obtain information to be verified; judging whether the information to be verified is consistent with the signature information or not to obtain a matching result; if the matching result is matching failure, sending a parameter mismatching response message to the terminal; if the matching result is successful, performing data analysis on the order message information to obtain an analysis result and analyzed message information, wherein the analyzed order message information comprises an order unique serial number and an order type; if the analysis result is analysis failure, sending a request for acquiring normal order information to the terminal; if the analysis result is successful, reading an order unique serial number from the analyzed order message information, and judging whether the order message information exists based on the order unique serial number and the account identification of the first user to obtain a verification result; if the order message information exists, determining that the verification result is verification failure, and sending an order repeated response message to the terminal; and if the order message information does not exist, determining that the verification result is successful.
Optionally, in a second implementation manner of the second aspect of the present invention, the query module is specifically configured to: when the verification result is successful, writing the analyzed order message information into a preset master database according to the account identification of the first user, and screening routing information from the analyzed order message information, wherein the routing information comprises address information for order taking and address information for order delivery, and data synchronization is performed between the preset master database and the preset slave database; acquiring preset distribution area information, and judging whether the routing information exists in the preset distribution area information or not; if the routing information does not exist in the preset distribution area information, sending an order delivery failure response message to the terminal; if the routing information exists in the preset distribution area information, inquiring the preset slave database based on the routing information to obtain initial order information, wherein the initial order information comprises three-segment code information, package-gathering place information, piece collecting network point information and piece distributing network point information.
Optionally, in a third implementation manner of the second aspect of the present invention, the verification module is specifically configured to: when detecting that a first user provides the freight note number offline, inquiring the preset slave database based on the account identification of the first user and the order unique serial number to obtain the allocated freight note number; carrying out validity check on the allocated waybill number according to the order type to obtain a check result; if the verification result is verification failure, sending a request for reallocating the freight bill number to the terminal; and if the verification result is that the verification is successful, setting the allocated freight bill number as the verified freight bill number.
Optionally, in a fourth implementation manner of the second aspect of the present invention, the allocating module is specifically configured to: when detecting that the first user does not adopt the offline supply of the waybill number, determining a waybill number section based on the order type; locking the single number inventory data table in the preset slave database, and judging whether the single number inventory data table has a to-be-distributed waybill number; if the list number inventory data table does not contain the freight number to be distributed, sending a list number inventory shortage response message to the terminal; and if the waybill number to be distributed exists in the waybill number inventory data table, inquiring the waybill number inventory data table based on the waybill number segment to obtain a new waybill number.
Optionally, in a fifth implementation manner of the second aspect of the present invention, the electronic form printing apparatus further includes: the import module is used for importing order information into the preset main database in batches through a file with a preset format and carrying out data verification on the order information when receiving an order import request sent by the terminal, wherein the order import request is used for executing order placing operation of a second user, and the second user has an order import permission and does not have a system order placing permission; and the second distribution module is used for distributing the corresponding freight order number and the corresponding three-section code information to the order information of the second user through a preset script and sending a print order request to the terminal when the order information of the second user is detected to pass the verification.
Optionally, in a sixth implementation manner of the second aspect of the present invention, the electronic form printing apparatus further includes: the modification module is used for updating a first order in the preset main database based on a modified order request when receiving the modified order request sent by the terminal, wherein the first order is an order without logistics information in a first preset time length; and the canceling module is used for canceling a second order in the preset main database based on the order canceling request when the order canceling request sent by the terminal is received, wherein the second order is an order which does not have logistics information within a second preset time length and has an order state in a cancelable state, and the second preset time length is smaller than the first preset time length.
A third aspect of the present invention provides an electronic sheet printing apparatus comprising: a memory having instructions stored therein and at least one processor, the memory and the at least one processor interconnected by a line; the at least one processor invokes the instructions in the memory to cause the electronic form printing apparatus to perform the electronic form printing method described above.
A fourth aspect of the present invention provides a computer-readable storage medium having stored therein instructions, which when run on a computer, cause the computer to execute the above-described electronic form printing method.
In the technical scheme provided by the invention, a system ordering request sent by a terminal is received, and parameter verification is carried out on the system ordering request to obtain a verification result, wherein the system ordering request comprises order message information; when the verification result is successful, storing the order message information into a preset main database, and inquiring a preset slave database based on the order message information to obtain initial order information, wherein the initial order information comprises three-segment code information, package ground information, piece collecting network point information and piece sending network point information; when detecting that the first user provides the freight note number offline, acquiring and verifying the allocated freight note number from the preset database to obtain a verified freight note number; when the first user is detected not to adopt the offline waybill number, locking the preset slave database, and acquiring a new waybill number from the preset slave database; and setting the verified order number or the new order number as a target order number, performing data encapsulation on the order message information, the initial order information and the target order number according to a preset data format to obtain target order information, and sending the target order information to the terminal so that the terminal prints the target order information in a preset mode. In the embodiment of the invention, through a unified platform entrance for receiving the express delivery of the large customer, a read-write separation and locking mechanism is adopted, the processing efficiency of order information and the accuracy rate of distributing the order number are improved, the order information is uniformly managed by adopting a system ordering or batch import mode aiming at users with different authorities, an offline ordering mode and an ordering mode of a system client side are supported under different service scenes, and the efficiency and the flexibility of electronic order printing are improved.
Drawings
FIG. 1 is a schematic diagram of an embodiment of an electronic form printing method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of another embodiment of an electronic form printing method according to the embodiment of the present invention;
FIG. 3 is a schematic view of an embodiment of an electronic form printing apparatus according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of another embodiment of an electronic form printing apparatus according to an embodiment of the present invention;
fig. 5 is a schematic diagram of an embodiment of an electronic bill printing apparatus according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides an electronic receipt printing method, device, equipment and storage medium, wherein the processing efficiency of order information and the accuracy of allocation of waybill numbers are improved by adopting a read-write separation and locking mechanism through a unified platform inlet for receiving a large client to dock an express, the order information is uniformly managed by adopting a system ordering or batch import mode aiming at users with different authorities, an online ordering mode and a system client ordering mode are supported under different service scenes, and the efficiency and the flexibility of electronic receipt printing are improved.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Moreover, the terms "comprises," "comprising," or "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
For ease of understanding, a detailed flow of an embodiment of the present invention is described below, with reference to fig. 1, an embodiment of an electronic document printing method in an embodiment of the present invention includes:
101. and receiving a system ordering request sent by the terminal, and performing parameter verification on the system ordering request to obtain a verification result, wherein the system ordering request comprises order message information.
The order message information is used for indicating order information when the system places an order, the order information comprises addressee information, addressee information and an order unique identifier, and the order message is encrypted in an extensible markup language (XML) format and then transmitted; further, the server receives a system ordering request sent by the terminal, for example, the request interface type is data; the server analyzes a system ordering request sent by the terminal to obtain order message information, and performs parameter verification on the order message information to obtain a verification result, wherein the verification result comprises verification success and verification failure.
It should be noted that, in the process of sending the system order request by the terminal, the request parameters in the system order request also need to be coded by uniform resource locators, for example, order message information, that is, special symbols and Chinese characters in the request parameters are transcoded.
It is to be understood that the execution subject of the present invention may be an electronic form printing apparatus, and may also be a terminal or a server, which is not limited herein. The embodiment of the present invention is described by taking a server as an execution subject.
102. And when the verification result is successful, storing the order message information into a preset master database, and inquiring a preset slave database based on the order message information to obtain initial order information, wherein the initial order information comprises three-segment code information, package-collecting place information, piece collecting network information and piece sending network information.
The three-segment code information is the bill information represented by three-segment character strings, for example, 630H092-3070, 630 is a distribution center, H092-30 is each-level company and subordinate branch, and 70 is a service staff dispatching code; the information of the parcel collecting place is information of a distribution and sorting center for express delivery, such as Shanghai distribution parcel; the piece collecting site information is address information for collecting express, for example, the Qingpu area YD; and the delivery network point information is address information for delivering express. Specifically, when the verification result is that the verification is successful, the server records order message information according to the account identification of the first user, namely, the order message information is written into a preset main database; the server decodes the order message information, and reads the data of the decoded order message information according to an XML format to obtain an order unique identifier; the server reads initial order information from a preset database based on the order unique identifier, wherein the initial order information comprises three-segment code information, package place information, piece pulling network information and piece sending network information.
Furthermore, the server synchronizes data in the preset master database to the preset slave database, and the preset master database and the preset slave database are used for indicating the read-write separation of the data, so that the processing efficiency of order information is improved.
103. And when the first user is detected to provide the freight note number offline, acquiring and verifying the allocated freight note number from the database from the preset, and obtaining the verified freight note number.
The waybill number provided offline is a single number which is obtained by the first user in advance through the single number obtaining interface and is stored in a preset slave database. Specifically, when detecting that the first user provides the waybill number offline, the server reads the allocated waybill number from the preset database; the server verifies the allocated waybill number to obtain a verification result; when the verification result is that the verification passes, a verified waybill number is obtained, for example, the verified waybill number is 3556123456789, and further, the server performs step 105.
104. And when detecting that the first user does not adopt the offline supply of the waybill number, locking the preset slave database, and acquiring a new waybill number from the preset slave database.
It can be understood that, when it is detected that the first user does not provide the waybill number offline, the server needs to generate a new waybill number, the waybill number is purchased by the first user in advance, is stored in the preset master database in advance, and is then synchronized to the preset slave database, the server determines a relevant data table in the preset slave database according to the account id of the first user, and performs locking processing on the relevant data table, wherein the locking processing includes row locking and table locking, and prevents a concurrent request from acquiring a repeated waybill number; the server retrieves the new waybill number from the associated data table, e.g., 3556987654321 further, the server performs step 105.
105. And setting the verified order number or the new order number as a target order number, performing data encapsulation on the order message information, the initial order information and the target order number according to a preset data format to obtain target order information, and sending the target order information to the terminal so that the terminal prints the target order information in a preset mode.
The preset data format includes a JSON (javaScript object notation) data format and an XML data format, which is not limited herein. The target bill information includes portable document format message information, that is, the server packages the order message information, the initial bill information and the target waybill number into portable document format message information, and the portable document format message information is a binary file stream. Further, after ordering succeeds through the interface, the terminal prints target surface single information in a preset mode, the preset mode comprises surface single printing of portable document format message information and surface single printing of printing service in a preset electronic surface single system, the printing service further comprises a preset template printing mode and a printing service plug-in mode, the preset template printing mode enables the terminal to render a corresponding binary file stream into a portable document format by setting message header information into the portable document format, renders the target surface single information into a preset template, and calls a preset printer to print the target surface single information; the printing service plug-in mode needs to be pre-installed with the printing plug-in, and the bill printing is carried out after the required printing information is processed, and it can be understood that the efficiency and the flexibility of the bill printing are improved by various printing modes.
In the embodiment of the invention, through a unified platform entrance for receiving the express delivery of the large customer, a read-write separation and locking mechanism is adopted, the processing efficiency of order information and the accuracy rate of distributing the order number are improved, the order information is uniformly managed by adopting a system ordering or batch import mode aiming at users with different authorities, an offline ordering mode and an ordering mode of a system client side are supported under different service scenes, and the efficiency and the flexibility of electronic order printing are improved.
Referring to fig. 2, another embodiment of the electronic document printing method according to the embodiment of the present invention includes:
201. and receiving a system ordering request sent by the terminal, and performing parameter verification on the system ordering request to obtain a verification result, wherein the system ordering request comprises order message information.
Specifically, the server receives a system access request sent by the terminal, and analyzes the system access request to obtain a request interface type request, an account identifier partnered of the first user, order message information xmldata and signature information validity, wherein xmldata is an XML-format character string which has been encoded by base64, the request interface type adopts data to represent a system order placing request, and adopts update _ order to represent a modified order request and cancel _ order to represent an order canceling request; the account identification of the first user is used for identifying the first user by adopting a preset identification rule, the first user is a preset user with read-write permission, and simultaneously has interface development and docking capabilities, namely the user with system ordering permission, for example, the first user comprises a headquarter user, a website user and a VIP user; when the request interface type request is a target type, the server acquires a key of the first user, wherein the key is a 32-bit random code generated by the system, the server splices the account identification of the first user, the key of the first user and the order message information according to the sequence, for example, partnered + key + xmldata, and encrypts the spliced character string according to a preset encryption algorithm to obtain the verified information verified _ data; the server judges whether the verified information verified _ data is consistent with the signature information validity or not to obtain a matching result; if the matching result is matching failure, the server sends a parameter mismatching response message to the terminal and determines that the process is finished; if the matching result is successful, the server performs data analysis on the order message information to obtain an analysis result and analyzed message information, wherein the analyzed order message information comprises an order unique serial number and an order type, for example, the numerical value of the order unique serial number order _ serial _ no is test _1576652420, and the order type order _ type is common; if the analysis result is analysis failure, the server sends a request for acquiring normal order information to the terminal and determines that the process is finished; if the analysis result is successful, the server reads the order unique serial number from the analyzed order message information, and judges whether the order message information exists based on the order unique serial number and the account identification of the first user to obtain a verification result; if the order message information exists, the server determines that the verification result is verification failure, and sends an order repeated response message to the terminal, and further, the server determines that the process is finished; if the order message information does not exist, the server determines that the verification result is successful, and further, the server executes step 202.
It should be noted that the server may also support batch processing of multiple pieces of order information, identify multiple pieces of order information through orders in the order message information, and set different ordering interfaces for different service sources, so as to perform fast docking, for example, domestic services, international services, and proprietary clients.
202. And when the verification result is successful, storing the order message information into a preset master database, and inquiring a preset slave database based on the order message information to obtain initial order information, wherein the initial order information comprises three-segment code information, package-collecting place information, piece collecting network information and piece sending network information.
The preset master database is used for writing data, and the preset slave database is used for inquiring data, so that the ordering efficiency of the system is improved. Specifically, when the verification result is that the verification is successful, the server writes the analyzed order message information into a preset master database according to the account identification of the first user, and screens routing information from the analyzed order message information, wherein the routing information comprises address information for order taking and address information for order delivery, and data synchronization is performed between the preset master database and the preset slave database; the server acquires preset distribution area information and judges whether the preset distribution area information contains routing information or not; if the preset distribution area information does not contain routing information, the server sends an order form failure response message to the terminal, such as Tibet and Xinjiang, and determines that the flow is finished; if the preset distribution area information contains routing information, the server inquires a preset slave database based on the routing information to obtain three sections of code information, package collecting place information, piece collecting network point information and piece sending network point information, and sets the three sections of code information, the package collecting place information, the piece collecting network point information and the piece sending network point information as initial order information.
203. And when the first user is detected to provide the freight note number offline, acquiring and verifying the allocated freight note number from the database from the preset, and obtaining the verified freight note number.
The distributed waybill number is the waybill number acquired in advance through a preset interface. Specifically, when it is detected that the first user provides the invoice number offline, the server queries a preset slave database based on the account identifier of the first user and the order unique serial number to obtain the allocated invoice number, for example, the account identifier of the first user is test _ a, and the order unique serial number is test _1576719456; the server carries out validity check on the allocated order number according to the order type to obtain a check result, for example, the order type is common; if the verification result is verification failure, the server sends a request for reallocating the waybill number to the terminal and determines that the process is finished; if the verification result is that the verification is successful, the server sets the allocated invoice number as the verified invoice number, and further, the server performs step 205.
204. And when detecting that the first user does not adopt the offline supply of the waybill number, locking the preset slave database, and acquiring a new waybill number from the preset slave database.
Specifically, when the first user is detected not to provide the freight note number offline, the server determines a freight note number section based on the order type; the server locks the single number inventory data table in the preset slave database and judges whether the single number inventory data table has the freight note number to be distributed; if the list number inventory data table does not contain the freight number to be distributed, the server sends a list number inventory shortage response message to the terminal and determines that the process is ended; if the list number inventory data table contains the freight bill number to be allocated, the list number inventory data table is queried based on the freight bill number segment to obtain a new freight bill number, and further, the server executes step 205.
It should be noted that, when the system places an order, the server adopts a lock mechanism to avoid the situation that the same waybill number is allocated by concurrent requests, and further, the server can also adopt a queue order allocation mode in advance to store the waybill number of the first user in a preset queue in advance, and when a new waybill number is allocated, the new waybill number is read from the preset queue, so that the system ordering efficiency is improved.
205. And setting the verified order number or the new order number as a target order number, performing data encapsulation on the order message information, the initial order information and the target order number according to a preset data format to obtain target order information, and sending the target order information to the terminal so that the terminal prints the target order information in a preset mode.
The steps 201 to 205 are mainly directed to a first user who has development resources and has system ordering authority, and the waybill number and three-segment code information are distributed, so that the first user can print a receipt conveniently. Further, the problem of large order quantity of the first user can be comprehensively supported, batch ordering can be comprehensively supported, and the terminal can also adjust the system ordering request frequency and the requested order quantity according to the daily average order quantity corresponding to the first user.
For the second user without developing resources of the micro-businessmen and parts, the server provides an order import function, and the import mode carries out asynchronous single number distribution, so that the problem of abnormal single number distribution under large concurrency is solved. Further, the second user imports the order information in a spreadsheet mode. Optionally, when an order import request sent by the terminal is received, the server imports order information into a preset main database in batches through a file in a preset format and performs data verification on the order information, the order import request is used for executing an order placing operation of a second user, and the second user has an order import right and does not have a system order placing right, so that the first user and the second user can only inquire data under respective corresponding rights, and the risk of information leakage of each user is reduced; when the order information verification is detected to pass, the server distributes the corresponding freight order number and the corresponding three-segment code information to the verified order information through the preset script, and sends a bill printing request to the terminal, wherein the preset script is used for enabling a preset number of scripts to carry out information screening and distribution through an order form main key self-increasing identification surplus mode, for example, 20 scripts are used for ensuring the distribution efficiency of the freight order number. It can be understood that, due to the uncertainty of the import mode and the order number, the import efficiency is prevented from being too low or overtime caused by single number distribution, the import process only performs order information limitation verification, and after the import is successful, the single number distribution and the generation of three-segment code information are asynchronously performed by the background script.
The terminal analyzes the target surface bill information to a preset drawing template by adopting the preset template printing mode, and then prints the target surface bill information, the template selection is flexible, and the style can be customized in advance; the terminal calls the printing service plug-in mode to print the bill, the interface interaction is less, the bill can be printed by one request, and the bill printing efficiency is higher.
206. When an order modification request sent by a terminal is received, updating a first order in a preset main database based on the order modification request, wherein the first order is an order without logistics information in a first preset time length.
Specifically, when an order modification request sent by a terminal is received, a server analyzes the order modification request to obtain corresponding parameter information, wherein the parameter information comprises modification content, an order unique serial number to be modified and a user identifier, and the user identifier comprises an account identifier of a first user and an account identifier of a second user; the server updates the data of the first order in the preset main database according to the modification content, the unique serial number of the order to be modified and the user identifier, it should be noted that the server also needs to judge whether the corresponding order in the first preset time period contains logistics information during updating, and the data can be updated only if the logistics information data does not exist, wherein the first preset time period may be 30 days.
207. When an order canceling request sent by a terminal is received, canceling operation is carried out on a second order in a preset main database based on the order canceling request, the second order is an order which does not have logistics information within a second preset time length and is in a state of being canceled, and the second preset time length is smaller than the first preset time length.
In order to prevent the freight order number from being wasted, the server is provided with an order number recycling mechanism, that is, when an order canceling request sent by the terminal is received, the server cancels a second order which has no logistics information within a second preset time length and is in an order state capable of being canceled, for example, no piece order is received within 15 days, wherein the second time length is less than the first time length. And after the second order is cancelled, the corresponding freight order number is frozen within a third preset time period, and after the third preset time period, for example, one month later, the website can apply for releasing the freight order number for the second use of the first user or the second user.
In the embodiment of the invention, through a unified platform entrance for receiving the express delivery of the large customer, a read-write separation and locking mechanism is adopted, the processing efficiency of order information and the accuracy rate of distributing the order number are improved, the order information is uniformly managed by adopting a system ordering or batch import mode aiming at users with different authorities, an offline ordering mode and an ordering mode of a system client side are supported under different service scenes, and the efficiency and the flexibility of electronic order printing are improved.
With reference to fig. 3, the electronic document printing apparatus according to an embodiment of the present invention is described as follows, and an embodiment of the electronic document printing apparatus according to an embodiment of the present invention includes:
the receiving module 301 is configured to receive a system ordering request sent by a terminal, and perform parameter verification on the system ordering request to obtain a verification result, where the system ordering request includes order message information;
the query module 302 is configured to store the order message information into a preset master database when the verification result is that the verification is successful, and query a preset slave database based on the order message information to obtain initial order information, where the initial order information includes three-segment code information, package place information, piece collecting site information and piece dispatching site information;
the checking module 303 is used for acquiring and checking the allocated waybill number from a preset database to obtain a checked waybill number when detecting that the first user provides the waybill number offline;
the first distribution module 304 is used for locking the preset slave database and acquiring a new waybill number from the preset slave database when detecting that the first user does not provide the waybill number offline;
the printing module 305 is configured to set the verified order number or the new order number as the target order number, perform data encapsulation on the order message information, the initial order information, and the target order number according to a preset data format to obtain target order information, and send the target order information to the terminal, so that the terminal prints the target order information in a preset manner.
In the embodiment of the invention, through a unified platform entrance for receiving the express delivery of the large customer, a read-write separation and locking mechanism is adopted, the processing efficiency of order information and the accuracy rate of distributing the order number are improved, the order information is uniformly managed by adopting a system ordering or batch import mode aiming at users with different authorities, an offline ordering mode and an ordering mode of a system client side are supported under different service scenes, and the efficiency and the flexibility of electronic order printing are improved.
Referring to fig. 4, another embodiment of an electronic document printing apparatus according to an embodiment of the present invention includes:
the receiving module 301 is configured to receive a system ordering request sent by a terminal, and perform parameter verification on the system ordering request to obtain a verification result, where the system ordering request includes order message information;
the query module 302 is configured to store the order message information into a preset master database when the verification result is that the verification is successful, and query a preset slave database based on the order message information to obtain initial order information, where the initial order information includes three-segment code information, package place information, piece collecting site information and piece dispatching site information;
the checking module 303 is configured to, when it is detected that the first user provides the waybill number offline, obtain and check the allocated waybill number from the preset database to obtain a checked waybill number;
the first distribution module 304 is used for locking the preset slave database and acquiring a new waybill number from the preset slave database when detecting that the first user does not provide the waybill number offline;
the printing module 305 is configured to set the verified order number or the new order number as the target order number, perform data encapsulation on the order message information, the initial order information, and the target order number according to a preset data format to obtain target order information, and send the target order information to the terminal, so that the terminal prints the target order information in a preset manner.
Optionally, the receiving module 301 may be further specifically configured to:
receiving a system ordering request sent by a terminal, and analyzing the system ordering request to obtain a request interface type, an account identification of a first user, order message information and signature information;
when the type of the request interface is a target type, acquiring a secret key of a first user, splicing the account identification of the first user, the secret key of the first user and order message information according to the sequence, and encrypting the spliced character string according to a preset encryption algorithm to obtain information to be verified;
judging whether the information to be verified is consistent with the signature information or not to obtain a matching result;
if the matching result is matching failure, sending a parameter mismatching response message to the terminal;
if the matching result is successful, performing data analysis on the order message information to obtain an analysis result and analyzed message information, wherein the analyzed order message information comprises an order unique serial number and an order type;
if the analysis result is analysis failure, sending a request for acquiring normal order information to the terminal;
if the analysis result is successful, reading an order unique serial number from the analyzed order message information, and judging whether the order message information exists or not based on the order unique serial number and the account identification of the first user to obtain a verification result;
if the order message information exists, determining that the verification result is verification failure, and sending an order repeated response message to the terminal;
and if the order message information does not exist, determining that the verification result is successful.
Optionally, the query module 302 may be further specifically configured to:
when the verification result is successful, writing the analyzed order message information into a preset master database according to the account number identification of the first user, and screening routing information from the analyzed order message information, wherein the routing information comprises address information for order taking and address information for order delivery, and data synchronization is performed between the preset master database and a preset slave database;
acquiring preset distribution area information, and judging whether the preset distribution area information has routing information or not;
if the preset distribution area information does not contain routing information, sending an order failure delivery response message to the terminal;
if the preset distribution area information contains routing information, inquiring a preset slave database based on the routing information to obtain initial order information, wherein the initial order information comprises three-segment code information, package place information, piece collecting network point information and piece sending network point information.
Optionally, the checking module 303 may be further specifically configured to:
when detecting that a first user provides an invoice number offline, inquiring a preset slave database based on an account identification and an order unique serial number of the first user to obtain an allocated invoice number;
carrying out validity check on the allocated waybill number according to the order type to obtain a check result;
if the verification result is verification failure, sending a request for reallocating the waybill number to the terminal;
and if the verification result is that the verification is successful, setting the allocated freight note number as the verified freight note number.
Optionally, the first allocating module 304 may be further specifically configured to:
when detecting that the first user does not adopt the offline supply of the freight note number, determining a freight note number section based on the order type;
locking a single number inventory data table in a preset slave database, and judging whether a to-be-distributed waybill number exists in the single number inventory data table;
if the list number inventory data table does not contain the freight number to be distributed, sending list number inventory shortage response data to the terminal;
and if the list number inventory data table has the freight bill number to be distributed, inquiring the list number inventory data table based on the freight bill number section to obtain a new freight bill number.
Optionally, the electronic form printing apparatus further includes:
the importing module 306 is configured to import the order information into a preset main database in batches through a file in a preset format and perform data verification on the order information when receiving an order importing request sent by the terminal, where the order importing request is used for executing an order placing operation of a second user, and the second user has an order importing right and does not have a system order placing right;
and the second distributing module 307, when it is detected that the order information passes the verification, is configured to distribute, through a preset script, the corresponding invoice number and the corresponding three-segment code information to the verified order information, and send a print order request to the terminal.
Optionally, the electronic form printing apparatus further includes:
the modification module 308 is configured to, when receiving an order modification request sent by the terminal, update a first order in the preset master database based on the order modification request, where the first order is an order in which logistics information does not exist within a first preset duration;
the canceling module 309, when receiving an order canceling request sent by the terminal, is configured to cancel, based on the order canceling request, a second order in the preset master database, where the second order is an order in which logistics information does not exist within a second preset time length and the order status is a cancelable status, and the second preset time length is smaller than the first preset time length.
In the embodiment of the invention, through a unified platform entrance for receiving the express delivery of the large customer, a read-write separation and locking mechanism is adopted, the processing efficiency of order information and the accuracy rate of distributing the order number are improved, the order information is uniformly managed by adopting a system ordering or batch import mode aiming at users with different authorities, an offline ordering mode and an ordering mode of a system client side are supported under different service scenes, and the efficiency and the flexibility of electronic order printing are improved.
Fig. 3 and 4 above describe the electronic sheet printing apparatus in the embodiment of the present invention in detail from the perspective of the modular functional entity, and the electronic sheet printing apparatus in the embodiment of the present invention is described in detail from the perspective of the hardware processing.
Fig. 5 is a schematic structural diagram of an electronic sheet printing apparatus 500 according to an embodiment of the present invention, where the electronic sheet printing apparatus 500 may have relatively large differences due to different configurations or performances, and may include one or more processors (CPUs) 510 (e.g., one or more processors) and a memory 520, and one or more storage media 530 (e.g., one or more mass storage devices) for storing applications 533 or data 532. Memory 520 and storage media 530 may be, among other things, transient or persistent storage. The program stored on the storage medium 530 may include one or more modules (not shown), each of which may include a sequence of instruction operations for the electronic bill printing apparatus 500. Still further, the processor 510 may be configured to communicate with the storage medium 530 to execute a series of instruction operations in the storage medium 530 on the electronic bill printing apparatus 500.
Electronic sheet printing device 500 may also include one or more power supplies 540, one or more wired or wireless network interfaces 550, one or more input-output interfaces 560, and/or one or more operating systems 531, such as Windows Server, mac OS X, unix, linux, freeBSD, and the like. Those skilled in the art will appreciate that the electronic booklet printing apparatus configuration shown in fig. 5 does not constitute a limitation of the electronic booklet printing apparatus and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium, and which may also be a volatile computer-readable storage medium, having stored therein instructions, which, when run on a computer, cause the computer to perform the steps of the electronic form printing method.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is substantially or partly contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a portable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. An electronic receipt printing method, comprising:
receiving a system ordering request sent by a terminal, and performing parameter verification on the system ordering request to obtain a verification result, wherein the system ordering request comprises order message information;
when the verification result is successful, storing the order message information into a preset main database, and inquiring a preset slave database based on the order message information to obtain initial order information, wherein the initial order information comprises three-segment code information, package place information, piece collecting network information and piece sending network information;
when detecting that the first user provides the waybill number offline, acquiring and verifying the allocated waybill number from the preset database to obtain a verified waybill number;
when detecting that the first user does not adopt the offline supply of the waybill number, locking the preset slave database, and acquiring a new waybill number from the preset slave database;
and setting the verified order number or the new order number as a target order number, performing data encapsulation on the order message information, the initial order information and the target order number according to a preset data format to obtain target order information, and sending the target order information to the terminal so that the terminal prints the target order information in a preset mode.
2. The method according to claim 1, wherein the receiving terminal sends a system order placement request, and performs parameter verification on the system order placement request to obtain a verification result, and the system order placement request includes order message information, and includes:
receiving a system ordering request sent by a terminal, and analyzing the system ordering request to obtain a request interface type, an account identification of a first user, order message information and signature information;
when the request interface type is a target type, acquiring a secret key of a first user, splicing the account identification of the first user, the secret key of the first user and the order message information according to the sequence, and encrypting the spliced character string according to a preset encryption algorithm to obtain information to be verified;
judging whether the information to be verified is consistent with the signature information or not to obtain a matching result;
if the matching result is matching failure, sending a parameter mismatching response message to the terminal;
if the matching result is successful, performing data analysis on the order message information to obtain an analysis result and analyzed message information, wherein the analyzed order message information comprises an order unique serial number and an order type;
if the analysis result is analysis failure, sending a request for acquiring normal order information to the terminal;
if the analysis result is successful, reading an order unique serial number from the analyzed order message information, and judging whether the order message information exists or not based on the order unique serial number and the account identification of the first user to obtain a verification result;
if the order message information exists, determining that the verification result is verification failure, and sending an order repeated response message to the terminal;
and if the order message information does not exist, determining that the verification result is successful.
3. The electronic form printing method according to claim 2, wherein when the verification result is that the verification is successful, storing the order message information into a preset master database, and querying a preset slave database based on the order message information to obtain initial form information, wherein the initial form information includes three-segment code information, package-gathering place information, package-gathering site information and piece-sending site information, and includes:
when the verification result is successful, writing the analyzed order message information into a preset master database according to the account identification of the first user, and screening routing information from the analyzed order message information, wherein the routing information comprises address information for order taking and address information for order delivery, and data synchronization is performed between the preset master database and a preset slave database;
acquiring preset distribution area information, and judging whether the routing information exists in the preset distribution area information or not;
if the routing information does not exist in the preset distribution area information, sending an order delivery failure response message to the terminal;
if the routing information exists in the preset distribution area information, inquiring the preset slave database based on the routing information to obtain initial order information, wherein the initial order information comprises three-segment code information, parcel collecting information, piece collecting site information and piece sending site information.
4. The method for printing an electronic slip according to claim 2, wherein said obtaining and verifying the assigned slip number from the database from the preset upon detecting that the first user provided the slip number offline, obtaining a verified slip number comprises:
when detecting that a first user provides the freight note number offline, inquiring the preset slave database based on the account identification of the first user and the order unique serial number to obtain the allocated freight note number;
carrying out validity check on the allocated waybill number according to the order type to obtain a check result;
if the verification result is verification failure, sending a request for reallocating the waybill number to the terminal;
and if the verification result is that the verification is successful, setting the allocated waybill number as the verified waybill number.
5. The method of claim 2, wherein the locking the preset from the database and retrieving a new waybill number from the preset from the database when it is detected that the first user has not provided the waybill number offline, comprises:
when detecting that the first user does not adopt the offline delivery order number, determining a delivery order number segment based on the order type;
locking the single number inventory data table in the preset slave database, and judging whether the single number inventory data table has a freight note number to be distributed;
if the list number inventory data table does not contain the freight number to be distributed, sending a list number inventory shortage response message to the terminal;
and if the waybill number to be distributed exists in the waybill number inventory data table, inquiring the waybill number inventory data table based on the waybill number segment to obtain a new waybill number.
6. The electronic bill printing method according to any one of claims 1 to 5, wherein after the verified order number or the new order number is set as a target order number, the order message information, the initial order information, and the target order number are data-encapsulated according to a preset data format to obtain target order information, and the target order information is sent to the terminal, so that the terminal prints the target order information in a preset manner, the electronic bill printing method further comprises:
when an order import request sent by the terminal is received, importing order information into the preset main database in batches through a file with a preset format, and performing data verification on the order information, wherein the order import request is used for executing an order placing operation of a second user, and the second user has an order import permission and does not have a system order placing permission;
and when the order information is detected to pass the verification, distributing the corresponding freight note number and the corresponding three-segment code information to the verified order information through a preset script, and sending a print order request to the terminal.
7. The electronic bill printing method according to any one of claims 1 to 5, wherein after the verified order number or the new order number is set as a target order number, the order message information, the initial order information, and the target order number are data-encapsulated according to a preset data format to obtain target order information, and the target order information is sent to the terminal, so that the terminal prints the target order information in a preset manner, the electronic bill printing method further comprises:
when an order modification request sent by the terminal is received, updating a first order in the preset main database based on the order modification request, wherein the first order is an order without logistics information in a first preset time length;
when an order canceling request sent by the terminal is received, canceling operation is carried out on a second order in the preset main database based on the order canceling request, the second order is an order which does not have logistics information in a second preset time length and is in a cancelable state, and the second preset time length is smaller than the first preset time length.
8. An electronic sheet printing apparatus, comprising:
the system ordering system comprises a receiving module, a processing module and an ordering module, wherein the receiving module is used for receiving a system ordering request sent by a terminal and carrying out parameter verification on the system ordering request to obtain a verification result, and the system ordering request comprises order message information;
the query module is used for storing the order message information into a preset main database when the verification result is successful, and querying a preset slave database based on the order message information to obtain initial order information, wherein the initial order information comprises three-segment code information, package place information, piece collecting network information and piece dispatching network information;
the checking module is used for acquiring and checking the allocated waybill number from the preset slave database to obtain a checked waybill number when detecting that the first user provides the waybill number offline;
the first distribution module is used for locking the preset slave database and acquiring a new waybill number from the preset slave database when detecting that the first user does not adopt the offline waybill number;
and the printing module is used for setting the verified order number or the new order number as a target order number, performing data encapsulation on the order message information, the initial order information and the target order number according to a preset data format to obtain target order information, and sending the target order information to the terminal so that the terminal prints the target order information in a preset mode.
9. An electronic bill printing apparatus, characterized by comprising: a memory having instructions stored therein and at least one processor, the memory and the at least one processor interconnected by a line;
the at least one processor invokes the instructions in the memory to cause the electronic form printing apparatus to perform the electronic form printing method of any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the electronic slip printing method according to any one of claims 1 to 7.
CN202010194404.4A 2020-03-19 2020-03-19 Electronic bill printing method, device, equipment and storage medium Active CN111400344B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010194404.4A CN111400344B (en) 2020-03-19 2020-03-19 Electronic bill printing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010194404.4A CN111400344B (en) 2020-03-19 2020-03-19 Electronic bill printing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111400344A CN111400344A (en) 2020-07-10
CN111400344B true CN111400344B (en) 2023-04-18

Family

ID=71432622

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010194404.4A Active CN111400344B (en) 2020-03-19 2020-03-19 Electronic bill printing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111400344B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112132510A (en) * 2020-09-08 2020-12-25 上海东普信息科技有限公司 Method, device and equipment for managing bill information and storage medium
CN112346675A (en) * 2020-11-30 2021-02-09 恒瑞通(福建)信息技术有限公司 Printing method and terminal applied to food distribution list
CN112785384A (en) * 2021-01-29 2021-05-11 昆山尚品逸网络科技有限公司 E-commerce ordering management system and application thereof
CN113011945A (en) * 2021-03-16 2021-06-22 深圳市微创云启科技有限公司 Order number generation method and device, terminal equipment and storage medium
CN113034077B (en) * 2021-03-29 2024-07-19 北京沃东天骏信息技术有限公司 Information processing method, system, electronic device, storage medium, and program product
CN113377449A (en) * 2021-06-08 2021-09-10 福建吉诺车辆服务股份有限公司 Method and device for intelligently checking rescue data
CN113724049A (en) * 2021-09-07 2021-11-30 上海寻梦信息技术有限公司 Information processing method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104899031A (en) * 2015-05-29 2015-09-09 北京京东尚科信息技术有限公司 Logistics data generation method and apparatus and logistics client configuration method and apparatus
WO2016011739A1 (en) * 2014-07-21 2016-01-28 小米科技有限责任公司 Method, device, and system for anti-counterfeiting verification
CN110490505A (en) * 2019-06-25 2019-11-22 北京京东振世信息技术有限公司 Logistics information processing method, device and equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016011739A1 (en) * 2014-07-21 2016-01-28 小米科技有限责任公司 Method, device, and system for anti-counterfeiting verification
CN104899031A (en) * 2015-05-29 2015-09-09 北京京东尚科信息技术有限公司 Logistics data generation method and apparatus and logistics client configuration method and apparatus
CN110490505A (en) * 2019-06-25 2019-11-22 北京京东振世信息技术有限公司 Logistics information processing method, device and equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张伟丰 ; .基于ASP.NET的商用车物流管理系统的设计与实现.科技创业月刊.2017,(03),全文. *

Also Published As

Publication number Publication date
CN111400344A (en) 2020-07-10

Similar Documents

Publication Publication Date Title
CN111400344B (en) Electronic bill printing method, device, equipment and storage medium
CN106097058A (en) E-commerce platform heterogeneous data processing method and system
US20100076585A1 (en) Method for the production of a label, and device for carrying out said method
US20110242554A1 (en) System and method for providing an extensible multinational postage service and system and method that delivers printable postage to a client device
BG64913B1 (en) Method for verifying the validity of digital franking notes
CN112131002A (en) Data management method and device
US7124294B2 (en) Electronic certificate system
CN101151874B (en) Network node and method for providing internet services on internet marketplaces
CN105553671B (en) A kind of management method of digital certificate, apparatus and system
CN113204747B (en) Account management method, device, server and storage medium
US8898626B2 (en) System and method for managing a software asset for inclusion in a software library
CA2465232C (en) Method and device for reading postal article inscriptions or document inscriptions
CN112215566B (en) Method, system, equipment and storage medium for processing card making data of bank card
CN102750608A (en) Batch registering system
CN114462733A (en) Order processing method and device based on order management platform and order management platform
CN101325493A (en) Method and system for authenticating a user
CN111369255A (en) User management method and device, electronic equipment and storage medium
CN112612461B (en) Method for unified management and release of secure API interface in ERP system
CN115223292A (en) Processing method and device of dispensing machine, storage medium and electronic equipment
CN113724051A (en) Information processing method, device, system, equipment and storage medium
CN114298698A (en) Transaction settlement method and device
TW201417029A (en) Source code management system, method, and program
CN115812196A (en) Method, device and storage medium for application deployment in software-as-a-service platform
CN117170880B (en) Goods import-export management method and system based on micro-service architecture
CN112286553B (en) User lock upgrading method, device, system, electronic equipment and storage medium

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