A combined payment method, device, equipment and storage medium
By generating consultation cards and using asynchronous processing and merged payment routing decisions, the complex problem of merged payment for electronic prescription recommended products is solved, and an efficient merged payment process is achieved and user experience is improved.
Patent Information
- Application Number
- CN202210440236.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-25
- Publication Date
- 2025-08-26
- Estimated Expiration
- 2042-04-25
AI Technical Summary
In the Internet medical treatment scenario, the merged payment process of electronic prescription recommended products issued by doctors is complex, which affects the fluency of jumping on the front-end interface and reduces the efficiency of merged payment.
By receiving consultation requests from the user client, a consultation card is generated, and an asynchronous processing thread is used to preload electronic prescriptions and recommended product information, matching store information is obtained, and a merge payment order page is generated based on the merge payment routing decision, which supports the synchronous call instructions of the user client for merge payment.
It improves the efficiency of merged payment, simplifies the payment process, and improves the user's purchasing experience.
Smart Images

Figure CN114742555B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet technology, and in particular to a combined payment method, device, equipment and storage medium. Background Art
[0002] With the development of Internet technology, the Internet has been applied to various aspects of people's lives. For example, through the Internet, patients can see a doctor online. Patients upload their medical information to the medical platform and choose a designated doctor for consultation, which greatly saves people's time in going to the hospital.
[0003] However, in the scenario of Internet medical treatment, doctors usually issue corresponding electronic prescriptions based on the patient's condition, and also recommend corresponding products that are beneficial to the patient's recovery for the patient to purchase selectively. However, when making a combined payment for the products recommended in the electronic prescription issued by the doctor, complex data processing is usually required to obtain and display the combined payment page, which affects the smoothness of the front-end interface jump and reduces the efficiency of the combined payment. Summary of the Invention
[0004] The present invention provides a combined payment method, device, equipment and storage medium, the main purpose of which is to combine electronic prescriptions and ordinary commodities for payment to enhance the user's shopping experience.
[0005] A combined payment method includes: receiving a consultation request sent by a user client, and sending the consultation request to a doctor client;
[0006] Generating a consultation card based on the electronic prescription and recommended product information sent by the doctor client, and sending the consultation card to the user client, wherein the electronic prescription and recommended product information are generated by the doctor client based on the consultation request;
[0007] receiving a synchronous call instruction for a designated interface from the user client, obtaining medical consultation parameters matched with the medical consultation card through the designated interface according to the synchronous call instruction, generating a combined payment order page according to the medical consultation parameters based on a combined payment routing decision corresponding to the designated interface, and sending the combined payment order page to the user client;
[0008] A payment request from the user client for the combined payment order page is received, and a combined payment is made for the prescription drugs and recommended commodities in the combined payment order page according to the payment request.
[0009] In one embodiment, receiving a consultation request sent by a user client and sending the consultation request to a doctor client includes:
[0010] receiving a medical consultation request sent by the user client, wherein the medical consultation request includes a description of the health condition and a medical treatment report;
[0011] Determining a target doctor that matches the consultation request based on the health condition description and the diagnosis and treatment report;
[0012] The consultation request is sent to the doctor client of the target doctor.
[0013] In one embodiment, the medical consultation card includes a prescription card and a product card;
[0014] Generating a consultation card based on the electronic prescription and recommended product information sent by the doctor client includes:
[0015] receiving an electronic prescription and recommended product information generated by the doctor client according to the consultation request, wherein the electronic prescription includes prescription drugs;
[0016] The electronic prescription and recommended product information are asynchronously preloaded within a specified time range to obtain the prescription card, the store corresponding to the prescription card and the prescription drug.
[0017] In one embodiment, the asynchronous preloading of the electronic prescription and recommended product information within a specified time range to obtain the prescription card, the store corresponding to the prescription card and the prescription drug, includes:
[0018] Reviewing the electronic prescription through a first asynchronous processing thread within a specified time range, generating a prescription card based on the electronic prescription and generating a product card based on the recommended product after determining that the review is passed;
[0019] Within the specified time range, the electronic prescription is identified and the prescription drugs are obtained through a second asynchronous processing thread, the user's target address is obtained and a target store selling the prescription drugs within a specified distance range of the target address is queried, and the target store is cached locally.
[0020] In one embodiment, the medical consultation parameters include the medical consultation number and the prescription number.
[0021] The step of obtaining the medical consultation parameters matched with the medical consultation card through the designated interface according to the synchronous call instruction, and generating a combined payment order page according to the medical consultation parameters based on the combined payment routing decision corresponding to the designated interface, includes:
[0022] Obtaining the medical consultation number and prescription number matched with the prescription card through the designated interface according to the synchronous call instruction, wherein the synchronous call instruction is generated by the user client according to the user's triggering operation on the prescription card;
[0023] Based on the combined payment routing decision corresponding to the designated interface, a query is performed according to the medical consultation number, and if it is determined that the query result meets the combined payment preset conditions, a combined payment intermediate page is generated, which includes the recommended products and the prescribed drugs in the electronic prescription;
[0024] receiving a selection instruction from the user client for the merged intermediate page, and generating the merged payment order page according to the selection instruction, wherein the merged payment order page includes user-specified prescription drugs, user-specified recommended products, and a payment port;
[0025] Among them, the preset conditions for combined payment include that the medical consultation number is associated with the electronic prescription and recommended product information at the same time, the prescription drugs in the electronic prescription are Western medicines, the order status of the electronic prescription is unpaid, and the local cache has a matching target store.
[0026] In one embodiment, the method further comprises:
[0027] Based on the combined payment routing decision corresponding to the designated interface, a query is performed according to the medical consultation number, and if it is determined that the query result does not meet the combined payment preset conditions, an electronic prescription is generated according to the prescription number, and the electronic prescription contains the prescribed drugs in the electronic prescription;
[0028] Receive a selection instruction from the user client for the electronic prescription, and generate a medication order details page according to the selection instruction, wherein the medication order page includes the prescription drugs and payment port specified by the user.
[0029] In one embodiment, the medical consultation parameter includes a medical consultation number.
[0030] The step of obtaining the medical consultation parameters matched with the medical consultation card through the designated interface according to the synchronous call instruction, and generating a combined payment order page according to the medical consultation parameters based on the combined payment routing decision corresponding to the designated interface, includes:
[0031] Obtaining the medical consultation order number matched with the product card through the designated interface according to the synchronous call instruction, wherein the synchronous call instruction is generated by the user client according to the user's triggering operation on the product card;
[0032] Based on the combined payment routing decision corresponding to the designated interface, a query is performed according to the medical consultation number, and if it is determined that the query result meets the combined payment preset conditions, a combined payment intermediate page is generated, which includes the recommended products and the prescription tablets in the electronic prescription;
[0033] Receive the user client's selection instruction for the merged intermediate page, and generate the merged payment order page according to the selection instruction, wherein the merged payment order page includes the user-specified prescription drugs, the user-specified recommended products and the payment port.
[0034] In one embodiment, the method further comprises:
[0035] Based on the combined payment routing decision corresponding to the designated interface, a query is performed according to the medical consultation number, and if it is determined that the query result does not meet the combined payment preset conditions, a doctor's recommendation sheet is generated, and the doctor's recommendation sheet includes the recommended product;
[0036] Receive the user client's selection instruction for the doctor's recommendation form, and generate a recommended product order page according to the selection instruction, wherein the recommended product order page includes the recommended product and payment port specified by the user.
[0037] A payment consolidation device includes: a consultation request transmission module for receiving a consultation request sent by a user client and sending the consultation request to a doctor client;
[0038] a consultation card generating module, configured to generate a consultation card based on the electronic prescription and recommended product information sent by the doctor client, and send the consultation card to the user client, wherein the electronic prescription and recommended product information are generated by the doctor client based on the consultation request;
[0039] a combined payment order page generation module, configured to receive a synchronous call instruction from the user client for a designated interface, obtain medical consultation parameters matched to the medical consultation card through the designated interface according to the synchronous call instruction, generate a combined payment order page according to the medical consultation parameters based on a combined payment routing decision corresponding to the designated interface, and send the combined payment order page to the user client;
[0040] The combined payment module is used to receive the payment request of the user client for the combined payment order page, and to make a combined payment for the prescription drugs and recommended products in the combined payment order page according to the payment request.
[0041] A computer device includes a memory and a processor. The memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the processor executes the steps of the above-mentioned combined payment method.
[0042] A storage medium storing computer-readable instructions, which, when executed by one or more processors, causes the one or more processors to execute the steps of the above-mentioned combined payment method.
[0043] This application supports information interaction between user clients and doctor clients through the server, and based on the synchronous call instructions of the user client, directly generates a combined payment order page based on the consultation parameters based on the combined payment routing decision, thereby improving the efficiency of combined payment. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 is a block diagram of the internal structure of a computer device in one embodiment;
[0045] Figure 2 A flowchart of a combined payment method in one embodiment;
[0046] Figure 3 A schematic diagram of an application scenario of a combined payment method in one embodiment;
[0047] Figure 4 A flowchart of a combined payment method in one embodiment;
[0048] Figure 5 The figure is a structural block diagram of a combined payment device in one embodiment. DETAILED DESCRIPTION
[0049] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0050] Figure 1 FIG. 1 is a schematic diagram of the internal structure of a computer device in one embodiment. Figure 1 As shown, the computer device includes a processor, a non-volatile storage medium, a memory and a network interface connected via a system bus. The non-volatile storage medium of the computer device stores an operating system, a database and computer-readable instructions. The database may store medical consultation cards and target pharmacies, etc. When the computer-readable instructions are executed by the processor, the processor may implement a credit approval method based on a decision engine. The processor of the computer device is used to provide computing and control capabilities to support the operation of the entire computer device. The memory of the computer device may store computer-readable instructions. When the computer-readable instructions are executed by the processor, the processor may implement a credit approval method based on a decision engine. The network interface of the computer device is used to connect and communicate with a terminal. Those skilled in the art will understand that Figure 1The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0051] like Figure 2 As shown, in one embodiment, a combined payment method is proposed, which can be applied to the above-mentioned computer device and can specifically include the following steps:
[0052] Step S101: receiving a consultation request sent by a user client, and sending the consultation request to a doctor client.
[0053] In an embodiment of the present application, a consultation request sent by a user client is received, and the consultation request is sent to a doctor client, including: receiving a consultation request sent by a user client, wherein the consultation request includes a health status description and a medical report; determining a target doctor that matches the consultation request based on the health status description and the medical report; and sending the consultation request to the doctor client of the target doctor.
[0054] Among them, such as Figure 3 As shown is a schematic diagram of the application scenario of combined payment in this embodiment. The user who is seeking medical treatment can send a consultation request to the server through a handheld user client, and the consultation request can specifically include the health status description entered by the user on the user client and the uploaded medical report. For example, the health status description can specifically include relevant information such as the onset time, physical feeling and duration of the onset, and the medical report can specifically be the relevant B-ultrasound and test reports taken by the user in the hospital during the previous medical treatment. The specific form of the medical report is not limited in this embodiment. As long as the information is related to the disease that the user is currently seeking medical treatment and is helpful for the doctor to make a diagnosis, it is within the scope of protection of this application.
[0055] Specifically, since doctors who conduct online diagnosis need to register in advance to be qualified for online diagnosis, and they need to fill in basic information when registering, such as department, title and type of main disease, the server can determine the matching target doctor after obtaining the health status and medical report sent by the user client. For example, if the health status is mainly about the description of the liver, and the medical report is also an ultrasound of the liver, then doctors who treat liver diseases will be screened out from the doctors registered on the platform, and the screened doctors will be used as target doctors. Of course, when sending a consultation request, the user can also directly contact the doctor and use the designated doctor as the target doctor. The specific method of determining the target doctor is not limited in this embodiment. When the target doctor has been determined, the consultation request will be sent to the doctor client corresponding to the target doctor.
[0056] Step S102: Generate a medical consultation card based on the electronic prescription and recommended product information sent by the doctor client, and send the medical consultation card to the user client.
[0057] In an embodiment of the present application, a consultation card is generated based on the electronic prescription and recommended product information sent by the doctor client, including: receiving the electronic prescription and recommended product information generated by the doctor client based on the consultation request, wherein the electronic prescription includes prescription drugs; asynchronously preloading the electronic prescription and recommended product information within a specified time range, and obtaining the prescription card, the store corresponding to the prescription card and the prescription drugs.
[0058] In an embodiment of the present application, electronic prescriptions and recommended product information are asynchronously preloaded within a specified time range to obtain prescription cards, prescription cards, and stores corresponding to prescription drugs, including: reviewing the electronic prescription through a first asynchronous processing thread within a specified time range, generating a prescription card based on the electronic prescription after determining that the review is passed, and generating a product card based on the recommended product; identifying the electronic prescription and obtaining prescription drugs through a second asynchronous processing thread within a specified time range, obtaining the user's target address and querying the target store that sells prescription drugs within a specified distance range of the target address, and caching the target store locally.
[0059] Specifically, in this embodiment, the target doctor will diagnose the user based on the consultation request through the doctor client, and issue an electronic prescription and recommend products based on the diagnosis results. Among them, the electronic prescription is a targeted prescription drug issued by the doctor based on the user's condition, and the recommended product is a product recommended by the doctor based on the user's condition that is conducive to rapid recovery, such as health products, rehabilitation training machines, etc. The specific type of recommended products is not limited in this embodiment, so the electronic prescription and recommended product information are generated by the doctor client based on the consultation request.
[0060] It is worth mentioning that after the server obtains the electronic prescription and recommended product information sent by the doctor client, it will review the electronic prescription through the first asynchronous processing thread within a specified time range, such as 10 seconds to 30 seconds. Specifically, it will review whether the prescription drugs prescribed by the doctor in the electronic prescription are compliant. The specific way to judge compliance can be to match the prescription drugs with the drug database. All the drugs pre-stored in the drug database are compliant. If the match is successful, it means that the prescription drugs prescribed by the doctor are compliant, so the review is passed. Otherwise, the review is not passed. And after confirming that the review is passed, a prescription card will be generated according to the electronic prescription, and the prescription card will contain the link path of the consultation number and the prescription number. At the same time, a product card will be generated according to the recommended product, and the product card will contain the link path of the consultation number. The generated prescription card and product card will be sent to the user client.
[0061] Since it typically takes time to review an electronic prescription issued by a doctor, and the user can only view it through the user client after the review is passed, the server utilizes this time difference to perform asynchronous preloading via a second asynchronous processing thread. This means that while reviewing the electronic prescription, the server also identifies the electronic prescription and obtains the prescribed medication. The server also obtains the user's target address. The target address can be the default address entered by the user when registering through the client, or it can be obtained in real time by the user client using a positioning function and sent to the server. This embodiment does not limit the specific method for obtaining the target address. Once the prescription medication and the user's target address have been determined, a query is performed to find target stores that sell the prescribed medication within a specified distance from the destination address. For example, if the query determines that there are two stores selling the prescribed medication within a 1-kilometer radius of the user's target address, namely Pharmacy 1 and Pharmacy 2, Pharmacy 1 and Pharmacy 2 are selected as target stores, and the obtained target stores are cached locally. Furthermore, while caching the target stores, the association between the target stores and the prescription medication is also stored. In this embodiment, the first asynchronous processing thread is used for review and the second asynchronous processing thread is used for preloading of the target store, thereby further improving the routing efficiency of the combined payment.
[0062] Step S103: Receive a synchronous call instruction from the user client for the designated interface, obtain the medical consultation parameters matched with the medical consultation card through the designated interface according to the synchronous call instruction, generate a combined payment order page based on the combined payment routing decision corresponding to the designated interface and the medical consultation parameters, and send the combined payment order page to the user client.
[0063] In an embodiment of the present application, according to a synchronous call instruction, the medical consultation parameters matched by the medical consultation card are obtained through a designated interface, and a merged payment order page is generated according to the medical consultation parameters based on the merged payment routing decision corresponding to the designated interface, including: according to the synchronous call instruction, the medical consultation number and prescription number matched by the prescription card are obtained through a designated interface, wherein the synchronous call instruction is generated by the user client according to the user's trigger operation on the prescription card; based on the merged payment routing decision corresponding to the designated interface, a query is performed according to the medical consultation number, and a merged payment intermediate page is generated to determine that the query result meets the merged payment preset conditions, and the merged payment intermediate page contains recommended products and prescription drugs in the electronic prescription; the user client's selection instruction for the merged intermediate page is received, and a merged payment order page is generated according to the selection instruction, wherein the merged payment order page contains prescription drugs, user-specified recommended products and payment port; wherein the merged payment preset conditions include that the medical consultation number is simultaneously associated with the electronic prescription and recommended product information, the prescription drugs in the electronic prescription are western medicines, the order status of the electronic prescription is unpaid, and a matching target store is cached locally.
[0064] Specifically, in this embodiment, users can make a combined payment for the electronic prescription issued by the doctor and the recommended product information by clicking on the consultation card. Since the consultation card includes two types: prescription cards and product cards, when the type of consultation card clicked by the user is different, the principle of combined payment adopted is also obviously different.
[0065] In one specific implementation, when a user clicks on a prescription card on a user client, the front-end page triggers a synchronous call instruction to the server. Based on the synchronous call instruction, the server-side consolidated payment routing decision interface is invoked. The server also retrieves the medical consultation number and prescription number based on the link path contained in the prescription card. For example, if the medical consultation number is a001 and the prescription number is z023, the medical consultation number and prescription number are sent to the server via the consolidated payment routing decision interface. Because different interfaces on the server correspond to different decision-making methods, the server contains user-related medical information for each medical consultation number or prescription number. Therefore, after obtaining the aforementioned medical consultation parameters, the server performs a query based on the consolidated payment routing decision corresponding to the interface. If the query result determines that the relevant medical information for medical consultation number a001 meets the following pre-set conditions for consolidated payment, for example, if the query determines that the relevant medical information for medical consultation number a001 meets the following pre-set conditions: the medical consultation number is associated with both an electronic prescription and recommended product information, the prescribed drug in the electronic prescription is a Western medicine, the electronic prescription order status is unpaid, and a target store matching the prescribed drug is locally cached, then a consolidated payment intermediate page is generated. The combined payment middle page includes all recommended products recommended by the doctor and all prescribed drugs in the electronic prescription. In addition, the combined payment middle page also includes the evaluation of the recommended products and prescription drugs displayed by other users on the platform for the user's reference. Of course, this embodiment is only an example and does not limit the specific content included in the combined payment middle page. As long as it is convenient to preview the prescription drugs and recommended products issued by the doctor, it is within the scope of protection of this application and is not limited in this embodiment.
[0066] Among them, the user side can select the recommended products and prescription drugs displayed on the combined payment page through the user client. The user client will send the user's selection instructions to the server, so the server will generate a combined payment order page according to the user's selection instructions. The combined payment order page includes the specified prescription drugs and specified recommended products that the user needs to purchase in the combined payment middle page. For example, the content displayed in the combined payment middle page includes prescription drug 1, recommended product 1 and recommended product 2. If the user needs to purchase prescription drug 1 and recommended product 1, he / she will select it in the combined payment middle page. The server will generate a combined payment order page according to the user's selection instructions. The combined payment order page only includes prescription drug 1 and recommended product 1, and also includes a payment port, so that the user can trigger the payment port to send a payment request for prescription drug 1 and recommended product 1 to the server.
[0067] In an embodiment of the present application, the method also includes: querying according to the medical consultation order number based on the merged payment routing decision corresponding to the specified interface, and determining that the query result does not meet the preset conditions for the merged payment, then generating an electronic prescription note according to the prescription order number, and the electronic prescription note contains the prescription drugs in the electronic prescription; receiving the user client's confirmation instruction for the electronic prescription note, and generating a drug collection order details page according to the confirmation instruction, wherein the drug collection order order page contains the prescription drugs in the electronic prescription and the payment port.
[0068] It should be noted that the above specifically describes the situation where the query results meet the pre-set conditions for consolidated payment. However, there are also situations where the query results do not meet the pre-set conditions for consolidated payment. For example, if the consolidated payment routing decision is based on the medical consultation number, and all other pre-set conditions are met, but the local cache does not contain the target store that matches the prescription drugs associated with the medical consultation number, the query result will be directly determined to not meet the pre-set conditions for consolidated payment. In this case, an electronic prescription will be generated based on the prescription number. The electronic prescription will contain the prescribed drugs in the electronic prescription and other users' reviews of the displayed prescription drugs on the platform for reference. However, unlike the consolidated payment intermediate page, the electronic prescription does not contain a port for users to select prescription drugs. Users can only confirm the purchase of all the displayed prescription drugs or confirm the purchase of none. Therefore, when the server receives the user client's confirmation instruction for the electronic prescription, it will generate a drug collection detail page based on the confirmation instruction. The drug collection detail page will contain the prescribed drugs in the electronic prescription and the payment port, so that the user can trigger the payment port to send a payment request for the prescription drugs to the server. Therefore, in this case, only payment for the electronic prescription is supported.
[0069] In an embodiment of the present application, the medical parameters matching the medical consultation card are obtained through the designated interface according to the synchronous call instruction, and a merged payment order page is generated according to the medical consultation parameters based on the merged payment routing decision corresponding to the designated interface, including: obtaining the medical consultation order number matching the product card through the designated interface according to the synchronous call instruction, wherein the synchronous call instruction is generated by the user client according to the user's trigger operation on the product card; querying according to the medical consultation order number based on the merged payment routing decision corresponding to the designated interface, and generating a merged payment intermediate page to determine that the query result meets the preset conditions for the merged payment, and the merged payment intermediate page includes recommended products and prescription tablets in the electronic prescription; receiving the user client's selection instruction for the merged intermediate page, and generating a merged payment order page according to the selection instruction, wherein the merged payment order page includes prescription drugs, user-specified recommended products and a payment port.
[0070] In an embodiment of the present application, the method also includes: querying according to the medical consultation order number based on the merged payment routing decision corresponding to the specified interface, and generating a doctor's recommendation form if it is determined that the query result does not meet the preset conditions for the merged payment, and the doctor's recommendation form includes recommended products; receiving the user client's selection instructions for the doctor's recommendation form, and generating a recommended product order page according to the selection instructions, wherein the recommended product order page includes the recommended products and payment port specified by the user.
[0071] In another specific implementation, when it is determined that the user clicks on the product card on the client, the front-end page will also be triggered to send a synchronous call instruction to the server, and the merged payment routing decision interface on the server side will be called according to the synchronous call instruction. At the same time, the medical consultation number is obtained according to the link path contained in the product card, and the medical consultation number is sent to the server through the merged payment routing decision interface. Since different interfaces in the server correspond to different decision-making methods, after the server obtains the medical consultation number, it will query according to the medical consultation number based on the merged payment routing decision corresponding to multiple interfaces. When it is determined that the query result meets the preset conditions for merged payment, the method of sending the merged payment order page to the user client is roughly the same as the above-mentioned method of sending the merged payment order page by clicking on the prescription card, so it will not be repeated in this embodiment.
[0072] It should be noted that when the query result does not meet the preset conditions for combined payment, in this case, since there is no prescription number, the combined payment routing decision will directly generate a doctor's recommendation form based on the consultation form number. The doctor's recommendation form includes all the recommended products recommended by the doctor and other users on the platform's evaluation of the recommended products for the user's reference. The user side can select the recommended products displayed in the doctor's recommendation form through the user client. The user client will send the user's selection instructions to the server, so the server will generate a recommended product order page based on the user's selection instructions. The recommended product order page includes the recommended products selected by the user and the payment port, so that the user can trigger the payment port and send a payment request for the selected recommended product to the server. In this case, only payment for recommended products is supported.
[0073] Step S104: receiving a payment request from the user client for the combined payment order page, and performing a combined payment for the prescription drugs and recommended products on the combined payment order page according to the payment request.
[0074] Among them, since the focus of this implementation is on the combined payment method for electronic prescriptions and recommended product information, the combined payment through the combined payment order page is mainly explained. When the payment request for the combined payment order page is received from the user client, the same order will be created in the order center for the prescription drugs and recommended products in the combined payment order page, and the created order will be paid. Since the same order contains both prescription drugs and recommended products, the combined payment of electronic products and recommended products is realized.
[0075] This application supports information interaction between user clients and doctor clients through the server, and directly generates a combined payment order page based on the combined payment routing decision and the consultation parameters according to the synchronous call instructions of the user client, thereby improving the efficiency of combined payment.
[0076] Figure 4 In one embodiment, based on the above embodiment, after the combined payment is made for the prescription drugs and recommended products on the combined payment order page according to the payment request, the method further includes: testing the combined payment result, specifically including the following steps:
[0077] Step S201: receiving a consultation request sent by a user client, and sending the consultation request to a doctor client.
[0078] In an embodiment of the present application, a consultation request sent by a user client is received, and the consultation request is sent to a doctor client, including: receiving a consultation request sent by a user client, wherein the consultation request includes a health status description and a medical report; determining a target doctor that matches the consultation request based on the health status description and the medical report; and sending the consultation request to the doctor client of the target doctor.
[0079] Step S202: Generate a medical consultation card based on the electronic prescription and recommended product information sent by the doctor client, and send the medical consultation card to the user client.
[0080] In an embodiment of the present application, a consultation card is generated based on the electronic prescription and recommended products sent by the doctor client, including: receiving the electronic prescription and recommended product information generated by the doctor client based on the consultation request, wherein the electronic prescription includes prescription drugs; asynchronously preloading the electronic prescription and recommended product information within a specified time range, and obtaining the prescription card, the store corresponding to the prescription card and the prescription drugs.
[0081] In an embodiment of the present application, electronic prescriptions and recommended product information are asynchronously preloaded within a specified time range to obtain prescription cards, prescription cards, and stores corresponding to prescription drugs, including: reviewing the electronic prescription through a first asynchronous processing thread within a specified time range, generating a prescription card based on the electronic prescription after determining that the review is passed, and generating a product card based on the recommended product; identifying the electronic prescription and obtaining prescription drugs through a second asynchronous processing thread within a specified time range, obtaining the user's target address and querying the target store that sells prescription drugs within a specified distance range of the target address, and caching the target store locally.
[0082] Step S203: Receive a synchronous call instruction from the user client for the designated interface, obtain the medical consultation parameters matched by the medical consultation card through the designated interface according to the synchronous call instruction, generate a combined payment order page based on the combined payment routing decision corresponding to the designated interface and the medical consultation parameters, and send the combined payment order page to the user client.
[0083] In an embodiment of the present application, according to a synchronous call instruction, the medical consultation parameters matched by the medical consultation card are obtained through a designated interface, and a merged payment order page is generated according to the medical consultation parameters based on the merged payment routing decision corresponding to the designated interface, including: according to the synchronous call instruction, the medical consultation number and prescription number matched by the prescription card are obtained through a designated interface, wherein the synchronous call instruction is generated by the user client according to the user's trigger operation on the prescription card; based on the merged payment routing decision corresponding to the designated interface, a query is performed according to the medical consultation number, and a merged payment intermediate page is generated to determine that the query result meets the merged payment preset conditions, and the merged payment intermediate page contains recommended products and prescription drugs in the electronic prescription; the user client's selection instruction for the merged intermediate page is received, and a merged payment order page is generated according to the selection instruction, wherein the merged payment order page contains prescription drugs, user-specified recommended products and payment port; wherein the merged payment preset conditions include that the medical consultation number is simultaneously associated with the electronic prescription and recommended product information, the prescription drugs in the electronic prescription are western medicines, the order status of the electronic prescription is unpaid, and a matching target store is cached locally.
[0084] In an embodiment of the present application, the medical parameters matching the medical consultation card are obtained through the designated interface according to the synchronous call instruction, and a merged payment order page is generated according to the medical consultation parameters based on the merged payment routing decision corresponding to the designated interface, including: obtaining the medical consultation order number matching the product card through the designated interface according to the synchronous call instruction, wherein the synchronous call instruction is generated by the user client according to the user's trigger operation on the product card; querying according to the medical consultation order number based on the merged payment routing decision corresponding to the designated interface, and generating a merged payment intermediate page to determine that the query result meets the preset conditions for the merged payment, and the merged payment intermediate page includes recommended products and prescription tablets in the electronic prescription; receiving the user client's selection instruction for the merged intermediate page, and generating a merged payment order page according to the selection instruction, wherein the merged payment order page includes prescription drugs, user-specified recommended products and a payment port.
[0085] Step S204: receiving a payment request from the user client for the combined payment order page, and performing a combined payment for the prescription drugs and recommended products on the combined payment order page according to the payment request.
[0086] Step S205: Check the combined payment result.
[0087] Specifically, in this embodiment, after a combined payment is made for the prescription drugs and recommended products on the combined payment order page, the server determines that the combined payment has failed by detecting the combined payment results. There are many situations in which failure may occur, such as the prescription drugs and recommended products on the combined payment order page do not form the same order in the order center, or although the same order is formed, payment cannot be made. The reasons for the above situations may be abnormal data processing in the order center, or the inability to pay due to the network terminal. At this time, a prompt will be given in time, for example, "Current transaction failed", to prompt the backend developers to promptly repair the equipment or network, thereby further improving the efficiency of the combined payment.
[0088] This application improves the efficiency of combined payment by supporting information exchange between the user client and the doctor client through the server. Based on the synchronous call instructions of the user client, the combined payment routing decision is made based on the consultation parameters, which directly generates the combined payment order page. By reviewing the combined payment results and prompting in the event of payment failure, the efficiency of combined payment can be further improved.
[0089] like Figure 5 As shown, in one embodiment, a combined payment device is provided, which can be integrated into the above-mentioned computer device, and specifically can include: a consultation request transmission module 510, a consultation card generation module 520, a combined payment order page generation module 530 and a combined payment module 540.
[0090] The consultation request transmission module 510 is used to receive the consultation request sent by the user client and send the consultation request to the doctor client;
[0091] A consultation card generation module 520 is configured to generate a consultation card based on the electronic prescription and recommended product information sent by the doctor client, and send the consultation card to the user client, wherein the electronic prescription and recommended product information are generated by the doctor client based on the consultation request;
[0092] The combined payment order page generation module 530 is configured to receive a synchronous call instruction from a user client for a specified interface, obtain the medical consultation parameters matched to the medical consultation card through the specified interface according to the synchronous call instruction, generate a combined payment order page based on the medical consultation parameters based on the combined payment routing decision corresponding to the specified interface, and send the combined payment order page to the user client;
[0093] The combined payment module 540 is used to receive a payment request from a user client for the combined payment order page, and to make a combined payment for the prescription drugs and recommended products in the combined payment order page according to the payment request.
[0094] In one embodiment, the medical consultation request transmission module is configured to receive a medical consultation request sent by a user client, wherein the medical consultation request includes a description of the health condition and a medical treatment report;
[0095] Determine the target doctor that matches the consultation request based on the health status description and diagnosis and treatment report;
[0096] Send the consultation request to the doctor client of the target doctor.
[0097] In one embodiment, the consultation card includes a prescription card and a product card; the consultation card generation module includes: an electronic prescription and recommended product information generation submodule, which is used to receive the electronic prescription and recommended product information generated by the doctor client according to the consultation request, wherein the electronic prescription includes prescription drugs;
[0098] The consultation card generation submodule is used to asynchronously preload electronic prescriptions and recommended product information within a specified time range, and obtain the prescription cards, the stores corresponding to the prescription cards and the prescription drugs.
[0099] In one embodiment, the medical consultation card generation submodule includes:
[0100] The first asynchronous processing sub-unit is configured to review the electronic prescription through the first asynchronous processing thread within a specified time range, and generate a prescription card based on the electronic prescription and a product card based on the recommended product after determining that the review is passed;
[0101] The second asynchronous processing sub-unit is used to identify the electronic prescription and obtain the prescription drugs through the second asynchronous processing thread within a specified time range, obtain the user's target address and query the target store that sells the prescription drugs within a specified distance range of the target address, and cache the target store locally.
[0102] In one embodiment, the medical consultation parameters include the medical consultation number and the prescription number, and the payment order page generation module is configured to obtain the medical consultation number and the prescription number that match the prescription card through a specified interface according to a synchronous call instruction, wherein the synchronous call instruction is generated by the user client according to a trigger operation of the prescription card by the user;
[0103] Based on the merged payment routing decision corresponding to the specified interface, a query is performed based on the medical consultation number. If the query result meets the preset merged payment conditions, a merged payment intermediate page is generated. The merged payment intermediate page contains recommended products and prescription drugs in the electronic prescription;
[0104] Receive a selection instruction from the user client for merging the intermediate pages, and generate a combined payment order page based on the selection instruction, wherein the combined payment order page includes prescription drugs, user-specified recommended products, and a payment port;
[0105] Among them, the preset conditions for combined payment include that the medical consultation number is associated with the electronic prescription and recommended product information at the same time, the prescription drugs in the electronic prescription are Western medicines, the order status of the electronic prescription is unpaid, and there is a matching target store in the local cache.
[0106] In one embodiment, the device further includes a prescription drug payment module configured to query the medical consultation order number based on the combined payment routing decision corresponding to the designated interface, and if the query result does not meet the combined payment preset conditions, generate an electronic prescription according to the prescription order number, the electronic prescription containing the prescription drugs in the electronic prescription;
[0107] Receive the user client's confirmation instruction for the electronic prescription, and generate a medicine collection order details page according to the confirmation instruction, wherein the medicine collection order page includes the prescription drugs in the electronic prescription and the payment port.
[0108] In one embodiment, the medical consultation parameter includes a medical consultation order number, and the combined payment order page generation module is further configured to obtain the medical consultation order number matching the product card through a designated interface according to a synchronous call instruction, wherein the synchronous call instruction is generated by the user client according to a triggering operation of the product card by the user;
[0109] Based on the merged payment routing decision corresponding to the specified interface, a query is performed based on the medical consultation number. If the query result meets the preset merged payment conditions, a merged payment intermediate page is generated. The merged payment intermediate page contains recommended products and prescription pills in the electronic prescription;
[0110] Receive a selection instruction from the user client for merging the intermediate page, and generate a combined payment order page according to the selection instruction, wherein the combined payment order page includes prescription drugs, recommended products specified by the user, and a payment port.
[0111] In one embodiment, the device further includes a recommended product payment module for querying according to the medical consultation number based on the combined payment routing decision corresponding to the designated interface, and generating a doctor's recommendation sheet if it is determined that the query result does not meet the combined payment preset conditions, and the doctor's recommendation sheet includes the recommended product;
[0112] Receive a selection instruction from the user client for the doctor's recommendation form, and generate a recommended product order page according to the selection instruction, wherein the recommended product order page includes the recommended products and payment port specified by the user.
[0113] Those skilled in the art will appreciate that all or part of the processes in the above-described method embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When executed, the program can include the processes in the above-described method embodiments. The aforementioned storage medium can be a non-volatile storage medium such as a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
[0114] The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0115] The above-described embodiments merely illustrate several implementations of the present invention, and while their descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art would be able to make numerous variations and improvements without departing from the spirit of the present invention, all of which fall within the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be determined by the appended claims.
Claims
1. A combined payment method, characterized in that: Methods include: Receive a consultation request sent by a user client, and send the consultation request to a doctor client; Generating a consultation card based on the electronic prescription and recommended product information sent by the doctor client, and sending the consultation card to the user client, wherein the electronic prescription and recommended product information are generated by the doctor client based on the consultation request; Receiving a synchronous call instruction for a designated interface from the user client, obtaining medical consultation parameters matching the medical consultation card through the designated interface according to the synchronous call instruction, generating a combined payment order page according to the medical consultation parameters based on a combined payment routing decision corresponding to the designated interface, and sending the combined payment order page to the user client, wherein the medical consultation parameters include a medical consultation number and a prescription number, or the medical consultation parameters include only the medical consultation number; receiving a payment request from the user client for the combined payment order page, and performing a combined payment for the prescription drugs and recommended products on the combined payment order page according to the payment request; The step of obtaining the medical consultation parameters matched with the medical consultation card through the designated interface according to the synchronous call instruction, and generating a combined payment order page according to the medical consultation parameters based on the combined payment routing decision corresponding to the designated interface, includes: Obtaining the medical inquiry parameters matched with the medical inquiry card through the designated interface according to the synchronous calling instruction, wherein the synchronous calling instruction is generated by the user client according to the user's triggering operation on the medical inquiry card; Based on the combined payment routing decision corresponding to the designated interface, a query is performed according to the medical consultation number, and if it is determined that the query result meets the combined payment preset conditions, a combined payment intermediate page is generated, which includes the recommended products and the prescription tablets in the electronic prescription; Receive the user client's selection instruction for the combined payment intermediate page, and generate the combined payment order page according to the selection instruction, wherein the combined payment order page includes prescription drugs, user-specified recommended products, and a payment port.
2. The method according to claim 1, characterized in that The receiving the consultation request sent by the user client and sending the consultation request to the doctor client includes: receiving a medical consultation request sent by the user client, wherein the medical consultation request includes a description of the health condition and a medical treatment report; Determining a target doctor that matches the consultation request based on the health condition description and the diagnosis and treatment report; The consultation request is sent to the doctor client of the target doctor.
3. The method according to claim 1, characterized in that The medical consultation card includes a prescription card and a commodity card; Generating a consultation card based on the electronic prescription and recommended product information sent by the doctor client includes: receiving an electronic prescription and recommended product information generated by the doctor client according to the consultation request, wherein the electronic prescription includes prescription drugs; The electronic prescription and recommended product information are asynchronously preloaded within a specified time range to obtain the prescription card, the store corresponding to the prescription card and the prescription drug.
4. The method according to claim 3, characterized in that The asynchronous preloading process of the electronic prescription and recommended product information within a specified time range to obtain the prescription card, the store corresponding to the prescription card and the prescription drug includes: Reviewing the electronic prescription through a first asynchronous processing thread within a specified time range, generating a prescription card based on the electronic prescription and generating a product card based on the recommended product after determining that the review is passed; Within the specified time range, the electronic prescription is identified and the prescription drugs are obtained through a second asynchronous processing thread, the user's target address is obtained and a target store selling the prescription drugs within a specified distance range of the target address is queried, and the target store is cached locally.
5. The method according to claim 4, characterized in that The medical consultation parameters include the medical consultation number and the prescription number. The step of obtaining the medical consultation parameters matched with the medical consultation card through the designated interface according to the synchronous call instruction, and generating a combined payment order page according to the medical consultation parameters based on the combined payment routing decision corresponding to the designated interface, includes: Obtaining the medical consultation number and prescription number matched with the prescription card through the designated interface according to the synchronous call instruction, wherein the synchronous call instruction is generated by the user client according to the user's triggering operation on the prescription card; Based on the combined payment routing decision corresponding to the designated interface, a query is performed according to the medical consultation number, and if it is determined that the query result meets the combined payment preset conditions, a combined payment intermediate page is generated, which includes the recommended products and the prescribed drugs in the electronic prescription; receiving a selection instruction from the user client for the combined payment intermediate page, and generating the combined payment order page according to the selection instruction, wherein the combined payment order page includes prescription drugs, user-specified recommended products, and a payment port; Among them, the preset conditions for combined payment include that the medical consultation number is associated with the electronic prescription and recommended product information at the same time, the prescription drugs in the electronic prescription are Western medicines, the order status of the electronic prescription is unpaid, and the local cache has a matching target store.
6. The method according to claim 5, characterized in that The method further comprises: Based on the combined payment routing decision corresponding to the designated interface, a query is performed according to the medical consultation number, and if it is determined that the query result does not meet the combined payment preset conditions, an electronic prescription is generated according to the prescription number, and the electronic prescription contains the prescribed drugs in the electronic prescription; Receive a confirmation instruction from the user client for the electronic prescription, and generate a medication collection order details page according to the confirmation instruction, wherein the medication collection order details page includes the prescription drugs in the electronic prescription and a payment port.
7. The method according to claim 5, characterized in that The medical consultation parameters include the medical consultation number, The step of obtaining the medical consultation parameters matched with the medical consultation card through the designated interface according to the synchronous call instruction, and generating a combined payment order page according to the medical consultation parameters based on the combined payment routing decision corresponding to the designated interface, includes: Obtaining the medical consultation order number matched with the product card through the designated interface according to the synchronous call instruction, wherein the synchronous call instruction is generated by the user client according to the user's triggering operation on the product card; Based on the combined payment routing decision corresponding to the designated interface, a query is performed according to the medical consultation number, and if it is determined that the query result meets the combined payment preset conditions, a combined payment intermediate page is generated, which includes the recommended products and the prescription tablets in the electronic prescription; Receive the user client's selection instruction for the combined payment intermediate page, and generate the combined payment order page according to the selection instruction, wherein the combined payment order page includes prescription drugs, user-specified recommended products, and a payment port.
8. The method according to claim 7, characterized in that The method further comprises: Based on the combined payment routing decision corresponding to the designated interface, a query is performed according to the medical consultation number, and if it is determined that the query result does not meet the combined payment preset conditions, a doctor's recommendation sheet is generated, and the doctor's recommendation sheet includes the recommended product; Receive the user client's selection instruction for the doctor's recommendation form, and generate a recommended product order page according to the selection instruction, wherein the recommended product order page includes the recommended product and payment port specified by the user.
9. A combined payment device, characterized in that: The device comprises: A medical consultation request transmission module, configured to receive a medical consultation request sent by a user client and send the medical consultation request to a doctor client; a consultation card generating module, configured to generate a consultation card based on the electronic prescription and recommended product information sent by the doctor client, and send the consultation card to the user client, wherein the electronic prescription and recommended product information are generated by the doctor client based on the consultation request; a combined payment order page generation module, configured to receive a synchronous call instruction from the user client for a designated interface, obtain medical consultation parameters matching the medical consultation card through the designated interface according to the synchronous call instruction, generate a combined payment order page according to the medical consultation parameters based on a combined payment routing decision corresponding to the designated interface, and send the combined payment order page to the user client, wherein the medical consultation parameters include a medical consultation number and a prescription number, or the medical consultation parameters include only the medical consultation number; a combined payment module, configured to receive a payment request from the user client for the combined payment order page, and perform a combined payment for the prescription drugs and recommended products on the combined payment order page according to the payment request; The combined payment order page generation module is configured to obtain the medical consultation parameters matched with the medical consultation card through the designated interface according to the synchronous call instruction, wherein the synchronous call instruction is generated by the user client according to the user's triggering operation on the medical consultation card; Based on the combined payment routing decision corresponding to the designated interface, a query is performed according to the medical consultation number, and if it is determined that the query result meets the combined payment preset conditions, a combined payment intermediate page is generated, which includes the recommended products and the prescription tablets in the electronic prescription; Receive the user client's selection instruction for the combined payment intermediate page, and generate the combined payment order page according to the selection instruction, wherein the combined payment order page includes prescription drugs, user-specified recommended products, and a payment port.
10. A computer device comprising a memory and a processor, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor performs the steps of the method according to any one of claims 1 to 8.
11. A storage medium storing computer-readable instructions, wherein when the computer-readable instructions are executed by one or more processors, the one or more processors are caused to perform the steps of the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Online payment processing method and equipment, and computer-readable storage medium
CN108171503A
Medical treatment and medical insurance system
CN109920525A