Order processing method and device, electronic equipment and computer readable medium

By displaying offline product pages in a weak network environment and storing order information, and sending an order request after the network is restored, the failure of orders caused by poor network signals is solved, and the convenience of transactions and user experience is improved.

CN119295175APending Publication Date: 2025-01-10BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411302063.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-18
Publication Date
2025-01-10

AI Technical Summary

Technical Problem

When a user places an order through the Internet, the poor network signal causes the order request to fail, and the page needs to be refreshed multiple times to place an order, resulting in less transaction convenience.

Method used

When the user requests a product page, determine the current network environment. If it is a weak network environment, display the offline product page and store the order information. Send the order request when the network environment returns to normal, and display the order after the user completes the payment operation. Complete the page.

Benefits of technology

In a weak network environment, you can browse product information without refreshing the page, avoid repeated submission of orders due to request timeout, improve transaction convenience, and ensure that users do not need to query unfinished orders by themselves.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119295175A_ABST
    Figure CN119295175A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses an order processing method and device, electronic equipment and a computer readable medium. The method comprises the steps of determining a current network environment when it is detected that a user requests a commodity page; when the network environment is a weak network environment, an offline commodity page is displayed, and the offline commodity page comprises commodity information and payment mode information; when it is detected that the user submits an order in the offline commodity page, storing order information of the order; when the network environment is recovered from the weak network environment to the normal network environment, an order placing request is sent to the server side, payment prompt information for the order is returned through the server side, the order placing request comprises order information, and the payment prompt information comprises a payment page link; and when it is detected that the user clicks the payment page link and completes payment operation, displaying an order completion page. According to the embodiment, the transaction convenience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computer technology, and specifically to an order processing method, device, electronic device, and computer-readable medium. Background Art

[0002] With the development of Internet technology, more and more users are accustomed to conducting transactions through the Internet. For example, they can subscribe to services, order takeout, buy medicine online, open membership, etc. through the Internet.

[0003] In the prior art, when a user places an order through the Internet, if the network signal is poor, the order request will fail to be sent due to a timeout, requiring the user to refresh the page multiple times and place the order again, resulting in low transaction convenience. Summary of the invention

[0004] The embodiments of the present application propose an order processing method, device, electronic device and computer-readable medium to solve the technical problem of low transaction convenience in the prior art.

[0005] In a first aspect, an embodiment of the present application provides an order processing method, the method comprising: when a user is detected requesting a product page, determining the current network environment; when the network environment is a weak network environment, displaying an offline product page, the offline product page including product information and payment method information; when it is detected that a user submits an order in the offline product page, storing the order information of the order; when the network environment is restored from the weak network environment to the normal network environment, sending an order request to a server to return payment prompt information for the order through the server, the order request including the order information, and the payment prompt information including a payment page link; when it is detected that a user clicks the payment page link and completes the payment operation, displaying an order completion page.

[0006] In a second aspect, an embodiment of the present application provides an order processing method, including: receiving an order request sent by a terminal, the order request including order information of an order submitted by a user in an offline product page, the offline product page being displayed when the terminal detects that a user requests a product page and the current network environment is a weak network environment, the order request being sent when the network environment is restored from the weak network environment to a normal network environment, the offline product page including product information and payment method information; in response to the order request, generating a payment page link based on the order information; and sending payment prompt information for the order to the terminal, the payment prompt information including the payment page link.

[0007] In a third aspect, an embodiment of the present application provides an order processing device, which includes: a determination unit, used to determine the current network environment when it is detected that a user requests a product page; a first display unit, used to display an offline product page when the network environment is a weak network environment, and the offline product page includes product information and payment method information; a storage unit, used to store the order information of the order when it is detected that a user submits an order in the offline product page; a first sending unit, used to send an order request to a server when the network environment is restored from the weak network environment to the normal network environment, so as to return payment prompt information for the order through the server, the order request including the order information, and the payment prompt information including a payment page link; a second sending unit, used to display an order completion page when it is detected that a user clicks on the payment page link and completes the payment operation.

[0008] In a fourth aspect, an embodiment of the present application provides an order processing device, comprising: a receiving unit, configured to receive an order request sent by a terminal, the order request including order information of an order submitted by a user in an offline product page, the offline product page being displayed when the terminal detects that a user requests a product page and the current network environment is a weak network environment, the order request being sent when the network environment is restored from the weak network environment to a normal network environment, the offline product page including product information and payment method information; a generating unit, configured to generate a payment page link based on the order information in response to the order request; and a sending unit, configured to send payment prompt information for the order to the terminal, the payment prompt information including the payment page link.

[0009] In a fifth aspect, an embodiment of the present application provides an electronic device, comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any embodiment of the first aspect.

[0010] In a sixth aspect, an embodiment of the present application provides a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements the method described in any embodiment of the first aspect.

[0011] The order processing method, device, electronic device and computer-readable medium provided by the embodiment of the present application, by determining the current network environment when detecting that the user requests the product page, and displaying the offline product page when the network environment is a weak network environment, can enable the user to browse the product information without refreshing the page when in a weak network environment. When it is detected that the user submits an order in the offline product page, the order information of the order is stored, and when the network environment is restored from the weak network environment to the normal network environment, an order request containing the order information is sent, so that the user does not need to submit the order repeatedly due to the request timeout when in a weak network environment. After receiving the payment prompt information returned by the server for the order, if it is detected that the user clicks the payment page link in the payment prompt information and performs the payment operation, the order completion page is displayed, and the user can be actively guided to complete the payment process after the network environment is restored to the normal network environment, without the user having to query the unfinished order according to the network situation. As a result, in a weak network environment, the user does not need to refresh the page and only submits the order once to complete the transaction, and the user does not need to query the unfinished order according to the network situation, thereby improving the convenience of the transaction. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:

[0013] Figure 1 is a flow chart of an embodiment of the order processing method of the present application;

[0014] Figure 2 It is a schematic diagram of the order placing process of the order processing method of the present application;

[0015] Figure 3 It is a schematic diagram of the payment process of the order processing method of the present application;

[0016] Figure 4 is a flow chart of an embodiment of the order processing method of the present application;

[0017] Figure 5 It is a schematic diagram of the interaction process between the terminal and the server of the order processing method of the present application;

[0018] Figure 6 It is a structural schematic diagram of an embodiment of an order processing device of the present application;

[0019] Figure 7 It is a structural schematic diagram of an embodiment of an order processing device of the present application;

[0020] Figure 8 It is a schematic diagram of the structure of an electronic device used to implement an embodiment of the present application. DETAILED DESCRIPTION

[0021] All actions to obtain signals, information or data in this application are carried out in compliance with the relevant data protection laws and policies of the country where they are located, and with the authorization given by the owner of the corresponding device.

[0022] The present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It should also be noted that, for ease of description, only the parts related to the relevant invention are shown in the accompanying drawings.

[0023] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0024] Please refer to Figure 1 , which shows a process 100 according to an embodiment of the order processing method of the present application. The order processing method can be applied to various electronic devices with display screens. For example, the above-mentioned electronic devices may include but are not limited to: smart phones, tablet computers, e-book readers, MP3 (Moving Picture Experts Group Audio Layer III, dynamic image expert compression standard audio layer 3) players, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert compression standard audio layer 4) players, laptop computers, car computers, PDAs, desktop computers, set-top boxes, smart TVs, cameras, wearable devices, smart locks, etc. The executor of the order processing method can be a processor in the above-mentioned electronic devices.

[0025] The order processing method comprises the following steps:

[0026] Step 101, when it is detected that a user requests a product page, the current network environment is determined.

[0027] In this embodiment, the execution subject of the order processing method (for example, the above-mentioned electronic device) can detect the user's operation in real time. When it is detected that the user requests a product page, for example, when clicking on the entrance of the product page, the current network environment can be determined. In practice, the connected network may include but is not limited to: 3G (3rd-Generation, third generation mobile communication technology) network, 4G (4th-Generation, fourth generation mobile communication technology) network, 5G (5th-Generation, fifth generation mobile communication technology) network, Wi-Fi (wireless network communication technology) network.

[0028] In this embodiment, the network environment may include but is not limited to a weak network environment and a normal network environment. The above-mentioned execution subject may determine the current network environment based on the current network signal strength. The higher the network signal strength, the better the current network environment. The weaker the network signal strength, the worse the current network environment. In practice, the network signal strength can be compared with a pre-set threshold to determine whether the current network environment is a weak network environment.

[0029] The network signal strength can be characterized by the RSSI (Received Signal Strength Indication) value. RSSI is used to indicate the signal strength of a certain location within the coverage of a wireless network. Usually, when the RSSI value is low, it means that the signal received by the electronic device is very weak or even no signal is received.

[0030] The network signal strength can be detected in a variety of ways. As an example, the above-mentioned electronic device may be provided with a network signal strength detection device. The above-mentioned execution subject may detect the network signal strength of the current location through the above-mentioned network signal strength detection device. As another example, the strength of the network signal may be detected with the help of a network diagnostic tool provided by the operating system or a network signal strength detector installed in the electronic device. No specific limitation is made here.

[0031] In some optional implementations of the present embodiment, the above-mentioned execution subject may first determine the current network signal strength. If the network signal strength is less than the first preset threshold, it can be determined that the current network environment is a weak network environment. If the network signal strength is greater than or equal to the second preset threshold, it can be determined that the current network environment is a normal network environment. Among them, the above-mentioned second preset threshold is greater than or equal to the above-mentioned first preset threshold. It should be noted that the first preset threshold and the second preset threshold can be set based on experience, and their specific values ​​are not limited here. By setting the first preset threshold and the second preset threshold, it is possible to quickly and conveniently determine whether the current network environment is a weak network environment or a normal network environment.

[0032] Step 102: When the network environment is a weak network environment, display the offline product page.

[0033] In this embodiment, offline information may be pre-stored in the execution subject, and the offline information may include but is not limited to product information and payment method information. When the network environment is a weak network environment, an offline product page is generated based on the offline information. The offline product page is an offline page that includes the above product information and payment method information. When the current network environment is a weak network environment, the offline product page may be displayed.

[0034] It is understandable that in a weak network environment, conventional online product pages usually cannot be successfully displayed, and users usually need to frequently refresh the page to send page requests. In the embodiment of the present application, by storing offline product pages and displaying the offline product pages in a weak network environment, the user can save the process of frequently refreshing the page, thereby improving the convenience of user transactions.

[0035] In some optional implementations of this embodiment, the offline product page may include an offline membership activation page. The above-mentioned determining the current network environment when detecting that the user requests the product page includes: determining the current network environment when detecting that the user clicks on the membership activation entrance. As an example, see Figure 2 After the user clicks the "Open VIP Membership" button in a video application, the current network environment can be determined when the user requests a product page. If the current network environment is a weak network environment, an offline product page as shown in reference numeral 201 can be displayed. The page may include product information, such as the price of virtual products "annual card", "quarterly card", "monthly card" and other information. The page may also include payment method information, such as "pay through XXX", "pay through XXXXX" and other information.

[0036] In some optional implementations of this embodiment, when in a normal network environment, if it is detected that the user performs a target operation, an offline page update request can be sent to the server to update the product information and payment method information in the offline product page based on the offline page information returned by the server. Among them, the above-mentioned target operation includes at least one of the following: starting the target application, switching the above-mentioned target application to the background operation, and switching the above-mentioned target application to the foreground operation. The above-mentioned target application is the application to which the offline product page belongs. In practice, since there are usually updates to products and payment methods, such as price changes, additional payment methods, etc., therefore, when in a normal network environment, if it is detected that the user performs a target operation, an offline product page update request can be sent to the server to receive the offline page information returned by the server in response to the offline product page update request, and the offline page information includes the latest product information and payment method information, thereby realizing the update of the product information and payment method information in the offline product page. As a result, the offline product page can be synchronized with the content in the online product page, which improves the accuracy and real-time performance of the content in the product page.

[0037] Step 103: When it is detected that the user submits an order in the offline product page, the order information of the order is stored.

[0038] In this embodiment, the execution subject can detect the user's operation in the offline product page in real time. When it is detected that the user submits an order in the offline product page, the order information of the order can be stored. As an example, the offline product page can include an order submission button, and when it is detected that the user clicks the order submission button, the order information can be stored. Figure 2 , the offline product page 201 includes a "Confirm Agreement and Submit" button. When the user clicks this button, the order information can be stored. In practice, the order information can be stored in a local cache.

[0039] In this embodiment, the order information may include but is not limited to: user information, product information of the product purchased by the user, and payment method information. The user information may include but is not limited to at least one of the following: user identification, user address, user contact information, etc. The payment method information may be used to indicate the user's payment method. The product information may include but is not limited to the total amount of the product. In practice, the execution entity may set a cache area to store the order information in the cache area.

[0040] In some optional implementations of this embodiment, after detecting that the user submits an order in the offline product page, a delayed payment prompt message may also be displayed. The delayed payment prompt message may be used to prompt the user to make payment when the network environment is restored from the weak network environment to the normal network environment. The form and display method of the delayed payment prompt message are not limited. For example, it may be displayed in the form of an image or in the form of text. It may be displayed in a pop-up window or in a page.

[0041] As an example, see Figure 2 When the user clicks the "Confirm Agreement and Submit" button, a successful submission page as shown in reference number 202 may be displayed. The successful submission page may include a delayed payment prompt message "You can close the current page, and you will be notified to pay the order when the network is restored."

[0042] By displaying delayed payment information, users can be informed of the current order status, avoiding repeated orders due to the failure of the payment link to pop up, thereby improving user convenience.

[0043] Step 104, when the network environment is restored from a weak network environment to a normal network environment, an order request is sent to the server, so that the payment prompt information for the order is returned through the server.

[0044] In this embodiment, the execution subject can detect the network environment in real time or periodically. When the network environment is restored from a weak network environment to a normal network environment, the previously cached order information can be first extracted, and then an order request can be generated based on the order information, thereby sending an order request containing the order information to the server. As a result, when the user is in a weak network environment, there is no need to submit an order repeatedly due to a request timeout, which reduces the number of user operations and improves the convenience of transactions. The sending process of the above order request can be executed by the background without the user's perception, so as to reduce the impact on the user.

[0045] In this embodiment, after sending an order request to the server, the execution entity may receive payment prompt information for the order returned by the server. The payment prompt information includes a payment page link. In response to the order request, the server may first extract the order information in the order request. Then, the total amount and payment method of the order may be determined from the order information. Afterwards, the payment application may be determined based on the payment method. Finally, a link may be generated for jumping to the payment page of the payment application, and the payment page may include the total amount, which is the amount to be paid by the user.

[0046] The payment prompt information may be displayed in a pop-up window or other form. The payment page link may be displayed in a pattern, text, button or other form, which is not limited here. Figure 3 The payment prompt information can be displayed in a pop-up window on the page currently browsed by the user, and can be displayed in the form of a button (such as a "payment" button).

[0047] Step 105, when it is detected that the user clicks on the payment page link and completes the payment operation, the order completion page is displayed.

[0048] In this embodiment, the execution entity may detect the user operation in real time after displaying the payment prompt information, and display the order completion page when detecting that the user clicks the payment page link and completes the payment operation.

[0049] In some optional implementations of this embodiment, the execution subject may detect the user operation in real time after displaying the payment prompt information. When the user clicks the payment page link, the payment page may be displayed. Figure 3 When the user clicks the "pay" button, the page can be redirected to the payment page 301. When the user's payment operation in the payment page is detected, the order completion page can be displayed. Figure 3 When the user clicks the “Pay Now” button in the payment page 301 , the order completion page may be displayed, as shown in reference numeral 302 .

[0050] Since after the network environment is restored to a normal state, after sending an order request to the server, the payment prompt information containing the payment page link can be received from the server, the user can be actively guided to complete the payment process through the payment prompt information after the network environment is restored to a normal state. The user does not need to check for unfinished orders based on the network conditions, thereby improving the convenience of transactions.

[0051] In some optional implementations of this embodiment, when a user closes the payment prompt information, the order may be closed and the order information may be deleted, thereby facilitating the user to choose whether to perform subsequent payment operations.

[0052] The method provided by the above-mentioned embodiment of the present application determines the current network environment when detecting that the user requests the product page, and displays the offline product page when the network environment is a weak network environment, so that the user can browse the product information without refreshing the page when in a weak network environment. When it is detected that the user submits an order in the offline product page, the order information of the order is stored, and when the network environment is restored from a weak network environment to a normal network environment, an order request containing the order information is sent, so that the user does not need to submit the order repeatedly due to a request timeout when in a weak network environment. After receiving the payment prompt information returned by the server for the order, if it is detected that the user clicks the payment page link in the payment prompt information and performs the payment operation, the order completion page is displayed, and the user can be actively guided to complete the payment process after the network environment is restored to a normal network environment, without the user having to query the unfinished order according to the network situation. As a result, in a weak network environment, the user does not need to refresh the page and only submits the order once to complete the transaction, and the user does not need to query the unfinished order according to the network situation, thereby improving the convenience of the transaction.

[0053] Further references Figure 4 , which shows a process 400 of an embodiment of an order processing method according to the present application. The order processing method can be applied to a service end, such as a physical server, a cloud server, etc.

[0054] The order processing method comprises the following steps:

[0055] Step 401, receiving an order request sent by a terminal.

[0056] In this embodiment, the server may receive an order request sent by the terminal. The order request may include order information of the order submitted by the user in the offline product page. The offline product page is displayed when the terminal detects that the user requests the product page and the current network environment is a weak network environment. The order request may be sent when the network environment is restored from a weak network environment to a normal network environment. The offline product page includes product information and payment method information.

[0057] It should be noted that the above-mentioned operations such as sending order requests, displaying offline product pages, and detecting network environments can be found in Figure 1 The corresponding embodiments will not be described in detail here.

[0058] Step 402, in response to the order request, a payment page link is generated based on the above order information.

[0059] In this embodiment, in response to the order request, the server may first extract the order information in the order request. The order information may include, but is not limited to: user information, product information of the product purchased by the user, and payment method information. The user information may include, but is not limited to, at least one of the following: user identification, user address, user contact information, etc. The payment method information may be used to indicate the payment method. The product information may include, but is not limited to, the total amount of the product.

[0060] Then, the total amount and payment method of the order can be determined from the order information. Then, the payment application can be determined based on the payment method. Finally, a link can be generated to jump to the payment page of the payment application, and the payment page includes the total amount, which is the amount to be paid by the user.

[0061] Step 403: Send payment prompt information for the order to the terminal, where the payment prompt information includes the payment page link.

[0062] In this embodiment, the payment prompt information can be displayed in the form of a pop-up window or the like. The payment page link can be displayed in the form of a pattern, text, button, etc., which is not limited here. Figure 3 The payment prompt information can be displayed in a pop-up window on the page currently browsed by the user, and can be displayed in the form of a button (such as a "payment" button).

[0063] Furthermore, when the terminal detects that the user clicks the payment page link and completes the payment operation, the terminal can display the order completion page. After receiving the payment request, the server can process the payment request, for example, to determine whether the user has successfully paid. If the payment is successful, the terminal can display the payment completion page.

[0064] The method provided by the above embodiment of the present application can guide the user to complete the payment of the order by returning payment prompt information including a payment page link to the terminal in response to the order request sent by the terminal through the service end after the network environment in which the terminal is located is restored to a normal network environment. As a result, the user can be actively guided to complete the payment process through the payment prompt information after the network environment is restored to a normal network environment, without the need for the user to query the unfinished order according to the network situation, thereby improving the convenience of the transaction.

[0065] See also Figure 5 , which shows a schematic diagram of the interaction process between the terminal and the server in the embodiment of the present application. The specific interaction process is as follows:

[0066] Step 501: When the terminal detects that a user requests a product page, the terminal determines the current network environment.

[0067] Step 502: When the network environment of the terminal is a weak network environment, the terminal displays an offline product page, which includes product information and payment method information.

[0068] Step 503: When the terminal detects that the user submits an order in the offline product page, the terminal stores the order information.

[0069] Step 504: When the network environment recovers from a weak network environment to a normal network environment, the terminal sends an order request to the server, and the order request includes order information.

[0070] Step 505: The server generates a payment page link based on the order information.

[0071] Step 506: The server sends payment prompt information for the order to the terminal, and the payment prompt information includes a payment page link.

[0072] Step 507: When the terminal detects that the user clicks the payment page link and completes the payment operation, the order completion page is displayed.

[0073] In the above interaction process, when the terminal detects that the user requests the product page, it determines the current network environment. When the network environment is a weak network environment, it displays the offline product page, so that the user can browse the product information without refreshing the page in a weak network environment.

[0074] When the terminal detects that the user submits an order on the offline product page, it stores the order information of the order. When the network environment recovers from a weak network environment to a normal network environment, it sends an order request containing the order information. This allows the user to submit the order again without having to resubmit the order due to a request timeout when in a weak network environment.

[0075] After the network environment of the terminal is restored to a normal network environment, the server responds to the order request sent by the terminal and returns payment prompt information containing a link to the payment page to the terminal, which can guide the user to complete the payment of the order. As a result, after the network environment is restored to a normal network environment, the user can be actively guided to complete the payment process through the payment prompt information, without the need for the user to check the unfinished orders according to the network conditions, thereby improving the convenience of transactions.

[0076] Therefore, in a weak network environment, users do not need to refresh the page and can complete the transaction by submitting the order only once, and users do not need to check unfinished orders based on network conditions, which improves the convenience of transactions.

[0077] Further references Figure 6 As an implementation of the methods shown in the above figures, the present application provides an embodiment of an order processing device, which is similar to Figure 1 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.

[0078] like Figure 6 As shown, the order processing device 600 of this embodiment includes: a determination unit 601, which is used to determine the current network environment when it is detected that a user requests a product page; a first display unit 602, which is used to display an offline product page when the network environment is a weak network environment, and the offline product page includes product information and payment method information; a storage unit 603, which is used to store the order information of the order when it is detected that a user submits an order in the offline product page; a first sending unit 604, which is used to send an order request to the server when the network environment is restored from the weak network environment to the normal network environment, so as to return payment prompt information for the order through the server, the order request includes the order information, and the payment prompt information includes a payment page link; a second sending unit 605, which is used to display the order completion page when it is detected that the user clicks the payment page link and completes the payment operation.

[0079] In some optional implementations of this embodiment, the second sending unit 605 is further used to display the payment page when a click operation of the user on the payment page link is detected; and to display the order completion page when a payment operation of the user on the payment page is detected.

[0080] In some optional implementations of this embodiment, the apparatus further includes a cancelling unit, which is configured to close the order and delete the order information upon detecting a user's closing operation on the payment prompt information.

[0081] In some optional implementations of this embodiment, the above-mentioned device also includes a second display unit, which is used to display delayed payment prompt information, and the above-mentioned delayed payment prompt information is used to prompt the user to make payment when the above-mentioned network environment is restored from the above-mentioned weak network environment to the normal network environment.

[0082] In some optional implementations of this embodiment, the above-mentioned device also includes an updating unit, which is used to send an offline page update request to the server when it is in the normal network environment, if it is detected that the user performs a target operation, so as to update the product information and payment method information in the offline product page based on the offline page information returned by the server; wherein the target operation includes at least one of the following: starting a target application, switching the target application to background operation, and switching the target application to foreground operation; the target application is the application to which the offline product page belongs.

[0083] In some optional implementations of this embodiment, the above-mentioned determination unit 601 is further used to determine the current network signal strength; if the network signal strength is less than the first preset threshold, the current network environment is determined to be a weak network environment; if the network signal strength is greater than or equal to the second preset threshold, the current network environment is determined to be a normal network environment, and the above-mentioned second preset threshold is greater than or equal to the above-mentioned first preset threshold.

[0084] In some optional implementations of this embodiment, the above-mentioned determination unit 601 is further used to determine the current network environment when detecting a click operation of the user on the member activation entrance.

[0085] The device provided by the above-mentioned embodiment of the present application determines the current network environment when detecting that the user requests the product page, and displays the offline product page when the network environment is a weak network environment, so that the user can browse the product information without refreshing the page when in a weak network environment. When it is detected that the user submits an order in the offline product page, the order information of the order is stored, and when the network environment is restored from a weak network environment to a normal network environment, an order request containing the order information is sent, so that the user does not need to submit the order repeatedly due to a request timeout when in a weak network environment. After receiving the payment prompt information returned by the server for the order, if it is detected that the user clicks the payment page link in the payment prompt information and performs the payment operation, the order completion page is displayed, and the user can be actively guided to complete the payment process after the network environment is restored to a normal network environment, without the user having to query the unfinished order according to the network situation. As a result, in a weak network environment, the user does not need to refresh the page and only submits the order once to complete the transaction, and the user does not need to query the unfinished order according to the network situation, thereby improving the convenience of the transaction.

[0086] Further references Figure 7As an implementation of the methods shown in the above figures, the present application provides an embodiment of an order processing device, which is similar to Figure 4 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.

[0087] like Figure 7 As shown, the order processing device 700 of this embodiment includes: a receiving unit 701, which is used to receive an order request sent by a terminal, the order request includes order information of an order submitted by a user in an offline product page, the offline product page is displayed when the terminal detects that a user requests a product page and the current network environment is a weak network environment, the order request is sent when the network environment is restored from the weak network environment to the normal network environment, and the offline product page includes product information and payment method information; a generating unit 702, which is used to generate a payment page link based on the order information in response to the order request; and a sending unit 703, which is used to send payment prompt information for the order to the terminal, and the payment prompt information includes the payment page link.

[0088] The device provided by the above embodiment of the present application can guide the user to complete the payment of the order by returning payment prompt information including a payment page link to the terminal in response to the order request sent by the terminal through the server after the network environment in which the terminal is located is restored to a normal network environment. As a result, the user can be actively guided to complete the payment process through the payment prompt information after the network environment is restored to a normal network environment, without the need for the user to query the unfinished order according to the network situation, thereby improving the convenience of the transaction.

[0089] Reference below Figure 8 , which shows a schematic structural diagram of an electronic device for implementing some embodiments of the present application. Figure 8 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0090] like Figure 8 As shown, the electronic device 800 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage device 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the electronic device 800 are also stored. The processing device 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0091] Typically, the following devices may be connected to the I / O interface 805: input devices 806 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 807 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 808 including, for example, a disk, a hard disk, etc.; and communication devices 809. The communication device 809 may allow the electronic device 800 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 8 The electronic device 800 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 8 Each block shown in the figure may represent one device, or may represent multiple devices as required.

[0092] In particular, according to some embodiments of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, some embodiments of the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In some such embodiments, the computer program can be downloaded and installed from the network through the communication device 809, or installed from the storage device 808, or installed from the ROM 802. When the computer program is executed by the processing device 801, the above-mentioned functions defined in the method of some embodiments of the present application are executed.

[0093] It should be noted that the computer-readable medium described in some embodiments of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In some embodiments of the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In some embodiments of the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0094] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0095] The computer-readable medium may be included in the electronic device; or it may exist independently without being installed in the electronic device. The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: determines the current network environment when detecting that a user requests a product page; displays an offline product page when the network environment is a weak network environment; stores the order information of the order when detecting that a user submits an order in the offline product page; sends an order request to the server when the network environment recovers from a weak network environment to a normal network environment, and the order request includes the order information.

[0096] Computer program code for performing the operations of some embodiments of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++; and also conventional procedural programming languages ​​such as "C" language or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, or may be connected to an external computer (e.g., through the Internet using an Internet service provider), including a local area network (LAN) or a wide area network (WAN).

[0097] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0098] The units described in some embodiments of the present application may be implemented by software or hardware. The units described may also be set in a processor, for example, it may be described as: a processor includes a first determination unit, a second determination unit, a selection unit, and a third determination unit. The names of these units do not, in some cases, constitute limitations on the units themselves.

[0099] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0100] The above description is only some preferred embodiments of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present application is not limited to the technical solutions formed by the specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above invention concept. For example, the above features are replaced with (but not limited to) the technical features with similar functions disclosed in the embodiments of the present application to form a technical solution.

Claims

1. An order processing method, characterized in that: The method comprises: When detecting that a user requests a product page, determining the current network environment; When the network environment is a weak network environment, displaying an offline product page, the offline product page including product information and payment method information; When detecting that a user submits an order in the offline product page, storing order information of the order; When the network environment is restored from the weak network environment to the normal network environment, sending an order request to the server, so that the server returns payment prompt information for the order, wherein the order request includes the order information, and the payment prompt information includes a payment page link; When it is detected that the user clicks on the payment page link and completes the payment operation, the order completion page is displayed.

2. The method according to claim 1, characterized in that When it is detected that the user clicks the payment page link and completes the payment operation, the order completion page is displayed, including: When detecting a click operation of the user on the payment page link, displaying the payment page; When a payment operation of the user in the payment page is detected, an order completion page is displayed.

3. The method according to claim 2, characterized in that After the payment prompt information for the order is returned by the server, the method further includes: When a closing operation of the user on the payment prompt information is detected, the order is closed and the order information is deleted.

4. The method according to claim 1, characterized in that: After detecting that the user submits an order on the offline product page, the method further includes: Display delayed payment prompt information, wherein the delayed payment prompt information is used to prompt the user to make payment when the network environment recovers from the weak network environment to the normal network environment.

5. The method according to claim 1, characterized in that The method further comprises: When in the normal network environment, if it is detected that the user performs the target operation, an offline page update request is sent to the server to update the product information and payment method information in the offline product page based on the offline page information returned by the server; The target operation includes at least one of the following: starting a target application, switching the target application to background operation, switching the target application to foreground operation; the target application is the application to which the offline product page belongs.

6. The method according to claim 1, characterized in that Determining the current network environment includes: Determine the current network signal strength; If the network signal strength is less than the first preset threshold, determining that the current network environment is a weak network environment; If the network signal strength is greater than or equal to a second preset threshold, it is determined that the current network environment is a normal network environment, and the second preset threshold is greater than or equal to the first preset threshold.

7. The method according to any one of claims 1 to 6, characterized in that: The offline product page includes an offline membership activation page; when detecting that a user requests a product page, determining the current network environment includes: When a click operation of a user on a member activation portal is detected, the current network environment is determined.

8. An order processing method, characterized in that: The method comprises: Receiving an order request sent by a terminal, the order request including order information of an order submitted by a user in an offline product page, the offline product page being displayed when the terminal detects that the user has requested a product page and the current network environment is a weak network environment, the order request being sent when the network environment is restored from the weak network environment to a normal network environment, the offline product page including product information and payment method information; In response to the order request, generating a payment page link based on the order information; Sending payment prompt information for the order to the terminal, wherein the payment prompt information includes the payment page link.

9. An order processing device, characterized in that: The device comprises: A determination unit, configured to determine a current network environment when detecting that a user requests a product page; A first display unit, configured to display an offline commodity page when the network environment is a weak network environment, wherein the offline commodity page includes commodity information and payment method information; A storage unit, configured to store order information of the order when detecting that a user submits an order in the offline product page; A first sending unit, configured to send an order request to a server when the network environment is restored from the weak network environment to the normal network environment, so that the server returns payment prompt information for the order, wherein the order request includes the order information, and the payment prompt information includes a payment page link; The second sending unit is used to display the order completion page when it is detected that the user clicks the payment page link and completes the payment operation.

10. An order processing device, characterized in that: The device comprises: a receiving unit, configured to receive an order request sent by a terminal, wherein the order request includes order information of an order submitted by a user in an offline product page, wherein the offline product page is displayed when the terminal detects that the user requests a product page and the current network environment is a weak network environment, and wherein the order request is sent when the network environment is restored from the weak network environment to a normal network environment, and wherein the offline product page includes product information and payment method information; A generating unit, configured to generate a payment page link in response to the order request and based on the order information; A sending unit is used to send payment prompt information for the order to the terminal, wherein the payment prompt information includes the payment page link.

11. An electronic device, characterized in that: include: one or more processors; a storage device having one or more programs stored thereon, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 8.

12. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.