CN108763937B - Distribution document generation, distribution and popularization information processing method and device - Google Patents

Distribution document generation, distribution and popularization information processing method and device Download PDF

Info

Publication number
CN108763937B
CN108763937B CN201810330562.0A CN201810330562A CN108763937B CN 108763937 B CN108763937 B CN 108763937B CN 201810330562 A CN201810330562 A CN 201810330562A CN 108763937 B CN108763937 B CN 108763937B
Authority
CN
China
Prior art keywords
information
order
distribution
bar code
delivery
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
CN201810330562.0A
Other languages
Chinese (zh)
Other versions
CN108763937A (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.)
Rajax Network Technology Co Ltd
Original Assignee
Rajax Network 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 Rajax Network Technology Co Ltd filed Critical Rajax Network Technology Co Ltd
Priority to CN201810330562.0A priority Critical patent/CN108763937B/en
Publication of CN108763937A publication Critical patent/CN108763937A/en
Application granted granted Critical
Publication of CN108763937B publication Critical patent/CN108763937B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • 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
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • 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
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/12Hotels or restaurants

Abstract

The embodiment of the invention discloses a method and a device for processing distribution document generation, distribution and popularization information, wherein the method comprises the following steps: the distribution end scans the bar code on the distribution document to obtain the bar code information, and obtains the distribution information of the order according to the bar code information. In the embodiment of the invention, the delivery information of the order is not displayed in the delivery document, and the delivery information of the order is acquired according to the bar code information by scanning the bar code in the delivery document through the delivery end application when the rider delivers the meal, so that the rider can be ensured to accurately acquire the delivery information of the order, and the privacy of the user is effectively protected.

Description

Distribution document generation, distribution and popularization information processing method and device
Technical Field
The invention relates to the field of information technology processing, in particular to a method and a device for generating, distributing and popularizing information of a distribution document.
Background
With the diversification of food selection and the comprehensive distribution service, the internet take-out platform gradually becomes the first choice for people to have meals. Generally, for convenience of use by users, merchants and riders, the takeout platform generally customizes 3 applications for users, merchants and riders respectively: the system comprises a user end app, a merchant end app and a rider end app.
In the process of placing an order for taking out, a user opens the user-side app application through an intelligent terminal such as a mobile phone, selects a restaurant, selects food, and finishes payment and generates an order after checking a red envelope or a voucher. And the merchant receives the order information of the user through the merchant end app, clicks to receive the order, and starts to prepare and package the food. After the merchant receives the order, the rider receives the delivery waybill, uses the rider app to receive the order, and goes to the merchant to take the food. The rider goes to the meal according to the delivery information (such as the user's name, contact phone, delivery address) provided in the delivery document of the meal. After the user receives the meal, the rider confirms to complete the transaction. Therefore, in the process of one transaction, private information such as names, telephones, addresses and the like of users is printed in plain text in the delivery document of the food, so that the safety hazard is high. Merchants, riders, other people nearby, and if a user discards an undestroyed delivery document after a meal, privacy information such as contact information, address information and the like of the user may be revealed, and if a lawless person touches the document, the lawless person may misuse the information, for example, for fraud, thereby causing damage to the user in terms of economy, personal safety and the like.
In summary, there is a need for a method for processing delivered information to solve the technical problem in the prior art that the delivered document reveals the privacy of the user, so as to better protect the privacy of the user.
Disclosure of Invention
The invention provides a method and a device for processing distribution document generation, distribution and popularization information, which are used for solving the technical problem that the distribution document reveals the privacy of a user in the prior art and better protecting the privacy of the user.
The embodiment of the invention provides a distribution information processing method, which comprises the following steps:
the method comprises the steps that a distribution end scans bar codes on a distribution document to obtain bar code information of the bar codes; the delivery bill does not display the delivery information of the order;
and the distribution end application acquires the distribution information of the order according to the bar code information.
Therefore, the delivery information of the order is not displayed in the delivery document, so that the privacy of the user can be effectively protected, and on the other hand, when the rider delivers the meal, the delivery information of the order can be obtained according to the barcode information by scanning the barcode in the delivery document through the delivery end application.
Optionally, the barcode information includes an order identifier of the order;
the distribution end application acquires the distribution information of the order according to the bar code information, and the distribution information comprises the following steps:
and the distribution terminal application sends the order identification to a server and receives distribution information returned by the server according to the order identification.
Optionally, the barcode information includes encrypted delivery information;
the distribution end application acquires the distribution information of the order according to the bar code information, and the distribution information comprises the following steps:
the distribution end application generates a decryption key according to the identity of the distributor;
and the distribution end application decrypts the encrypted distribution information according to the decryption key to obtain the distribution information.
Optionally, the barcode information includes an order identifier;
the distribution end application generates a decryption key according to the identity of the distributor, and the method comprises the following steps:
and the distribution end application generates a decryption key according to the identity of the distributor and the order identification.
Optionally, the barcode information further comprises a timestamp signature;
before the distribution end application obtains the distribution information of the order, the method further comprises the following steps:
the distribution terminal application determines a commercial tenant of the order according to the order identification;
and the distribution end application verifies that the timestamp signature is valid according to the public key of the merchant. Optionally, the barcode information further includes promotion information, and the promotion information is related to the generation time of the order and/or the identification of the recipient.
Optionally, the promotion information is encrypted promotion information, and a key for encrypting the promotion information is generated according to the identity of the recipient.
Based on the same inventive concept, the invention provides a method for generating a delivery document, which comprises the following steps:
the merchant terminal application determines order information of a received order and generates a bar code according to the order information; the bar code is used for the delivery end to obtain the delivery information of the order;
and the merchant terminal generates a distribution bill with the bar code by application, wherein the distribution bill does not display the distribution information of the order.
Therefore, in order to effectively protect the privacy of the user, when the merchant terminal is applied to generating the distribution document, the distribution information of the order is not displayed in the distribution document, but the barcode containing the order information is added in the distribution document, so that the distribution terminal application and the user terminal application can acquire the information required by the barcode by scanning the barcode, and the convenience of distribution work and the user experience can be effectively improved.
Optionally, the generating a barcode according to the order information includes:
and the merchant side application generates the bar code according to the order identification in the order information.
Optionally, the order information further includes delivery information of the order;
the merchant side application generates the bar code according to the order identification in the order information, and the method comprises the following steps:
and the merchant side application generates the bar code according to the distribution information and the order identification.
Optionally, the delivery information is encrypted delivery information;
before the merchant terminal application generates the barcode, the method further includes:
and the merchant side application generates a first encryption key according to the identity of the distributor and encrypts the distribution information according to the first encryption key.
Optionally, the order information further includes promotion information of the order;
the merchant side application generates the bar code according to the order identification in the order information, and the method comprises the following steps:
the merchant terminal application generates the bar code according to the promotion information and the order identification; or generating the bar code according to the promotion information, the order identification and the encrypted or unencrypted distribution information.
Optionally, the promotion information is encrypted promotion information;
before the merchant terminal application generates the barcode, the method further includes:
and the business user side application generates a second encryption key according to the identity of the receiver and encrypts the promotion information according to the second encryption key.
Optionally, before the merchant application generates the barcode, the method further includes:
the merchant side generates a timestamp signature corresponding to the barcode according to the public key of the merchant of the order;
and the merchant terminal generates the bar code according to the timestamp signature, the order identification, the encrypted or unencrypted distribution information and the encrypted or unencrypted popularization information.
Based on the same inventive concept, the invention provides a method for processing promotion information, which comprises the following steps:
scanning a bar code on a distribution document by a client application to acquire bar code information of the bar code; the bar code is used for the delivery end to obtain the delivery information of the order;
and the user side application acquires the promotion information of the order according to the bar code information.
Therefore, in the embodiment of the invention, the bar code on the delivery document can be used for providing the delivery information of the order for the delivery end application and providing the promotion information of the order for the user end application. Therefore, the take-out platform or the express company can send specific promotion information to a user of a certain order by using the delivery document, and thus, an activity promotion channel is expanded.
Optionally, the bar code information further includes the encrypted promotion information;
the user side application acquires promotion information of the order according to the bar code information, and the promotion information comprises the following steps:
and the user side application generates a decryption key according to the user identifier and decrypts the encrypted promotion information according to the decryption key to obtain the promotion information.
Optionally, the barcode information further includes an order identifier and a timestamp signature of the order;
before the user side application acquires the promotion information, the method further comprises the following steps:
the user side application determines a public key of a commercial tenant side of the order according to the order identification;
and verifying that the timestamp signature is valid according to the public key.
Optionally, the generating, by the user-side application, a decryption key according to the user identifier includes:
and the user side application generates a decryption key according to the user identification and the order identification.
Based on the same inventive concept, the present invention also provides a distribution information processing apparatus including:
the scanning module is used for scanning the bar codes on the delivery documents to acquire the bar code information of the bar codes; the delivery bill does not display the delivery information of the order;
and the processing module is used for acquiring the distribution information of the order according to the bar code information.
Optionally, the barcode information includes an order identifier of the order;
the processing module is specifically configured to:
and sending the order identification to a server, and receiving delivery information returned by the server according to the order identification.
Optionally, the barcode information includes encrypted delivery information;
the processing module is specifically configured to:
generating a decryption key according to the identity of the distributor;
and according to the decryption key, obtaining the distribution information after decrypting the encrypted distribution information.
Optionally, the barcode information includes an order identifier;
the processing module is specifically configured to:
and generating a decryption key according to the identity of the distributor and the order identification.
Optionally, the barcode information further comprises a timestamp signature;
the apparatus further comprises a verification module to:
determining a merchant of the order according to the order mark;
and verifying that the timestamp signature is valid according to the public key of the merchant.
Optionally, the barcode information further includes promotion information, and the promotion information is related to the generation time of the order and/or the identification of the recipient.
Optionally, the promotion information is encrypted promotion information, and a key for encrypting the promotion information is generated according to the identity of the recipient.
Based on the same inventive concept, the invention also provides a delivery document generation device, which comprises:
the bar code generation module is used for determining order information of a received order and generating a bar code according to the order information; the bar code is used for the delivery end to obtain the delivery information of the order;
and the document generation module is used for generating a distribution document with the bar code, and the distribution document does not show the distribution information of the order.
Optionally, the barcode generating module is configured to:
and generating the bar code according to the order mark in the order information.
Optionally, the order information further includes delivery information of the order;
the barcode generation module is specifically configured to:
and generating the bar code according to the distribution information and the order identification.
Optionally, the delivery information is encrypted delivery information;
the apparatus also includes a first encryption module to:
before the bar code generating module generates the bar code, a first encryption key is generated according to the identity of a distributor, and the distribution information is encrypted according to the first encryption key.
Optionally, the order information further includes promotion information of the order;
the barcode generation module is further specifically configured to:
generating the bar code according to the promotion information and the order identification; or generating the bar code according to the promotion information, the order identification and the encrypted or unencrypted distribution information.
Optionally, the promotion information is encrypted promotion information;
the apparatus also includes a second encryption module to:
and generating a second encryption key according to the identity of the receiver, and encrypting the promotion information according to the second encryption key.
Optionally, the apparatus further comprises a signature module configured to:
generating a timestamp signature corresponding to the barcode according to a public key of a merchant of the order;
and generating the bar code according to the timestamp signature, the order identification, the encrypted or unencrypted distribution information and the encrypted or unencrypted popularization information.
Based on the same inventive concept, the present invention also provides a promotion information processing apparatus, comprising:
the scanning module is used for scanning the bar codes on the delivery documents to acquire the bar code information of the bar codes; the bar code is used for the delivery end to obtain the delivery information of the order;
and the processing module is used for acquiring the promotion information of the order according to the bar code information.
Optionally, the bar code information further includes the encrypted promotion information;
the processing module is configured to:
and generating a decryption key according to the user identifier, and decrypting the encrypted promotion information according to the decryption key to obtain the promotion information.
Optionally, the barcode information further includes an order identifier and a timestamp signature of the order;
the apparatus further comprises a verification module to:
determining a public key of a merchant of the order according to the order identifier;
and verifying that the timestamp signature is valid according to the public key.
Optionally, the processing module is specifically configured to:
and generating a decryption key according to the user identifier and the order identifier.
The invention further provides a terminal which comprises a camera assembly, a memory and a processor, wherein the camera assembly is used for scanning the bar code and inputting the bar code into the processor for further processing, the memory is used for storing program instructions, and the processor is used for calling the program instructions stored in the memory and executing any one of the methods according to the obtained program.
Another embodiment of the present invention provides a computer storage medium having stored thereon computer-executable instructions for causing a computer to perform any one of the methods described above.
The distribution end scans the bar code on the distribution document to obtain the bar code information, and obtains the distribution information of the order according to the bar code information. In the embodiment of the invention, the delivery information of the order is not displayed in the delivery document, and the delivery information of the order is acquired according to the bar code information by scanning the bar code in the delivery document through the delivery end application when the rider delivers the meal, so that the rider can be ensured to accurately acquire the delivery information of the order, and the privacy of the user is effectively protected.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart illustrating a distribution information processing method according to an embodiment of the present invention;
FIG. 2a is a schematic illustration of a prior art delivery document;
FIG. 2b is a schematic diagram of a delivery document according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating a first format of barcode information in the method for processing distribution information according to the embodiment of the present invention;
fig. 4 is a schematic composition diagram of a second format of barcode information in the method for processing distribution information according to the embodiment of the present invention;
fig. 5 is a schematic flow chart corresponding to a method for generating a delivery document according to an embodiment of the present invention;
fig. 6 is a schematic flow chart corresponding to a method for generating barcode information according to an embodiment of the present invention;
fig. 7 is a schematic flowchart corresponding to another barcode information generating method according to an embodiment of the present invention;
fig. 8 is a schematic format diagram of a two-dimensional code generated in the embodiment of the present invention;
fig. 9a is a schematic diagram of a format of a two-dimensional code according to an embodiment of the present invention;
fig. 9b is a schematic diagram of another two-dimensional code format provided in the embodiment of the present invention;
fig. 10 is a schematic flowchart of a method for processing popularization information according to an embodiment of the present invention;
fig. 11 is a flowchart illustrating an information processing method according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of a distributed information processing apparatus according to an embodiment of the present invention;
fig. 13 is a schematic structural diagram of a delivery document generating apparatus according to an embodiment of the present invention;
fig. 14 is a schematic structural diagram of a promotion information processing apparatus according to an embodiment of the present invention;
fig. 15 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiments of the present invention will be described in further detail with reference to the drawings attached hereto.
Fig. 1 is a flowchart illustrating a method for processing distribution information according to an embodiment of the present invention, as shown in fig. 1, the method includes steps S101 to S102 as follows:
step S101: the method comprises the steps that a distribution end scans bar codes on a distribution document to obtain bar code information of the bar codes;
step S102: and the distribution end application acquires the distribution information of the order according to the bar code information.
The delivery information processing method provided in the embodiment of the present invention is specifically executed by a delivery end application, where the delivery end application may be an application installed on an intelligent terminal used for delivery work of a delivery worker (or a rider), such as a smart phone, a tablet computer, and a personal digital assistant PDA, and the terminal device has a camera assembly or a photoelectric identification assembly, or is connected to the camera assembly or the photoelectric identification assembly, and may be used to scan a barcode, which is not limited in this respect.
The delivery information processing method in the embodiment of the invention can be applied to the field of take-away delivery, and in the field of take-away delivery, the delivery document can be a document which is fixed on a packaging bag or a packaging box of take-away food ordered by a user in an attaching or binding mode and is used for noting the order information of the order. In addition, the delivery information processing method in the embodiment of the invention can also be applied to the field of common express delivery, and in the field of express delivery, the delivery document can be a delivery document attached or bound on an outer package of an express item.
Fig. 2a is a schematic diagram of a delivery document in the prior art, and fig. 2b is a schematic diagram of a delivery document in an embodiment of the present invention, as shown in fig. 2a and fig. 2b, order information of a take-away order (e.g., a list of take-away items ordered by a user) and delivery information of the user, i.e., a hidden part of a mosaic in fig. 2a, are printed in plain text, and the hidden part actually identifies a name, a contact phone, a delivery address, and the like of the user. In fig. 2b, the delivery document also contains order information, but the delivery information of the user is hidden, and the two-dimensional code is used as a way for the deliverer to obtain the delivery information.
Therefore, the delivery information of the order is not displayed in the delivery document, so that the privacy of a user can be effectively protected, and on the other hand, when the rider delivers the meal, the delivery information of the order can be acquired according to the bar code information by scanning the bar code in the delivery document through the delivery end application.
In the specific implementation of step S101, the delivery end application may scan the barcode on the delivery document to obtain barcode information of the barcode.
Specifically, the order may be a take-away delivery order or a courier delivery order, delivery information of the order is not shown in the delivery document, and the delivery information may include information such as a name, a contact phone, a delivery address, and the like of the user. The barcode information refers to information contained in the barcode.
The barcode may be a one-dimensional barcode, a two-dimensional barcode, a three-dimensional barcode, or a barcode with more dimensions, which is not specifically limited in this embodiment of the present invention. The one-dimensional bar code may be called a bar code, and is a graphic identification diagram in which a plurality of black bars and white bars having different widths are arranged according to a certain encoding rule to express a group of information, for example, a parallel line pattern in which black bars and white bars having very different reflectivities are arranged.
The two-dimensional bar code can be also called as a two-dimensional bar code, and is a bar code with readability of another bit expanded on the basis of the one-dimensional bar code.
The one-dimensional bar code and the two-dimensional bar code are printed on a plane, and the three-dimensional bar code is added with one dimension on the basis of the two-dimensional bar code, so that the three-dimensional bar code has larger information capacity.
In consideration of the data amount of the distribution information itself, the present invention specifically describes the distribution information processing method in the embodiment of the present invention by taking a two-dimensional barcode as an example of the barcode. The two-dimensional bar code has a 'positioning point' and a fault-tolerant mechanism, and the fault-tolerant mechanism can correctly restore the information contained in the bar code when the scanning equipment does not recognize all the bar codes or the bar codes are stained. In addition, the barcode may be generated by using a current international standard QR Code (Quick Response Code) encoding algorithm, or the two-dimensional barcode may also be generated by using other encoding algorithms, which is not limited in the present invention.
In the specific implementation of step S102, the barcode information may include one or more items of data, and according to the difference of the data included in the barcode information, step S102 may have a plurality of different implementation manners:
the first possible implementation manner is: the bar code information includes an order identification of the order.
After the distribution end application scans the bar code information, the order identification in the bar code information is sent to the server, and distribution information returned by the server according to the order identification is received. The server is a take-out platform or a server of an express company and is used for managing all order information in a unified mode. In the implementation mode, the server sends the delivery information to the delivery end application according to the order identification, so that the safety of the delivery information can be further improved, and the risk of delivery information leakage caused by the fact that the delivery information is directly contained in the bar code information is avoided.
In order to ensure the security of information interaction, optionally, the barcode information may further include a digital signature issued by the merchant terminal application to the order identifier. And the merchant application issues a digital signature to the order mark by using the private key of the merchant and attaches the digital signature to the front of the order mark.
Specifically, the digital signature may be a digital signature further including time stamp information, which may include a date and a specific time of the order generation, and the like.
Before the distribution end application sends the order identification to the server to obtain distribution information, the distribution end application can firstly use the order identification to determine a merchant of the order, further use a public key of the merchant to verify whether the digital signature in the bar code information is valid, if so, further send the order identification to the server, if the verification fails, the process is ended, and no next step processing is performed.
The verification is valid, namely that the digital signature is confirmed to be issued by a specific merchant after verification, and the current time is within a set valid time range from the time of the timestamp information identifier in the digital signature. For example, assuming that the time range is set to one day, the distribution end application verifies that the digital signature is issued by the merchant a using the public key of the merchant a, but since the timestamp information is yesterday, which is beyond the valid time range of the digital signature, it can be determined that the digital signature is invalid.
Optionally, the barcode information may further include promotion information, where the promotion information may be promotion information related to a marketing activity of a take-away platform or an express company, and the promotion information may be dynamic address information or promotion information in other forms after being attached to an order identifier, which is not specifically limited in the present invention.
The promotion information may be related to the generation time of the order and/or the identification of the recipient, for example, the takeout platform pushes the same promotion information for all orders in a certain period, or the takeout platform may also push different promotion information for the identification of the user of each order, for example, according to the age, the area, the order record, the favorite food variety, and the like of the user, and then, or the takeout platform determines the promotion information to be pushed according to the marketing activity and the identification of the user in the current period.
For example, after the takeaway user receives the takeaway meal, the user side application scans the bar code to obtain the bar code information, and then the coupon sent by the takeaway platform can be obtained according to the promotion information contained in the bar code information, or the takeaway user can jump to an activity promotion page, a third-party advertisement page and the like indicated by the address in a targeted manner.
Optionally, the barcode information may further include an abstract of each piece of data, for example, if the barcode information includes the order identifier and the promotion information, the barcode information may further include an abstract of the order identifier and an abstract of the promotion information, and the two abstracts are respectively attached to the front of the corresponding data.
Fig. 3 is a schematic diagram illustrating a first format composition of barcode information in the distribution information processing method according to the embodiment of the present invention, where, as shown in fig. 3, the barcode information includes a timestamp signature, an order identifier, promotion information, and digests corresponding to the order identifier and the promotion information, respectively.
A second possible implementation is: the bar code information includes an order identification of the order and encrypted delivery information of the order.
After the distribution end scans the bar code information, firstly, a decryption key is generated according to the identity of a distributor, and then, the distribution information encrypted in the bar code information is decrypted according to the decryption key to obtain the distribution information.
The decryption key may be related to only the identity of the distributor, or may also be related to both the identity of the distributor and the order identifier. If the decryption key is only related to the identity of the distributor, the distribution end application generates the decryption key according to the identity of the distributor; and if the decryption key is related to the identity of the distributor and the order identification, the distribution end application generates the decryption key according to the identity of the distributor and the order identification.
The server does not participate in the implementation mode, the delivery information is provided for the deliverer in an encrypted mode, and therefore the problem that the user experience is influenced due to the fact that the deliverer cannot timely know the delivery information due to network factors and the delivery time delay is caused can be effectively avoided. In addition, because the decryption key is related to the identity of the distributor, only the distributor receiving the distribution task of the order can obtain the distribution information of the order, the safety of the distribution information is further ensured, and the problem of delivery errors of take-away food or express is avoided.
In order to ensure the security of information interaction, optionally, the barcode information may further include a digital signature issued by the merchant terminal application to the order identifier. And the merchant application issues a digital signature to the order mark by using the private key of the merchant and attaches the digital signature to the front of the order mark.
Specifically, the digital signature may be a digital signature further including time stamp information, which may include a date and a specific time of the order generation, and the like.
Before the distribution terminal application generates a decryption key to decrypt the encrypted distribution information in the bar code information, the distribution terminal application can also determine a merchant of the order by using the order identification, further verify whether the digital signature in the bar code information is valid by using a public key of the merchant, further send the order identification to the server if the digital signature is valid, and end the process if the verification fails.
The verification is valid, namely that the digital signature is confirmed to be issued by a specific merchant after verification, and the current time is within a set valid time range from the time of the timestamp information identifier in the digital signature. For example, assuming that the time range is set to one day, the distribution end application verifies that the digital signature is issued by the merchant a using the public key of the merchant a, but since the timestamp information is yesterday, which is beyond the valid time range of the digital signature, it can be determined that the digital signature is invalid.
Optionally, the barcode information may further include promotion information, where the promotion information may be promotion information related to a marketing activity of a take-away platform or an express company, and the promotion information may be dynamic address information or promotion information in other forms after being attached to an order identifier, which is not specifically limited in the present invention.
The promotion information may be related to the generation time of the order and/or the identification of the recipient, for example, the takeout platform pushes the same promotion information for all orders in a certain period, or the takeout platform may also push different promotion information for the identification of the user of each order, for example, according to the age, the area, the order record, the favorite food variety, and the like of the user, and then, or the takeout platform determines the promotion information to be pushed according to the marketing activity and the identification of the user in the current period.
For example, after the takeaway user receives the takeaway meal, the user side application scans the bar code to obtain the bar code information, and then the coupon sent by the takeaway platform can be obtained according to the promotion information contained in the bar code information, or the takeaway user can jump to an activity promotion page, a third-party advertisement page and the like indicated by the address in a targeted manner.
Optionally, the promotion information included in the barcode information may be encrypted promotion information, and the key for decrypting the promotion information is related to the identity of the user of the order, or both the identity of the user of the order and the order identity. Therefore, the distributor cannot know the identity of the user of the order, cannot decrypt the promotion information contained in the bar code information, but can only obtain the distribution information contained in the bar code information, so that the situation that the distributor scans the bar code and checks and receives the promotion information belonging to the user to influence the user rights and interests or jumps to the page of the promotion information due to checking and receiving the promotion information to influence the distribution work of the distributor can be avoided.
Therefore, although the delivery information and the promotion information in the bar code information are encrypted, the key for encrypting the delivery information is related to the identity of the deliverer, and the key for encrypting the promotion information is related to the identity of the user, so that the deliverer can only obtain the required delivery information and the user only obtains the required promotion information in a bar code mode, and the cross influence between the delivery information and the promotion information is effectively avoided.
Optionally, the barcode information may further include an abstract of each piece of data, for example, if the barcode information includes an order identifier, delivery information, and promotion information, the barcode information may further include an abstract of the order identifier and an abstract of the promotion information, and the two abstracts are respectively attached to the front of the corresponding data. However, for the encrypted distribution information and the encrypted promotion information, the distribution information and the summary thereof may be encrypted to obtain the encrypted distribution information, and the promotion information and the summary thereof may be encrypted to obtain the encrypted promotion information.
Fig. 4 is a schematic diagram of a second composition format of barcode information in the distribution information processing method according to the embodiment of the present invention, and as shown in fig. 4, the barcode information includes a timestamp signature, an order identifier, encrypted distribution information, and encrypted promotion information.
In the embodiment of the invention, when the delivery information is displayed in the delivery end application, the contact way of the user can be a real telephone number, and can also be a small number of the user in a take-away platform or an express delivery website, a telephone number after a plurality of digits are hidden in the real number, and other incomplete numbers. Therefore, in order to facilitate the work of the distributor, the distribution end application can add a button with the function of dialing the telephone beside the contact way, so that the distributor does not need to manually input the telephone numbers in the dial keyboard one by one, and can conveniently call the user by clicking the 'call' button, thereby effectively improving the distribution convenience.
In addition, when the delivery terminal application displays the delivery address of the order, only the characters of the delivery address can be displayed, or a map and a past route of a rider riding the bicycle from the current position of the rider can be displayed beside the characters of the delivery address, and real-time navigation is carried out.
Fig. 5 is a schematic flow chart corresponding to the method for generating a delivery document according to the embodiment of the present invention, and as shown in fig. 5, the method includes the following steps S501 to S502:
step S501: the merchant terminal application determines order information of a received order and generates a bar code according to the order information; the bar code is used for the delivery end to obtain the delivery information of the order;
step S502: and the merchant terminal generates a distribution bill with the bar code by application, wherein the distribution bill does not display the distribution information of the order.
Therefore, in order to effectively protect the privacy of the user, when the merchant terminal application generates the delivery document, the delivery information of the order is not displayed in the delivery document, but the barcode containing the order information is added in the delivery document, so that the delivery terminal application and the user terminal application can acquire the information required by the barcode by scanning the barcode.
The method for distributing documents provided in the embodiment of the present invention is specifically executed by a merchant application, and the merchant application may be an application installed on various types of terminal devices such as a desktop computer, a laptop computer, and a tablet computer of a merchant, which is not specifically limited in this respect. In addition, the terminal equipment can be connected with a printer for printing the delivery document.
In the specific implementation of step S501, after the merchant application receives the order, it may confirm various order information of the order, such as the order identifier of the order, the food ordered by the user, the price, the name of the user, the contact number, the delivery address, and the like, and then generate a barcode according to the order information.
The barcode may be a one-dimensional barcode, a two-dimensional barcode, a multi-dimensional barcode, or the like, and a person skilled in the art may select a suitable barcode type according to the amount of information to be included in the barcode, which is not limited in the present invention. In consideration of the data volume of the current order information, the embodiment of the present invention takes the two-dimensional code as an example for description, and details are not described below.
In the embodiment of the present invention, the barcode may include multiple types of data, and according to the difference between the types and the kinds of the data included in the barcode, the barcode in the present invention may have multiple possible generation modes:
the generation method is as follows: the two-dimensional code only contains order identification.
In this way, the merchant-side application may generate the two-dimensional code only according to the order identifier in the order information. Specifically, the merchant application may generate a section of corresponding digest by hash calculation based on the order identifier; and then, the order identification and the abstract code corresponding to the order identification are encoded to generate the two-dimensional code.
Optionally, based on the first generation mode, the two-dimensional code further includes promotion information.
The promotion information can be acquired from the server after the order identification of the order is determined for the customer-side application. Specifically, the server may generate promotion information for an order placed by a certain user after generating an order identifier for the order, and send the promotion information to a merchant who receives the order, or the merchant application may send the order identifier for the order to the server after receiving a certain order, so as to trigger the server to send the promotion information for the order.
The promotional information may be related to the time of generation of the order and/or the identity of the user placing the order. For example, the takeout platform may send the same promotion information for all orders in a certain period, or the takeout platform may also push different promotion information for the identity of the user of each order, for example, according to the age, the region, the order record, the favorite meal category, and the like of the user, or the takeout platform determines the promotion information to be pushed according to the marketing activity and the identity of the user in the current period.
For example, after the takeaway user receives the takeaway meal, the user side application scans the bar code to obtain the bar code information, and then the coupon sent by the takeaway platform can be obtained according to the promotion information contained in the bar code information, or the takeaway user can jump to an activity promotion page, a third-party advertisement page and the like indicated by the address in a targeted manner.
As shown in fig. 6, if the two-dimensional code further includes promotion information, the merchant application may generate digests corresponding to the order identifier and the promotion information respectively through a hash algorithm, and then generate the two-dimensional code according to the order identifier, the promotion information, and the digests corresponding to the order identifier and the promotion information.
Optionally, the merchant application may further encrypt the promotion information included in the two-dimensional code.
Specifically, the merchant application may generate a second encryption key based on the user identifier, and encrypt the promotion information and the digest corresponding to the promotion information using the second encryption key. Therefore, after the user successfully receives the order, the user scans the two-dimensional code through the user side application, and the corresponding decryption key can be generated according to the identity of the user, so that the popularization information can be successfully checked.
Since the promotion information may be directly related to the rights and interests of the user, in order to better protect the security of the promotion information, a more complex encryption algorithm may also be employed, for example, the merchant-side application may generate the second encryption key according to the identity and order identification of the user. In this way, even if a plurality of orders are made by the same user, the expensive and extensive information in the two-dimensional code is encrypted by using different encryption keys. Therefore, the risk that a third party cracks the key by using the identity of the user is effectively avoided.
The second generation method is as follows: the two-dimensional code comprises order identification and delivery information.
After receiving a certain order, the merchant application can determine the order identification and the delivery information of the user, respectively generate abstracts for the order identification and the delivery information, and encode the order identification, the delivery information and the corresponding abstracts to generate the two-dimensional code. Therefore, the delivery information does not need to be printed in the plaintext in the delivery document, and the delivery person can obtain the delivery information of the order by scanning the two-dimensional code during delivery, so that the privacy and the safety of the user can be effectively protected.
Optionally, based on the second generation manner, in order to further protect the user privacy, the merchant-side application may further perform encryption processing on the distribution information to be included in the two-dimensional code.
In the embodiment of the invention, the key for encrypting the delivery information is related to the identity of the deliverer. Therefore, before the merchant terminal is applied to generating the two-dimensional code, the first encryption key can be generated according to the identity of the distributor, and the distribution information and the abstract thereof are encrypted according to the first encryption key, or before the merchant terminal is applied to generating the two-dimensional code, the first encryption key can be generated according to the identity of the distributor and the order identification, and then the distribution information and the abstract thereof are encrypted according to the first encryption key. Or, the merchant application may also encrypt the distribution information in other manners, as long as the distribution application has a way to obtain the decryption key, and can decrypt the decryption key normally.
The merchant terminal is used for encrypting the distribution information contained in the two-dimensional code when the two-dimensional code is generated, and the encryption key is related to the identity of the distributor, so that only the distributor receiving the distribution task of the order can correctly decode the distribution information, the distributor can obtain the distribution information without a network during distribution, and the technical problem that the distributor cannot obtain the distribution information in time due to poor network environment and user experience is poor can be effectively solved.
It should be noted that, when the delivery information is encrypted, the first encryption key used for encryption is related to the identity of the distributor, so that the merchant application generates the two-dimensional code corresponding to the order only after confirming that the distributor receives the delivery task in a certain order. If the two-dimensional code does not contain the delivery information or the delivery information is not encrypted, the time for the merchant to generate the two-dimensional code for a certain order is not limited by the condition whether the order is accepted by a delivery person or not.
Optionally, based on the second generation mode, the two-dimensional code may further include promotion information. The promotion information may be unencrypted or encrypted promotion information.
The promotion information can be obtained from the server after the order identification of the order is determined for the customer side application. Specifically, the server may generate promotion information for an order placed by a certain user after generating an order identifier for the order, and send the promotion information to a merchant who receives the order, or the merchant application may send the order identifier for the order to the server after receiving a certain order, so as to trigger the server to send the promotion information for the order.
The promotional information may be related to the time of generation of the order and/or the identity of the user placing the order. For example, the takeout platform may send the same promotion information for all orders in a certain period, or the takeout platform may also push different promotion information for the identity of the user of each order, for example, according to the age, the region, the order record, the favorite meal category, and the like of the user, or the takeout platform determines the promotion information to be pushed according to the marketing activity and the identity of the user in the current period.
If the merchant application determines that the promotion information needs to be encrypted, a second encryption key can be generated based on the identity of the user, and the promotion information and the corresponding abstract are encrypted by using the second encryption key. Therefore, after the user successfully receives the order, the user scans the two-dimensional code through the user side application, and the corresponding decryption key can be generated according to the identity of the user, so that the popularization information can be successfully checked.
Further, the merchant application may also generate a second encryption key according to the user identifier and the order identifier. Therefore, even if a plurality of orders are made by the same user, the promotion information in the two-dimensional code is encrypted by adopting different encryption keys. Therefore, the risk that a third party cracks the key by using the identity of the user is effectively avoided. Or, the merchant application can also encrypt the promotion information in other ways, as long as the user application has a way of obtaining the decryption key, and can decrypt normally.
In the embodiment of the invention, the merchant application can also decide whether to encrypt the promotion information according to the specific content of the promotion information. For example, some promotion information with strong relevance to user rights, such as issuing coupons, can be encrypted, and other more common promotion information, such as activity notifications of the takeaway platform, is not encrypted. In the embodiment of the present invention, a person skilled in the art may specifically set the promotion information to be encrypted, and the present invention is not limited to this specifically.
As shown in fig. 7, if the order identifier, the distribution information, and the promotion information are included in the two-dimensional code, the customer-side application may first generate digests corresponding to the order identifier, the distribution information, and the promotion information through a hash algorithm, and then encrypt the distribution information, the promotion information, and the digests corresponding to the distribution information, the promotion information, and the digests corresponding to the order identifier and the order identifier as needed, so as to generate the two-dimensional code.
For the two possible two-dimension code generation modes, the merchant application can also use the private key of the merchant to sign a digital signature for the information contained in the two-dimension code before generating the two-dimension code, so as to ensure the reliability of data such as order identification, distribution information, popularization information and the like in the two-dimension code. Therefore, when the distribution end application or the user end application obtains the information by scanning the two-dimensional code, the validity of the digital signature can be verified to verify whether the digital signature is issued by a correct merchant, if the digital signature is issued by the correct merchant, the distribution end application or the user end application further obtains the distribution information or the promotion information, if the digital signature is not issued by the correct merchant, the next step of processing is not carried out, and the process is ended.
Alternatively, the digital signature may be a digital signature containing time stamp information. The time stamp information may be time stamp information including a date and time of the order generation, and the accuracy of the time stamp information is not particularly limited in the embodiment of the present invention.
If the digital signature contains the timestamp information, verifying whether the digital signature is valid may further include confirming whether the current time is within a set valid time range from the time when the merchant issued the digital signature. For example, assuming that the time range is set to one day, the distribution end application verifies that the digital signature is issued by the merchant a using the public key of the merchant a, but since the timestamp information is yesterday, which is beyond the valid time range of the digital signature, it can be determined that the digital signature is invalid.
Optionally, based on the two possible two-dimensional code generation manners, fig. 8 is a schematic format diagram of a two-dimensional code generated in an embodiment of the present invention. As can be seen from fig. 9a and 9b, in addition to the distribution information and/or promotion information being processed and accommodated in the two-dimensional code, an enterprise identifier (e.g., a brand identifier of what the selling platform is hungry in fig. 2 b) may be added to the two-dimensional code for promotion. In addition, in consideration of the fact that the distributor may perform the distribution work of multiple orders at the same time, in the embodiment of the present invention, the clear order identifier may be further added to the two-dimensional code, so that the distributor can distinguish multiple orders to avoid the occurrence of a distribution error.
It should be noted that, although a plurality of possible two-dimensional code generation manners are provided in the embodiment of the present invention, the generation manners are distinguished according to the number and types of information contained in the two-dimensional code, and the present invention does not specifically limit how the information is encoded to obtain an algorithm of the corresponding two-dimensional code.
In the specific implementation of step S502, the merchant generates a delivery document having the barcode. The delivery document does not display the delivery information and promotion information of the order. Therefore, when the delivery personnel deliver the takeout food or the express, the delivery information of the order can be obtained by scanning the bar code in the delivery document, and after the user receives the delivered takeout food, the related promotion information of the order can be obtained by scanning the bar code in the delivery document, so that the marketing approach of a takeout platform or an express company is expanded.
Fig. 10 is a flowchart illustrating a method for processing popularization information according to an embodiment of the present invention, and as shown in fig. 10, the method includes steps S1001 to S1002:
step S1001: scanning a bar code on a distribution document by a client application to acquire bar code information of the bar code; the bar code is used for the delivery end to obtain the delivery information of the order;
step S1002: and the user side application acquires the promotion information of the order according to the bar code information.
Therefore, in the embodiment of the invention, the bar code on the delivery document can be used for providing the delivery information of the order for the delivery end application and providing the promotion information of the order for the user end application. Therefore, the take-out platform or the express company can send specific promotion information to a user of a certain order by using the delivery document, and thus, an activity promotion channel is expanded.
The method for processing the promoted information provided by the embodiment of the present invention is specifically executed by a user side application, where the user side application may be an application program installed on various types of intelligent terminal devices such as a desktop computer, a notebook computer, and a tablet computer, and the terminal device has a camera assembly, a photoelectric identification assembly, or an image identification assembly, or is connected with the camera assembly, the photoelectric identification assembly, or the image identification assembly, and may be used to scan a barcode, which is not specifically limited in the present invention.
In the specific implementation of step S1001, the user side scans the barcode on the delivery document to obtain barcode information of the barcode. The bar code can be used for a distributor to obtain distribution information of the order and can also be used for a user to obtain popularization information of the order.
In the specific implementation of step S1002, the user application acquires promotion information of the order according to the barcode information, where the promotion information may be promotion information related to a marketing activity of a take-away platform or an express company, and the promotion information may be dynamic address information or promotion information in other forms after being attached to the order identifier, which is not limited in this invention. Therefore, after the user side application acquires the promotion information, the user side application can participate in promotion activities according to the indication in the promotion information.
Specifically, the promotion information may be related to the generation time of the order and/or the identification of the recipient, for example, the takeaway platform may push the same promotion information for all orders in a certain period, or the takeaway platform may also push different promotion information for the identification of the user of each order, for example, according to the age, the area, the order record, the favorite food category, and the like of the user, or the takeaway platform may determine the promotion information to be pushed according to the marketing activity and the identification of the user in the current period.
For example, after the takeaway user receives the takeaway meal, the user side application scans the bar code to obtain the bar code information, and then the coupon sent by the takeaway platform can be obtained according to the promotion information contained in the bar code information, or the takeaway user can jump to an activity promotion page, a third-party advertisement page and the like indicated by the address in a targeted manner.
Optionally, the promotion information included in the barcode information may be unencrypted or encrypted promotion information. In the embodiment of the invention, the key for encrypting the promotion information applied by the merchant end is related to the identity of the user, so that if the promotion information is the encrypted promotion information, the user end application can generate a decryption key based on the user identity and decrypt the encrypted promotion information according to the decryption key to obtain the promotion information. Further, if the key for the merchant terminal to apply the encrypted promotion information is related to both the user identifier and the order identifier, the user terminal application may generate a decryption key based on the user identifier and the order identifier, and decrypt the encrypted promotion information according to the decryption key. Or, the merchant application can also encrypt the promotion information in other ways, as long as the user application has a way of obtaining the decryption key, and can decrypt normally.
If the two-dimensional code also comprises a digital signature issued by the merchant for the bar code information, the validity of the digital signature can be verified before the user terminal application obtains the promotion information by scanning the two-dimensional code so as to verify whether the digital signature is issued by the correct merchant, if so, the promotion information is further obtained, if not, the next step of processing is not carried out, and the process is ended.
Alternatively, the digital signature may be a digital signature containing time stamp information. The time stamp information may be time stamp information including a date and time of the order generation, and the accuracy of the time stamp information is not particularly limited in the embodiment of the present invention.
If the digital signature contains the timestamp information, verifying whether the digital signature is valid may further include confirming whether the current time is within a set valid time range from the time when the merchant issued the digital signature. For example, assuming that the time range is set to one day, the distribution end application verifies that the digital signature is issued by the merchant a using the public key of the merchant a, but since the timestamp information is yesterday, which is beyond the valid time range of the digital signature, it can be determined that the digital signature is invalid.
With reference to the delivery information processing method, the delivery document generation method, and the promotion information processing method provided in the embodiments of the present invention, another information processing method is also provided in the embodiments of the present invention, as shown in fig. 11, including the following steps S1101 to S1106:
step S1101: the merchant terminal application determines order information of a received order and generates a bar code according to the order information; the bar code is used for acquiring the distribution information of the order by the application of the distribution terminal and acquiring the promotion information of the order by the application of the user terminal;
step S1102: and the merchant terminal generates a distribution bill with the bar code by application, wherein the distribution bill does not display the distribution information of the order.
Step S1103: the distribution end scans the bar code on the distribution document to obtain the bar code information of the bar code;
step S1104: and the distribution end application acquires the distribution information of the order according to the bar code information.
Step S1105: scanning a bar code on a distribution document by a client application to acquire bar code information of the bar code;
step S1106: and the user side application acquires the promotion information of the order according to the bar code information.
Taking a take-out delivery scene as an example, in a complete take-out delivery process, a merchant end, a delivery end and a user end are involved, wherein after the user end submits an order, the merchant end generates a delivery document and initiates a delivery task if receiving the order; after the delivery end receives the delivery task, the merchant takes the food, obtains delivery information according to the delivery document, and delivers the takeout food according to the delivery information; and after receiving the take-out food, the user side confirms the delivery of the order and receives the promotion information. Therefore, as can be seen from fig. 11, steps S1101 to S1106 identify respective execution sequences and are not interchangeable, but it should be noted that, according to different practical situations, the merchant may directly generate the delivery document after receiving the order, or initiate the delivery task after receiving the order, and confirm that the delivery task has the delivery order received by the deliverer before generating the delivery document.
Based on the same inventive concept, an embodiment of the present invention further provides a distribution information processing apparatus, fig. 12 is a schematic structural diagram of the distribution information processing apparatus provided in the embodiment of the present invention, and as shown in fig. 12, the apparatus 1200 includes:
the scanning module 1201 is used for scanning the bar code on the delivery document to acquire the bar code information of the bar code; the delivery bill does not display the delivery information of the order;
and the processing module 1202 is configured to obtain the distribution information of the order according to the barcode information.
Optionally, the barcode information includes an order identifier of the order;
the processing module 1202 is specifically configured to:
and sending the order identification to a server, and receiving delivery information returned by the server according to the order identification.
Optionally, the barcode information includes encrypted delivery information;
the processing module 1202 is specifically configured to:
generating a decryption key according to the identity of the distributor;
and according to the decryption key, obtaining the distribution information after decrypting the encrypted distribution information.
Optionally, the barcode information includes an order identifier;
the processing module 1202 is specifically configured to:
and generating a decryption key according to the identity of the distributor and the order identification.
Optionally, the barcode information further comprises a timestamp signature;
the apparatus further comprises a verification module 1203 configured to:
determining a merchant of the order according to the order mark;
and verifying that the timestamp signature is valid according to the public key of the merchant.
Optionally, the barcode information further includes promotion information, and the promotion information is related to the generation time of the order and/or the identification of the recipient.
Optionally, the promotion information is encrypted promotion information, and a key for encrypting the promotion information is generated according to the identity of the recipient.
Based on the same inventive concept, an embodiment of the present invention further provides a delivery document generating apparatus, fig. 13 is a schematic structural diagram of the delivery document generating apparatus provided in the embodiment of the present invention, and as shown in fig. 13, the apparatus 1300 includes:
the barcode generation module 1301 is used for determining order information of a received order and generating a barcode according to the order information; the bar code is used for the delivery end to obtain the delivery information of the order;
the document generating module 1302 is configured to generate a delivery document with the barcode, where the delivery document does not show the delivery information of the order.
Optionally, the barcode generation module 1301 is configured to:
and generating the bar code according to the order mark in the order information.
Optionally, the order information further includes delivery information of the order;
the barcode generation module 1301 is specifically configured to:
and generating the bar code according to the distribution information and the order identification.
Optionally, the delivery information is encrypted delivery information;
the apparatus further comprises a first encryption module 1303 configured to:
before the barcode generating module 1301 generates the barcode, a first encryption key is generated according to the identity of the distributor, and the distribution information is encrypted according to the first encryption key.
Optionally, the order information further includes promotion information of the order;
the barcode generation module 1301 is further specifically configured to:
generating the bar code according to the promotion information and the order identification; or generating the bar code according to the promotion information, the order identification and the encrypted or unencrypted distribution information.
Optionally, the promotion information is encrypted promotion information;
the apparatus further comprises a second encryption module 1304 for:
and generating a second encryption key according to the identity of the receiver, and encrypting the promotion information according to the second encryption key.
Optionally, the apparatus further comprises a signature module 1305 for:
generating a timestamp signature corresponding to the barcode according to a public key of a merchant of the order;
and generating the bar code according to the timestamp signature, the order identification, the encrypted or unencrypted distribution information and the encrypted or unencrypted popularization information.
Based on the same inventive concept, an embodiment of the present invention further provides a popularization information processing apparatus, fig. 14 is a schematic structural diagram of the popularization information processing apparatus provided in the embodiment of the present invention, and as shown in fig. 14, the apparatus 1400 includes:
the scanning module 1401 is used for scanning the bar code on the distribution document to acquire the bar code information of the bar code; the bar code is used for the delivery end to obtain the delivery information of the order;
and the processing module 1402 is configured to obtain promotion information of the order according to the barcode information.
Optionally, the bar code information further includes the encrypted promotion information;
the processing module 1402 is configured to:
and generating a decryption key according to the user identifier, and decrypting the encrypted promotion information according to the decryption key to obtain the promotion information.
Optionally, the barcode information further includes an order identifier and a timestamp signature of the order;
the apparatus further comprises a verification module 1403 for:
determining a public key of a merchant of the order according to the order identifier;
and verifying that the timestamp signature is valid according to the public key.
Optionally, the processing module 1402 is specifically configured to:
and generating a decryption key according to the user identifier and the order identifier.
Based on the same inventive concept, the embodiment of the present invention further provides another terminal, and the terminal may specifically be a desktop computer, a portable computer, a smart phone, a tablet computer, a Personal Digital Assistant (PDA), and the like. As shown in fig. 15, the terminal 1500 may include a camera assembly 1501, a Central Processing Unit (CPU) 1502, a memory 1503, an input/output device 1504, a bus system 1505, and the like. The input device may include a keyboard, a mouse, a touch screen, and the like, and the output device may include a Display device such as a Liquid Crystal Display (LCD), a Cathode Ray Tube (CRT), and the like.
The camera assembly may include a lens and an image sensor for scanning the barcode and storing it in a memory.
The memory may include Read Only Memory (ROM) and Random Access Memory (RAM), and provides the processor with program instructions and data stored in the memory. In the embodiment of the present invention, the memory may be configured to store the program of the method for generating, delivering, and promoting delivery documents.
The processor is used for executing the distribution bill generation, distribution and popularization information processing method according to the obtained program instruction by calling the program instruction stored in the memory.
Based on the same inventive concept, an embodiment of the present invention provides a computer storage medium for storing computer program instructions for the terminal, which includes a program for executing the method for generating, delivering, and promoting delivery documents.
The computer storage media may be any available media or data storage device that can be accessed by a computer, including, but not limited to, magnetic memory (e.g., floppy disks, hard disks, magnetic tape, magneto-optical disks (MOs), etc.), optical memory (e.g., CDs, DVDs, BDs, HVDs, etc.), and semiconductor memory (e.g., ROMs, EPROMs, EEPROMs, non-volatile memory (NAND FLASH), Solid State Disks (SSDs)), etc.
From the above, it can be seen that:
the distribution end scans the bar code on the distribution document to obtain the bar code information, and obtains the distribution information of the order according to the bar code information. In the embodiment of the invention, the delivery information of the order is not displayed in the delivery document, and the delivery information of the order is acquired according to the bar code information by scanning the bar code in the delivery document through the delivery end application when the rider delivers the meal, so that the rider can be ensured to accurately acquire the delivery information of the order, and the privacy of the user is effectively protected.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart block or blocks and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While alternative embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following appended claims be interpreted as including alternative embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (21)

1. A delivery information processing method, characterized by comprising:
the method comprises the steps that a distribution end scans bar codes on a distribution document to obtain bar code information of the bar codes; the delivery bill does not display the delivery information of the order; the bar code information comprises delivery information and an order identification which are encrypted by a secret key generated by using an identity identification of a delivery person and the order identification; the distribution bill is generated by applying the merchant terminal, and the bar code in the distribution bill is generated by applying the merchant terminal to order information for determining to receive an order and according to the distribution information and the order mark in the order information;
the distribution end application acquires the distribution information of the order according to the bar code information, and the distribution information comprises the following steps:
the distribution end application generates a decryption key according to the identity of the distributor and the order identification;
and the distribution end application decrypts the encrypted distribution information according to the decryption key to obtain the distribution information.
2. The method of claim 1, wherein the barcode information comprises an order identification of the order;
the distribution end application acquires the distribution information of the order according to the bar code information, and the distribution information comprises the following steps:
and the distribution terminal application sends the order identification to a server and receives distribution information returned by the server according to the order identification.
3. The method of claim 1 or 2, wherein the barcode information further comprises a timestamp signature;
before the distribution end application obtains the distribution information of the order, the method further comprises the following steps:
the distribution terminal application determines a commercial tenant of the order according to the order identification;
and the distribution end application verifies that the timestamp signature is valid according to the public key of the merchant.
4. The method of claim 1 or 2, wherein the barcode information further comprises promotional information, the promotional information being related to a generation time of the order and/or an identification of a recipient.
5. The method according to claim 4, wherein the promotion information is encrypted promotion information, and a key for encrypting the promotion information is generated according to the identity of the recipient.
6. A delivery document generation method, characterized in that the method comprises:
the method comprises the steps that a merchant application determines order information of a received order and generates a bar code according to distribution information and an order mark in the order information; the bar code is used for the delivery end to obtain the delivery information of the order; the distribution information is encrypted distribution information; the barcode information of the barcode includes: the delivery information and the order identification are encrypted by a secret key generated by the identity identification of the deliverer and the order identification;
the merchant terminal generates a distribution bill with the bar code by application, and the distribution bill does not display the distribution information of the order; the distribution document is used for scanning a bar code on the distribution document by the application of the distribution terminal, and generating a decryption key according to the identity identification and the order identification of the distributor to acquire the bar code information of the bar code.
7. The method of claim 6,
before the merchant terminal application generates the barcode, the method further includes:
and the merchant side application generates a first encryption key according to the identity of the distributor and encrypts the distribution information according to the first encryption key.
8. The method according to claim 6 or 7, characterized in that the order information further comprises promotion information of the order;
the merchant side application generates the bar code according to the order identification in the order information, and the method comprises the following steps:
the merchant terminal application generates the bar code according to the promotion information and the order identification; or generating the bar code according to the promotion information, the order identification and the encrypted or unencrypted distribution information.
9. The method of claim 8, wherein the promotion information is encrypted promotion information;
before the merchant terminal application generates the barcode, the method further includes:
and the business user side application generates a second encryption key according to the identity of the receiver and encrypts the promotion information according to the second encryption key.
10. The method of claim 8, wherein prior to the merchant-side application generating the barcode, further comprising:
the merchant side generates a timestamp signature corresponding to the barcode according to the public key of the merchant of the order;
and the merchant terminal generates the bar code according to the timestamp signature, the order identification, the encrypted or unencrypted distribution information and the encrypted or unencrypted popularization information.
11. A method for processing promotion information, the method comprising:
scanning a bar code on a distribution document by a client application to acquire bar code information of the bar code; the bar code is used for the user side to apply and obtain the promotion information of the order; the bar code information comprises promotion information encrypted by a secret key generated by a user identifier and an order identifier; the distribution bill is generated by applying the merchant terminal, and the bar code in the distribution bill is generated by applying the merchant terminal to order information for determining to receive an order and according to the distribution information and the order mark in the order information;
and the user side application generates a decryption key according to the user identification and the order identification, and decrypts the encrypted promotion information according to the decryption key to obtain the promotion information.
12. The method of claim 11, wherein the barcode information further comprises an order identification and a timestamp signature of the order;
before the user side application acquires the promotion information, the method further comprises the following steps:
the user side application determines a public key of a commercial tenant of the order according to the order identification;
and verifying that the timestamp signature is valid according to the public key.
13. A distributed information processing apparatus, characterized by comprising:
the scanning module is used for scanning the bar codes on the delivery documents to acquire the bar code information of the bar codes; the delivery bill does not display the delivery information of the order; the bar code information comprises delivery information and an order identification which are encrypted by a secret key generated by using an identity identification of a delivery person and the order identification; the distribution bill is generated by applying the merchant terminal, and the bar code in the distribution bill is generated by applying the merchant terminal to order information for determining to receive an order and according to the distribution information and the order mark in the order information;
the processing module is used for acquiring the distribution information of the order according to the bar code information, and comprises:
generating a decryption key according to the identity of the distributor and the order identification; and according to the decryption key, obtaining the distribution information after decrypting the encrypted distribution information.
14. A delivery document generation apparatus, the apparatus comprising:
the bar code generation module is used for determining order information of a received order and generating the bar code according to distribution information and an order mark in the order information; the bar code is used for the delivery end to obtain the delivery information of the order; the distribution information is encrypted distribution information; the barcode information of the barcode includes: the delivery information and the order identification are encrypted by a secret key generated by the identity identification of the deliverer and the order identification;
the bill generating module is used for generating a distribution bill with the bar code, and the distribution bill does not display the distribution information of the order; the distribution document is used for scanning a bar code on the distribution document by the application of the distribution terminal, and generating a decryption key according to the identity identification and the order identification of the distributor to acquire the bar code information of the bar code.
15. An apparatus for promotion information processing, the apparatus comprising:
the scanning module is used for scanning the bar codes on the delivery documents to acquire the bar code information of the bar codes; the bar code is used for the user side to apply and obtain the promotion information of the order; the bar code information comprises promotion information encrypted by a secret key generated by a user identifier and an order identifier; the distribution bill is generated by applying the merchant terminal, and the bar code in the distribution bill is generated by applying the merchant terminal to order information for determining to receive an order and according to the distribution information and the order mark in the order information;
and the processing module is used for generating a decryption key according to the user identifier and the order identifier, and decrypting the encrypted promotion information according to the decryption key to obtain the promotion information.
16. A terminal, comprising:
the camera component is used for scanning the bar code and inputting the bar code into the processor for further processing;
a memory for storing program instructions;
a processor for invoking program instructions stored in the memory to perform the method of any of claims 1-5.
17. A computer storage medium having computer-executable instructions stored thereon for causing a computer to perform the method of any one of claims 1 to 5.
18. A terminal, comprising:
the camera component is used for scanning the bar code and inputting the bar code into the processor for further processing;
a memory for storing program instructions;
a processor for calling program instructions stored in said memory to perform the method of any of claims 6 to 10 in accordance with the obtained program.
19. A computer storage medium having computer-executable instructions stored thereon for causing a computer to perform the method of any one of claims 6 to 10.
20. A terminal, comprising:
the camera component is used for scanning the bar code and inputting the bar code into the processor for further processing;
a memory for storing program instructions;
a processor for calling program instructions stored in said memory to execute the method of claim 11 or 12 in accordance with the obtained program.
21. A computer storage medium having stored thereon computer-executable instructions for causing a computer to perform the method of claim 11 or 12.
CN201810330562.0A 2018-04-13 2018-04-13 Distribution document generation, distribution and popularization information processing method and device Active CN108763937B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810330562.0A CN108763937B (en) 2018-04-13 2018-04-13 Distribution document generation, distribution and popularization information processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810330562.0A CN108763937B (en) 2018-04-13 2018-04-13 Distribution document generation, distribution and popularization information processing method and device

Publications (2)

Publication Number Publication Date
CN108763937A CN108763937A (en) 2018-11-06
CN108763937B true CN108763937B (en) 2021-06-29

Family

ID=63981808

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810330562.0A Active CN108763937B (en) 2018-04-13 2018-04-13 Distribution document generation, distribution and popularization information processing method and device

Country Status (1)

Country Link
CN (1) CN108763937B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109544074A (en) * 2018-11-23 2019-03-29 张羽翔 A kind of take-away intelligent processing method and system based on cloud platform
CN109840835A (en) * 2019-02-26 2019-06-04 苏州星点点信息科技有限公司 Allocator, device and the computer equipment of group's meal vegetable
CN109658038A (en) * 2019-02-27 2019-04-19 邯郸学院 Express delivery article allocator, device and terminal device
CN112614574A (en) * 2020-12-24 2021-04-06 江苏达实久信数字医疗科技有限公司 Operating room maintenance management method, system and storage medium
CN113591503A (en) * 2021-07-15 2021-11-02 上海东普信息科技有限公司 Information providing method, device and equipment based on QR two-dimensional code and storage medium

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103177220B (en) * 2013-04-12 2016-02-17 成都市易恒信科技有限公司 Based on the method for carrying out personal information encryption in the logistics system of Quick Response Code
CN103530753B (en) * 2013-10-21 2019-03-26 北京邮电大学 A kind of information-based express delivery method for protecting customer privacy
CN104361479A (en) * 2014-11-25 2015-02-18 广西大学 Express item collecting and dispatching method of logistics
CN104463529A (en) * 2014-11-26 2015-03-25 浙江工业大学 Logistics distribution bill generating method based on two-dimension code and encryption technology
CN104933371B (en) * 2015-06-04 2018-06-22 南京邮电大学 Logistics personal information intimacy protection system based on multi-layer security Quick Response Code
US10839337B2 (en) * 2015-06-23 2020-11-17 International Business Machines Corporation System and method for secure proximity-based signatures for parcel delivery
CN105574692A (en) * 2015-12-02 2016-05-11 华南农业大学 Anonymous express information security system based on two-dimension code
CN105608392A (en) * 2015-12-21 2016-05-25 北京华傲达数据技术有限公司 Logistics terminal device and delivery method thereof
CN106251175A (en) * 2016-07-29 2016-12-21 广州大数据文化传媒有限公司 A kind of express delivery single bar code advertisement method for implantation
CN106529865A (en) * 2016-10-26 2017-03-22 沈海峰 Two-dimensional code based express delivery dispatching terminal, service client and method
CN107133529B (en) * 2017-05-04 2021-01-26 广东工业大学 Express privacy information confidentiality method

Also Published As

Publication number Publication date
CN108763937A (en) 2018-11-06

Similar Documents

Publication Publication Date Title
CN108763937B (en) Distribution document generation, distribution and popularization information processing method and device
CN107104969B (en) Method for protecting personal privacy information in express by applying dynamic encryption mechanism
RU2494455C2 (en) Electronic certification, identification and transmission of information using coded graphic images
US20120187185A1 (en) System and method for detecting counterfeit products and documents, and tracking and authenticating documents
US20130290707A1 (en) Information distribution system
US11194917B2 (en) Information encryption method and device
US20130218796A1 (en) Securing User Information
TWI725940B (en) Method, device and tripartite service system for protecting the safety of sensitive data
CN103325043A (en) System and method for tracking and verifying commodity purchased on internet
JP5022969B2 (en) Information system, information service program, and information server device
CN107133830B (en) Method and system for issuing electronic invoice based on short message
CN103942845A (en) Method for checking electronic invoice
CN104361490A (en) Payment method and payment system by sensitive information identification
EP2905739A1 (en) Electronic bills management system and electronic bills management method
CN110942301B (en) Data processing method and device based on block chain, computer and storage medium
US20120197688A1 (en) Systems and Methods for Verifying Ownership of Printed Matter
CN107038540B (en) Method and device for object type distribution based on intelligent bar code
US20190164201A1 (en) Trustworthy review system and method for legitimizing a review
EP1227450A2 (en) Method and arrangement for offering a service via information network
EP2668606A2 (en) System for checking the authenticity of articles
JP2004171039A (en) Identification information issuing system, device, method, program and recording medium
CA3033478A1 (en) System and method for confidentially issuing and managing delivery waybill using virtual personal information
US20040167826A1 (en) Anonymous electronic funds transfer system and method, and anonymous shipping system and method
TW201828171A (en) Method for acquiring user information and relevant device
CN114331273A (en) Information processing method, information processing apparatus, electronic device, 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