Drug transaction information processing method, device, electronic device and storage medium

By obtaining and analyzing the sequential data of drug transaction, the drug attributes and channels are determined, and the results of the difference are calculated. The existing system is difficult to accurately select the problem of alternative drug channels, and improves the accuracy and effectiveness of the information of the channel selection.

CN118608222BActive Publication Date: 2025-01-24WUHAN FEIYU YIKE TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410669667.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-28
Publication Date
2025-01-24
Estimated Expiration
2044-05-28

AI Technical Summary

Technical Problem

The existing drug transaction management system is difficult to accurately provide alternative drug channels for offline stores, resulting in drug merchants facing information asymmetry and difficulty in selecting channels when expanding their channels.

Method used

By obtaining the transaction timing data, determine the attributes and channels of the drug, and use the preset mapping relationship to determine whether there is an alternative channel with multiple drug attributes. Merchant.

Benefits of technology

It improves the accuracy and effectiveness of information for drug merchants when choosing alternative drug channels, and helps managers better manage and optimize drug channels.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118608222B_ABST
    Figure CN118608222B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a drug transaction information processing method, device, electronic device and storage medium, belonging to the technical field of data management, the method comprising acquiring first transaction time series data sent by a first object; determining a first drug attribute and a first drug channel of the first drug according to the first drug information; judging whether there is a second drug channel with at least two first drug attributes according to a preset first mapping relationship; when there is a second drug channel, determining pricing information of the first drug with at least two first drug attributes corresponding to the second drug channel; obtaining a first price difference result after the first drug is changed from the first drug channel to the second drug channel according to the pricing information and the first transaction information; and sending the first price difference result to the first object when the first price difference result is greater than or equal to a set threshold.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the technical field of data management, and more specifically, to a method, device, electronic device and storage medium for processing drug transaction information. Background Art

[0002] With the intelligent development of the pharmaceutical industry, the purchase, sale, and transaction of drugs can be managed through the drug transaction management system. At present, some drug merchants can allocate different drugs to different offline stores. Offline stores can feedback the drugs sold and the selling price to drug merchants. Drug merchants can reallocate new drugs to offline stores based on the drugs already sold by offline stores. With the increase in the channels of drug merchants, the existing drug transaction management system is difficult to accurately provide some alternative drug channels for offline stores. Summary of the invention

[0003] One purpose of the embodiments of the present disclosure is to provide a new technical solution for processing drug transaction information.

[0004] According to a first aspect of the present disclosure, a method for processing drug transaction information is provided, the method comprising:

[0005] Acquire first transaction time series data sent by a first object; wherein the first transaction time series data includes first drug information and first transaction information of a first drug completed by the first object within a first time period;

[0006] Determining a first drug attribute and a first drug channel of the first drug according to the first drug information;

[0007] According to a preset first mapping relationship, determining whether there is a second drug channel having at least two first drug attributes; wherein the first mapping relationship reflects that different drug channels correspond to different drug attributes;

[0008] When the second drug channel exists, determining pricing information of the first drug having the at least two first drug attributes corresponding to the second drug channel;

[0009] Obtaining, according to the pricing information and the first transaction information, a first price difference result after the first drug is changed from the first drug channel to the second drug channel;

[0010] When the first price difference result is greater than or equal to a set threshold, the first price difference result is sent to the first object.

[0011] Optionally, determining the pricing information of the first drug of the at least two first drug attributes through the second drug channel includes:

[0012] determining a first drug of the at least two first drug attributes for the second drug channel;

[0013] Determine the drug types corresponding to the at least two first drug attributes respectively according to a preset second mapping relationship; wherein the second mapping relationship reflects that different drug attributes correspond to drug types or device types;

[0014] According to the drug types respectively corresponding to the at least two first drug attributes and the first transaction information, pricing information of the first drug with the at least two first drug attributes by the second drug channel is obtained.

[0015] Optionally, obtaining pricing information of the first drug of the at least two first drug attributes by the second drug channel according to the drug types respectively corresponding to the at least two first drug attributes and the first transaction information includes:

[0016] When the second drug attribute of the at least two first drug attributes corresponds to a drug type, determining a first drug dose of the second drug for the first drug channel and a second drug dose for the second drug channel, and determining a drug unit price of the second drug corresponding to the second drug channel; wherein the second drug corresponds to the second drug attribute;

[0017] According to the second drug dosage, the drug unit price and the first transaction information, obtaining a total drug price of the second drug at the first drug dosage at the drug unit price;

[0018] When the third drug attribute among the at least two first drug attributes corresponds to the device type, determining the device quantity of the third drug for the first drug channel, and determining the device unit price of the third drug corresponding to the second drug channel; wherein the third drug corresponds to the third drug attribute;

[0019] According to the number of devices and the unit price of the devices, a total price of the devices of the third drug is obtained;

[0020] The sum of the total price of the medicine and the total price of the device is determined and used as pricing information.

[0021] Optionally, before obtaining a first price difference result after the first drug is changed from the first drug channel to the second drug channel according to the pricing information and the first transaction information, the method further includes:

[0022] According to the first transaction information and a preset channel freight comparison table, first freight information of the first drug channel and second freight information of the second drug channel are obtained;

[0023] Obtaining a freight difference result according to the first freight information and the second freight information;

[0024] The obtaining, according to the pricing information and the first transaction information, a first price difference result after the first drug is changed from the first drug channel to the second drug channel includes:

[0025] According to the pricing information, the first transaction information and the freight difference result, a first price difference result is obtained after the first drug is changed from the first drug channel to the second drug channel.

[0026] Optionally, when the first price difference result is greater than or equal to a set threshold, sending the first price difference result to the first object includes:

[0027] When the first price difference result is greater than or equal to a set threshold, determining the channel type of the second drug channel;

[0028] When the channel type of the second drug channel is a set type, the first price difference result is sent to the first object.

[0029] Optionally, when the first object sends a message indicating agreement with the first price difference result, the channel allocation table set for the first object is updated;

[0030] receiving a distribution quantity of a first drug in a third time period sent by the first object; wherein the third time period is after the first time period;

[0031] Determining, according to the first transaction information, a first inventory of the first drug by the first object;

[0032] Determining the expected quantity of the first drug by the first object according to the distribution quantity and the first inventory;

[0033] Obtaining a first agreed time for the first drug channel and a second agreed time for the second drug channel in the channel allocation table, and obtaining a time difference between the first agreed time and the second agreed time;

[0034] Determine the channel allocation ratio corresponding to the time difference according to a preset third mapping relationship; wherein different time differences correspond to different channel allocation ratios;

[0035] Determine a first supply quantity for the first drug channel and a second supply quantity for the second drug channel according to the expected quantity, the first inventory, and the channel allocation ratio;

[0036] generating a shipping order according to the first supply quantity and the second supply quantity;

[0037] The shipping order is sent to the second object.

[0038] Optionally, after sending the delivery order to the second object, the method further includes:

[0039] Acquire second transaction time series data sent by the first object; wherein the second transaction time series data includes second drug information and second transaction information of at least two first drugs completed by the first object in a second time period; wherein the length of the first time period is equal to the sum of the lengths of at least two second time periods;

[0040] Obtaining a transaction comparison result according to the first transaction time series data and the second transaction time series data;

[0041] When the transaction comparison result indicates that the transaction amount of the first drug decreases, the transaction comparison result is sent to the first object.

[0042] According to a second aspect of the present disclosure, a drug transaction information processing device is also provided, the device comprising:

[0043] A data acquisition module, configured to acquire first transaction time series data sent by a first object; wherein the first transaction time series data includes first drug information and transaction information of a first drug that the first object completes a transaction in a first time period;

[0044] a channel determination module, configured to determine a first drug attribute and a first drug channel of the first drug according to the first drug information;

[0045] A channel determination module, used to determine whether there is a second drug channel having at least two first drug attributes according to a preset first mapping relationship; wherein the mapping relationship reflects that different drug channels correspond to different drug attributes;

[0046] an information determination module, for determining, when the second drug channel exists, pricing information of the first drug of the at least two first drug attributes by the second drug channel;

[0047] A result obtaining module, configured to obtain, according to the pricing information and the transaction information, a first price difference result after the first drug is changed from the first drug channel to the second drug channel;

[0048] A result sending module is used to send the first price difference result to the first object when the first price difference result is greater than or equal to a set threshold.

[0049] According to a third aspect of the present disclosure, an electronic device is also provided, including a memory and a processor, wherein the memory is used to store a computer program; and the processor is used to execute the computer program to implement the method according to the first aspect of the present disclosure.

[0050] According to a fourth aspect of the present disclosure, a computer-readable storage medium is further provided, on which a computer program is stored. When the computer program is executed by a processor, the method according to the first aspect of the present disclosure is implemented.

[0051] One beneficial effect of the disclosed embodiment is that the drug transaction information processing method provided by the present invention can obtain the first transaction time series data, and determine the first drug attribute and the first drug channel of the first drug based on the first drug information in the first transaction time series data, and determine whether there is a second drug channel with multiple first drug attributes, and determine the pricing information of the second drug channel for the first drug with multiple first drug attributes. Then, based on the pricing information and the first transaction information, the first price difference result is obtained, and then the first price difference result is pushed to the first object, so that the first object will have a greater probability of updating some alternative drug channels based on the first price difference result, which can improve the effectiveness and accuracy of the pushed information, and thus improve the experience of the managers of the first object.

[0052] Other features and advantages of the embodiments of the present disclosure will become apparent from the following detailed description of exemplary embodiments of the present disclosure with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles of the embodiments of the present disclosure.

[0054] Figure 1 is a schematic diagram of the composition structure of a drug transaction information processing system to which a drug transaction information processing method according to an embodiment can be applied;

[0055] Figure 2 is a flowchart of a method for processing drug transaction information according to an embodiment;

[0056] Figure 3 is a block diagram of a drug transaction information processing device according to an embodiment;

[0057] Figure 4 is a schematic diagram of the hardware structure of an electronic device according to an embodiment. DETAILED DESCRIPTION

[0058] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present invention unless otherwise specifically stated.

[0059] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.

[0060] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered part of the specification.

[0061] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0062] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0063] <System Embodiment>

[0064] Figure 1 FIG. 1 is a schematic diagram of the composition structure of a drug transaction information processing system to which a drug transaction information processing method according to an embodiment can be applied. Figure 1 As shown, the system includes a drug transaction information processing device 10 and a first object terminal device 20, and the system can be applied to drug management scenarios. The first object can be an offline pharmacy, a drug smart locker, etc.

[0065] The terminal device 20 of the first object is, for example, a mobile phone, a tablet or a computer, etc., which is not limited here.

[0066] The drug transaction information processing device 10 is, for example, a server, and the drug transaction information processing device 10 can be communicatively connected with the terminal device 20 of the first object.

[0067] As used in the embodiments of the present disclosure, the memory of the drug transaction information processing device 10 is used to store a computer program, which is used to control the processor of the drug transaction information processing device 10 to operate according to the drug transaction information processing method of any embodiment. A technician can design a computer program according to the scheme of the embodiments of the present disclosure. How the computer program controls the processor to operate is well known in the art, so it will not be described in detail here.

[0068] <Method Example>

[0069] Figure 2 is a flowchart of a method for processing drug transaction information according to an embodiment. Figure 1 Traditional Chinese medicine transaction information processing device 10.

[0070] like Figure 2 As shown, the drug transaction information processing method of this embodiment may include the following steps S210 to S260:

[0071] Step S210, obtaining first transaction timing data sent by the first object; wherein the first transaction timing data includes first drug information and first transaction information of the first drug completed by the first object within a first time period.

[0072] In some examples, the first object may be an offline pharmacy, a smart medicine locker, etc., which is not limited here.

[0073] In some examples, the first time period is, for example, a day, a week, or a month, which is not limited here.

[0074] In some examples, the first drug is a certain drug, which can be an oral drug, an external application drug, or a device drug, and is not limited here.

[0075] In some examples, the first drug information of the first drug is, for example, an approval number, a barcode, a digital identifier, drug attributes, a drug manufacturer, and a drug dosage, etc., which are not limited here.

[0076] In some examples, the first transaction information of the first drug includes, for example, the selling price, the selling discount, and the transaction time, etc., which are not limited here.

[0077] Step S220: determining a first drug attribute and a first drug channel of the first drug according to the first drug information.

[0078] In some examples, the drug attribute is the drug scientific name or the drug common name, etc., which is not limited here. The first drug attribute is the drug attribute of the first drug.

[0079] In some examples, a drug channel is a drug manufacturer, and a first drug channel is a drug manufacturer of a first drug that completes a transaction within a first time period.

[0080] Step S230, judging whether there is a second drug channel having at least two first drug attributes according to a preset first mapping relationship; wherein the first mapping relationship reflects that different drug channels correspond to different drug attributes.

[0081] In some examples, some drug channels may produce drugs with different drug attributes, and the same drug may also be produced by different drug channels. A first drug may be produced by different drug channels, that is, a second drug channel has at least two first drug attributes.

[0082] Step S240: when there is a second drug channel, determine pricing information of the second drug channel for the first drug with at least two first drug attributes.

[0083] In some examples, the drug transaction information processing device pre-stores pricing information of different drugs, and the pricing information may include the selling price or selling discount of the drug, etc., which is not limited here.

[0084] In some embodiments, step S240 may include the following steps S2401 to S2403:

[0085] Step S2401, determining a first drug having at least two first drug attributes for a second drug channel.

[0086] In some examples, when there is a second drug channel, it is determined that the second drug channel produces at least two first drugs, that is, the second drug channel produces first drugs with different first drug properties. The first mapping relationship includes the correspondence between the second drug channel and the drug scientific name or drug common name of the at least two first drugs.

[0087] Step S2402, determining the drug types corresponding to at least two first drug attributes respectively according to a preset second mapping relationship; wherein the second mapping relationship reflects that different drug attributes correspond to drug types or device types.

[0088] In some examples, the drug transaction information processing device pre-stores a second mapping relationship, which may include the types corresponding to each different drug scientific name or drug common name, for example, A capsule corresponds to the medicine type, B mask corresponds to the equipment type, etc.

[0089] Step S2403, obtaining pricing information of the first drug with at least two first drug attributes from the second drug channel according to the drug types and the first transaction information respectively corresponding to the at least two first drug attributes.

[0090] In other words, since the dosage of the same drug produced by different drug channels may be different, the drug transaction information processing device can calculate the selling price per gram or per milligram of the drug for drugs of the pharmaceutical type, and can also calculate the selling price of each drug or each unit of the drug for drugs of the pharmaceutical type, thereby effectively improving the accuracy of the obtained pricing information.

[0091] In some embodiments, step S2403 may include the following steps S2404 and S2405:

[0092] Step S2404, when the second drug attribute among at least two first drug attributes corresponds to the drug type, determine the first drug dosage of the second drug for the first drug channel and the second drug dosage for the second drug channel, and determine the drug unit price of the second drug corresponding to the second drug channel; wherein the second drug corresponds to the second drug attribute.

[0093] In some examples, the second drug is C tablet, whose first drug dosage in the first drug channel N1 is 40 mg / tablet and the drug unit price is 30 yuan, and whose second drug dosage in the second drug channel N2 is 20 mg / tablet and the drug unit price is 20 yuan.

[0094] Step S2405, according to the second drug dosage, the drug unit price and the first transaction information, obtain the total drug price of the second drug at the first drug dosage at the drug unit price.

[0095] In some examples, the dosage of the second drug is 20 mg / tablet and the unit price of the drug is 20 yuan, the first transaction information is that the unit price of the drug is 30 yuan, and the selling price of the second drug for the second drug channel is determined to be 1 yuan per mg, that is, the total price of the second drug at the unit price of the first drug dosage is 40 yuan.

[0096] Step S2406, when the third drug attribute among at least two first drug attributes corresponds to the device type, determine the device quantity of the third drug for the first drug channel, and determine the device unit price of the third drug corresponding to the second drug channel; wherein the third drug corresponds to the third drug attribute.

[0097] In some examples, the third drug is a D syringe, which is sold as a single drug in the first drug channel N3. The number of D syringes in the first drug channel N3 is 1, the capacity of the device is 20 ml, and the unit price of the device is 10 yuan. The D syringe is sold in multiples in the second drug channel N4. The number of D syringes in the second drug channel N4 is 3, and the unit price of the device is 15 yuan. It can be determined that the unit price of the third drug corresponding to the second drug channel N4 is 5 yuan / piece, and the capacity of the device is 10 ml.

[0098] Step S2407, obtaining the total price of the third drug according to the number of devices and the unit price of the devices.

[0099] In some examples, the number of devices is 3, the unit price of the device is 5 yuan per device, and the total price of the device is 15 yuan.

[0100] Step S2408, determine the sum of the total price of the medicine and the total price of the equipment, and use it as pricing information.

[0101] In this embodiment, the pricing information may include the total transaction price in the first time period, where the total transaction price = the total price of the drug + the total price of the device.

[0102] Step S250, obtaining a first price difference result after the first drug is changed from the first drug channel to the second drug channel according to the pricing information and the first transaction information.

[0103] In some examples, the pricing information includes a total transaction price of RMB 5,000, the first transaction information includes a selling price of RMB 4,500, and the first price difference result is RMB 500.

[0104] In some embodiments, before step S250, the method further includes the following step S249:

[0105] Step S248, obtaining the first freight information of the first drug channel and the second freight information of the second drug channel according to the first transaction information and the preset channel freight comparison table.

[0106] In some examples, the drug transaction information processing device also pre-stores a channel freight comparison table, which includes the freight required for different drug channels to sell different quantities of drugs, and also corresponds to different freight standards for different drug types, as well as freight standards corresponding to the combined delivery of each drug type. For example, the first drug channel N5 has a freight standard of 5 yuan / kg for tablets E, and the first drug channel N6 has a freight standard of 2.5 yuan / kg for syringes F. The second drug channel N6 has a freight standard of 5 yuan / kg for tablets E, a freight standard of 2 yuan / kg for syringes F, and a freight standard of 3 yuan / kg for the combination of tablets E+syringes F.

[0107] Continuing with the above example, the first transaction information is 20kg of drug E and 10kg of syringe F, then the first freight information is 125 yuan, and the second freight information is 90 yuan.

[0108] Step S249, obtaining a freight difference result according to the first freight information and the second freight information.

[0109] Continuing with the above example, the freight difference result = the second freight information - the first freight information, that is, the freight difference result is 35 yuan.

[0110] The step S250 may include the following steps S2501:

[0111] Step S2501, obtaining a first price difference result after the first drug is changed from the first drug channel to the second drug channel according to the pricing information, the first transaction information and the freight difference result.

[0112] In some examples, the first price difference result = pricing information - first transaction information - freight difference result.

[0113] In other words, the first price difference result includes the freight difference result, which can further improve the accuracy of the price difference generated after changing the drug channel, and further improve the accuracy of the information fed back to the terminal device of the first drug.

[0114] Step S260: When the first price difference result is greater than or equal to a set threshold, the first price difference result is sent to the first object.

[0115] In some examples, the set threshold may be a fixed value, or may be determined based on the sales quantity of the first drug in the first transaction information, which is not limited here.

[0116] In some embodiments, step S260 may include the following steps S2601 and S2602:

[0117] Step S2601, when the first price difference result is greater than or equal to a set threshold, determine the channel type of the second drug channel.

[0118] In some examples, the channel type of the second drug channel may be a preferred type or a non-preferred type. The channel type may be manually preset and is not limited here.

[0119] Step S2602, when the channel type of the second drug channel is a set type, sending a first price difference result to the first object.

[0120] In some examples, the setting type may be a preference type, and when the channel type of the second drug channel is a preference type, the first price difference result may be sent to the first object.

[0121] In other words, when the first price difference result is greater than or equal to the set threshold, for the first drug, the price difference between the first drug channel and the second drug channel is small, and only the drug channel of the set preferred type is fed back to the first object. By providing drug merchants with the option of setting preferred types, drug merchants can push more information to the first object.

[0122] In some embodiments, after step S260, the method further includes the following steps S271 to S279:

[0123] Step S271, when the first object sends a message indicating that it agrees with the first price difference result, the channel allocation table set for the first object is updated.

[0124] In some examples, a different channel allocation table is set for each first object, and the channel allocation table can store the drug channel corresponding to the first object.

[0125] In some examples, when the first object sends a message indicating its agreement with the first price difference result, the second drug channel corresponding to the first price difference result may be stored in the channel allocation table set for the first object.

[0126] Step S272, receiving the distribution quantity of the first drug in the third time period sent by the first object; wherein the third time period is after the first time period.

[0127] In some examples, the terminal device of the first object may send to the drug transaction information processing device the distribution quantity of the first drug in the third time period after the first time period. For example, the first time period is the 20th, the third time period may be the 21st, and the first object may send the distribution quantity for the first drug on the 21st. The distribution quantity may be the actual demand of the first object for the first drug.

[0128] Step S273: Determine the first inventory of the first drug of the first object according to the first transaction information.

[0129] In some examples, the drug transaction information processing device may pre-store the inventory of each first object for different drugs, that is, the drug transaction information processing device may store the inventory of the first drug for the first object. After the first drug is traded, the drug transaction information processing device may obtain the sales quantity of the first drug according to the first transaction information, and then subtract the sales quantity from the above inventory to obtain the first inventory of the first drug for the first object.

[0130] Step S274, determining the expected quantity of the first drug for the first object according to the distribution quantity and the first inventory.

[0131] In some examples, desired quantity=allocated quantity+first inventory quantity.

[0132] In some examples, the expected quantity = the distribution quantity + the first inventory - the natural loss quantity. The first drug information of the first drug also includes the drug shelf life of the first drug. When the drug shelf life of the first drug is earlier than the set deadline, the first drug is naturally lost. The set deadline can be a period of time before the third time period, for example, the first three months of the third time period, the first year of the third time period, etc.

[0133] Step S275, obtaining a first agreed time for the first drug channel and a second agreed time for the second drug channel in the channel allocation table, and obtaining a time difference between the first agreed time and the second agreed time.

[0134] In some examples, when the first object agrees to the first price difference result, the channel allocation table for the first object can store the second drug channel and record the stored second agreed time. Correspondingly, for the first drug channel, the channel allocation table can also record the stored first agreed time.

[0135] In some examples, the time difference may be a time length, such as 1 day, 5 days, or 10 days, etc., which is not limited here. Time difference = second agreed time - first agreed time.

[0136] Step S276, determining the channel allocation ratio corresponding to the time difference according to the preset third mapping relationship; wherein different time differences correspond to different channel allocation ratios.

[0137] In some examples, the third mapping relationship can be that the greater the time difference, the greater the channel allocation ratio of the first drug channel and the second drug channel. For example, when the time difference is 1 day, the channel allocation ratio of the first drug channel and the second drug channel is 1.01:1; when the time difference is 1 month, the channel allocation ratio of the first drug channel and the second drug channel is 1.5:1.

[0138] In some examples, the channel allocation ratio can be subsequently adjusted by the manager of the first object. That is, the manager of the first object can feedback the channel allocation ratio of the first drug to the drug transaction information processing device based on the sales of the first drug, so that the channel allocation ratio is updated to the channel allocation ratio feedback by the manager of the first object.

[0139] In other words, when the time difference is small, for the first drug, the sales of the first drug channel and the second drug channel can be tried at the same time, so that the management personnel of the first object can quickly judge the sales advantages and disadvantages of the first drug channel and the second drug channel. When the time difference is large, the proportion of the first drug channel in the expected amount is higher. On the premise of trying the first drug of the new second drug channel, the normal sales of the first drug of the first drug channel by the first object are ensured.

[0140] Step S277, determining a first supply quantity for the first drug channel and a second supply quantity for the second drug channel according to the expected quantity, the first inventory and the channel allocation ratio.

[0141] In some examples, the drug transaction information processing device can set different channel allocation ratios for different first objects. For example, the distribution quantity is 100, the first inventory of the first drug channel N7 is 200, and the channel allocation ratio is the first drug channel N7: the second drug channel N8 = 1:1, then the first supply quantity for the first drug channel N7 is 0, and the first supply quantity for the second drug channel N8 is 100.

[0142] For another example, the distribution quantity is 100, the first inventory of the first drug channel N9 is 0, and the channel allocation ratio is first drug channel N9: second drug channel N10 = 1:1. Then, the first supply quantity for the first drug channel N7 is 50, and the first supply quantity for the second drug channel N8 is 50.

[0143] For another example, the distribution quantity is 100, the first inventory of the first drug channel N11 is 20, and the channel allocation ratio is first drug channel N11: second drug channel N12 = 1:3. Then, the first supply quantity for the first drug channel N7 is 10, and the first supply quantity for the second drug channel N8 is 90.

[0144] Step S278, generating a delivery order according to the first supply quantity and the second supply quantity.

[0145] In some examples, after the drug transaction information processing device generates a delivery order, the delivery order can be sent to a terminal device of a drug manufacturer.

[0146] Step S279: Send a delivery order to the second object.

[0147] In some examples, after the first subject agrees to the first price difference result, the channel allocation table of the first subject is updated, and drugs from different drug channels can be dispatched to the first subject under the authorization of the first subject.

[0148] In other words, for some newer drug channels, some first parties can proactively set the channel allocation ratio, thereby effectively controlling the number of new drug channels within a reasonable range, and thereby providing reasonable delivery orders to the first parties more quickly, effectively improving delivery efficiency.

[0149] In some embodiments, after step S279, the method further includes steps S281 to S283:

[0150] Step S281, obtaining the second transaction timing data sent by the first object; wherein the second transaction timing data includes the second drug information and the second transaction information of at least two first drugs completed by the first object within the second time period; wherein the time length of the first time period is equal to the sum of the time lengths of at least two second time periods.

[0151] In some examples, the second time period may be 1 day, 3 days, 5 days, etc., which is not limited here.

[0152] In some examples, when the length of the first time period is 5 days, the length of each second time period may be 1 day.

[0153] Step S282, obtaining a transaction comparison result according to the first transaction time series data and the second transaction time series data.

[0154] In some examples, the drug transaction information processing device can obtain the sum of the transaction amounts in the transaction time series data of all the second time periods, and subtract the sum of the transaction amounts from the transaction amount in the first transaction time series data to obtain the corresponding transaction comparison result.

[0155] Step S283: When the transaction comparison result indicates that the transaction amount of the first drug decreases, the transaction comparison result is sent to the first object.

[0156] In some examples, when the transaction comparison result is positive, the transaction comparison result may be sent to the first object.

[0157] <Equipment Example 1>

[0158] Figure 3 FIG. 1 is a block diagram of a drug transaction information processing device according to an embodiment. Figure 3 As shown, the drug transaction information processing device 300 may include:

[0159] The data acquisition module 310 is used to acquire first transaction time series data sent by the first object; wherein the first transaction time series data includes first drug information and transaction information of the first drug completed by the first object within the first time period;

[0160] A channel determination module 320, for determining a first drug attribute and a first drug channel of a first drug according to the first drug information;

[0161] The channel determination module 330 is used to determine whether there is a second drug channel having at least two first drug attributes according to a preset first mapping relationship; wherein the mapping relationship reflects that different drug channels correspond to different drug attributes;

[0162] An information determination module 340 is used to determine pricing information of the second drug channel for the first drug with at least two first drug attributes when there is a second drug channel;

[0163] A result obtaining module 350 is used to obtain a first price difference result after the first drug is changed from the first drug channel to the second drug channel according to the pricing information and the transaction information;

[0164] The result sending module 360 ​​is used to send the first price difference result to the first object when the first price difference result is greater than or equal to a set threshold.

[0165] Optionally, the information determination module 340 is also used to determine the first drug of at least two first drug attributes for the second drug channel; determine the drug types corresponding to the at least two first drug attributes respectively according to a preset second mapping relationship; wherein the second mapping relationship reflects that different drug attributes correspond to drug types or device types; and obtain pricing information of the first drug of at least two first drug attributes for the second drug channel according to the drug types corresponding to the at least two first drug attributes and the first transaction information.

[0166] Optionally, the information determination module 340 is also used to determine the first drug dosage of the second drug for the first drug channel and the second drug dosage for the second drug channel, and determine the drug unit price of the second drug corresponding to the second drug channel when the second drug attribute among at least two first drug attributes corresponds to the drug type; wherein the second drug corresponds to the second drug attribute; according to the second drug dosage, the drug unit price and the first transaction information, obtain the total drug price of the second drug at the drug unit price under the first drug dosage; when the third drug attribute among at least two first drug attributes corresponds to the device type, determine the device quantity of the third drug for the first drug channel, and determine the device unit price of the third drug corresponding to the second drug channel; wherein the third drug corresponds to the third drug attribute; according to the device quantity and the device unit price, obtain the total device price of the third drug; determine the sum of the total drug price and the total device price, and use it as pricing information.

[0167] Optionally, the drug transaction information processing device 300 also includes a freight difference result obtaining module, which is used to obtain the first freight information of the first drug channel and the second freight information of the second drug channel according to the first transaction information and a preset channel freight comparison table; and obtain the freight difference result according to the first freight information and the second freight information.

[0168] The result obtaining module 350 is also used to obtain a first price difference result after the first drug is changed from the first drug channel to the second drug channel according to the pricing information, the first transaction information and the freight difference result.

[0169] Optionally, the result sending module 360 ​​is further used to determine the channel type of the second drug channel when the first price difference result is equal to a set threshold; and to send the first price difference result to the first object when the channel type of the second drug channel is the set type.

[0170] Optionally, the drug transaction information processing device 300 also includes an order sending module, which is used to update the channel allocation table set for the first object when the first object sends an indication of agreement to the first price difference result; receive the allocation quantity of the first drug in the third time period sent by the first object; wherein the third time period is after the first time period; determine the first inventory of the first drug by the first object based on the first transaction information; determine the expected quantity of the first drug by the first object based on the allocation quantity and the first inventory; obtain the first agreed time for the first drug channel and the second agreed time for the second drug channel in the channel allocation table, and obtain the time difference between the first agreed time and the second agreed time; determine the channel allocation ratio corresponding to the time difference based on a preset third mapping relationship; wherein different time differences correspond to different channel allocation ratios; determine the first supply quantity for the first drug channel and the second supply quantity for the second drug channel based on the expected quantity, the first inventory and the channel allocation ratio; generate a shipping order based on the first supply quantity and the second supply quantity; and send the shipping order to the second object.

[0171] Optionally, the drug transaction information processing device 300 also includes a data acquisition module for acquiring second transaction timing data sent by the first object; wherein the second transaction timing data includes second drug information and second transaction information of at least two first drugs completed by the first object within a second time period; wherein the time length of the first time period is equal to the sum of the time lengths of at least two second time periods; based on the first transaction timing data and the second transaction timing data, a transaction comparison result is obtained; when the transaction comparison result indicates that the transaction amount of the first drug has decreased, the transaction comparison result is sent to the first object.

[0172] The drug transaction information processing device 300 may be Figure 1 The drug transaction information processing device 10.

[0173] <Equipment Example 2>

[0174] Figure 4 is a schematic diagram of the hardware structure of an electronic device according to another embodiment.

[0175] like Figure 4 As shown, the electronic device 400 includes a processor 410 and a memory 420, wherein the memory 420 is used to store an executable computer program, and the processor 410 is used to execute a method such as any of the above method embodiments under the control of the computer program.

[0176] The electronic device 400 may be Figure 1 The drug transaction information processing device 10.

[0177] Each module of the above-mentioned drug transaction information processing device 300 can be implemented by the processor 410 in this embodiment executing a computer program stored in the memory 420, or can be implemented by other structures, which is not limited here.

[0178] The present invention may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present invention.

[0179] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the above. More specific examples (a non-exhaustive list) of computer-readable storage media include: 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), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the above. The computer-readable storage medium used herein is not to be interpreted as a transient signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0180] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0181] The computer program instructions for performing the operation of the present invention may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. The computer-readable program instructions may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect through the Internet). In some embodiments, by using the state information of the computer-readable program instructions to personalize an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), the electronic circuit may execute the computer-readable program instructions, thereby implementing various aspects of the present invention.

[0182] Various aspects of the present invention are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to embodiments of the present invention. It should be understood that each box of the flowchart and / or block diagram and the combination of the boxes in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0183] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0184] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0185] The flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of an instruction, and the module, a program segment or a part of an instruction contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of the boxes in the block diagram and / or the flowchart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that it is equivalent to implement it by hardware, implement it by software, and implement it by combining software and hardware.

[0186] Embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the marketplace, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the present invention is defined by the appended claims.

Claims

1. A method for processing drug transaction information, characterized in that: The method comprises: Acquire first transaction time series data sent by a first object; wherein the first transaction time series data includes first drug information and first transaction information of a first drug completed by the first object within a first time period; Determining a first drug attribute and a first drug channel of the first drug according to the first drug information; According to a preset first mapping relationship, determining whether there is a second drug channel having at least two first drug attributes; wherein the first mapping relationship reflects that different drug channels correspond to different drug attributes; When the second drug channel exists, determining pricing information of the first drug having the at least two first drug attributes corresponding to the second drug channel; Obtaining, according to the pricing information and the first transaction information, a first price difference result after the first drug is changed from the first drug channel to the second drug channel; When the first price difference result is greater than or equal to a set threshold, sending the first price difference result to the first object; When the first price difference result is greater than or equal to a set threshold, after sending the first price difference result to the first object, the method further includes: When the first object sends a message indicating that it agrees with the first price difference result, updating the channel allocation table set for the first object; receiving a distribution quantity of a first drug in a third time period sent by the first object; wherein the third time period is after the first time period; Determining, according to the first transaction information, a first inventory of the first drug by the first object; Determining the expected quantity of the first drug by the first object according to the distribution quantity and the first inventory; Obtaining a first agreed time for the first drug channel and a second agreed time for the second drug channel in the channel allocation table, and obtaining a time difference between the first agreed time and the second agreed time; Determine the channel allocation ratio corresponding to the time difference according to a preset third mapping relationship; wherein different time differences correspond to different channel allocation ratios; Determine a first supply quantity for the first drug channel and a second supply quantity for the second drug channel according to the expected quantity, the first inventory, and the channel allocation ratio; generating a shipping order according to the first supply quantity and the second supply quantity; The shipping order is sent to the second object.

2. The method according to claim 1, characterized in that The determining the pricing information of the first drug of the at least two first drug attributes through the second drug channel includes: Determining that the second drug channel corresponds to the first drug having the at least two first drug attributes; Determine the drug types corresponding to the at least two first drug attributes respectively according to a preset second mapping relationship; wherein the second mapping relationship reflects that different drug attributes correspond to drug types or device types; According to the drug types respectively corresponding to the at least two first drug attributes and the first transaction information, pricing information of the first drug with the at least two first drug attributes by the second drug channel is obtained.

3. The method according to claim 2, characterized in that The obtaining, according to the drug types respectively corresponding to the at least two first drug attributes and the first transaction information, pricing information of the first drug of the at least two first drug attributes through the second drug channel includes: When the second drug attribute of the at least two first drug attributes corresponds to a drug type, determining a first drug dose of the second drug for the first drug channel and a second drug dose for the second drug channel, and determining a drug unit price of the second drug corresponding to the second drug channel; wherein the second drug corresponds to the second drug attribute; According to the second drug dosage, the drug unit price and the first transaction information, obtaining a total drug price of the second drug at the first drug dosage at the drug unit price; When the third drug attribute among the at least two first drug attributes corresponds to the device type, determining the device quantity of the third drug for the first drug channel, and determining the device unit price of the third drug corresponding to the second drug channel; wherein the third drug corresponds to the third drug attribute; According to the number of devices and the unit price of the devices, a total price of the devices of the third drug is obtained; The sum of the total price of the medicine and the total price of the device is determined and used as pricing information.

4. The method according to claim 1, characterized in that: Before obtaining a first price difference result after the first drug is changed from the first drug channel to the second drug channel according to the pricing information and the first transaction information, the method further includes: According to the first transaction information and a preset channel freight comparison table, first freight information of the first drug channel and second freight information of the second drug channel are obtained; Obtaining a freight difference result according to the first freight information and the second freight information; The obtaining, according to the pricing information and the first transaction information, a first price difference result after the first drug is changed from the first drug channel to the second drug channel includes: According to the pricing information, the first transaction information and the freight difference result, a first price difference result is obtained after the first drug is changed from the first drug channel to the second drug channel.

5. The method according to any one of claims 1 to 4, characterized in that: When the first price difference result is greater than or equal to a set threshold, sending the first price difference result to the first object includes: When the first price difference result is greater than or equal to a set threshold, determining the channel type of the second drug channel; When the channel type of the second drug channel is a set type, the first price difference result is sent to the first object.

6. The method according to claim 1, characterized in that After sending the delivery order to the second object, the method further includes: Acquire second transaction time series data sent by the first object; wherein the second transaction time series data includes second drug information and second transaction information of at least two first drugs completed by the first object in a second time period; wherein the length of the first time period is equal to the sum of the lengths of at least two second time periods; Obtaining a transaction comparison result according to the first transaction time series data and the second transaction time series data; When the transaction comparison result indicates that the transaction amount of the first drug decreases, the transaction comparison result is sent to the first object.

7. A drug transaction information processing device, characterized in that: The device comprises: A data acquisition module, configured to acquire first transaction time series data sent by a first object; wherein the first transaction time series data includes first drug information and transaction information of a first drug that the first object completes a transaction in a first time period; a channel determination module, configured to determine a first drug attribute and a first drug channel of the first drug according to the first drug information; A channel determination module, used to determine whether there is a second drug channel having at least two first drug attributes according to a preset first mapping relationship; wherein the mapping relationship reflects that different drug channels correspond to different drug attributes; an information determination module, for determining, when the second drug channel exists, pricing information of the first drug of the at least two first drug attributes by the second drug channel; A result obtaining module, used for obtaining a first price difference result after the first drug is changed from the first drug channel to the second drug channel according to the pricing information and the transaction information; A result sending module, configured to send the first price difference result to the first object when the first price difference result is greater than or equal to a set threshold; An order sending module is used to update the channel allocation table set for the first object when the first object sends a message indicating that it agrees with the first price difference result; receive the distribution quantity of the first drug in a third time period sent by the first object; wherein the third time period is after the first time period; determine the first inventory of the first drug by the first object according to the first transaction information; determine the expected quantity of the first drug by the first object according to the distribution quantity and the first inventory; obtain the first agreed time for the first drug channel and the second agreed time for the second drug channel in the channel allocation table, and obtain the time difference between the first agreed time and the second agreed time; determine the channel allocation ratio corresponding to the time difference according to a preset third mapping relationship; wherein different time differences correspond to different channel allocation ratios; determine the first supply quantity for the first drug channel and the second supply quantity for the second drug channel according to the expected quantity, the first inventory and the channel allocation ratio; generate a shipping order according to the first supply quantity and the second supply quantity; and send the shipping order to the second object.

8. An electronic device, characterized in that: The method comprises a memory and a processor, wherein the memory is used to store a computer program; and the processor is used to execute the computer program to implement the method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Article query comparison method and device, storage medium and processor

    CN107220871A