CN112862033A - Bar code scanning and bar code associated information sending method, device, equipment and medium - Google Patents

Bar code scanning and bar code associated information sending method, device, equipment and medium Download PDF

Info

Publication number
CN112862033A
CN112862033A CN202110051121.9A CN202110051121A CN112862033A CN 112862033 A CN112862033 A CN 112862033A CN 202110051121 A CN202110051121 A CN 202110051121A CN 112862033 A CN112862033 A CN 112862033A
Authority
CN
China
Prior art keywords
information
bar code
commodity
server
scanning
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.)
Granted
Application number
CN202110051121.9A
Other languages
Chinese (zh)
Other versions
CN112862033B (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.)
Alipay Hangzhou Information Technology Co Ltd
Original Assignee
Alipay Hangzhou Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alipay Hangzhou Information Technology Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN202310718388.8A priority Critical patent/CN116739027A/en
Priority to CN202110051121.9A priority patent/CN112862033B/en
Publication of CN112862033A publication Critical patent/CN112862033A/en
Application granted granted Critical
Publication of CN112862033B publication Critical patent/CN112862033B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0025Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/0036Checkout procedures
    • G07G1/0045Checkout procedures with a code reader for reading of an identifying code of the article to be registered, e.g. barcode reader or radio-frequency identity [RFID] reader

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Abstract

The embodiment of the specification discloses a method, a device, equipment and a medium for bar code scanning and bar code associated information sending. The scheme comprises the following steps: a first application installed on a user terminal acquires bar code information of an outer package of a commodity; the bar code corresponding to the bar code information is used for scanning by first code scanning equipment when the commodity is settled; sending the bar code information to a server; acquiring bar code associated information which is returned by the server and has a mapping relation with the bar code; and displaying a corresponding page based on the bar code associated information.

Description

Bar code scanning and bar code associated information sending method, device, equipment and medium
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method, an apparatus, a device, and a readable medium for barcode scanning and barcode associated information sending.
Background
In daily life, during the process of purchasing or using a commodity, a consumer can know commodity-related information, such as the name of the commodity, a manufacturer, a place of production, a use method and the like, from the package of the commodity. Merchandise packaging is the most direct and effective way for merchandise manufacturers to display information about merchandise to consumers.
In practical applications, if a manufacturer wants to transmit new information related to a commodity to a user through the package of the commodity itself, the package of the commodity needs to be updated or changed. For example, the package of the commodity may be redesigned and replaced with a new one, which not only increases the labor, but also delays the information update and makes it impossible to update the information with respect to the existing commodity. As another example, a label containing new information may be attached to an existing package of merchandise, which requires a lot of labor and materials, resulting in waste of resources.
In view of this, it is desirable to provide a method for updating the information related to the commodities carried by the commodity package, which is convenient and has low resource consumption.
Disclosure of Invention
The embodiment of the specification provides a method, a device, equipment and a readable medium for barcode scanning and barcode associated information sending, so as to solve the problems of inconvenience and waste of manpower and material resources in the existing method for updating commodity related information carried by a commodity package.
In order to solve the above technical problem, the embodiments of the present specification are implemented as follows:
the barcode scanning method provided by the embodiment of the specification comprises the following steps: a first application installed on a user terminal acquires bar code information of an outer package of a commodity; the bar code corresponding to the bar code information is used for scanning by first code scanning equipment when the commodity is settled; sending the bar code information to a server; acquiring bar code associated information which is returned by the server and has a mapping relation with the bar code; and displaying a corresponding page based on the bar code associated information.
An embodiment of the present specification provides a method for sending barcode associated information, including: the server acquires the bar code information of the outer package of the commodity sent by the first application; the bar code corresponding to the bar code information is used for scanning by first code scanning equipment when the commodity is settled; determining bar code associated information corresponding to the bar code information; and returning the bar code associated information to the first application.
The barcode scanning device provided in the embodiment of the present specification is applied to a user terminal, and includes: the bar code information acquisition module is used for acquiring bar code information of the outer package of the commodity by the first application; the bar code corresponding to the bar code information is used for scanning by first code scanning equipment when the commodity is settled; the information sending module is used for sending the bar code information to a server; the information acquisition module is used for acquiring bar code associated information which is returned by the server and has a mapping relation with the bar code; and the bar code associated information display module is used for displaying the corresponding page based on the bar code associated information.
The barcode associated information sending apparatus provided in an embodiment of the present specification, applied to a server, includes: the first information acquisition module is used for acquiring the bar code information of the outer package of the commodity sent by the first application; the bar code corresponding to the bar code information is used for scanning by first code scanning equipment when the commodity is settled; the bar code associated information determining module is used for determining bar code associated information corresponding to the bar code information; and the information sending module is used for returning the bar code associated information to the first application.
An embodiment of the present specification provides a user terminal, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to: the first application acquires the bar code information of the outer package of the commodity; the bar code corresponding to the bar code information is used for scanning by first code scanning equipment when the commodity is settled; sending the bar code information to a server; acquiring bar code associated information which is returned by the server and has a mapping relation with the bar code; and displaying a corresponding page based on the bar code associated information.
An embodiment of this specification provides a server, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to: acquiring bar code information of the outer package of the commodity sent by the first application; the bar code corresponding to the bar code information is used for scanning by first code scanning equipment when the commodity is settled; determining bar code associated information corresponding to the bar code information; and returning the bar code associated information to the first application.
The computer readable medium provided by the embodiments of the present specification has computer readable instructions stored thereon, where the computer readable instructions are executable by a processor to implement a barcode scanning and barcode associated information sending method in the embodiments of the present specification.
One embodiment of the present description can achieve the following advantageous effects: by utilizing the existing commodity bar codes on commodities, the commodity package does not need to be updated, and under the conditions of not increasing extra material cost and not consuming excessive manpower, an information communication channel (a channel for the commodity manufacturer to transmit information to consumers) between the commodity manufacturer and the commodity consumers is provided, for example, the product service information of the commodities, the promotion information of the commodities and the like are provided through the existing commodity bar codes.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative effort.
Fig. 1 is a schematic flowchart of an overall scheme of a barcode scanning method in an embodiment of the present disclosure;
fig. 2 is a flowchart of a barcode scanning method provided in an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of a method for sending barcode associated information according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of a scheme for acquiring a voucher based on a product barcode and purchasing a corresponding product in an actual application scenario provided in the embodiment of the present specification;
fig. 5 is a schematic flowchart of a scheme for acquiring a locked red envelope based on a product barcode and unlocking the red envelope after purchasing a corresponding product in an actual application scenario provided in an embodiment of the present specification;
fig. 6 is a schematic flowchart of another scheme of acquiring a locked red packet based on a product barcode and unlocking the red packet after purchasing a corresponding product in an actual application scenario provided in an embodiment of the present specification;
fig. 7 is a schematic structural diagram of a barcode scanning apparatus corresponding to fig. 2 provided in an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a barcode associated information sending apparatus corresponding to fig. 3 provided in an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of a terminal device provided in an embodiment of this specification.
Detailed Description
To make the objects, technical solutions and advantages of one or more embodiments of the present disclosure more apparent, a more complete description of one or more embodiments of the present disclosure will be provided below with reference to specific embodiments of the present disclosure and accompanying drawings. It is to be understood that the embodiments described are only a few embodiments of the present specification, and not all embodiments. All other embodiments that can be derived by a person skilled in the art from the embodiments given herein without making any creative effort fall within the protection scope of one or more embodiments of the present disclosure.
In daily life, a commodity manufacturer can use the package of a commodity as an effective channel for transmitting commodity-related information to consumers. However, since the package of the goods needs to be obtained through a series of production processes such as design and manufacture, if a manufacturer wants to transmit new information to a consumer through the package of the goods, for example, product service information of the new goods, or promotion information of the new goods, the manufacturer needs to print new packaging materials to update the original package, or repackage the original goods. The modes need to be completed manually, more material resources are consumed, and the information is not convenient and quick to update and has hysteresis; in addition, the amount of information that the merchandise package itself can carry is also very limited.
In view of this, in the embodiments of the present specification, a scheme is provided for transmitting new information related to a commodity to a user by using a commodity barcode existing on the commodity as an information carrier.
Fig. 1 is a schematic flowchart of an overall scheme of a barcode scanning method in an embodiment of the present specification. As shown in fig. 1, on the server 102, barcode associated information corresponding to the existing commodity barcode 108 on the commodity 106 may be preset; at the user terminal 104, after the user scans the commodity barcode 108 on the commodity 106 by using the client application program corresponding to the server 102, the barcode associated information corresponding to the commodity barcode 108 can be acquired from the server 102, and then the commodity associated information is displayed to the user on the user terminal 104 through a page.
In the scheme, the existing commodity bar codes on commodities are utilized, the commodity package does not need to be updated, an information communication channel (a channel for information transmission from a commodity manufacturer to a consumer) between the commodity manufacturer and the commodity consumer is provided under the conditions that extra material cost is not increased and excessive manpower is not consumed, and for example, the product service information of the commodities, the promotion information of the commodities and the like are provided through the existing commodity bar codes. And moreover, the information utilization rate of the existing commodity bar codes is improved to a certain extent.
Fig. 2 is a schematic flowchart of a barcode scanning method provided in an embodiment of the present disclosure. From the viewpoint of the program, the main body of execution of the flow may be the program installed in the user terminal.
As shown in fig. 2, the process may include the following steps.
Step 202: a first application installed on a user terminal acquires bar code information of an outer package of a commodity; and the bar code corresponding to the bar code information is used for scanning by the first code scanning device when the commodity is settled.
The bar code corresponding to the bar code information refers to a commodity bar code positioned on an outer package of a commodity. The outer package of the merchandise may refer to the packaging of the merchandise that the consumer can view before purchasing and using the merchandise. For example, in the case of a milk product, the outer package may be a milk bottle or a package containing multiple bottles of milk. In a specific application, the commodity bar code corresponding to a commodity refers to a commodity bar code corresponding to a commodity settlement unit. For example, if the settlement of one or more bottles of milk products is performed by taking a bottle as a settlement unit, the corresponding product bar code is the bar code on the packaging bottle; if the box is taken as a settlement unit to settle the one or more boxes of milk, the corresponding commodity bar code is the bar code on the packing box.
The code of the commodity bar code follows the principle of uniqueness so as to ensure that the commodity bar code is not repeated all over the world, namely, one commodity item only has one code, or one code only can identify one commodity item. Different specifications, different packages, different varieties, different prices, and different colors of goods can only use different goods codes.
For example, EAN commodity bar code, also known as universal commodity bar code, is established by the international association for article coding, is commonly used around the world, and is the most widely used commodity bar code internationally. EAN commodity bar codes are divided into two types, EAN-13 (standard version) and EAN-8 (shortened version). The EAN-13 universal commodity bar code is generally composed of a prefix part, a manufacturer code, a commodity code and a check code. The prefix code in the bar code of the commodity is a code for identifying a country or a region, and is assigned to the international association for article coding, for example, 00-09 represents the united states, canada, 45, 49 represents japan, 69 represents mainland china, 471 represents the taiwan region, and 489 represents the hong kong district of china. The manufacturer code is entitled to the article coding organization in each country or region. The commodity code is a code for identifying a commodity, the endowing right is exercised by a product manufacturing enterprise, and the manufacturing enterprise decides which Arabic numerals are used as the commodity code on which commodity according to a specified condition. And finally, checking the correctness of the 1 st-12 th digit code from the left in the commodity bar code by using the 1 st digit check code.
The commodity bar code can be used for scanning by a first code scanning device when the commodity is settled. In embodiments of the present description, the first code scanning device may include a barcode scanning device employed by a cashier system, for example, a code scanning gun.
In the description of the present specification, a barcode, i.e., a commodity barcode, refers to the barcode itself located on the package of the commodity. The barcode information, i.e., the article barcode information, refers to character string information parsed based on the article barcode, for example, "6902890884910".
In the embodiments of the present specification, the user terminal refers to a terminal used by a user, for example, a smart phone, a tablet computer, a smart watch, and the like. The user may refer to a target consumer of the good. The user terminal can be provided with an information acquisition module for acquiring the bar code information of the outer package of the commodity. When the first application acquires the barcode information, the first application may call an information acquisition module of the user terminal to acquire the barcode information.
In an alternative embodiment, the first application obtains barcode information, such as a barcode image of the article that may be collected by the user terminal. For example, the information acquisition module of the user terminal may be an image acquisition module, which is used to shoot an image of a barcode of a commodity and to analyze barcode information contained in the barcode of the commodity. In an optional embodiment, the acquiring of the barcode information of the outer package of the commodity may specifically include: the bar code information of the outer package of the commodity is obtained in a mode of scanning the outer package of the commodity.
In practical application, the process of analyzing the barcode information from the barcode image of the commodity may be executed by the user terminal, or may be executed by the server after the user terminal sends the acquired barcode image of the commodity to the server. In the embodiments of the present specification, the server refers to a server corresponding to a first application installed on a user terminal for implementing code scanning.
In the embodiments of the present specification, acquiring the barcode information of the outer package of the commodity means that the acquired barcode information is identical to the barcode information of the outer package of the commodity, and does not mean that the barcode information is necessarily acquired from the outer package of the physical commodity. In practical application, the first application scans the barcode information of the outer package of the commodity, and may directly scan the entity commodity by using the first application to obtain the barcode information, or may scan a photo, a poster, a Direct Magazine advertisement (DM advertisement) or the like containing the barcode information of the commodity by using the first application to obtain the barcode information.
The server in this specification is described from a functional perspective, and when in actual application, the server in the embodiments of this specification may include one or more groups of entity devices, and each group of entity devices may be respectively used to implement different functions. For example, the entity devices of the involved servers may be the same or different in the different steps.
Step 204: and sending the bar code information to a server.
And sending the bar code information to a server, specifically, sending the bar code information analyzed by the user terminal to the server, or sending a commodity bar code image containing the bar code information to the server so that the server can analyze the bar code information.
The server in step 204 may refer to a server corresponding to the first application. For example, when the first application is a payment application, the server may be a server corresponding to the payment application; if the first application is a social application, the server may be a server corresponding to the social application.
In addition, the server in step 204 may store barcode associated information corresponding to the barcode information in advance, and the purpose of sending the barcode information to the server by the user terminal is to obtain the barcode associated information corresponding to the barcode information from the server.
Step 206: and acquiring bar code associated information which is returned by the server and has a mapping relation with the bar code.
In an embodiment of the present specification, the barcode associated information may specifically include information for opening a target page, and preferably, may include information for invoking a page of a target applet. The page of the target applet can contain any self-defined information according to actual needs.
Optionally, the barcode associated information may specifically include: link address information for a specific page. The link address information for the specific page may be used for the first application to access the specific page according to the link address information, and further obtain and display page information corresponding to the specific page from a server. In this embodiment, the link address information may be obtained from a server corresponding to the first application, where the barcode information and the corresponding link address information are stored, and then the page information may be obtained from a server corresponding to the first application, where the page information in the specific page corresponding to the link address information is stored, where the two servers may be the same server or different servers.
Optionally, the barcode associated information may specifically include page information of the specific page. In this embodiment, the server directly stores the barcode information and the page information in correspondence, so that the page information can be returned to the user terminal according to the barcode information.
In an alternative embodiment, the specific page may be a page showing product service information. For example, by scanning a barcode on a furniture electrical product, a user can obtain product service information about the product from a server and present the product on a user terminal. Specifically, the product service information may include various information related to the product, such as product usage instruction information, product installation, repair and maintenance information, product after-sale replacement and warranty information, and service site information, and is not limited to the examples listed herein. For another example, after the bar code is scanned, the server can also judge whether the code-scanned user is a member according to the user ID of the code-scanned, and if the code-scanned user is a member, the server can also return information or a page link of the applet page containing the member service item to the first application of the user terminal, and after the user terminal receives the information or the page link, the user terminal can directly jump to the applet page containing the member service item; if the code-scanning user is a non-member, the information or the page link of the applet page corresponding to the non-member can be returned to the first application of the user terminal, and the user terminal can directly jump to the applet page corresponding to the non-member after receiving the information or the page link. In this embodiment, the user can open the membership page or the non-membership page more conveniently and quickly.
In an alternative embodiment, the specific page may be a page containing bonus resource information. The bonus resource information may include voucher information or red pack information, and the form of the bonus resource information is not limited thereto.
Step 208: and displaying a corresponding page based on the bar code associated information.
When the user terminal scans the commodity bar code through the first application, and after the bar code associated information corresponding to the bar code information in the commodity bar code is acquired from the server corresponding to the first application, the corresponding page can be displayed according to the acquired bar code associated information. For example, product service information, promotion information (e.g., voucher information, red pack information), etc., provided by the goods manufacturer may be displayed, without being limited thereto.
It should be understood that the order of some steps in the method described in one or more embodiments of the present disclosure may be interchanged according to actual needs, or some steps may be omitted or deleted. Although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another.
In the method in fig. 2, by pre-storing the bar code association information corresponding to the commodity bar code on the server, when the user scans the commodity bar code by using the first application corresponding to the server on the user terminal, the updated information corresponding to the commodity can be obtained.
Based on the method of fig. 2, the present specification also provides some specific embodiments of the method, which are described below.
In one or more embodiments, the bonus resource information may specifically include voucher information.
Optionally, the server may determine, based on the barcode information sent by the user terminal, voucher information corresponding to the barcode information according to a preset rule, and send the determined voucher to the user terminal.
And, the server may store the voucher information in correspondence with the user identification information of the user and the barcode information (or the goods information indicated by the barcode information) for later use for verification and cancellation when the user purchases the goods. In embodiments of the present description, the barcode information may be a string of characters, e.g., "6902890884910"; the commodity information may be commodity description information, such as "250 mL of montmorilloniumsu pure milk packaged in strips"; generally, the commodity bar code information corresponds to commodity information one to one. The user identification information may be obtained from the user terminal simultaneously in the process that the server obtains the barcode information from the user terminal. In particular, the user identification information may include user account identification information.
In practical application, the step of sending the voucher information to the user terminal by the server and the step of storing the voucher information by the server may be performed synchronously or asynchronously, and the order of the two steps is not particularly limited.
In the scheme of the embodiment, the user only needs to perform code scanning operation once to obtain the voucher, and the user operation link is short and convenient.
Optionally, the server may determine, based on the barcode information sent by the user terminal, coupon information corresponding to the barcode information according to a preset rule, and send the coupon information to be received to the user terminal; the user terminal displays the information of the voucher to be received, and after receiving the user receiving operation, the user terminal sends the voucher information corresponding to the user receiving operation to the server; and the server receives the voucher information corresponding to the user receiving operation, and stores the voucher information corresponding to the user receiving operation correspondingly to the user identification information of the user and the bar code information (or the commodity information represented by the bar code information) so as to be used for verification and cancellation when the user purchases the commodity. In addition, the server may feed back information indicating that the voucher is successfully received to the user terminal.
In the scheme of the above embodiment, the voucher information to be received, sent by the server to the user terminal, may include one or more voucher information. The voucher information corresponding to the user pickup operation, which is sent from the user terminal to the server, may include at least part of the voucher information to be picked up. Based on the scheme, on one hand, the participation sense of the user in the coupon process can be enhanced, and on the other hand, the user can select the voucher meeting the self requirement according to the actual requirement. For example, if the voucher is a full discount voucher, the user can determine the amount of the full discount voucher to be collected based on the purchase amount of the user who actually purchases the product.
After the user terminal displays the page containing the voucher information, the method further comprises the following steps: a user terminal acquires transaction triggering operation; based on the transaction triggering operation, the user terminal displays the payment code for scanning by second code scanning equipment; then, the user terminal can obtain deduction information returned by the server after the voucher is used; the deduction information is generated by the server based on the bar code information scanned by the first code scanning device during commodity settlement.
In practical application, the acquiring transaction triggering operation may specifically include: a trigger operation for the use option of the voucher is obtained, for example, if the user clicks a "use voucher" control, the user directly jumps to a payment page. Or, the acquiring transaction triggering operation may specifically include: and acquiring a trigger operation aiming at the payment operation option, for example, clicking a payment code control by a user to display a page containing the payment code.
Optionally, a specific process of displaying a payment code based on the transaction triggering operation may be that the user terminal sends a payment code display request to the server based on the transaction triggering operation; and then acquiring and displaying the payment code sent by the server.
The first code scanning device may be a device for scanning a barcode of an article. The second code scanning device may refer to a device for scanning a payment code of the user terminal. In the embodiments of the present disclosure, the first code scanning device and the second code scanning device may be the same or different devices.
In practical application, after the second code scanning device scans the payment code, the second code scanning device can interact with the server to send the user identification information and the purchased commodity information (or the bar code information corresponding to the commodity information) to the server, so that the server can determine whether the corresponding voucher exists according to the user identification information and the purchased commodity information (or the bar code information corresponding to the commodity information), and realize the deduction of the account corresponding to the user identification information on the basis of using the corresponding voucher, and further return the deduction information after the voucher is used to the user terminal corresponding to the user identification information.
In the embodiment of the present specification, after the user scans the barcode of the product to receive the voucher, when the settlement of the corresponding product is performed, based on the interaction between the cash register system and the server, the server can implement the verification and cancellation of the voucher without the user's participation, thereby improving the convenience of the user in the processes of receiving and using the voucher.
In one or more embodiments, the bonus resource information may specifically include bonus pack information.
Optionally, the server may determine, based on the barcode information sent by the user terminal, red packet information corresponding to the barcode information according to a preset rule, and send the determined red packet to the user terminal.
The server may store the red envelope information in correspondence with user identification information of the user and the barcode information (or the commodity information indicated by the barcode information). The user identification information may be obtained from the user terminal simultaneously in the process that the server obtains the barcode information from the user terminal. In practical application, the step of sending the red packet information to the user terminal by the server and the step of storing the red packet information by the server may be performed synchronously or asynchronously, and the order of the two steps is not particularly limited.
In the scheme of the embodiment, the user can obtain the red packet only by scanning the code once, and the user operation link is short and more convenient.
Optionally, the server may determine, based on the barcode information sent by the user terminal, red packet information corresponding to the barcode information according to a preset rule, and send the red packet information to be retrieved to the user terminal; the user terminal displays the red packet information to be received, and after receiving the user receiving operation, the red packet information corresponding to the user receiving operation is sent to the server; the server receives the red packet information corresponding to the user pickup operation, and stores the red packet information corresponding to the user pickup operation correspondingly to the user identification information of the user and the bar code information (or the commodity information represented by the bar code information). In addition, the server can also feed back information for indicating that the red envelope is successfully taken to the user terminal.
In the scheme of this embodiment, the red packet information to be retrieved, which is sent by the server to the user terminal, may include one or more pieces of red packet information. The red packet information corresponding to the user pickup operation sent by the user terminal to the server may include at least part of the red packet information to be picked up. Based on the scheme, the participation sense of the user in the process of getting the red envelope can be enhanced.
After the page including the red packet information is displayed on the user terminal, the method may further include: and the user terminal displays a corresponding page containing the information of the red packet in the locking state, and the amount of the red packet corresponding to the red packet in the locking state cannot be used for payment by the user terminal. The fact that the user terminal cannot be used for payment means that the user cannot use the red envelope amount, and for example, the user terminal cannot be used for consumption, transfer, cash withdrawal and the like.
In the embodiment of the specification, after a user obtains a red packet by scanning a commodity bar code, the red packet is picked up and cannot be used; and when the user purchases the corresponding commodity, the red envelope can be disassembled and used.
After the user terminal displays the corresponding page containing the information of the red packet in the locked state, the method may further include: generating specific operation information based on specific operation, wherein the specific operation information is used for indicating that the user purchases the commodity corresponding to the red packet information; sending the specific operation information to the server; and acquiring the information that the red packet returned by the server is in an unlocked state.
Wherein the sending the specific operation information to the server may include: the user terminal sends the specific operation information to the server, or after code scanning equipment of the cash register system obtains the specific operation information, the obtained specific operation information is sent to the server.
In practical applications, if the server receives a payment request for an order containing a target product (a product corresponding to the product barcode), it may indicate that the user sending the payment request purchased the target product.
Specifically, the generating specific operation information based on the specific operation may specifically include: and based on the payment option triggering operation, generating a payment code for the second code scanning device to scan when commodity settlement is carried out, and sending the scanned payment code information to the server. In addition, the information that the red packet returned by the server is in the unlocked state is generated by the server based on the bar code information scanned by the first code scanning device during commodity settlement.
When the commodity settlement is performed, the first code scanning device of the cash registering system can obtain the barcode information after scanning the barcode on the commodity, the second code scanning device of the cash registering system can obtain the payment code information after scanning the payment code, and the payment code information can include user identification information (for example, user account identification information). Thereafter, the cashier system can send payment request information containing the user identification information and the bar code information to the server, so that the server can deduct money from an account corresponding to the user identification information and unlock a red packet stored corresponding to the user identification information. In the embodiments of the present specification, unlocking the red envelope means that the user can pay the corresponding amount in the red envelope.
In practical applications, there may be a case where the cash register system does not scan the barcode of the product during the payment process of the user, for example, the consumer user directly makes a payment by scanning the cash register code of the merchant. In this case, the user can unlock the retrieved red pack by scanning the identification code on the inner package of the article. The identification code on the inner package of the commodity refers to the identification code which cannot be seen and scanned by a user before the user purchases and unpacks the outer package of the commodity. When the user scans the identification code on the inner package of the commodity, the user is indicated to purchase the commodity.
The generating of the specific operation information based on the specific operation may specifically include: and generating identification scanning information based on the scanning operation of the identification of the commodity inner package of the commodity. Then, the user terminal sends the identification scanning information and the user identification information to the server, and the server can confirm that the user corresponding to the user identification information has purchased the commodity based on the sent identification scanning information, so that the red packet corresponding to the user identification information can be unlocked. In an optional embodiment, the identifier may specifically include a two-dimensional code.
After the server unlocks the red packet, the user terminal may obtain information that the red packet returned by the server is in an unlocked state, specifically: the user terminal can acquire first information which is used for indicating that the red packet is detachable, so that the red packet can be detached by acquiring the red packet detaching operation of the user, namely, the corresponding amount of the red packet is issued to the account of the user; or, the user terminal may obtain second information, where the second information is used to indicate that the corresponding amount of the red envelope has been issued to the account of the user.
The above describes a barcode scanning method from the perspective of a user terminal, based on which a server prestores a mapping relationship between a commodity barcode and barcode associated information, where the barcode associated information includes link address information or page information of a specific page, and the page information may specifically include voucher information or red packet information, and when a user scans a commodity barcode on a commodity using the user terminal, the user may obtain a corresponding voucher or red packet, and may further use the corresponding voucher when purchasing and settling the commodity, or may obtain a corresponding red packet after purchasing and settling the commodity. Based on the scheme, the purpose of issuing the voucher or the red packet to the consuming user can be realized by utilizing the original commodity bar code on the commodity outer package under the conditions of not increasing extra labor cost and not consuming extra material resources.
The following describes a scheme of an embodiment of the present specification from the perspective of a server.
Fig. 3 is a flowchart illustrating a method for sending barcode associated information according to an embodiment of the present disclosure. From the viewpoint of the program, the execution subject of the flow may be a program installed in the application server.
As shown in fig. 3, the process may include the following steps.
Step 302: the server acquires the bar code information of the outer package of the commodity sent by the first application, namely, the bar code information sent by the user terminal; and the bar code corresponding to the bar code information is used for scanning by the first code scanning device when the commodity is settled.
The first application is an application program which is installed on the user terminal and used for scanning the commodity bar codes on the outer package of the commodities. The server is a server corresponding to the first application. And the bar code corresponding to the bar code information is a commodity bar code on the outer package of the commodity, and is used for scanning by a first code scanning device of the cash register system when the cash register system is used for settling the commodity. For example, the first yard scanning device may comprise a yard scanning gun.
The server acquires the barcode information sent by the first application, which may specifically be: the server obtains the barcode information obtained by analyzing the barcode of the commodity sent by the first application, or the server can obtain the barcode image of the commodity containing the barcode information sent by the first application for analyzing the barcode information.
Step 304: and determining the bar code associated information corresponding to the bar code information.
In an embodiment of this specification, before the server obtains the barcode information of the outer package of the article sent by the first application, the method may further include: the server stores the mapping relation between the bar code information and the bar code associated information; or storing the mapping relation between the commodity information corresponding to the bar code information and the bar code associated information. Therefore, after the server acquires the bar code information from the user terminal, the bar code associated information corresponding to the acquired bar code information can be determined according to the mapping relation.
Step 306: and returning the bar code associated information to the first application, namely returning the bar code information to the user terminal. So that the first application displays page information of a specific page according to the barcode associated information.
In an embodiment of this specification, the barcode associated information may specifically include: link address information for a specific page; or page information of the specific page.
The barcode associated information may specifically include: link address information for pages containing bonus resource information; or page information containing bonus resource information. The bonus resource information may specifically include: voucher information or red envelope information.
In an embodiment of the present specification, the server may acquire the user identification information of the user while acquiring the barcode information sent by the first application. After the bar code associated information is determined, the mapping relationship between the user identification information, the bar code information (or the commodity information corresponding to the bar code information) and the voucher information or the red envelope information contained in the page information corresponding to the bar code associated information may be stored in the server.
In an optional embodiment, if the reward resource information corresponding to the barcode associated information is a voucher, the server may further: acquiring commodity settlement information sent by a cash register; the commodity settlement information comprises the payment code information and a commodity bar code information list; and after the bar code information list of the commodity is determined to contain the bar code information of the outer package of the commodity sent by the first application, corresponding deduction information is generated according to the voucher information in the commodity settlement process.
The cashier device refers to a device in the cashier system. The commodity settlement information is commodity settlement information of all commodities purchased by a consumer when the consumer settles at the cashier system. The commodity barcode information list is a list of barcode information of all commodities purchased by a consumer when the consumer settles at a cashier system, and may include barcode information of one or more commodities.
After receiving the user identification information and the commodity bar code information list sent by the cash register device, the server confirms whether the commodity bar code information list contains the previously stored voucher information corresponding to the user identification information, if so, calculates and determines money deduction information based on the commodity settlement information and the voucher information, and returns the determined money deduction information to the cash register device and the user terminal.
In an optional embodiment, if the reward resource information corresponding to the barcode associated information is red packet information, after determining the barcode associated information corresponding to the barcode information, the method may further include: locking the red packet amount corresponding to the red packet information in a red packet issuing account; the amount of the red envelope in the locked state cannot be received by the user account of the red envelope for payment. The amount corresponding to the red packet information is locked in a red packet issuing account, which can be understood as that the red packet information and the user identification information are correspondingly stored. The red envelope issuing account may be an account belonging to the platform to which the first application belongs, or may be an account belonging to the user, and funds in the red envelope issuing account may be viewed by the user but may not be used by the user, that is, in a locked state.
After the server locks the red packet amount corresponding to the red packet information in the red packet issuing account, the server may further: acquiring specific operation information, wherein the specific operation information is used for indicating that a user account receiving the red envelope purchases a commodity corresponding to the red envelope information; and returning the information that the red packet is in the unlocked state to the first application.
In practical applications, if the server receives a payment request for an order containing a target product (a product corresponding to the product barcode), it may indicate that the user sending the payment request purchased the target product.
Specifically, the acquiring specific operation information may specifically include: and acquiring commodity settlement information sent by a cash register, wherein the commodity settlement information is generated based on the bar code of the commodity scanned by the first code scanning device and the payment code of the first application scanned by the second code scanning device. After commodity settlement information sent by a cash register device is obtained, whether the commodity bar code information list contains bar code information of the outer package of the commodity sent by the first application can be determined, if yes, the locked red packet corresponding to the user is unlocked after the commodity settlement, and information that the red packet is in an unlocked state is returned to the first application.
In practical applications, there may be a case where the cash register system does not scan the barcode of the product during the payment process of the user, for example, the purchasing user directly makes a payment by scanning the cash register code of the merchant. In this case, the user can unlock the retrieved red pack by scanning the identification code on the inner package of the article. The identification code on the inner package of the commodity refers to the identification code which cannot be seen and scanned by a user before the user purchases and unpacks the outer package of the commodity. When the user scans the identification code on the inner package of the commodity, the user is indicated to purchase the commodity.
Specifically, the acquiring specific operation information may specifically include: acquiring identification scanning information sent by the first application; the identification scanning information is generated based on a scanning operation of the user terminal on the identification of the in-commodity package of the commodity by using the first application. The identifier may specifically include a two-dimensional code.
After the server unlocks the red packet, the information that the red packet is in the unlocked state may be returned to the first application, and the method specifically may include: returning first information to the first application, wherein the first information is used for indicating that the red packet is detachable, so that the red packet can be detached by acquiring a red packet detaching operation of a user, namely, the corresponding amount of the red packet is issued to an account of the user; or returning second information to the first application, wherein the second information is used for indicating that the corresponding amount of the red envelope is issued to the account of the user.
The embodiment of the present specification provides a schematic flow chart of an embodiment scheme for acquiring a voucher based on a commodity barcode and purchasing a corresponding commodity in an actual application scenario, as shown in fig. 4.
In FIG. 4, step 402: the platform server prestores the mapping relation between the commodity bar code information and the page to be triggered and the voucher contained in the page.
Step 404: and the user scans the bar code of the commodity by using the application program corresponding to the platform server on the user terminal.
Step 406: and the user terminal sends the bar code information to the platform server. In addition, the platform server can receive the account information of the user while receiving the bar code information.
Step 408: and after receiving the bar code information, the platform server determines the page corresponding to the received bar code information and the voucher contained in the page according to the mapping relation between the pre-stored bar code information and the page to be triggered and the voucher contained in the page.
Step 410: the platform server records the received corresponding relation between the user account information and the bar code information and the voucher, namely, the user receives the voucher for subsequent verification and cancellation.
Step 412: and the platform server feeds back the corresponding page to be triggered to the user terminal so that the user terminal can display the page to be triggered, and particularly, the received voucher information is displayed in the page. For example, the page to be triggered may be an applet page.
In practical applications, the operation of recording the received voucher in step 410 and the operation of feeding back the page to be triggered to the user terminal in step 412 are not specifically limited, and for example, the operations may be performed simultaneously, or the step 412 may be performed first and then the step 410 is performed.
It is understood that the operations 410 and 412 of getting a substitute voucher disclosed in the embodiments of the present specification can also be used for getting a scene of a red envelope.
Step 414: alternatively, the user terminal may transmit a payment code display request to the platform server.
Step 416: optionally, in case step 414 is performed, the platform server may return a payment code to the user terminal.
Step 418: the user terminal displays the payment code.
Step 420: the cash register device scans the goods bar code to record the purchased goods list information, and scans the payment code presented by the user terminal to acquire the payment code information. In practical application, the first code scanning device for scanning the bar code of the commodity and the second code scanning device for scanning the payment code can be the same or different.
It will be appreciated that the step of scanning the barcode of the item may be performed before or after the step of displaying the payment code at the user terminal.
Step 422: the cash register device sends the scanned goods barcode information list (which may contain goods barcode information scanned by the user using the user terminal before) and payment code information (e.g., user account information) to the platform server.
Step 424: the platform server determines whether the commodity bar code information scanned by the user terminal before exists or not according to the received commodity bar code information list, namely, whether the commodity bar code information and the voucher corresponding to the user account information are recorded by the platform server or not is determined, and if the commodity bar code information and the voucher exist, the amount of money corresponding to the voucher is withheld in settlement.
Step 426: and (5) verifying the withheld voucher.
Step 428: and the platform server sends payment deduction information after deducting the voucher to the user terminal.
Step 430: and the platform server sends information for indicating that the voucher is successfully verified and cancelled to the user terminal.
It is understood that step 428 and step 430 may be performed simultaneously, or either may be performed first. Also, step 428 need only be performed after step 424 and step 430 need only be performed after step 426.
The embodiment of the present specification further provides a schematic flow chart of a scheme of an embodiment of acquiring a locked red packet based on a commodity barcode and unlocking the red packet after purchasing a corresponding commodity in an actual application scenario, as shown in fig. 5.
In FIG. 5, step 502: the platform server prestores the mapping relation between the commodity bar code information and the page to be triggered and the red packet contained in the page.
Step 504: and the user scans the bar code of the commodity by using the application program corresponding to the platform server on the user terminal.
Step 506: and the user terminal sends the bar code information to the platform server. In addition, the platform server can receive the account information of the user while receiving the bar code information.
Step 508: and after receiving the bar code information, the platform server determines the page corresponding to the received bar code information and the red packet contained in the page according to the mapping relation between the pre-stored bar code information and the page to be triggered and the red packet contained in the page.
Step 510: and the platform server feeds back the corresponding page to be triggered to the user terminal so that the user terminal can display the page, and specifically, red packet information is displayed in the page. For example, the page to be triggered may be an applet page.
Step 512: optionally, if the red packet information to be received is sent to the user terminal in step 510, the user terminal may obtain a red packet receiving operation performed by the user, and determine the red packet received by the user. If the step 510 sends the received red packet information to the ue, the step 512 need not be executed.
Step 514: and the platform server records the corresponding relation between the received user account information and bar code information and the received red packet. It should be noted that, in the embodiment of the present specification, picking up the red envelope means that the user can view the red envelope, but the user cannot pay using the red envelope yet, and the red envelope can only be used for payment after being unlocked.
It is understood that the operation steps 510 to 514 of getting a red envelope disclosed in the embodiments of the present specification may also be used for getting a scenario of a substitute coupon.
Step 516: alternatively, the user terminal may transmit a payment code display request to the platform server.
Step 518: optionally, in case step 516 is performed, the platform server may return a payment code to the user terminal.
Step 520: the user terminal displays the payment code.
Step 522: the cash register device scans the goods bar code to record the purchased goods list information, and scans the payment code presented by the user terminal to acquire the payment code information. In practical application, the first code scanning device for scanning the bar code of the commodity and the second code scanning device for scanning the payment code can be the same or different.
It will be appreciated that the step in which the item barcode is scanned may be performed before or after the step in which the payment code is displayed at the user terminal.
Step 524: the cash register device sends the scanned goods barcode information list (which may contain goods barcode information scanned by the user using the user terminal before) and payment code information (e.g., user account information) to the platform server.
Step 526: the platform server determines whether the commodity bar code information scanned by the user using the user terminal before exists or not according to the received commodity bar code information list, namely, whether the locking red packet corresponding to the commodity bar code information and the user account information is recorded in the platform server or not is determined, and if the locking red packet exists, the locking red packet is unlocked after settlement is completed.
Step 528: and the platform server sends payment deduction information to the user terminal.
Step 530: and the platform server sends information for indicating that the red packet unlocking is successful to the user terminal.
It is understood that step 528 and step 530 may be performed simultaneously, or either may be performed first.
The embodiment of the present specification further provides a schematic flow chart of a scheme of another embodiment of acquiring a locked red packet based on a commodity barcode and unlocking the red packet after purchasing a corresponding commodity in an actual application scenario, as shown in fig. 6.
In fig. 6, step 602: the platform server prestores the mapping relation between the commodity bar code information and the page to be triggered and the red packet contained in the page; and correspondingly stores the identification code information on the inner package of the goods. In practical applications, the barcode information of the product and the identification code information on the inner package of the product may be in a one-to-one relationship, for example, for the same type of product (i.e., products with the same specification, package, variety, color, etc.), the barcode information of the product and the corresponding identification code information of the inner package may be unified.
Step 604: and the user scans the bar code of the commodity by using the application program corresponding to the platform server on the user terminal.
Step 606: and the user terminal sends the bar code information to the platform server. In addition, the platform server can receive the account information of the user while receiving the bar code information.
Step 608: and after receiving the bar code information, the platform server determines the page corresponding to the received bar code information and the red packet contained in the page according to the mapping relation between the pre-stored bar code information and the page to be triggered and the red packet contained in the page.
Step 610: and the platform server feeds back the corresponding page to be triggered to the user terminal so that the user terminal can display the page, and specifically, red packet information is displayed in the page. For example, the page to be triggered may be an applet page.
Step 612: optionally, if the red packet information to be received is sent to the user terminal in step 610, the user terminal may obtain a red packet receiving operation performed by the user, and determine the red packet received by the user. If the received red packet information is sent to the ue in step 610, step 612 need not be executed.
Step 614: the platform server records the corresponding relation between the received user account information, the received commodity bar code information (or the identification code information) and the received red packet.
It should be noted that, in the embodiment of the present specification, picking up the red envelope means that the user can view the red envelope, but the user cannot pay using the red envelope yet, and the red envelope can only be used for payment after being unlocked.
Step 616: and when the user purchases the target commodity, the user terminal is used for scanning the identification code on the inner package of the commodity.
Step 618: the user terminal sends identification scanning information obtained by scanning the identification code on the inner package of the commodity to the server. In a practical application scenario, the identification code on the inner package of the commodity can be scanned only after the user purchases the commodity, so that when the platform server receives the identification scanning information which is sent by the user and corresponds to the target commodity, the user can be determined to purchase the target commodity.
Step 620: and the platform server determines whether a locking red packet corresponding to the user account and the identification scanning information is stored or not according to the received identification scanning information and the user account information, and unlocks the locking red packet if the locking red packet exists.
Step 622: and the platform server sends information for indicating that the red packet unlocking is successful to the user terminal.
In the embodiments of fig. 4 to 6, the order of some steps may be interchanged according to actual needs, or some steps may be omitted or deleted.
In the embodiments of fig. 4 to 6, the operation steps of the user terminal may be regarded as steps executed by an application installed on the user terminal from a software perspective. More specifically, it may be a step performed by an application program corresponding to the platform server.
Based on the same idea, the embodiment of the present specification further provides a device corresponding to the above method. Fig. 7 is a schematic structural diagram of a barcode scanning apparatus corresponding to fig. 2 provided in an embodiment of the present disclosure. As shown in fig. 7, the apparatus, applied to the user terminal, may include:
a barcode information acquiring module 702, configured to acquire barcode information of an outer package of a commodity by a first application; the bar code corresponding to the bar code information is used for scanning by first code scanning equipment when the commodity is settled;
an information sending module 704, configured to send the barcode information to a server;
an information obtaining module 706, configured to obtain barcode association information that is returned by the server and has a mapping relationship with the barcode;
a barcode associated information display module 708, configured to display a corresponding page based on the barcode associated information.
The examples of this specification also provide some specific embodiments of the process based on the apparatus of fig. 7, which is described below.
Optionally, the barcode associated information may specifically include: link address information for pages containing bonus resource information; or page information containing bonus resource information. The resource reward information may specifically include: voucher information or red envelope information.
Optionally, the apparatus may further include: the trigger operation acquisition module is used for acquiring transaction trigger operation; the payment code display module is used for displaying a payment code based on the transaction triggering operation so as to be scanned by second code scanning equipment; the information obtaining module 706 is further configured to obtain deduction information of the used voucher returned by the server; the deduction information is generated by the server based on the bar code information scanned by the first code scanning device during commodity settlement.
Optionally, the apparatus may further include: the specific operation information generating module is used for generating specific operation information based on specific operation; the specific operation information is used for indicating that the user purchases the commodity corresponding to the red packet information; the information sending module 704 is further configured to send the specific operation information to the server; the information obtaining module 706 is further configured to obtain information that the red packet returned by the server is in an unlocked state.
Optionally, the specific operation information generating module may be specifically configured to: generating a payment code for scanning by second code scanning equipment based on payment option triggering operation; the information that the red packet is in the unlocked state is generated by the server based on the bar code information scanned by the first code scanning device during commodity settlement.
Optionally, the specific operation information generating module may be specifically configured to: and generating identification scanning information based on the scanning operation of the identification of the commodity inner package of the commodity.
Based on the same idea, the embodiment of the present specification further provides a device corresponding to the above method. Fig. 8 is a schematic structural diagram of a barcode related information sending apparatus corresponding to fig. 3 provided in an embodiment of this specification. As shown in fig. 8, the apparatus, applied to the server, may include:
the first information acquisition module 802 is configured to acquire barcode information of the outer package of the commodity sent by the first application; the bar code corresponding to the bar code information is used for scanning by first code scanning equipment when the commodity is settled;
a barcode associated information determining module 804, configured to determine barcode associated information corresponding to the barcode information;
an information sending module 806, configured to return the barcode associated information to the first application.
The examples of this specification also provide some specific embodiments of the process based on the apparatus of fig. 8, which is described below.
Optionally, the barcode associated information may specifically include: link address information for pages containing bonus resource information; or page information containing bonus resource information. The rewarding resource information specifically includes: voucher information or red envelope information.
Optionally, the apparatus may further include: the second information acquisition module is used for acquiring commodity settlement information sent by the cash register device; the commodity settlement information comprises payment code information and a commodity bar code information list; and the deduction information determining module is used for generating corresponding deduction information according to the voucher information in the commodity settlement process after determining that the commodity bar code information list contains the bar code information of the outer package of the commodity, which is sent by the first application.
Optionally, the apparatus may further include: the specific operation information acquisition module is used for acquiring specific operation information; the specific operation information is used for indicating that the user account receiving the red envelope purchases the commodity corresponding to the red envelope information; the information sending module 806 may be further configured to return the information that the red packet is in the unlocked state to the first application.
Based on the same idea, the embodiment of the present specification further provides a device corresponding to the above method.
Fig. 9 is a schematic structural diagram of a terminal device provided in an embodiment of this specification. Specifically, the terminal device may be a user terminal corresponding to the barcode scanning method in fig. 2, or may be a server corresponding to the barcode-associated information sending method in fig. 3.
As shown in fig. 9, if the device 900 is a user terminal, the method may include:
at least one processor 910; and the number of the first and second groups,
a memory 930 communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory 930 stores instructions 920 executable by the at least one processor 910 to enable the at least one processor 910 to:
the first application acquires the bar code information of the outer package of the commodity; the bar code corresponding to the bar code information is used for scanning by first code scanning equipment when the commodity is settled;
sending the bar code information to a server;
acquiring bar code associated information which is returned by the server and has a mapping relation with the bar code;
and displaying a corresponding page based on the bar code associated information.
As shown in fig. 9, if the device 900 is a server, the method may include:
at least one processor 910; and the number of the first and second groups,
a memory 930 communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory 930 stores instructions 920 executable by the at least one processor 910 to enable the at least one processor 910 to:
acquiring bar code information of the outer package of the commodity sent by the first application; the bar code corresponding to the bar code information is used for scanning by first code scanning equipment when the commodity is settled;
determining bar code associated information corresponding to the bar code information;
and returning the bar code associated information to the first application.
Based on the same idea, the embodiment of the present specification further provides a computer-readable medium corresponding to the above method. The computer readable medium has stored thereon computer readable instructions, which can be executed by a processor to implement any one of the barcode scanning methods or barcode-associated information sending methods provided in the embodiments of the present specification.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital character system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate a dedicated integrated circuit chip. Furthermore, nowadays, instead of manually making an Integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Hardware Description Language), traffic, pl (core universal Programming Language), HDCal (jhdware Description Language), lang, Lola, HDL, laspam, hardward Description Language (vhr Description Language), vhal (Hardware Description Language), and vhigh-Language, which are currently used in most common. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, AtmelAT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
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 flow or flows 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 flow or flows and/or block diagram 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.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices, or any other non-transmission medium which can be used to store information which can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application 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 application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (40)

1. A barcode scanning method, comprising:
a first application installed on a user terminal acquires bar code information of an outer package of a commodity; the bar code corresponding to the bar code information is used for scanning by first code scanning equipment when the commodity is settled;
sending the bar code information to a server;
acquiring bar code associated information which is returned by the server and has a mapping relation with the bar code;
and displaying a corresponding page based on the bar code associated information.
2. The method according to claim 1, wherein the acquiring of the barcode information of the outer package of the commodity specifically comprises:
the bar code information of the outer package of the commodity is obtained in a mode of scanning the outer package of the commodity.
3. The method according to claim 1, wherein the barcode associated information specifically includes:
link address information for a specific page;
or page information of the specific page.
4. The method according to claim 1, wherein the barcode associated information specifically includes:
link address information for pages containing bonus resource information;
or page information containing bonus resource information.
5. The method according to claim 4, wherein the bonus resource information specifically includes:
voucher information.
6. The method of claim 5, further comprising, after displaying the respective page:
acquiring a transaction triggering operation;
displaying a payment code for scanning by a second code scanning device based on the transaction triggering operation;
obtaining deduction information returned by the server after the voucher is used;
the deduction information is generated by the server based on the bar code information scanned by the first code scanning device during commodity settlement.
7. The method according to claim 6, wherein the acquiring a transaction trigger operation specifically comprises:
acquiring a trigger operation aiming at the use option of the voucher;
alternatively, a trigger action for the payment action option is obtained.
8. The method according to claim 4, wherein the bonus resource information specifically includes:
and red packet information.
9. The method according to claim 8, wherein the displaying the corresponding page specifically includes:
displaying a corresponding page containing information of the red packet in the locked state; and the red packet amount corresponding to the red packet in the locked state cannot be used for payment by the user terminal.
10. The method of claim 9, further comprising, after displaying the respective page containing information of the red envelope in the locked state:
generating specific operation information based on the specific operation; the specific operation information is used for indicating that the user purchases the commodity corresponding to the red packet information;
sending the specific operation information to the server;
and acquiring the information that the red packet returned by the server is in an unlocked state.
11. The method according to claim 10, wherein the generating specific operation information based on the specific operation specifically includes:
generating a payment code for scanning by second code scanning equipment based on payment option triggering operation;
the information that the red packet is in the unlocked state is generated by the server based on the bar code information scanned by the first code scanning device during commodity settlement.
12. The method according to claim 10, wherein the generating specific operation information based on the specific operation specifically includes:
and generating identification scanning information based on the scanning operation of the identification of the commodity inner package of the commodity.
13. The method according to claim 12, wherein the identifier specifically comprises a two-dimensional code.
14. The method according to claim 10, wherein the acquiring information that the red packet returned by the server is in an unlocked state specifically includes:
acquiring first information, wherein the first information is used for indicating that the red envelope is detachable;
or acquiring second information, wherein the second information is used for indicating that the corresponding amount of the red envelope is issued to the account of the user.
15. A method for sending bar code associated information comprises the following steps:
the server acquires the bar code information of the outer package of the commodity sent by the first application; the bar code corresponding to the bar code information is used for scanning by first code scanning equipment when the commodity is settled;
determining bar code associated information corresponding to the bar code information;
and returning the bar code associated information to the first application.
16. The method of claim 15, wherein the barcode associated information specifically comprises:
link address information for a specific page;
or page information of the specific page.
17. The method of claim 15, wherein the barcode associated information specifically comprises:
link address information for pages containing bonus resource information;
or page information containing bonus resource information.
18. The method of claim 15, wherein before the server obtains the barcode information of the outer package of the goods sent by the first application, the method further comprises:
storing the mapping relation between the bar code information and the bar code associated information;
or storing the mapping relation between the commodity information corresponding to the bar code information and the bar code associated information.
19. The method according to claim 17, wherein the bonus resource information specifically includes:
voucher information.
20. The method of claim 19, after returning the barcode associated information to the first application, further comprising:
acquiring commodity settlement information sent by a cash register; the commodity settlement information comprises payment code information and a commodity bar code information list;
and after the bar code information list of the commodity is determined to contain the bar code information of the outer package of the commodity sent by the first application, corresponding deduction information is generated according to the voucher information in the commodity settlement process.
21. The method according to claim 17, wherein the bonus resource information specifically includes:
and red packet information.
22. The method of claim 21, after determining the barcode associated information corresponding to the barcode information, further comprising:
locking the red packet amount corresponding to the red packet information in a red packet issuing account; the amount of the red envelope in the locked state cannot be received by the user account of the red envelope for payment.
23. The method of claim 22, after locking the red envelope amount corresponding to the red envelope information in the red envelope issuing account, further comprising:
acquiring specific operation information; the specific operation information is used for indicating that the user account receiving the red envelope purchases the commodity corresponding to the red envelope information;
and returning the information that the red packet is in the unlocked state to the first application.
24. The method according to claim 23, wherein the acquiring specific operation information specifically includes:
and acquiring commodity settlement information sent by a cash register, wherein the commodity settlement information is generated based on the bar code of the commodity scanned by the first code scanning device and the payment code of the first application scanned by the second code scanning device.
25. The method according to claim 23, wherein the acquiring specific operation information specifically includes:
acquiring identification scanning information sent by the first application; the identification scanning information is generated based on a scanning operation of the identification of the in-merchandise package of the merchandise.
26. The method of claim 25, wherein the identifier specifically comprises a two-dimensional code.
27. The method according to claim 23, wherein the returning the information that the red packet is in the unlocked state to the first application specifically includes:
returning first information to the first application, wherein the first information is used for indicating that the red packet is detachable;
or returning second information to the first application, wherein the second information is used for indicating that the corresponding amount of the red envelope is issued to the account of the user.
28. A barcode scanning device is applied to a user terminal and comprises:
the bar code information acquisition module is used for acquiring bar code information of the outer package of the commodity by the first application; the bar code corresponding to the bar code information is used for scanning by first code scanning equipment when the commodity is settled;
the information sending module is used for sending the bar code information to a server;
the information acquisition module is used for acquiring bar code associated information which is returned by the server and has a mapping relation with the bar code;
and the bar code associated information display module is used for displaying the corresponding page based on the bar code associated information.
29. The apparatus of claim 28, wherein the barcode associated information specifically comprises:
link address information for pages containing bonus resource information; or page information containing reward resource information;
the resource reward information specifically includes: voucher information or red envelope information.
30. The apparatus of claim 29, further comprising:
the trigger operation acquisition module is used for acquiring transaction trigger operation;
the payment code display module is used for displaying a payment code based on the transaction triggering operation so as to be scanned by second code scanning equipment;
the information acquisition module is also used for acquiring deduction information returned by the server after the voucher is used;
the deduction information is generated by the server based on the bar code information scanned by the first code scanning device during commodity settlement.
31. The apparatus of claim 29, further comprising:
the specific operation information generating module is used for generating specific operation information based on specific operation; the specific operation information is used for indicating that the user purchases the commodity corresponding to the red packet information;
the information sending module is further used for sending the specific operation information to the server;
the information acquisition module is further configured to acquire information that the red packet returned by the server is in an unlocked state.
32. The apparatus of claim 31, wherein the specific operation information generating module is specifically configured to:
generating a payment code for scanning by second code scanning equipment based on payment option triggering operation;
the information that the red packet is in the unlocked state is generated by the server based on the bar code information scanned by the first code scanning device during commodity settlement.
33. The apparatus of claim 31, wherein the specific operation information generating module is specifically configured to:
and generating identification scanning information based on the scanning operation of the identification of the commodity inner package of the commodity.
34. A bar code associated information sending device is applied to a server and comprises:
the first information acquisition module is used for acquiring the bar code information of the outer package of the commodity sent by the first application; the bar code corresponding to the bar code information is used for scanning by first code scanning equipment when the commodity is settled;
the bar code associated information determining module is used for determining bar code associated information corresponding to the bar code information;
and the information sending module is used for returning the bar code associated information to the first application.
35. The apparatus of claim 34, wherein the barcode associated information specifically comprises:
link address information for pages containing bonus resource information; or page information containing reward resource information;
the bonus resource information specifically includes: voucher information or red envelope information.
36. The apparatus of claim 35, further comprising:
the second information acquisition module is used for acquiring commodity settlement information sent by the cash register device; the commodity settlement information comprises payment code information and a commodity bar code information list;
and the deduction information determining module is used for generating corresponding deduction information according to the voucher information in the commodity settlement process after determining that the commodity bar code information list contains the bar code information of the outer package of the commodity, which is sent by the first application.
37. The apparatus of claim 35, further comprising:
the specific operation information acquisition module is used for acquiring specific operation information; the specific operation information is used for indicating that the user account receiving the red envelope purchases the commodity corresponding to the red envelope information;
the information sending module is further configured to return the information that the red packet is in the unlocked state to the first application.
38. A user terminal, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
the first application acquires the bar code information of the outer package of the commodity; the bar code corresponding to the bar code information is used for scanning by first code scanning equipment when the commodity is settled;
sending the bar code information to a server;
acquiring bar code associated information which is returned by the server and has a mapping relation with the bar code;
and displaying a corresponding page based on the bar code associated information.
39. A server, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
acquiring bar code information of the outer package of the commodity sent by the first application; the bar code corresponding to the bar code information is used for scanning by first code scanning equipment when the commodity is settled;
determining bar code associated information corresponding to the bar code information;
and returning the bar code associated information to the first application.
40. A computer readable medium having computer readable instructions stored thereon which are executable by a processor to implement the method of any one of claims 1 to 27.
CN202110051121.9A 2021-01-14 2021-01-14 Bar code scanning and bar code associated information sending method, device, equipment and medium Active CN112862033B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202310718388.8A CN116739027A (en) 2021-01-14 2021-01-14 Bar code scanning and bar code associated information sending method, device, equipment and medium
CN202110051121.9A CN112862033B (en) 2021-01-14 2021-01-14 Bar code scanning and bar code associated information sending method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110051121.9A CN112862033B (en) 2021-01-14 2021-01-14 Bar code scanning and bar code associated information sending method, device, equipment and medium

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202310718388.8A Division CN116739027A (en) 2021-01-14 2021-01-14 Bar code scanning and bar code associated information sending method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN112862033A true CN112862033A (en) 2021-05-28
CN112862033B CN112862033B (en) 2023-06-16

Family

ID=76006227

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202310718388.8A Pending CN116739027A (en) 2021-01-14 2021-01-14 Bar code scanning and bar code associated information sending method, device, equipment and medium
CN202110051121.9A Active CN112862033B (en) 2021-01-14 2021-01-14 Bar code scanning and bar code associated information sending method, device, equipment and medium

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202310718388.8A Pending CN116739027A (en) 2021-01-14 2021-01-14 Bar code scanning and bar code associated information sending method, device, equipment and medium

Country Status (1)

Country Link
CN (2) CN116739027A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114693371A (en) * 2022-05-31 2022-07-01 深圳星坊科技有限公司 Store data analysis method and device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104270337A (en) * 2014-08-22 2015-01-07 腾讯科技(深圳)有限公司 Method for providing product service information, client and server
CN106960318A (en) * 2016-01-08 2017-07-18 深圳市星电商科技有限公司 One kind is hired a car methods, devices and systems
CN107622411A (en) * 2017-08-04 2018-01-23 深圳市小猫信息技术有限公司 A kind of advertisement push system, method, apparatus, terminal and computer-readable recording medium
CN109146555A (en) * 2018-07-27 2019-01-04 苏州邻海信息科技有限公司 Payment and the preferential system and method checked and write off are carried out using multiple information two dimensional code

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104270337A (en) * 2014-08-22 2015-01-07 腾讯科技(深圳)有限公司 Method for providing product service information, client and server
CN106960318A (en) * 2016-01-08 2017-07-18 深圳市星电商科技有限公司 One kind is hired a car methods, devices and systems
CN107622411A (en) * 2017-08-04 2018-01-23 深圳市小猫信息技术有限公司 A kind of advertisement push system, method, apparatus, terminal and computer-readable recording medium
CN109146555A (en) * 2018-07-27 2019-01-04 苏州邻海信息科技有限公司 Payment and the preferential system and method checked and write off are carried out using multiple information two dimensional code

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114693371A (en) * 2022-05-31 2022-07-01 深圳星坊科技有限公司 Store data analysis method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN112862033B (en) 2023-06-16
CN116739027A (en) 2023-09-12

Similar Documents

Publication Publication Date Title
CN105431869B (en) System and method for international merchandise return service
US9785922B2 (en) Machine, methods, and program product for electronic inventory tracking
CA2688827C (en) System and method for providing export services to merchants
US9305438B2 (en) POS network including printing and highlighting
KR20160037175A (en) System for syndicating subscriptions with retailers
CA2651374A1 (en) Systems and methods for international dutiable returns related applications
US20180225623A1 (en) System and method for improved inventory management of returned retail items
US20200349572A1 (en) Systems and methods for monitoring message content over a computer network
KR20190069382A (en) Systems, devices, and methods for capture and management of point-of-sale transaction-related data
US20140214566A1 (en) Retail Gift Card System with Integrated Account and Sales Receipt Tracking
KR102437026B1 (en) Advanced method, system and device for registering information in a database
CN112465601A (en) Electronic order generation method and device and storage medium
CN112862033A (en) Bar code scanning and bar code associated information sending method, device, equipment and medium
EP3022695A1 (en) A method of enhancing point-of-sale systems
CN111756799B (en) Method and device for processing printing information
KR20200000605A (en) Method for settlement of delivery order sales and payment terminal thereof
US10970702B2 (en) Systems and methods for facilitating multi-party payment transactions
US10402819B2 (en) Systems and methods for use in inhibiting theft of payment cards
US20200265404A1 (en) Point of sale system and commodity accounting processing method
CN108648026B (en) Method and device for modifying invoice information
CN112862467B (en) Red packet issuing and receiving method, device, equipment and readable medium
JP6203163B2 (en) Customer management apparatus, customer management system and method
US20150019321A1 (en) Using universal product code to retrieve coupons at checkout
TW201939405A (en) Integration system and integration method
JP2022109985A (en) Terminal and program for the same, and electronic receipt system

Legal Events

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