Interaction method and device for online medicine purchasing

By grouping Chinese medicine drugs and replacing them within the drug group, the problem that no merchant can fully fulfill the contract on the e-commerce platform is solved, ensuring the smooth progress of the transaction and improving the drug purchase experience.

CN120410673APending Publication Date: 2025-08-01BEIJING JINGDONG TUOXIAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510495860.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-18
Publication Date
2025-08-01

AI Technical Summary

Technical Problem

Traditional Chinese medicine prescriptions may occur on e-commerce platforms where no merchant can fully fulfill the contract, resulting in transaction interruption and affecting consumers' experience in purchasing medicines.

Method used

By grouping traditional Chinese medicines according to preset dimensions, determining the drug group to which each drug belongs, and replacing them within the drug group, expanding the scope of drug searches to ensure that the right merchant can be found to fulfill the contract.

Benefits of technology

It solves the problem of no merchants being able to fulfill their contracts due to lack of drugs, ensures that the traditional Chinese medicine prescriptions can fully fulfill their contracts, and improves consumers' experience in purchasing drugs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120410673A_ABST
    Figure CN120410673A_ABST
Patent Text Reader

Abstract

The invention discloses an online medicine purchasing interaction method and device, and relates to the technical field of internet medical treatment and electronic commerce. A specific embodiment of the method comprises the following steps: receiving a medicine purchasing request, and obtaining detailed information of a traditional Chinese medicine prescription from the medicine purchasing request; according to each medicine in the detailed information of the traditional Chinese medicine prescription and the same group of medicines corresponding to each medicine, determining a target merchant end capable of performing a performance; the method comprises the following steps: grouping different medicines according to a preset dimension in advance to determine a medicine group to which each medicine belongs; and generating a medicine purchasing order and sending the order to the target merchant end for processing. According to the embodiment, the medicine searching range can be reasonably expanded based on the medicine changing logic of the medicine group, it is ensured that merchants which completely fulfill the agreement are found, and the online traditional Chinese medicine purchasing efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical fields of Internet medicine and e-commerce, and particularly to an interaction method and device for purchasing drugs online. Background Art

[0002] With the application of pharmaceutical research and modern technologies, traditional Chinese medicine has received increasing attention from more pharmacists and doctors. However, due to the existence of multiple aliases for traditional Chinese medicine and the different understandings of traditional Chinese medicine knowledge among pharmacists, doctors and merchants, after a traditional Chinese medicine prescription is issued, there may be a situation where no merchant fulfills the contract on the e-commerce platform, thus interrupting the transaction process and affecting the consumer experience. Summary of the Invention

[0003] In view of this, embodiments of the present invention provide an interaction method and device for purchasing drugs online, which can at least solve the problem in the prior art that it is impossible to match a merchant who can provide all the required traditional Chinese medicine drugs at the same time.

[0004] To achieve the above object, according to one aspect of the embodiments of the present invention, an interaction method for purchasing drugs online is provided, including:

[0005] Receiving a drug purchase request, and obtaining detailed information of a traditional Chinese medicine prescription from the drug purchase request;

[0006] Determining a target merchant terminal that can fulfill the contract according to each drug in the detailed information of the traditional Chinese medicine prescription and the drugs in the same group corresponding to each drug; wherein, different drugs are pre-grouped according to a preset dimension to determine the drug group to which each drug belongs;

[0007] Generating a drug purchase order and sending it to the target merchant terminal for processing.

[0008] Optionally, the detailed information of the traditional Chinese medicine prescription is electronic detailed information of the traditional Chinese medicine prescription. Before receiving the drug purchase request, the method further includes:

[0009] Receiving drug purchase demand information transmitted by a user terminal; wherein, the drug purchase demand information includes an offline traditional Chinese medicine prescription picture uploaded by the user on the user terminal or traditional Chinese medicine prescription information input;

[0010] Establishing a session interface between the user terminal and the pharmacist terminal, and displaying the drug purchase demand information in the session interface, so that the pharmacist terminal performs prescription splitting processing based on the offline traditional Chinese medicine prescription picture or the traditional Chinese medicine prescription information;

[0011] Receiving the drug purchase list information fed back by the pharmacist terminal and displaying it in the session interface; wherein, the drug purchase list information includes the electronic detailed information of the traditional Chinese medicine prescription.

[0012] Optionally, the method further includes:

[0013] Receive the modification information of the target drug information in the details of the electronic traditional Chinese medicine prescription transmitted by the user terminal, and display the target drug information and the modification information in the conversation interface, so that the pharmacist terminal can perform verification and modification processing based on the target drug information and the modification information.

[0014] Optionally, the determining the target merchant terminal that can fulfill the order according to each drug in the details of the traditional Chinese medicine prescription and the drugs in the same group corresponding to each drug includes:

[0015] Determine the drug group corresponding to each drug in the details of the traditional Chinese medicine prescription;

[0016] For each drug in the drug group, find the corresponding merchant terminal respectively;

[0017] From all the found merchant terminals, screen out the target merchant terminal that can fulfill all the drugs or drugs in the same group in the details of the traditional Chinese medicine prescription.

[0018] Optionally, the method further includes: synchronizing and storing the drug group-related data from the database; wherein, the drug group-related data includes the correspondence between the drug group identifier and the drug identifier established by the operation terminal, and the establishment process includes: the operation terminal obtains the newly added drug identifier from the database, determines the drug group to which the newly added drug identifier belongs according to the preset dimension, and determines the identifier of the drug group, so as to establish the correspondence between the drug group identifier and the newly added drug identifier and store it in the database.

[0019] Optionally, the drug group-related data further includes the correspondence between the drug identifier and the commodity identifier, and the correspondence between the commodity identifier and the merchant terminal;

[0020] The step of, for each drug in the drug group, finding the corresponding merchant terminal respectively includes:

[0021] For each drug in the drug group, determine the corresponding commodity identifier respectively, and then determine the merchant terminal corresponding to the commodity identifier;

[0022] Among them, the process of establishing the correspondence between the commodity identifier and the merchant terminal includes: the database receives the commodity identifier transmitted by the merchant terminal and establishes the correspondence between the commodity identifier and the merchant terminal;

[0023] The process of establishing the correspondence between the drug identifier and the commodity identifier includes: the database obtains the attribute value corresponding to the preset attribute from the commodity identifier, so as to create a drug identifier based on the preset attribute and the attribute value, and establish the correspondence between the drug identifier and the commodity identifier.

[0024] Optionally, the determining the drug group corresponding to each drug in the details of the traditional Chinese medicine prescription includes:

[0025] Generate query conditions based on the identifiers of each medicine in the details of the traditional Chinese medicine prescription, and in response to not finding a merchant terminal that meets the query conditions, determine the medicine group corresponding to each medicine.

[0026] Optionally, screening out the target merchant terminals that can fulfill all the medicines or the medicines in the same group in the details of the traditional Chinese medicine prescription from all the found merchant terminals includes:

[0027] Deduplicate all the merchant terminals found for the same medicine group, and perform an intersection operation on the deduplicated merchant terminals of all the medicine groups to obtain a set of merchant terminals;

[0028] In response to there being multiple merchant terminals in the set of merchant terminals, determine the quantity of the medicines in the details of the traditional Chinese medicine prescription that each merchant terminal can provide, and use the merchant terminal with the largest quantity as the target merchant terminal.

[0029] To achieve the above object, according to another aspect of the embodiments of the present invention, there is provided an interactive device for online medicine purchase, including:

[0030] A receiving component, configured to receive a medicine purchase request and obtain details of the traditional Chinese medicine prescription from the medicine purchase request;

[0031] A medicine replacement component, configured to determine the target merchant terminals that can fulfill the order according to each medicine in the details of the traditional Chinese medicine prescription and the medicines in the same group corresponding to each medicine; wherein, different medicines are pre-grouped according to a preset dimension to determine the medicine group to which each medicine belongs;

[0032] An order component, configured to generate a medicine purchase order and send it to the target merchant terminal for processing.

[0033] Optionally, the details of the traditional Chinese medicine prescription are electronic details of the traditional Chinese medicine prescription, and the device further includes an electronic prescription component, configured to:

[0034] Receive the medicine purchase demand information transmitted by the user terminal; wherein, the medicine purchase demand information includes the offline traditional Chinese medicine prescription picture uploaded by the user on the user terminal or the traditional Chinese medicine prescription information input;

[0035] Establish a session interface between the user terminal and the pharmacist terminal, and display the medicine purchase demand information in the session interface, so that the pharmacist terminal performs prescription splitting based on the offline traditional Chinese medicine prescription picture or the traditional Chinese medicine prescription information;

[0036] Receive the medicine purchase list information fed back by the pharmacist terminal and display it in the session interface; wherein, the medicine purchase list information includes the electronic details of the traditional Chinese medicine prescription.

[0037] Optionally, the electronic prescription component is further configured to:

[0038] Receive the modification information of the target drug information in the details of the electronic traditional Chinese medicine prescription transmitted by the user end, and display the target drug information and the modification information in the conversation interface, so that the pharmacist end can perform verification and modification processing based on the target drug information and the modification information.

[0039] Optionally, the drug replacement component is used for:

[0040] Determine the drug group corresponding to each drug in the details of the traditional Chinese medicine prescription;

[0041] For all drugs in the drug group, respectively find the corresponding merchant ends;

[0042] From all the found merchant ends, screen out the target merchant ends that can fulfill all the drugs or drugs in the same group in the details of the traditional Chinese medicine prescription.

[0043] Optionally, the drug replacement component includes a caching device for synchronizing and storing data related to drug groups from the database;

[0044] Among them, the data related to drug groups includes the corresponding relationship between the drug group identifier and the drug identifier established by the operation end. The establishment process includes: the operation end obtains the newly added drug identifier from the database, determines the drug group to which the newly added drug identifier belongs according to the preset dimension, and determines the identifier of the drug group, so as to establish the corresponding relationship between the drug group identifier and the newly added drug identifier and store it in the database.

[0045] Optionally, the data related to drug groups further includes the corresponding relationship between the drug identifier and the commodity identifier, and the corresponding relationship between the commodity identifier and the merchant end;

[0046] The drug replacement component is used for:

[0047] For all drugs in the drug group, respectively determine the corresponding commodity identifier, and then determine the merchant end corresponding to the commodity identifier;

[0048] Among them, the process of establishing the corresponding relationship between the commodity identifier and the merchant end includes: the database receives the commodity identifier transmitted by the merchant end and establishes the corresponding relationship between the commodity identifier and the merchant end;

[0049] The process of establishing the corresponding relationship between the drug identifier and the commodity identifier includes: the database obtains the attribute value corresponding to the preset attribute from the commodity identifier, so as to create a drug identifier based on the preset attribute and the attribute value, and establish the corresponding relationship between the drug identifier and the commodity identifier.

[0050] Optionally, the drug replacement component is used for: generating a query condition based on the identifier of each drug in the details of the traditional Chinese medicine prescription, and determining the drug group corresponding to each drug in response to not querying a merchant end that meets the query condition.

[0051] Optionally, the dressing change component is used for:

[0052] Deduplicate all the merchant terminals found for the same drug group, and perform an intersection operation on the merchant terminals after deduplication for all drug groups to obtain a set of merchant terminals;

[0053] In response to there being multiple merchant terminals in the set of merchant terminals, determine the quantity of the drugs in the traditional Chinese medicine prescription details information that each merchant terminal can provide, and use the merchant terminal with the largest quantity as the target merchant terminal.

[0054] To achieve the above object, according to another aspect of the embodiments of the present invention, there is provided an interactive electronic device for online drug purchase.

[0055] The electronic device according to the embodiment of the present invention includes: one or more processors; a storage device for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement any of the above-mentioned interactive methods for online drug purchase.

[0056] To achieve the above object, according to another aspect of the embodiments of the present invention, there is provided a computer-readable medium, on which a computer program is stored, and when the program is executed by a processor, it implements any of the above-mentioned interactive methods for online drug purchase.

[0057] To achieve the above object, according to another aspect of the embodiments of the present invention, there is provided a computing program product. A computing program product according to an embodiment of the present invention includes a computer program, and when the program is executed by a processor, it implements the interactive method for online drug purchase provided by the embodiment of the present invention.

[0058] According to the solution provided by the present invention, one embodiment of the above invention has the following advantages or beneficial effects: determining the drug group to which the required drug belongs based on the required drug, and performing replacement based on all the drugs in the drug group, so as to reasonably expand the drug search range by this method, solve the problem that there are no merchants who can fulfill the contract due to drug shortage, ensure that a suitable merchant can be found to fully fulfill the contract after the traditional Chinese medicine prescription is issued, thereby avoiding transaction interruption and improving the drug purchase experience of consumers.

[0059] The further effects of the above non-conventional optional methods will be described in combination with specific embodiments below. Description of the Drawings

[0060] The drawings are used to better understand the present invention and do not constitute an improper limitation to the present invention. Among them:

[0061] Figure 1 is a schematic diagram of an interactive process for online drug purchase according to an embodiment of the present invention;

[0062] Figure 2It is a schematic diagram of the details of a traditional Chinese medicine prescription;

[0063] Figure 3 It is a schematic diagram of the main process of an online drug purchase interaction method according to an embodiment of the present invention;

[0064] Figure 4 It is a schematic diagram of an error prompt without merchant fulfillment;

[0065] Figure 5 It is a schematic diagram of an online drug purchase interaction framework according to an embodiment of the present invention;

[0066] Figure 6 It is a schematic diagram of the main modules of an online drug purchase interaction device according to an embodiment of the present invention;

[0067] Figure 7 It is an exemplary system architecture diagram to which the embodiments of the present invention can be applied;

[0068] Figure 8 It is a schematic diagram of the structure of a computer system of a mobile device or a server suitable for implementing the embodiments of the present invention. Detailed implementation manners

[0069] The following describes exemplary embodiments of the present invention with reference to the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding. It should be considered that they are merely exemplary. Therefore, those of ordinary skill in the art should recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description below omits the description of well-known functions and structures.

[0070] It should be noted that in the embodiments of the present application, some industry-existing solutions such as certain software, components, models, etc. may be mentioned. They should be considered exemplary, and their purpose is only to illustrate the feasibility in the implementation of the technical solutions of the present application, but it does not mean that the applicant has already or necessarily used this solution.

[0071] Without conflict, the embodiments in the present invention and the features in the embodiments can be combined with each other. The acquisition, transmission, storage, use, processing, etc. of data in the technical solutions of the present invention all comply with the relevant regulations of national laws and regulations, are used for legal and reasonable purposes, are not shared, leaked or sold outside these legal uses, and are subject to the supervision and management of the regulatory authorities.

[0072] Regarding user information, necessary measures should be taken for users' personal information to prevent illegal access to such personal information data, ensure that personnel with access to personal information data comply with relevant laws and regulations, and ensure the security of users' personal information. Once these user personal information data are no longer needed, the risks should be minimized by restricting or even prohibiting data collection and / or deleting the data. When applicable, including in certain relevant applications, protect user privacy by de-identifying the data, such as by removing specific identifiers (e.g., date of birth, etc.), controlling the amount or specificity of the data stored (e.g., collecting location data at the city level rather than at the specific address level), controlling how the data is stored, and / or other methods of de-identifying.

[0073] With strong policy support, traditional Chinese medicine (TCM) is being favored by more and more pharmacists and doctors. Pharmacists and doctors use modern scientific and technological means to deeply explore and excavate TCM. As a leading e-commerce platform, it also actively responds to this trend and provides consumers with a convenient channel to purchase TCM. In this context, a convenient and efficient "prescription-based medicine purchase" service has emerged, greatly facilitating consumers' medicine purchase experience.

[0074] However, in the process of prescription-based medicine purchase, due to the fact that TCM itself has multiple aliases, and in addition, doctors in offline hospitals have different focuses in the research of TCM theory, and merchants have different levels of understanding of TCM-related knowledge, there are many situations in TCM data where different common names actually refer to the same TCM. This may lead to the problem that after pharmacists or doctors on the e-commerce platform issue an electronic prescription, no merchant can fully fulfill the order, thus blocking the transaction process and affecting consumers' medicine purchase experience.

[0075] For example, Mianqi and Huangqi are actually different names for the same Chinese medicinal material. They are essentially the same, and the difference only lies in naming habits or descriptions of the medicinal material's properties. A traditional Chinese medicine prescription usually contains multiple medicinal materials, and when selling TCM, merchants may use different names for the same medicinal material. For example, some merchants call it Mianqi, while others call it Huangqi. Since TCM needs to be processed into decoctions or pills, etc., it is necessary to find a merchant that can cover all the medicinal materials in the prescription. For example, a certain prescription contains 30 medicinal materials. A certain merchant has 29 of them, but the 30th medicinal material is Mianqi, and this merchant only has Huangqi. Therefore, this merchant is judged unable to fulfill the order due to the different names of the medicines. Similar situations may also occur among other merchants, and ultimately it may result in no merchant being able to cover all the medicines in the prescription, thus unable to complete the transaction.

[0076] To address the above problems, this solution designs a multi-terminal collaborative online prescription-based medicine purchase process for users, which involves the user terminal, the pharmacist terminal, and the Internet medical system. See Figure 1As shown in the figure. The user side refers to communication terminal devices such as mobile phones and computers used by users, which are used to submit traditional Chinese medicine prescriptions and related drug purchase requirements. The pharmacist side (or called the pharmacist operation system) is responsible for verifying and issuing electronic prescriptions according to the prescription information provided by users. The Internet medical system (or called the Internet hospital operation system) is an online application built by an e-commerce platform, connecting the user side and the pharmacist side, and supporting the full-process service of purchasing drugs according to the prescription.

[0077] 1. First, the user downloads and opens the APP (Application) of the Internet medical system on the user side, and enters the drug purchase page according to the prescription by searching for the option of "purchasing drugs according to the prescription". On the drug purchase page according to the prescription, after the user clicks the "Start purchasing drugs" option, the user will enter the page for filling in the drug purchase requirements. On this page for filling in the drug purchase requirements, the user can choose to upload the picture of the traditional Chinese medicine prescription issued by an offline hospital, or manually enter the specific information of the traditional Chinese medicine prescription. At the same time, the user also needs to supplement the information of the drug user, the description of the disease, the expected processed dosage form (such as granules, decoctions, etc.) and the quantity of drugs (i.e., dosage), and then click "Submit drug purchase requirements".

[0078] 2. After the user clicks "Submit drug purchase requirements", the user side will generate drug purchase requirement information based on the above information and send it to the Internet medical system.

[0079] 3. After receiving the drug purchase requirement information from the user side, the Internet medical system will establish a session interface connecting the user and the pharmacist. This session interface is the "awaiting consultation" page, and the drug purchase requirement information will be displayed in the session interface, so as to send the drug purchase requirement information to the pharmacist side in this way. In addition, the Internet medical system can also generate a structured medical record card according to the drug purchase requirement information, which is convenient for the pharmacist to quickly understand the situation.

[0080] 4. Subsequently, the pharmacist side assigns a suitable pharmacist or doctor team to handle this requirement, or the Internet medical system can also determine the specific pharmacist or doctor team. Taking the pharmacist as an example, the assignment basis can be the pharmacist with the least current workload, or the pharmacist specified by the user, or even the pharmacist who provided the last service can be continued to ensure consistency. After the pharmacist receives the consultation, the pharmacist will conduct a detailed verification of the prescription, and on this basis, issue an electronic prescription, that is, "pharmacist prescribing", and specifically can prescribe according to multiple dimensions such as the efficacy, usage, and properties of the drug itself. After the prescribing is completed, a "drug purchase list" is generated, and the "drug purchase list" containing information such as drug names and grams is pushed to the user through the session interface.

[0081] 5. When the user clicks the "drug purchase list" in the session interface, the user can choose to enter the "details of the electronic prescription" page. Two options are set below the "details of the electronic prescription" page, one is "information is incorrect, contact the pharmacist", and the other is "place an order immediately", see Figure 2As shown. If the user finds that the information is incorrect, for example, the dosage unit of a certain drug is incorrect, the user can directly feedback the specific problem in the conversation interface by clicking the option "The information is incorrect. Contact the pharmacist". The pharmacist will then re-verify and adjust the details of the electronic prescription accordingly. If it is confirmed to be correct, click "Place an order immediately" to enter the order filling page.

[0082] 6. On the order filling page, the Internet medical system will screen out the merchant terminals that can provide all the required drugs according to the drug list in the "Details of Electronic Prescription". Suppose there are multiple merchant terminals that meet this condition. The user can choose one of them according to personal preferences. After selection, the user completes the submission operation, and the Internet medical system will generate an order and send it to this merchant terminal, and the entire drug purchase process is completed.

[0083] See Figure 3 , which shows the main flowchart of an interactive method for online drug purchase provided by an embodiment of the present invention, including the following steps:

[0084] S301: Receive a drug purchase request, and obtain the details information of the traditional Chinese medicine prescription from the drug purchase request;

[0085] S302: Determine the target merchant terminal that can fulfill the contract according to each drug in the details information of the traditional Chinese medicine prescription and the drugs in the same group corresponding to each drug; wherein, different drugs are pre-grouped according to a preset dimension to determine the drug group to which each drug belongs;

[0086] S303: Generate a drug purchase order and send it to the target merchant terminal for processing.

[0087] When the above user enters the "Fill in the order" page, in the case where no merchant can fully fulfill the contract, an error prompt will appear. See Figure 4 shown. This figure is only an example. Since the system is constantly iteratively optimized, the corresponding error prompt will also change accordingly. This is the main problem to be solved in this embodiment.

[0088] For step S301, after the user confirms that the prescription in the "Details of Electronic Prescription" page on the user side is correct, click "Place an order immediately" to generate a purchase request and send it to the Internet medical system. The Internet medical system receives the drug purchase request from the user side, obtains the details information of the electronic traditional Chinese medicine prescription from it, and further determines the identifier of each drug in the details information of the electronic traditional Chinese medicine prescription. In this solution, it is set as drugId.

[0089] In actual operation, when the pharmacist's terminal issues the details of the electronic traditional Chinese medicine prescription according to the prescription, it will manually search for the drug name through the drug database. For example, the corresponding drug information can be matched through the generic name, and multiple drug information may also be matched. The drug information includes the drug ID. Therefore, in this solution, the details of the electronic traditional Chinese medicine prescription actually carry the drug ID.

[0090] For step S302, based on the ID of each drug in the details of the traditional Chinese medicine prescription, a drug ID set is constructed and set as drugIdList. If the drugIdList set is empty, the drug replacement logic within the same drug group is not executed. An empty set is usually regarded as an abnormal situation. For example, the pharmacist enters incorrectly and the user fails to verify it. For example, the pharmacist enters some drugs that actually do not exist, and in this case, no drugs can be searched, so there is no corresponding drug ID.

[0091] However, if drugIdList is not empty, for each drugId, find the corresponding unique drug group identifier (set as drugGroupId) from the cache device, and then for each drugGroupId, find all its corresponding drugIds from the cache device. Finally, de-duplicate all the drugIds corresponding to all drugGroupIds and replace the old drugIdList. It should be noted that although the current system restricts a drug to belong to only one drug group, the de-duplication operation seems redundant, but considering that drugs may be allowed to belong to multiple drug groups in the future, de-duplication is still necessary.

[0092] Suppose the drugIdList includes three drug IDs, namely A1, B1, and C2. Find the corresponding drug group {A1, A2, A3} according to A1, find the corresponding drug group {B1, B2, B3} according to B1, and find the corresponding drug group {C1, C2, C3} according to C2. Then replace A1 with A1, A2, A3, replace B1 with B1, B2, B3, and replace C2 with C1, C2, C3. Although this operation is a replacement, its essence is an expansion, and the updated drugIdList is expanded to {A1, A2, A3, B1, B2, B3, C1, C2, C3}.

[0093] As a preferred implementation manner, this solution preferably considers whether there is a merchant terminal corresponding to the drugs in the original drugIdList. For example, the merchant terminal corresponding to A1. Only when the merchant terminal corresponding to A1 cannot be found, that is, no merchant terminal can provide the drug A1, in this case, the corresponding drugGroupId of A1 is searched and the subsequent replacement query logic is executed. In this way, when there is no corresponding merchant terminal to supply a certain drug, other drugs within the same group can be found for replacement, so as to fulfill the contract normally.

[0094] After generating the new drugIdList, execute the query logic. Specifically, based on each drug ID in the drugIdList, generate query conditions to find the merchant side that meets the query conditions. After finding the merchant side based on all the drug IDs in the new drugIdList, perform deduplication on all the found merchant sides to obtain the target merchant side that can provide all the drugs or drugs in the same drug group in the traditional Chinese medicine prescription details. Generally, a merchant only sets one name for the same drug, such as Astragalus membranaceus and Cotton Astragalus membranaceus. In some cases, a merchant may also set multiple names, such as including both Astragalus membranaceus and Cotton Astragalus membranaceus above.

[0095] Take the previously updated drugIdList {A1, A2, A3, B1, B2, B3, C1, C2, C3} as an example. Assume that for A1, merchants 1 and 3 are found; for A2, merchants 2 and 4 are found; for A3, no merchant is found; for B1, merchants 1 and 3 are found; for B2, merchant 2 is found; for B3, no merchant is found; for C1 and C2, no merchant is found; for C3, merchant 1 is found.

[0096] Since {A1, A2, A3} are in the same drug group, the merchants found for the three are deduplicated to obtain merchants 1, 2, 3, and 4. For {B1, B2, B3}, the merchants found for the three are deduplicated to obtain merchants 1, 2, and 3. For {C1, C2, C3}, the merchants found for the three are deduplicated to obtain merchant 1. Take the intersection of the merchants found for the three drug groups {A1, A2, A3}, {B1, B2, B3}, and {C1, C2, C3} to obtain merchant 1.

[0097] Therefore, the final target merchant side is merchant 1, and this merchant 1 can provide drugs A1, B1, and drug C3 in the same drug group as C2 in the traditional Chinese medicine prescription details. It can be seen that due to the introduction of the same drug group replacement logic, even if a merchant cannot provide the specific drug on the prescription form (such as the prescription requires Cotton Astragalus membranaceus C2, while merchant 1 only has Astragalus membranaceus C3, and Astragalus membranaceus and Cotton Astragalus membranaceus are different names of the same drug), more merchants can be matched through drug group expansion, thus greatly reducing the problem of merchants being unable to fulfill their contracts due to drug shortages. In this way, the system improves the accuracy of merchant matching and improves the user experience.

[0098] However, in actual operation, it is possible that multiple merchant terminals can finally provide all the drugs or drugs in the same drug group in the details of traditional Chinese medicine prescriptions. Taking the above example for illustration, assuming that C2 is provided by merchant 2, then finally for {C1, C2, C3}, the merchants found for the three are de-duplicated, and merchants 1 and 2 are obtained. For the three drug groups {A1, A2, A3}, {B1, B2, B3} and {C1, C2, C3}, the intersection of the merchants found is taken, and merchants 1 and 2 are obtained. That is, the merchant terminal set includes two merchant terminals.

[0099] To better meet the user's needs, this solution analyzes the number of drugs that merchant 1 and merchant 2 can provide in the details of traditional Chinese medicine prescriptions. The drugs that merchant 1 can provide include A1, B1 and C3, among which A1 and B1 are in the details of traditional Chinese medicine prescriptions; the drugs that merchant 2 can provide include A2, B2 and C2, and only C2 is in the details of traditional Chinese medicine prescriptions. Therefore, merchant 1 can better meet the requirements of the details of traditional Chinese medicine prescriptions, and merchant 1 is preferred.

[0100] For step S303, after determining the target merchant terminal, based on the drugs or drugs in the same drug group that the target merchant terminal can provide for the details of traditional Chinese medicine prescriptions, combined with the user's demand for each drug, a drug purchase order is generated, and the drug purchase order is sent to the target merchant terminal for processing. The details of traditional Chinese medicine prescriptions include the demand for each drug, see Figure 2 as shown.

[0101] Assume that the finally determined target merchant terminal is merchant 1, and the drugs that merchant 1 can provide include A1, B1 and C3. The demands in the details of traditional Chinese medicine prescriptions are: the quantity of A1 is 20, the quantity of B1 is 10, and the quantity of C3 is 30. Based on this information, a drug purchase order is generated. The content of the drug purchase order is as follows: the order number is 123456789, and the drug details include 20 of A1, 10 of B1, and 30 of C3. In addition, it is also necessary to include user information, delivery address, configuration time, processing dosage, processing dosage form, configuration time, processing fee, etc. The generated drug purchase order is sent to merchant 1 for goods handling operations. Merchant 1 prepares the corresponding drugs according to the order content, and packs and ships them. In this way, it is ensured that the user can smoothly receive the required drugs and the drug purchase experience is improved.

[0102] The method provided by the above embodiment determines the drug group to which the required drug belongs based on the required drug, and performs replacement based on all the drugs in the drug group, so as to reasonably expand the drug search range by this way, solve the problem that there is no merchant available for performance due to drug shortage, ensure that a suitable merchant can be found to fully perform the contract after the traditional Chinese medicine prescription is issued, thereby avoiding transaction interruption and improving the consumer's drug purchase experience.

[0103] See Figure 5, which shows an interactive architecture diagram of an online drug purchase provided by an embodiment of the present invention, including a drug creation device, a drug group platform, a database, a user drug purchase device, and an order component:

[0104] 1. Drug creation device: corresponds to the merchant side, operated by the merchant, and the merchant is responsible for creating and selling drugs. In the process of selling traditional Chinese medicine, the prescription only contains the name of the medicine, but the amount is calculated based on the SKU (Stock Keeping Unit) dimension when it is actually sold. This means that for the same medicine, it may be subdivided into multiple SKUs due to different packaging specifications. For example, the 3-gram and 1-gram specifications of astragalus are considered different SKUs. Currently, the sale of traditional Chinese medicine is based on the 1-gram specification by default. The merchant fills in the drug information and creates the traditional Chinese medicine to generate the corresponding SKU data. At the same time, the generated SKU data is synchronized to the database through MQ (MessageQueue) for storage.

[0105] Traditional Chinese medicine (TCM) has a long history and lacks strict standards. The same herb may have different names in different regions, and a complete enumeration is impossible. Different pharmacists or doctors often write prescriptions based on their own understanding, which can easily lead to inconsistencies between the prescribed drug name and the name of the drug sold in stores. To address this issue, this solution uses same-drug group replacement logic. For example, if a TCM prescription lists cotton astragalus, but the merchant only has 1 gram of astragalus root, because astragalus root and cotton astragalus root are considered to be in the same drug group, the merchant will assume that cotton astragalus root is in stock and can use the astragalus root SKU for fulfillment.

[0106] 2. Database. Currently, internet medical systems stipulate that the four attributes of a SKU (drug name, strength, quantity, unit of measure, and medicinal preparation type) determine the drug group to which it belongs. After receiving the product ID transmitted by the merchant, the database can retrieve the attribute values corresponding to these attributes from the product ID. Based on these attributes and attribute values, it creates a drug ID and establishes a corresponding relationship between the drug ID and the product ID.

[0107] Therefore, even for the same drug name, different drug IDs will be required if the quantity, unit, or type of drug preparation differs. If the generated drug ID already exists in the database, there is no need to generate a new drug ID; a mapping relationship between the product ID and the existing drug ID can be directly established.

[0108] 3. Drug Group Platform: This corresponds to the operations side and is operated by operations. The operations side is the backend of the internet medical system, or an independent operator. Operations regularly check the database for new drug IDs through the drug group platform. If new drug IDs are found, they indicate that they need to be classified. Specifically, according to the drug grouping rules provided by pharmacists or doctors based on the medicinal properties, the drug IDs are grouped to determine the drug group ID to which they belong.

[0109] Traditional Chinese medicines are limited (in small quantities, and new medicines will not appear at will), and professional pharmacists are needed to classify them according to multiple dimensions such as the efficacy, usage, and properties of the medicines themselves. Taking ginseng, astragalus, Chuanxiong and aconite as examples, ginseng is mainly used to replenish vital energy, and its nature and flavor are sweet and warm. It is often used for decoction or stewing, and is suitable for people with qi deficiency and weakness; astragalus has the effect of replenishing qi and raising yang, and its nature and flavor are sweet and warm. It is often used for decoction and is suitable for people with spleen and lung qi deficiency; Chuanxiong promotes blood circulation and qi, and its nature and flavor are pungent and warm. It is usually ground into powder or added to decoction, and is suitable for patients with blood stasis and qi stagnation; aconite restores yang and rescues adverse conditions, and its nature and flavor are pungent and hot. It needs to be processed before use, and is suitable for conditions with weak yang. Through multiple dimensions such as efficacy (replenishing qi, activating blood circulation, restoring yang, etc.), usage (decoction, grinding, etc.) and properties (pungent and warm, sweet and warm, etc.), pharmacists can systematically and scientifically classify and manage traditional Chinese medicines. Therefore, when classifying drugs, this plan does not only consider the situation where the generic names are different but they are essentially the same drug. Based on the above dimensions, it can also consider multiple drugs that are not essentially the same drug.

[0110] After the operational classification, the newly added drug ID and the drug group ID to which it belongs will be transmitted to the database for storage. Therefore, the database also includes drug group-related data, which records the correspondence between the drug group identifier and the drug identifier. In an optional implementation, the correspondence between the above-mentioned drug identifier and product identifier, as well as the correspondence between the product identifier and the merchant side, can be stored in the drug group-related data. In addition, according to operational needs, other operations can also be set, such as data on the billing rules and processing fees of a merchant or Internet medical system regarding the processing dosage form and dosage.

[0111] 4. User purchase device: This corresponds to the user information component, electronic prescription component, and medication exchange component of the Internet medical system. Order device: This corresponds to the order component of the Internet medical system and mainly completes the order operation. Here, users can continue to operate the same as the existing purchase process and purchase medicine normally.

[0112] 1. User information component, used to receive all drug purchase demand information uploaded by the user, such as uploading offline Chinese medicine prescriptions, filling in drug user information, setting disease information, and setting purchase dosage. All of this information requires manual operation by the user on the user side;

[0113] 2. The electronic prescription component is used to generate detailed electronic Chinese medicine prescription information. This process includes: 1) identifying the prescription uploaded by the user; 2) checking whether the patient, disease, dosage, and drug information meet existing regulations; if not, the prescription will be rejected and the user will be prevented from purchasing; 3) if it meets the regulations, the electronic prescription will be generated.

[0114] 3. Drug group data is synchronized to the medication change component of the internet medical system via MQ. After receiving this information, the medication change component performs data conversion to improve the user experience.

[0115] If the data organization form of the operation side is directly used, it will cause the user to feel that the page response speed is slow when purchasing. This is because the data organization form of the operation side is not suitable for the Internet medical system to directly query data. To address this issue, this solution designs and stores the drug data required by the Internet medical system, such as using a caching device to record data related to drug groups. Therefore, ultimately, there is a set of data on the operation side and a set of data on the Internet medical system. The data itself remains unchanged, but only the data organization form is changed.

[0116] Moreover, the Internet medical system places more emphasis on experience and requires a more powerful storage middleware. In this solution, the drug replacement component includes a caching device and a query condition device:

[0117] 1) Caching device: After receiving the data related to the drug group transmitted from the database, it obtains the corresponding relationships between the drug group identifier and the drug identifier, between the drug identifier and the product identifier, and between the product identifier and the merchant side from it, and records this mapping relationship in the cache for use in the drug replacement logic. For example, subsequently, all drugIds are obtained based on the drugGroupId, and the drugGroupId is obtained based on the drugId.

[0118] 2) Query condition device: It is used to generate query conditions based on each drug ID in the details information of the traditional Chinese medicine prescription to ensure efficient query. If the drugIdList collection is empty, the drug replacement logic for the same drug group is not executed. However, if the drugIdList is not empty, for each drugId, the unique drug group identifier (i.e., drugGroupId) corresponding to it is found from the caching device, and then for each drugGroupId, all its corresponding drugIds are found from the caching device. Finally, all the drugIds corresponding to all drugGroupIds are de-duplicated and used to replace the old drugIdList.

[0119] After generating the new drugIdList, the query logic is executed. Specifically, based on each drug ID in the drugIdList, query conditions are generated to find the merchant side that meets the query conditions. After finding the merchant sides based on all the drug IDs in the new drugIdList, the found merchant sides are de-duplicated to obtain the target merchant side that can provide all the drugs or drugs in the same drug group in the details information of the traditional Chinese medicine prescription.

[0120] 4. The order component mainly executes the user order placement process: 1) Obtain drug information; 2) Obtain SKU information; 3) Obtain user information; 4) Place an order to purchase.

[0121] This solution proposes an idea for dispensing traditional Chinese medicine according to prescriptions based on medicine groups, which can simplify the traditional medicine purchase process and ensure the safety and accuracy of medication. Compared with the existing technology, it has at least the following beneficial effects:

[0122] 1. Operators manually divide multiple medicines into the same group according to multiple dimensions such as the pharmacology and properties of traditional Chinese medicine. The medicines within the same group can be different but are substitutable. Since the pharmacology and properties of traditional Chinese medicine are relatively stable, this division method usually does not need to be adjusted frequently after being determined. Each medicine group is assigned a unique group ID to mark that these are medicines in the same group;

[0123] 2. During the order processing, medicines within the same medicine group can be directly replaced, or when no matching SKU data is found for a certain medicine, other medicines in the same group are automatically selected for replacement query to ensure the normal fulfillment of the order.

[0124] By reasonably expanding the medicine search scope, the problem of no merchant being able to fulfill the order due to lack of medicine can be solved. This mechanism not only improves the merchant's fulfillment ability but also significantly improves the consumer's medicine purchase experience, and at the same time provides a more flexible and efficient solution for the scenario of dispensing traditional Chinese medicine according to prescriptions.

[0125] See Figure 6 , which shows a schematic diagram of the main modules of an interactive device 600 for online medicine purchase provided by an embodiment of the present invention, including:

[0126] A receiving component 601, configured to receive a medicine purchase request and obtain the details of the traditional Chinese medicine prescription from the medicine purchase request;

[0127] A medicine replacement component 602, configured to determine a target merchant end that can fulfill the order according to each medicine in the details of the traditional Chinese medicine prescription information and the medicines in the same group corresponding to each medicine; wherein, different medicines are pre-grouped according to preset dimensions to determine the medicine group to which each medicine belongs;

[0128] An order component 603, configured to generate a medicine purchase order and send it to the target merchant end for processing.

[0129] In the implementation device of the present invention, the details of the traditional Chinese medicine prescription information are electronic details of the traditional Chinese medicine prescription information, and the device further includes an electronic prescription component, configured to:

[0130] Receive the medicine purchase demand information transmitted by the user end; wherein, the medicine purchase demand information includes the offline traditional Chinese medicine prescription picture uploaded by the user at the user end or the traditional Chinese medicine prescription information input;

[0131] Establish a session interface between the user end and the pharmacist end, and display the medicine purchase demand information in the session interface, so that the pharmacist end performs prescription division based on the offline traditional Chinese medicine prescription picture or the traditional Chinese medicine prescription information;

[0132] Receive the drug purchase list information fed back by the pharmacist terminal and display it in the conversation interface; wherein, the drug purchase list information includes the details of the electronic traditional Chinese medicine prescription.

[0133] In the implementation device of the present invention, the electronic prescription component is further configured to:

[0134] Receive the modification information of the target drug information in the details of the electronic traditional Chinese medicine prescription transmitted by the user terminal, and display the target drug information and the modification information in the conversation interface, so that the pharmacist terminal can perform verification and modification processing based on the target drug information and the modification information.

[0135] In the implementation device of the present invention, the drug replacement component 602 is used for:

[0136] Determine the drug group corresponding to each drug in the details of the traditional Chinese medicine prescription;

[0137] For all the drugs in the drug group, respectively find the corresponding merchant terminals;

[0138] From all the found merchant terminals, screen out the target merchant terminals that can fulfill all the drugs or drugs in the same group in the details of the traditional Chinese medicine prescription.

[0139] In the implementation device of the present invention, the drug replacement component 602 includes a caching device for synchronizing and storing the drug group related data from the database;

[0140] Wherein, the drug group related data includes the corresponding relationship between the drug group identifier and the drug identifier established by the operation terminal, and the establishment process includes: the operation terminal obtains the newly added drug identifier from the database, determines the drug group to which the newly added drug identifier belongs according to the preset dimension, and determines the identifier of the drug group, so as to establish the corresponding relationship between the drug group identifier and the newly added drug identifier and store it in the database.

[0141] In the implementation device of the present invention, the drug group related data further includes the corresponding relationship between the drug identifier and the commodity identifier, and the corresponding relationship between the commodity identifier and the merchant terminal;

[0142] The drug replacement component 602 is used for:

[0143] For all the drugs in the drug group, respectively determine the corresponding commodity identifier, and then determine the merchant terminal corresponding to the commodity identifier;

[0144] Wherein, the process of establishing the corresponding relationship between the commodity identifier and the merchant terminal includes: the database receives the commodity identifier transmitted by the merchant terminal and establishes the corresponding relationship between the commodity identifier and the merchant terminal;

[0145] The process of establishing the correspondence between drug identifiers and product identifiers includes: the database obtains the attribute values corresponding to the preset attributes from the product identifiers, creates drug identifiers based on the preset attributes and the attribute values, and establishes the correspondence between the drug identifiers and the product identifiers.

[0146] In the implementation device of the present invention, the dressing change component 602 is used for:

[0147] Generate query conditions based on the identifiers of each drug in the traditional Chinese medicine prescription details information. In response to not querying a merchant terminal that meets the query conditions, determine the drug group corresponding to each drug.

[0148] In the implementation device of the present invention, the dressing change component 602 is used for:

[0149] Deduplicate all the merchant terminals found for the same drug group, and perform an intersection operation on the deduplicated merchant terminals of all drug groups to obtain a set of merchant terminals;

[0150] In response to there being multiple merchant terminals in the set of merchant terminals, determine the quantity of drugs in the traditional Chinese medicine prescription details information that each merchant terminal can provide, and use the merchant terminal with the largest quantity as the target merchant terminal.

[0151] In addition, the specific implementation content of the device in the embodiments of the present invention has been described in detail in the above method, so the repeated content will not be described here.

[0152] Figure 7 An exemplary system architecture 700 to which the embodiments of the present invention can be applied is shown, including terminal devices 701, 702, 703, a network 704, and a server 705 (merely examples).

[0153] The terminal devices 701, 702, 703 can be various electronic devices with a display screen and supporting web browsing, installed with various communication client applications. Users can use the terminal devices 701, 702, 703 to interact with the server 705 through the network 704 to receive or send messages, etc.

[0154] The network 704 is a medium for providing a communication link between the terminal devices 701, 702, 703 and the server 705. The network 704 can include various connection types, such as wired, wireless communication links, or fiber optic cables, etc.

[0155] The server 705 can be a server that provides various services. For example, it can be a background management server (merely an example) that supports shopping websites browsed by users using the terminal devices 701, 702, and 703. The background management server can analyze and process data such as product information query requests received, and feedback the processing results (such as target push information, product information - merely examples) to the terminal devices. It should be noted that the method provided by the embodiments of the present invention is generally executed by the server 705. Correspondingly, the device is generally arranged in the server 705.

[0156] It should be understood that Figure 7 the numbers of terminal devices, networks, and servers in

[0157] are merely illustrative. According to the implementation requirements, there can be any number of terminal devices, networks, and servers. Figure 8 is a schematic structural diagram of a computer system 800 of a terminal device suitable for implementing the embodiments of the present invention. Figure 8 The terminal device shown is merely an example and should not impose any limitations on the functions and usage scope of the embodiments of the present invention.

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

[0159] The following components are connected to the I / O interface 805: an input section 806 including a keyboard, a mouse, etc.; an output section 807 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc. and speakers, etc.; a storage section 808 including a hard disk, etc.; and a communication section 809 including a network interface card such as a LAN card, a modem, etc. The communication section 809 performs communication processing via a network such as the Internet. The drive 810 is also connected to the I / O interface 805 as needed. A removable medium 811, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 810 as needed so that the computer program read from it can be installed into the storage section 808 as needed.

[0160] In particular, according to the embodiments disclosed in the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, the embodiments disclosed in the present invention include a computer program product that includes a computer program carried on a computer-readable medium, and the computer program contains program codes for performing the methods shown in the flowcharts. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 809 and / or installed from the removable medium 811. When the computer program is executed by the central processing unit (CPU) 801, the above-mentioned functions defined in the system of the present invention are performed.

[0161] It should be noted that the computer-readable medium shown in the present invention can be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of the computer-readable storage medium can include, but are not limited to: an electrical connection having 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 the present invention, the computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present invention, the computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, which carries the computer-readable program code. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium can also be any computer-readable medium other than the computer-readable storage medium, which can 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 can be transmitted by any suitable medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0162] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagram may represent a module, a segment of a program, or a part of code that contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than that marked in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram or flowchart, as well as combinations of blocks in the block diagram or flowchart, can be implemented by a dedicated hardware-based system that performs the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.

[0163] The modules described in the embodiments of the present invention can be implemented in software or in hardware. The described modules can also be provided in a processor. For example, it can be described as: a processor includes a receiving component and a dressing-changing component. Among them, the names of these components do not constitute a limitation on the components themselves in some cases, and the components can also be described as "modules".

[0164] On the other hand, the present invention also provides a computer-readable medium, which can be included in the device described in the above embodiments; or can exist separately without being assembled into the device. The above computer-readable medium carries one or more programs, and when the one or more programs are executed by the device, the device is caused to execute the interactive method for online drug purchase described in any of the above.

[0165] The computer program product of the present invention includes a computer program, and the computer program implements the interactive method for online drug purchase in the embodiments of the present invention when executed by a processor.

[0166] The above specific embodiments do not constitute a limitation on the protection scope of the present invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can occur depending on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. An interactive method for online drug purchase, characterized in that, Including: Receiving a medicine purchase request and obtaining detailed information on the traditional Chinese medicine prescription from the medicine purchase request; Determining a target merchant terminal that can fulfill the order based on each medicine in the detailed information on the traditional Chinese medicine prescription and the same-group medicines corresponding to each medicine; wherein, different medicines are pre-grouped according to a preset dimension to determine the medicine group to which each medicine belongs; Generating a medicine purchase order and sending it to the target merchant terminal for processing.

2. The method according to claim 1, characterized in that, The detailed information on the traditional Chinese medicine prescription is electronic detailed information on the traditional Chinese medicine prescription. Before receiving the medicine purchase request, the method further includes: Receiving medicine purchase demand information transmitted from the user terminal; wherein, the medicine purchase demand information includes an offline traditional Chinese medicine prescription picture uploaded by the user on the user terminal or traditional Chinese medicine prescription information input; Establishing a session interface between the user terminal and the pharmacist terminal, and displaying the medicine purchase demand information in the session interface, so that the pharmacist terminal performs prescription splitting processing based on the offline traditional Chinese medicine prescription picture or the traditional Chinese medicine prescription information; Receiving the medicine purchase list information fed back by the pharmacist terminal and displaying it in the session interface; wherein, the medicine purchase list information includes electronic detailed information on the traditional Chinese medicine prescription.

3. The method according to claim 2, wherein The method further includes: Receiving modification information on the target medicine information in the electronic detailed information on the traditional Chinese medicine prescription transmitted from the user terminal, and displaying the target medicine information and the modification information in the session interface, so that the pharmacist terminal performs verification and modification processing based on the target medicine information and the modification information.

4. The method according to claim 1, characterized in that The determining a target merchant terminal that can fulfill the order based on each medicine in the detailed information on the traditional Chinese medicine prescription and the same-group medicines corresponding to each medicine includes: Determining the medicine group corresponding to each medicine in the detailed information on the traditional Chinese medicine prescription; For each medicine in the medicine group, respectively searching for the corresponding merchant terminal; From all the searched merchant terminals, screening out the target merchant terminal that can fulfill all the medicines or the same-group medicines in the detailed information on the traditional Chinese medicine prescription.

5. The method according to claim 1 or 4, characterized in that The method further includes: Synchronizing and storing relevant data on the medicine group from the database; wherein, the relevant data on the medicine group includes the corresponding relationship between the medicine group identifier and the medicine identifier established by the operation terminal, and the establishment process includes: the operation terminal obtains the newly added medicine identifier from the database, determines the medicine group to which the newly added medicine identifier belongs according to the preset dimension, and determines the identifier of the medicine group, so as to establish the corresponding relationship between the medicine group identifier and the newly added medicine identifier and store it in the database.

6. The method according to claim 5, characterized in that, The relevant data on the medicine group further includes the corresponding relationship between the medicine identifier and the commodity identifier, and the corresponding relationship between the commodity identifier and the merchant terminal; The for each medicine in the medicine group, respectively searching for the corresponding merchant terminal includes: For each medicine in the medicine group, respectively determining the corresponding commodity identifier, and further determining the merchant terminal corresponding to the commodity identifier; Wherein, the process of establishing the corresponding relationship between the commodity identifier and the merchant terminal includes: the database receives the commodity identifier transmitted from the merchant terminal and establishes the corresponding relationship between the commodity identifier and the merchant terminal; The process of establishing the corresponding relationship between the medicine identifier and the commodity identifier includes: the database obtains the attribute value corresponding to the preset attribute from the commodity identifier, so as to create a medicine identifier based on the preset attribute and the attribute value, and establish the corresponding relationship between the medicine identifier and the commodity identifier.

7. The method according to claim 5, wherein The determining the medicine group corresponding to each medicine in the detailed information on the traditional Chinese medicine prescription includes: Generate query conditions based on the identifiers of each medicine in the details information of the traditional Chinese medicine prescription. In response to not finding a merchant terminal that meets the query conditions, determine the medicine group corresponding to each medicine.

8. The method according to claim 1, wherein Among all the found merchant terminals, screening out the target merchant terminals that can fulfill all the medicines or the medicines in the same group in the details information of the traditional Chinese medicine prescription includes: Deduplicate all the merchant terminals found for the same medicine group, and perform an intersection operation on the deduplicated merchant terminals of all medicine groups to obtain a set of merchant terminals; In response to there being multiple merchant terminals in the set of merchant terminals, determine the quantity of medicines in the details information of the traditional Chinese medicine prescription that each merchant terminal can provide, and take the merchant terminal with the largest quantity as the target merchant terminal.

9. An interactive device for online drug purchase, characterized in that, Include: A receiving component for receiving a medicine purchase request and obtaining the details information of the traditional Chinese medicine prescription from the medicine purchase request; A medicine replacement component for determining the target merchant terminals that can fulfill the order based on each medicine in the details information of the traditional Chinese medicine prescription and the medicines in the same group corresponding to each medicine; wherein, different medicines are pre-grouped according to a preset dimension to determine the medicine group to which each medicine belongs; An order component for generating a medicine purchase order and sending it to the target merchant terminal for processing.

10. An electronic device, characterized in that, Include: One or more processors; A storage device for storing one or more programs, 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-8.

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

12. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the method according to any one of claims 1-8.