A method and apparatus for merchandise verification
Patent Information
- Application Number
- CN202111452163.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-01
- Publication Date
- 2026-09-25
- Estimated Expiration
- 2041-12-01
AI Technical Summary
[0004]若不在小票上展示用户所购买的商品的商品信息,则用户在收到商品后,需要打开所购商品所在的客户端,逐层点击以查找到对应的订单,再根据订单信息进行核验,这样,存在操作繁琐的问题
[0048]在本说明书提供的商品核验的方法中,响应于用户提交订单,根据该订单中包含的用户购买的商品的商品信息,生成该订单的离线订单信息,并将离线订单信息保存在本地存储,而后,响应于监测到针对该离线订单信息的调取指令,从本地存储中查询出离线订单信息,再向用户展示该离线订单信息,以供用户基于该离线订单信息,对接收到的商品进行核验。
Smart Images

Figure CN114331466B_ABST
Abstract
Description
Technical Field
[0001] This specification relates to the field of computer technology, and in particular to a method and apparatus for verifying goods. Background Technology
[0002] With the rise of online shopping, people can purchase almost any product they need in their daily lives through online platforms. When purchasing goods, users attach a paper receipt to the packaging to show details of their purchase, allowing them to verify the contents upon receipt.
[0003] In practice, users are more concerned about the risks of privacy leaks when purchasing certain types of goods online, which reduces their willingness to buy those items. For example, the information on purchased medications may reflect the user's medical condition, which is often information people don't want others to know—considered extremely sensitive private information. Therefore, if the user's medication purchase information is displayed directly on the receipt when buying medications online, users sensitive to their personal privacy will likely abandon purchasing medications online, thus avoiding privacy leaks.
[0004] If the product information of the purchased goods is not displayed on the receipt, the user will need to open the client containing the purchased goods after receiving the goods, click through layers to find the corresponding order, and then verify the order information. This is a cumbersome process. Furthermore, in situations without internet access or with poor network conditions, users may be unable to open the client, resulting in the inability to verify the goods in a timely manner.
[0005] Currently, when users verify privacy-sensitive products such as medicines purchased online, it is difficult to strike a balance between ease of use and privacy protection. Summary of the Invention
[0006] This specification provides a method and apparatus for product verification, which partially solves the aforementioned problems existing in the prior art.
[0007] The following technical solution is adopted in this specification:
[0008] This manual provides a method for product verification, including:
[0009] In response to a user submitting an order, offline order information is generated based on the product information of the goods purchased by the user in the order, and the offline order information is saved in local storage.
[0010] In response to detecting a retrieval command for the offline order information, the offline order information is retrieved from the local storage;
[0011] The offline order information is displayed to the user so that the user can verify the received goods based on the offline order information.
[0012] Optionally, offline order information for the order is generated based on the product information of the goods purchased by the user contained in the order, specifically including:
[0013] Based on the preset offline order information data format, order information matching the data format is extracted from the order, and offline order information of the order is generated based on the extracted order information.
[0014] Optionally, the offline order information is stored locally, specifically including:
[0015] The offline order information is encrypted using a preset encryption key to obtain encrypted offline order information, which is then saved to the local storage of the terminal device.
[0016] Before displaying the offline order information to the user, the method includes:
[0017] The encrypted offline order information is decrypted using the decryption key corresponding to the encryption key to obtain the offline order information, which is then displayed to the user.
[0018] Optionally, detecting a retrieval command for the offline order information specifically includes:
[0019] In response to the user performing a preset operation to view the offline order information on the displayed prompt interface, a retrieval command for the offline order information is detected.
[0020] Optionally, the prompt interface is displayed when the mobile network signal strength is lower than a set signal strength.
[0021] Optionally, detecting a retrieval command for the offline order information specifically includes:
[0022] In response to determining that the order status of the order has changed to delivered, a retrieval instruction for the offline order information is detected.
[0023] Optionally, determining that the order status of the order has changed to "delivered" includes:
[0024] In response to receiving a notification message sent to the user by the device used by the delivery person, the system determines that the order status has changed to "delivered". The notification message is sent to the user by the device used by the delivery person based on a notification instruction sent by the server, when it is determined that the distance between the delivery person's location and the delivery address of the order is less than a set distance. The notification instruction is sent by the server to the client used by the delivery person when it is determined that the user is offline. The notification message includes at least one of the following: SMS and telephone call.
[0025] Optionally, in response to receiving a notification message sent to the user by the device used by the delivery person, the order status of the order is changed to "delivered," specifically including:
[0026] If a specified keyword is identified from the prompt information through semantic recognition, the order status of the order is determined to have changed to "delivered".
[0027] Optionally, displaying the offline order information to the user includes:
[0028] The user's identity is verified, and after the user passes the identity verification, the offline order information is displayed to the user.
[0029] Optionally, displaying the offline order information to the user includes:
[0030] The camera identifies the order identification code on the paper order, which is carried on the product packaging delivered to the user;
[0031] The order identifier code is parsed to obtain the local storage address corresponding to the offline order information;
[0032] Based on the local storage address, the offline order information is retrieved from the local storage and displayed to the user.
[0033] Optionally, the method further includes:
[0034] The offline order information is uploaded to the server so that when the server detects that the account on which the user submitted the order is logged in on another terminal device, the offline order information is sent to the other terminal device and stored locally on the other terminal device.
[0035] Optionally, the method further includes:
[0036] If an order modification message is received from the server via a mobile network, the content of the offline order information that matches the order modification message in the local storage is modified according to the order modification message to obtain the modified offline order information, which is then saved to the local storage. The order modification message is generated and fed back to the server by the client used by the merchant after detecting the information modification operation performed by the merchant on the order.
[0037] Optionally, the method further includes:
[0038] In response to the user's account changing from logged-in to logged-out status when submitting the order, the offline order information corresponding to each order in local storage is deleted.
[0039] Optionally, the method further includes:
[0040] In response to the account returning to the logged-in state from the logged-out state, the pre-backed offline order information corresponding to each order is retrieved from the server.
[0041] This instruction manual provides a product verification device, including:
[0042] The generation module is used to respond to a user's order submission, generate offline order information for the order based on the product information of the goods purchased by the user included in the order, and save the offline order information in local storage;
[0043] The query module is used to retrieve the offline order information from the local storage in response to a detected retrieval command for the offline order information;
[0044] The display module is used to show the offline order information to the user so that the user can verify the received goods based on the offline order information.
[0045] This specification provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method for verifying goods.
[0046] This specification provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the above-described product verification method.
[0047] The above-mentioned technical solutions adopted in this specification can achieve the following beneficial effects:
[0048] In the product verification method provided in this specification, in response to a user submitting an order, offline order information is generated based on the product information of the goods purchased by the user in the order, and the offline order information is saved in local storage. Then, in response to detecting a retrieval command for the offline order information, the offline order information is retrieved from the local storage and displayed to the user so that the user can verify the received goods based on the offline order information.
[0049] As can be seen from the above method, this approach allows users to verify received goods using locally stored offline order information. This prevents the product information from being directly displayed on the paper order form attached to the product packaging, thus protecting user privacy. Furthermore, storing offline order information locally allows users to view the information even when their devices are offline, enabling product verification. It also simplifies the process of viewing order information on a user's device, improving business efficiency and enhancing the user experience. Attached Figure Description
[0050] The accompanying drawings, which are included to provide a further understanding of this specification and form part of this specification, illustrate exemplary embodiments and are used to explain this specification, but do not constitute an undue limitation thereof. In the drawings:
[0051] Figure 1 This is a flowchart illustrating a product verification method described in this specification.
[0052] Figure 2A-2B These are schematic diagrams illustrating two implementation methods of the prompt interface in the client side that prompts the user to view the offline order information stored locally, as described in this specification.
[0053] Figure 2C This is a diagram illustrating how offline order information is displayed to the user in this manual.
[0054] Figure 3 This is a flowchart illustrating the process of viewing locally stored offline order information using the paper order carried on the product warranty, as provided in this instruction manual.
[0055] Figure 4 A schematic diagram of a product verification device provided in this specification;
[0056] Figure 5 The corresponding information provided in this specification Figure 1 A schematic diagram of an electronic device. Detailed Implementation
[0057] To make the objectives, technical solutions, and advantages of this specification clearer, the technical solutions of this specification will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this specification, and not all of them. Based on the embodiments in this specification, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this specification.
[0058] The product verification scheme in this specification will be described in detail below with reference to the embodiments.
[0059] Figure 1 This is a flowchart illustrating a product verification method described in this specification, which specifically includes the following steps:
[0060] Step S100: In response to the user submitting an order, generate offline order information for the order based on the product information of the goods purchased by the user included in the order, and save the offline order information in local storage.
[0061] The product verification method described in this specification is applied to an online shopping system, which includes a server, a user's terminal device, a merchant's client, and a delivery person's client. In practice, the user logs into the client on their terminal device (e.g., mobile phone, tablet), selects the desired products, and submits an order. The user's terminal device responds to the order submission by generating online and offline order information and sending it to the server. The server then receives the online order information and sends it to the merchant to notify them of the pending order. Simultaneously, the server saves the offline order information. Next, the merchant's device receives the online order information, confirms acceptance, packages the products involved in the order, and delivers them to the delivery person. Finally, after delivering the packaged products to the user, the delivery person uses their device to report delivery status to the server. Based on this delivery status, the server sends a prompt to the user's terminal device to verify the product. After the user performs a preset action on this prompt, the offline order information is displayed.
[0062] The online order information for the aforementioned orders can only be viewed when the terminal device has a good network connection. This online order information is stored on a server. To view the online order information, the user needs to navigate through the client's steps to find the historical order record and, in response to the user's request to view the order, retrieve the online order information from the server. Only then can the user see the specific content of the online order information. The online order information can include all order information related to that order (such as recipient information, delivery address, merchant name, purchased goods, quantity, payment amount, payment method, order number, etc.). Therefore, when the user's terminal device is offline (or has a poor network connection), the device cannot transmit data with the server via the mobile network, and the user will not be able to view the online order information.
[0063] The above briefly describes the implementation of the product verification method provided in this manual when the user's terminal device has a good network condition (i.e., the network signal strength of the user's terminal device is greater than the set signal strength, and data transmission can be achieved with other devices (such as servers, clients used by merchants, clients used by delivery personnel, etc.) via mobile networks).
[0064] In practice, when a user needs to purchase goods, they select the goods they wish to buy and submit an order through a client application installed on their terminal device (e.g., mobile phone, tablet). The terminal device then responds to the user's order submission by generating online order information based on the product information of the purchased goods. Simultaneously, the terminal device can also extract order information matching a preset offline order information data format from the original order and generate offline order information based on the extracted data.
[0065] As mentioned above, the offline order information can only record the information needed by the user to verify the goods, such as (purchased goods, quantity, payment amount, etc.). Therefore, the data format of the offline order information can be pre-set. Then, after the user submits the order, the terminal device can extract the order information matching the pre-set data format from the order, and generate the offline order information based on the extracted order information. For example, if the offline order information is set to include only the purchased goods, the quantity of each item, and the total payment amount, then the terminal device can extract the product names, quantities, and total payment amount of each item purchased by the user from the online order information after the user submits the order. Then, based on these three pieces of order information, the corresponding offline order information can be generated.
[0066] In actual business operations, after generating offline order information, the terminal device needs to save the offline order information locally so that when the user needs to verify the goods corresponding to the received order, the terminal device can directly retrieve the stored offline order information from the terminal and display it to the user.
[0067] In practice, when saving offline order information locally, the terminal device can encrypt the offline order information using a preset encryption key to obtain encrypted offline order information. This encrypted offline order information is then saved to the terminal device's local storage. This approach can, to some extent, prevent the leakage of offline order information and further ensure user privacy and security.
[0068] Step S102: In response to detecting a retrieval command for the offline order information, the offline order information is retrieved from the local storage.
[0069] In this manual, users can view the offline order information of their submitted orders at any time according to their own needs. Correspondingly, after detecting the command to retrieve offline order information, the terminal device will retrieve the offline order information from the local storage of the terminal device for display to the user.
[0070] The following sections will detail different scenarios in which users view offline order information in practical applications.
[0071] Scenario 1: The user actively opens the client on the terminal device to view offline order information stored locally.
[0072] When a user wants to view offline order information for an order they submitted, they can open the client application they logged into when submitting the order on their terminal device. The terminal device will then display a prompt interface on the client's homepage, asking the user whether they want to view the locally stored offline order information. After viewing the prompt, if the user decides to view the information, they can perform a preset action on the prompt interface (e.g., clicking the "Confirm View" button). Subsequently, in response to the user's preset action on the prompt interface, the terminal device detects a retrieval command for offline order information and, in response to this command, retrieves the offline order information from the terminal device's local storage.
[0073] This prompt interface can be displayed to the user only when the terminal device determines that the mobile network signal strength is lower than a set signal strength (i.e., offline state). Of course, in actual business operations, the terminal device may not monitor the mobile network environment; it can simply display this prompt interface to the user as long as it detects that the user has opened the client.
[0074] For example, Figure 2A When the user's terminal device is offline, after the user opens the client, the terminal device will display a prompt interface on the client's homepage to inform the user of orders that have been delivered and whether they want to verify the goods in the delivered orders. If the user clicks to view local orders, the terminal device will respond to the detected command to retrieve offline order information, query the offline order information from local storage, and display it to the user.
[0075] For example, Figure 2B When a user's terminal device is offline, a prompt interface is displayed asking the user if they want to view locally stored offline order information. Specifically, after the user opens the client, the terminal device displays the prompt interface on the client's homepage. When the user clicks to view locally stored offline order information, the terminal device will respond by detecting the request to retrieve offline order information, querying the offline order information from local storage, and displaying it to the user.
[0076] Furthermore, after the user performs a preset operation on the prompt interface, the terminal device can also display a keyword search interface to the user. The user can provide keywords for the terminal device to query offline order information in the keyword search interface, so that the terminal device can query the offline order information required by the user from the offline order information stored locally based on the keywords provided by the user.
[0077] Scenario 2: After receiving a notification that the goods have been delivered, the user can view the offline order information corresponding to the notification stored locally.
[0078] Specifically, after a user submits an order, the corresponding merchant delivers the goods to a delivery person for delivery. During this process, the terminal device, upon confirming that the order status has changed to "delivered," detects a retrieval command for the offline order information, retrieves the offline order information from local storage based on the retrieval command, and displays it to the user.
[0079] In different mobile network environments, terminal devices can determine whether the order status has changed to "delivered" in different ways.
[0080] For example, when the mobile network signal of the terminal device is good (i.e., the signal strength of the mobile network of the terminal device is not lower than the set signal strength, and the terminal device can communicate with other devices via the mobile network), after the delivery person delivers the goods to the delivery address corresponding to the order (or confirms delivery to the user), they click the confirmation delivery control on their own client. After the server detects the confirmation delivery message from the device used by the delivery person, it sends a message to the terminal device used by the user indicating that the goods have been delivered. After receiving the message sent by the server, the terminal device determines that the order status has changed to "delivered".
[0081] For example, when a user's terminal device is in an off-network state (i.e., the mobile network signal strength of the terminal device is lower than the set signal strength, and the terminal device cannot communicate with other devices through the mobile network), the terminal device determines that the order status of the user's order has been changed to "delivered" when it receives a prompt message sent to the user by the device used by the delivery person.
[0082] Specifically, after receiving a notification message from the delivery person's device, the terminal device uses semantic recognition to analyze the message. If a specified keyword is identified in the message, the order status is changed to "delivered." Otherwise, the order status remains unchanged. The specified keyword can be a phrase indicating the delivery status of the goods, such as "I've arrived" or "Could you please come down and pick it up?"
[0083] Furthermore, in the specific implementation of this scheme, the server needs to monitor the network signal strength of the user's terminal device in real time after the user submits an order. If the server determines that the network signal strength of the terminal device is lower than a set signal strength, it sends a notification instruction to the client used by the delivery person. Upon receiving this notification instruction, the delivery person's client monitors its own location in real time during the delivery process. Based on the delivery address and its own location, if the distance between the delivery person's location and the delivery address is less than a set distance, it sends a notification message to the user. This notification message can include at least one of the following: SMS or telephone call.
[0084] Step S104: Display the offline order information to the user so that the user can verify the received goods based on the offline order information.
[0085] In practice, after the user's terminal device retrieves offline order information from local storage, if the offline order information is not encrypted, it is directly displayed to the user. The user then uses the product information contained in the offline order information to determine whether the type and quantity of the received goods match those recorded in the offline order information. If they match, the received goods verification is successful; otherwise, the verification fails. If the offline order information was encrypted using an encryption key before being stored locally, the terminal device needs to decrypt the retrieved encrypted offline order information using the decryption key corresponding to the encryption key, obtain the offline order information, and display it to the user so that the user can verify the received goods based on the displayed offline order information. The offline order information displayed to the user can be found in [reference needed]. Figure 2C .
[0086] In addition to viewing offline order information through the methods described above, users can also view offline order information through other means. For example, this instruction manual also provides a method for viewing offline order information based on the paper order attached to the product packaging delivered to the user.
[0087] Specifically, after receiving the goods from the delivery person, the user can open the client application. This application uses the terminal device's camera to identify the order identification code on the paper order attached to the product packaging. The order identification code is then parsed to obtain the local storage address corresponding to the offline order information. Based on this local storage address, the offline order information is retrieved from the terminal's local storage and displayed to the user. The order identification code can be a QR code, barcode, or similar format.
[0088] During this process, if the client is the same one used by the user when submitting the order, it directly retrieves the offline order information from the terminal's local storage based on the local storage address corresponding to the offline order information. If the client is not the same one used by the user when submitting the order, it can call the client used by the user when submitting the order, and then that client will retrieve the offline order information from the terminal's local storage based on the local storage address corresponding to the offline order information.
[0089] In addition, to further ensure user information security, the terminal device can also verify the user's identity when displaying offline order information to the user, and only after the user passes the identity verification can the obtained offline order information be displayed to the user.
[0090] There are several ways to authenticate users. For example, a valid login time can be set for the account on which a user submitted an order. When a user wants to view offline order information, the user's terminal device can obtain the current account's valid login time and determine whether the account on which the user submitted the order is still within the valid login time. If so, the user is considered authenticated; otherwise, the user is considered unauthenticated and prompted to use other authentication methods. Another example is that the terminal device obtains the authentication information provided by the user and compares it with locally stored identity verification information. If the authentication information matches the identity verification information, the user is considered authenticated; otherwise, the user is considered unauthenticated. This authentication information can be the user's biometric information (e.g., facial information, fingerprint information) or an offline password set separately for offline order information.
[0091] In actual business operations, users are generally quite familiar with the types and names of the goods they purchase. Therefore, special information in the order information that distinguishes it from other orders (such as the types and names of the purchased goods) can be used to verify the user.
[0092] Based on this, when authenticating a user, the terminal device can also obtain the order information provided by the user and compare the order information with the offline order information in local storage. If the offline order information contains the order information provided by the user, it can be determined that the user has passed the authentication; otherwise, it can be determined that the user has not passed the authentication.
[0093] The following is a detailed flowchart illustrating the process by which users can view offline order information using the paper order form included on the product packaging. This process utilizes fingerprint recognition for user authentication; see below for details. Figure 3 .
[0094] In step S300, the terminal device responds to the user's operation upon receiving the goods from the delivery person by calling the camera to scan the order QR code on the paper order carried on the product packaging.
[0095] In step S302, after the terminal device parses the order QR code, it obtains the local storage address corresponding to the offline order information that matches the paper order.
[0096] In step S304, the terminal device retrieves the offline order information from its local storage based on the local storage address and prompts the user to perform fingerprint verification on the terminal device's display interface.
[0097] Step S306: The terminal device obtains the fingerprint information provided by the user.
[0098] In step S308, the terminal device compares the fingerprint information provided by the user with the fingerprint information pre-stored locally to obtain the comparison result.
[0099] In step S310, the terminal device determines whether the fingerprint information provided by the user matches the fingerprint information pre-stored locally based on the comparison result. If they match, step S312 is executed; otherwise, step S314 is executed.
[0100] In step S312, the terminal device confirms that the user has passed the identity verification and displays the queried offline order information to the user so that the user can verify the received goods based on the offline order information.
[0101] In step S314, the terminal device determines that the user has failed the identity verification, re-acquires the fingerprint information provided by the user, and continues to execute step S308.
[0102] Furthermore, it is highly likely that a user will own multiple terminal devices and log in with the same account on the same client installed on all of them. Therefore, it is also highly probable that the terminal device a user uses to view offline order information is not the same terminal device used to submit the order. Thus, this specification proposes a corresponding information synchronization solution for this situation.
[0103] Specifically, the terminal device used by a user to submit an order can upload offline order information to the server. While storing this offline order information, the server can also monitor whether the user's account is logged in on other terminal devices. If it detects that the account used to submit the order is logged in on another terminal device, it sends the offline order information to that other terminal device. Then, upon receiving the offline order information from the server, the other terminal device stores it locally.
[0104] Furthermore, in order to reduce the waste of storage resources, this manual allows for the clearing of offline order information stored locally under certain conditions.
[0105] For example, when a terminal device (or other terminal device) saves offline order information locally, it deletes the offline order information from local storage after detecting that the storage time for the offline order information has reached the set time limit. At the same time, the server marks the offline order information as invalid.
[0106] For example, after a user views offline order information, the terminal device (or other terminal device) prompts the user on the display interface whether to delete the offline order information. Upon detecting that the user confirms the deletion, the terminal device removes the offline order information from its local storage. Simultaneously, the server marks the offline order information as invalid.
[0107] In this manual, when the login status of the account on which the user submits an order changes, the user's terminal device will clear all offline order information stored locally according to the login status of that account, in order to reduce the waste of the user's terminal device's local storage resources.
[0108] Specifically, in response to the user's terminal device changing the login status from the account on which the user submitted the order to the logout status, the offline order information corresponding to each order stored locally is deleted.
[0109] The determination that the account on which the user submitted the order changed from a logged-in state to a logged-out state when at least one of the following conditions is met may include: the user uninstalls the client, the user's valid login time on the client exceeds the limit, or the user switches to a different login account.
[0110] Conversely, when a user logs out of the client installed on the terminal device based on the account that submitted the order, and then logs in again based on the same account, the terminal device used by the user will respond by restoring the account from the logged-out state to the logged-in state and obtaining the offline order information corresponding to each pre-backed-up order from the server.
[0111] In practice, the user's terminal device can directly retrieve offline order information that has not been deleted by the user from the server and save it to local storage. Alternatively, it can retrieve online order information matching the offline order information that has not been deleted by the user from the server, generate corresponding offline order information based on the online order information, and save it to local storage. Of course, for undelivered orders, the terminal device can also retrieve the online order information of the order from the server, generate corresponding offline order information based on the online order information, and save it to local storage. Furthermore, for delivered but not deleted orders, it can directly retrieve the offline order information of the order from the server and save it to local storage.
[0112] Furthermore, if a user logs into the account on a new terminal device other than the one used when submitting the order, the above method can be used to retrieve the user's offline order information from the server and save it to local storage.
[0113] In this manual, if a merchant's inventory is insufficient after a user submits an order, and the merchant cannot provide all the items the user needs, the merchant can, after communicating with the user, provide only a portion of the items without reordering. Based on this, the merchant can modify the online order information through their client application. Correspondingly, the user's terminal device needs to synchronize the merchant's changes to the offline order information so that the user can verify the goods delivered by the merchant based on the synchronized offline order information.
[0114] In real-time, after the merchant's client detects the merchant's modification of information on a user-submitted order, it generates order modification information based on the modification and sends this information back to the server. Upon receiving this order modification information, the server sends it to the user's terminal device via the mobile network. The terminal device then modifies the content of the offline order information in its local storage that matches the received modification information, obtaining the modified offline order information, which is then saved to local storage. The order modification information may include the specific content of the order information modified by the merchant, as well as the reason for the modification, etc.
[0115] For example, a user submits an order for product A, with a quantity of 3. After accepting the order, the merchant discovers that only two units of product A are in stock, insufficient to provide the user. After communicating with the user and obtaining confirmation, the merchant delivers the remaining two units of product A. At this point, the merchant, through its client application, modifies the quantity of product A in the user's order. The merchant's client, detecting this modification, generates order modification information (which may include: modification operation: quantity of product A changed to two units, reason for modification: insufficient stock of product A), and sends this information to the user's terminal device via the server. Upon receiving the order modification information, the terminal device modifies the offline order information stored locally, and then saves the modified offline order information as the offline order information for this order locally.
[0116] In actual business operations, after the terminal device saves the modified offline order information as the offline order information of the order locally, it can continue to forward the new offline order information of the order (i.e., the modified offline order information) to other terminal devices of the user via the server, so as to ensure that the offline order information stored locally on each terminal device remains consistent when the account on which the user submitted the order is logged in on different terminal devices.
[0117] Using the above method, users can verify received goods through locally stored offline order information. This prevents the product information from being directly displayed on the paper order form attached to the product packaging, protecting user privacy. Furthermore, storing offline order information locally allows users to view it even when their devices are offline, facilitating product verification. It also simplifies the process of viewing order information on a user's device, improving business efficiency and enhancing the user experience.
[0118] The above describes one or more embodiments of a product verification method as described in this specification. Based on the same concept, this specification also provides corresponding product verification devices, such as... Figure 4 As shown.
[0119] Figure 4 This specification provides a schematic diagram of a product verification device, which specifically includes:
[0120] The generation module 400 is used to respond to a user submitting an order, generate offline order information for the order based on the product information of the goods purchased by the user included in the order, and save the offline order information in local storage;
[0121] Query module 401 is used to retrieve the offline order information from the local storage in response to a detected retrieval command for the offline order information;
[0122] The display module 402 is used to display the offline order information to the user so that the user can verify the received goods based on the offline order information.
[0123] Optionally, the generation module 400 is specifically used to extract order information that matches the preset offline order information data format from the order, and generate offline order information for the order based on the extracted order information.
[0124] Optionally, the generation module 400 is specifically used to encrypt the offline order information using a preset encryption key to obtain encrypted offline order information, and save the encrypted offline order information to the local storage of the terminal device;
[0125] The display module 402 is further configured to, before displaying the offline order information to the user, decrypt the encrypted offline order information using a decryption key corresponding to the encryption key to obtain the offline order information, so as to display the offline order information to the user.
[0126] Optionally, the query module 401 is specifically used to respond to the user performing a preset operation to view the offline order information on the displayed prompt interface, and to detect the retrieval instruction for the offline order information.
[0127] Optionally, the prompt interface is displayed when the mobile network signal strength is lower than a set signal strength.
[0128] Optionally, the query module 401 is specifically used to detect a retrieval instruction for the offline order information in response to determining that the order status has changed to delivered.
[0129] Optionally, the query module 401 is specifically used to respond to a prompt message sent by the device used by the delivery person to the user, and determine that the order status of the order has changed to a delivered status. The prompt message is sent by the device used by the delivery person to the user based on a prompt instruction sent by the server, when it is determined that the distance between the location of the delivery person and the delivery address of the order is less than a set distance. The prompt instruction is sent by the server to the client used by the delivery person when it is determined that the user is offline. The prompt message includes at least one of SMS and telephone.
[0130] Optionally, the query module 401 is specifically used to determine that the order status of the order has been changed to "delivered" if a specified keyword is identified from the prompt information through semantic recognition.
[0131] Optionally, the display module 402 is specifically used to verify the user's identity and, after the user passes the identity verification, to display the offline order information to the user.
[0132] Optionally, the display module 402 is specifically used to identify the order identification code on the paper order through a camera, the paper order being carried on the product packaging delivered to the user; to parse the order identification code to obtain the local storage address corresponding to the offline order information; to query the offline order information from the local storage based on the local storage address, and to display it to the user.
[0133] Optionally, the device further includes:
[0134] The upload module 403 is used to upload the offline order information to the server, so that when the server detects that the account on which the user submitted the order is logged in on another terminal device, the server sends the offline order information to the other terminal device and stores it locally on the other terminal device.
[0135] Optionally, the device further includes:
[0136] The information modification module 404 is used to modify the content of the offline order information that matches the order modification information in the local storage according to the order modification information if it receives order modification information sent by the server based on the mobile network, so as to obtain the modified offline order information and save it to the local storage. The order modification information is generated and fed back to the server by the client used by the merchant after detecting the information modification operation performed by the merchant on the order.
[0137] Optionally, the device further includes:
[0138] The deletion module 405 is used to delete the offline order information corresponding to each order stored locally in response to the user's account on which the order is based changing from a logged-in state to a logged-out state.
[0139] Optionally, the device further includes:
[0140] The acquisition module 406 is used to retrieve the offline order information corresponding to each pre-backed-up order from the server in response to the account returning to the login state from the logout state.
[0141] This specification also provides a computer-readable storage medium storing a computer program that can be used to execute the above-described... Figure 1 The methods provided for verifying the goods.
[0142] This instruction manual also provides Figure 5 The diagram shows a schematic structural representation of the electronic device. Figure 5 At the hardware level, the electronic device includes a processor, internal bus, network interface, memory, and non-volatile memory, and may also include other hardware required for the business operations. The processor reads the corresponding computer program from the non-volatile memory into memory and then runs it to achieve the above-mentioned functions. Figure 1 The product verification method described above. Of course, in addition to software implementation, this specification does not exclude other implementation methods, such as logic devices or a combination of hardware and software, etc. That is to say, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.
[0143] In the 1990s, improvements to a technology could be clearly distinguished as either hardware improvements (e.g., improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the methodology). However, with technological advancements, many methodological improvements today can be considered direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved methodology into the hardware circuit. Therefore, it cannot be said that a methodological improvement cannot be implemented using hardware physical modules. For example, a Programmable Logic Device (PLD) (such as a Field Programmable Gate Array (FPGA)) is such an integrated circuit whose logic function is determined by the user programming the device. Designers can program and "integrate" a digital system onto a PLD themselves, without needing chip manufacturers to design and manufacture dedicated integrated circuit chips. Furthermore, nowadays, instead of manually manufacturing integrated circuit chips, this programming is mostly implemented using "logic compiler" software. Similar to the software compiler used in program development, the original code before compilation must be written in a specific programming language, called a Hardware Description Language (HDL). There are many HDLs, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, and RHDL (Ruby Hardware Description Language). Currently, the most commonly used are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should understand that by simply performing some logic programming on the method flow using one of these hardware description languages and programming it into an integrated circuit, the hardware circuit implementing the logical method flow can be easily obtained.
[0144] The controller can be implemented in any suitable manner. For example, it can take the form of 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, application-specific integrated circuits (ASICs), programmable logic controllers, and embedded microcontrollers. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicon Labs C8051F320. A memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art will also recognize that, in addition to implementing the controller in purely computer-readable program code form, the same functionality can be achieved by logically programming the method steps to make the controller take the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers. Therefore, such a controller can be considered a hardware component, and the means included therein for implementing various functions can also be considered as structures within the hardware component. Alternatively, the means for implementing various functions can be considered as both software modules implementing the method and structures within the hardware component.
[0145] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, a computer can be, for example, a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or any combination of these devices.
[0146] For ease of description, the above devices are described in terms of function, divided into various units. Of course, in implementing this specification, the functions of each unit can be implemented in one or more software and / or hardware.
[0147] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can 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, etc.) containing computer-usable program code.
[0148] This 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 block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can 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, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0149] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0150] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0151] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0152] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0153] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, 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 technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0154] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0155] Those skilled in the art will understand that the embodiments of this specification can be provided as methods, systems, or computer program products. Therefore, this specification may take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this specification 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, etc.) containing computer-usable program code.
[0156] This specification can be described in the general context of computer-executable instructions that are executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform a specific task or implement a specific abstract data type. This specification can also be practiced in distributed computing environments, where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.
[0157] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to interchangeably. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.
[0158] The above description is merely an embodiment of this specification and is not intended to limit this specification. Various modifications and variations can be made to this specification by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this specification should be included within the scope of the claims of this specification.
Claims
1. A method for verifying goods, characterized in that, include: In response to a user submitting an order, offline order information is generated based on the product information of the goods purchased by the user in the order, and the offline order information is saved in local storage. In response to determining that the order status of the order has changed to "delivered", a retrieval instruction for the offline order information is detected, and the offline order information is retrieved from the local storage. Specifically, determining that the order status has changed to "delivered" includes: In response to receiving a notification message sent to the user by the device used by the delivery person, the system determines that the order status has changed to "delivered". The notification message is sent to the user by the device used by the delivery person based on a notification instruction sent by the server, when it is determined that the distance between the location of the delivery person and the delivery address of the order is less than a set distance. The notification instruction is sent to the client used by the delivery person by the server when it is determined that the user is offline. The offline order information is displayed to the user so that the user can verify the received goods based on the offline order information.
2. The method according to claim 1, characterized in that, Based on the product information of the goods purchased by the user contained in the order, generate offline order information for the order, specifically including: Based on the preset offline order information data format, order information matching the data format is extracted from the order, and offline order information of the order is generated based on the extracted order information.
3. The method according to claim 1, characterized in that, Saving the offline order information in local storage specifically includes: The offline order information is encrypted using a preset encryption key to obtain encrypted offline order information, which is then saved to the local storage of the terminal device. Before displaying the offline order information to the user, the method includes: The encrypted offline order information is decrypted using the decryption key corresponding to the encryption key to obtain the offline order information, which is then displayed to the user.
4. The method according to claim 1, characterized in that, The detected command to retrieve the offline order information specifically includes: In response to the user performing a preset operation to view the offline order information on the displayed prompt interface, a retrieval command for the offline order information is detected.
5. The method according to claim 4, characterized in that, The prompt interface is displayed when the mobile network signal strength is lower than the set signal strength.
6. The method according to claim 1, characterized in that, In response to receiving a notification message from the device used by the delivery person to the user, the order status of the order is changed to "delivered," specifically including: If a specified keyword is identified from the prompt information through semantic recognition, the order status of the order is determined to have changed to "delivered".
7. The method according to claim 1, characterized in that, Displaying the offline order information to the user specifically includes: The user's identity is verified, and after the user passes the identity verification, the offline order information is displayed to the user.
8. The method according to claim 1, characterized in that, Displaying the offline order information to the user specifically includes: The camera identifies the order identification code on the paper order, which is carried on the product packaging delivered to the user; The order identifier code is parsed to obtain the local storage address corresponding to the offline order information; Based on the local storage address, the offline order information is retrieved from the local storage and displayed to the user.
9. The method according to claim 1, characterized in that, The method further includes: The offline order information is uploaded to the server so that when the server detects that the account on which the user submitted the order is logged in on another terminal device, the offline order information is sent to the other terminal device and stored locally on the other terminal device.
10. The method according to claim 1, characterized in that, The method further includes: If an order modification message is received from the server via a mobile network, the content of the offline order information that matches the order modification message in the local storage is modified according to the order modification message to obtain the modified offline order information, which is then saved to the local storage. The order modification message is generated and fed back to the server by the client used by the merchant after detecting the information modification operation performed by the merchant on the order.
11. The method according to claim 1, characterized in that, The method further includes: In response to the user's account changing from logged-in to logged-out status when submitting the order, the offline order information corresponding to each order in local storage is deleted.
12. The method according to claim 11, characterized in that, The method further includes: In response to the account returning to the logged-in state from the logged-out state, the pre-backed offline order information corresponding to each order is retrieved from the server.
13. A device for verifying goods, characterized in that, include: The generation module is used to respond to a user's order submission, generate offline order information for the order based on the product information of the goods purchased by the user included in the order, and save the offline order information in local storage; The query module is used to respond to a change in the order status of the order to a delivered status, detect a retrieval instruction for the offline order information, and retrieve the offline order information from the local storage. Specifically, determining that the order status has changed to a delivered status includes: responding to a prompt message sent by the delivery person's device to the user, and determining that the order status has changed to a delivered status. The prompt message is sent by the delivery person's device based on a prompt instruction sent by the server, when it is determined that the distance between the delivery person's location and the delivery address of the order is less than a set distance. The prompt instruction is sent by the server to the client used by the delivery person when it is determined that the user is offline. The display module is used to show the offline order information to the user so that the user can verify the received goods based on the offline order information.
14. A computer-readable storage medium, characterized in that, The storage medium stores a computer program, which, when executed by a processor, implements the method described in any one of claims 1 to 12.
15. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the method described in any one of claims 1 to 12.
Citation Information
Patent Citations
Goods information display method, device and system and intelligent communication equipment
CN108389014A
Code scanning display method and device, storage medium, processor and terminal
CN112016861A