Electronic order processing method, device, electronic equipment and storage medium

By establishing the data format conversion relationship and determining the communication method in the front-end client, the problem of data transmission differences between the medical insurance system and the pharmaceutical retail system is solved, and the maintainability and scalability of the system are improved.

CN113222693BActive Publication Date: 2024-09-24BEIJING JINGDONG TUOXIAN TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202110469951.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-28
Publication Date
2024-09-24
Estimated Expiration
2041-04-28

AI Technical Summary

Technical Problem

Due to the different data formats and communication methods in different regions, the data transmission between the existing medical insurance system and the pharmaceutical retail system requires the development of different front-end client clients for each region, resulting in poor scalability and maintainability of the pharmaceutical retail system. .

Method used

By establishing a conversion relationship between the set field format and the field format supported by each system in the front-end machine client, the data format conversion and communication method are determined according to the system type field carried in the order data to ensure that the order data can be processed in each system. Process normally.

Benefits of technology

It realizes that the front-end client can be applied to third-party billing systems in various regions, reducing the need for separate development in each region and improving the maintainability and scalability of the pharmaceutical retail system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113222693B
    Figure CN113222693B
Patent Text Reader

Abstract

The present application discloses an electronic order processing method, device, electronic device and storage medium. The method includes: receiving order data in a set field format; the order data carries a first system type field; the first system type field represents the identifier of the first system that performs order processing on the order data; based on the first system type field carried in the order data, querying the first conversion relationship between the set field format and the first field format in a set mapping list, and based on the first conversion relationship, modifying the order data in the set field format to order data in the first field format; the first field format represents the field format of the order data supported by the first system for order processing; sending the order data in the first field format to the first system, so that the first system performs order processing based on the order data in the first field format.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet data transmission, and in particular to an electronic order processing method, device, electronic device and storage medium. Background Art

[0002] When using the pharmaceutical retail system in offline pharmacies, medical insurance cards are usually used to purchase medicines. In order to support the function of using medical insurance cards to purchase medicines, the pharmaceutical retail system needs to transmit data with the medical insurance system. However, the medical insurance system cannot access the public network, so the front-end client is needed to realize the data transmission between the medical insurance system and the pharmaceutical retail system. Since the data transmission and communication methods and supported data formats of medical insurance systems in various places are different, it is necessary to develop corresponding front-end clients for medical insurance systems in various places, resulting in poor scalability and maintainability of the pharmaceutical retail system. Summary of the invention

[0003] In view of this, the main purpose of the embodiments of the present application is to provide an electronic order processing method, device, electronic device and storage medium to solve the problem of poor scalability of the front-end client and pharmaceutical retail system required to be developed for local medical insurance systems in related technologies.

[0004] To achieve the above purpose, the technical solution of the embodiment of the present application is implemented as follows:

[0005] The present application provides an electronic order processing method, the method comprising:

[0006] Receiving order data in a set field format; the order data carries a first system type field; the first system type field represents an identifier of a first system for order processing of the order data;

[0007] Based on the first system type field carried in the order data, a first conversion relationship between the set field format and the first field format is queried in the set mapping list, and based on the first conversion relationship, the order data in the set field format is modified into the order data in the first field format; the first field format represents the field format of the order data for order processing supported by the first system;

[0008] The order data in the first field format is sent to the first system, so that the first system processes the order based on the order data in the first field format.

[0009] In the above solution, the setting mapping list represents a mapping list composed of conversion relationships established between setting field formats and corresponding field formats supported by the system.

[0010] In the above solution, after modifying the order data in the set field format to the order data in the first field format, the method further includes:

[0011] Assign the numerical value corresponding to the order data in the set field format to the corresponding order data in the first field format.

[0012] In the above solution, sending the order data in the first field format to the first system includes:

[0013] Based on the first system corresponding to the order data in the first field format, determining a first data communication mode corresponding to the first system;

[0014] Based on the first data communication method, the order data in the first field format is sent to the first system.

[0015] In the above scheme, the types of the first data communication method include: a data communication method based on a Hyper Text Transfer Protocol (HTTP) interface, a data communication method based on text file (TXT) reading and writing, and a data communication method based on Windows operation commands.

[0016] In the above scheme, the method further includes:

[0017] The second conversion relationship is saved in the setting mapping list; wherein,

[0018] The second conversion relationship represents a conversion relationship between a set field format and a field format supported by the second system; the second system type represents a newly added system type.

[0019] In the above scheme, the method further includes:

[0020] A second data communication method corresponding to the second system is saved.

[0021] The present application also provides an electronic order processing device, the device comprising:

[0022] A receiving unit, configured to receive order data in a set field format; the order data carries a first system type field; the first system type field represents an identifier of a first system for processing the order data;

[0023] a modification unit, configured to query a first conversion relationship between the set field format and the first field format in a set mapping list based on the first system type field carried in the order data, and modify the order data in the set field format into the order data in the first field format based on the first conversion relationship; the first field format represents a field format of the order data for order processing supported by the first system;

[0024] A sending unit is used to send the order data in the first field format to the first system, so that the first system processes the order based on the order data in the first field format.

[0025] The embodiment of the present application further provides an electronic device, comprising: a processor and a memory for storing a computer program that can be run on the processor, wherein:

[0026] The processor is used to execute the steps of any of the above methods when running the computer program.

[0027] An embodiment of the present application further provides a storage medium having a computer program stored thereon, wherein the computer program implements the steps of any of the above methods when executed by a processor.

[0028] In an embodiment of the present application, order data in a set field format is received, and the order data carries a first system type field; the first system type field represents the identifier of the first system that performs order processing of the order data; based on the first system type field carried in the order data, the first conversion relationship between the set field format and the first field format is queried in the set mapping list, and based on the first conversion relationship, the order data in the set field format is modified to order data in the first field format; the first field format represents the field format of the order data supported by the first system for order processing; the order data in the first field format is sent to the first system, so that the first system performs order processing based on the order data in the first field format. In this way, the front-end client receives order data in the same field format, and according to the system identifier carried in the order data, the order data is converted into order data in the field format supported by the system, thereby completing the order processing of the order data in the system. Since the front-end client stores the conversion relationship between the set field format and the field format supported by each system, this set of front-end clients can be applied to third-party billing systems in various regions, and there is no need to develop corresponding front-end clients separately for third-party billing systems in various regions, which improves the maintainability and extensibility of the industry retail system. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 A schematic diagram of the architecture running for a third-party billing system;

[0030] Figure 2 A schematic diagram of the process of data transmission between the pharmaceutical retail system and the medical insurance system provided in the embodiment of the present application;

[0031] Figure 3 A schematic diagram of the implementation flow of the electronic order processing method provided in the embodiment of the present application;

[0032] Figure 4 A flow chart of a data processing model provided for an application example of the present application;

[0033] Figure 5 A schematic diagram of the process of data transmission between the pharmaceutical retail system and the medical insurance system provided in the application embodiment of the present application;

[0034] Figure 6 A schematic diagram of an electronic order processing device provided in an embodiment of the present application;

[0035] Figure 7 Schematic diagram of the hardware structure of the electronic device according to the embodiment of the present application. DETAILED DESCRIPTION

[0036] Figure 1 A schematic diagram of the architecture running for a third-party billing system, such as Figure 1 As shown:

[0037] The third-party billing system client and the front-end client communicate through the internal network, and the front-end client and the industry retail system communicate through the public network. The third-party billing system client cannot directly access the public network, so the third-party billing system client and the industry retail system need to use the front-end client for data transmission.

[0038] In actual applications, the above architecture diagram can be an architecture diagram of the operation of the medical insurance system, the third-party billing system is the medical insurance system, and the industry retail system is the pharmaceutical retail system. When using the pharmaceutical retail system in offline pharmacies, medical insurance cards are usually used to swipe and buy medicines. In order to support the function of using medical insurance cards to swipe and buy medicines, the pharmaceutical retail system needs to transmit data with the medical insurance system. After the payment is completed through the medical insurance card, the medical insurance system needs to synchronize the payment results to the pharmaceutical retail system. Due to network environment restrictions, the medical insurance system cannot access the public network, so the front-end client is needed to realize the data transmission between the medical insurance system and the pharmaceutical retail system. Since the data format of the order data supported by the medical insurance systems in provinces, cities, and regions across the country and the corresponding data communication methods are different, it is necessary to develop corresponding front-end clients for the medical insurance systems in various places.

[0039] Figure 2A schematic diagram of the process of data transmission between the pharmaceutical retail system and the medical insurance system provided in the embodiment of the present application, such as Figure 2 As shown:

[0040] The front-end client polls the order to be paid to the pharmaceutical retail system. The pharmaceutical retail system queries the order data. Since the data is transmitted with the medical insurance system in area A, the data is assembled according to the requirements of the medical insurance system in area A. After the order data is converted into a data format supported by the medical insurance system in area A, it is transmitted to the front-end client. The front-end client transmits the converted order data to the medical insurance system client through the corresponding data transmission communication method. After the medical insurance system performs relevant verification of the order data and completes the payment using the medical insurance card, the payment result is returned to the pharmaceutical retail system through the front-end client. The pharmaceutical retail system parses the order payment result data and performs subsequent operations based on the parsed results.

[0041] It can be seen that under the architecture of the above-mentioned third-party billing system operation, data assembly is required in accordance with the requirements of the data format supported by the third-party billing systems in various regions, and the data transmission and communication methods of the third-party billing systems in various regions need to be adapted. Therefore, it is necessary to develop a corresponding front-end client separately for the third-party billing system in each region, resulting in poor scalability and maintainability of the industry retail system.

[0042] Based on this, the embodiment of the present application provides an electronic order processing method, device, electronic device and storage medium, which receives order data in a set field format, wherein the order data carries a first system type field; the first system type field represents the identifier of the first system that performs order processing on the order data; based on the first system type field carried in the order data, a first conversion relationship between the set field format and the first field format is queried in a set mapping list, and based on the first conversion relationship, the order data in the set field format is modified to order data in the first field format; the first field format represents the field format of the order data supported by the first system for order processing; the order data in the first field format is sent to the first system, so that the first system performs order processing based on the order data in the first field format. In this way, the front-end client receives order data in the same field format, and converts the order data into order data in a field format supported by the system according to the system identifier carried in the order data, thereby completing order processing of the order data in the system. Since the front-end client stores the conversion relationship between the set field format and the field format supported by each system, this set of front-end clients can be applied to third-party billing systems in various regions. There is no need to develop corresponding front-end clients separately for third-party billing systems in various regions, which improves the maintainability and scalability of the industry retail system.

[0043] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments. For ease of understanding, the present application takes the payment by the medical insurance system as an example to further describe the electronic order processing method provided by the present application.

[0044] Figure 3 The following is a schematic diagram of the implementation process of the electronic order processing method provided in the embodiment of the present application. Figure 3 As shown, the method includes:

[0045] Step 301: receiving order data in a set field format; the order data carries a first system type field; the first system type field represents the identifier of a first system for processing the order data.

[0046] Here, the front-end client receives order data in a set field format. The order data contains a series of fields, one of which is a field carrying the first system type. The system type field represents the identifier of the system that processes the order data, that is, it indicates in which system the order data is processed. If the order data carries the first system type field, it indicates that the order data is processed in the first system. Among them, the system type represents the type of the third-party billing system.

[0047] In actual applications, the pharmaceutical retail system changes the field format of all order data to a unified set field format. For example, before the pharmaceutical retail system changes the field format of the order data, the amount field format in the order data in region A is (medical insurance amount: price, cash amount: cashprice), and the amount field format in the order data in region B is (medical insurance amount: jine). After the pharmaceutical retail system changes the field format of the order data, the amount field format in the order data is uniformly defined as (medical insurance amount: yibaoprice, cash amount cashprice), and the naming of the same information is unified. Region B does not define the cash amount field, so the cash amount field may not be used. The order data with the set field format may be in json format or XML format. The first system type may be a first medical insurance system type.

[0048] Step 302: Based on the first system type field carried in the order data, a first conversion relationship between the set field format and the first field format is queried in the set mapping list, and based on the first conversion relationship, the order data in the set field format is modified to the order data in the first field format; the first field format represents the field format of the order data supported by the first system for order processing.

[0049] Here, a setting mapping list is stored in the front-end client, and the setting mapping list stores a first conversion relationship between the setting field format and the first field format. The order data carries a first system type field, which indicates that the order data is processed in the first system. In order to successfully complete the order processing of the order data in the first system, the order data needs to be converted into the first field format. The first field format indicates the field format of the order data supported by the first system for order processing, that is, an adaptation operation of the order data field format needs to be performed. The specific adaptation operation process is that the front-end client finds the conversion relationship between the setting field format and the first field format in the setting mapping list, and the conversion relationship indicates the content that should be modified when converting the setting field format and the first field format. After the conversion relationship is queried, the order data in the setting field format is modified to the order data in the first field format based on the conversion relationship.

[0050] Step 303: Send the order data in the first field format to the first system, so that the first system processes the order based on the order data in the first field format.

[0051] Here, after the field format of the order data is modified, order data in a first field format is obtained, and the order data in the first field format is sent to the first system, and the first system processes the order based on the order data in the first field format to obtain an order processing result.

[0052] It should be noted that since the front-end client can convert the set field format into the field format supported by the system, the pharmaceutical retail system does not need to convert the order data field format according to the different regions where the medical insurance system is located. The pharmaceutical retail system only needs to encapsulate the order data into the set field format order data. No matter what region's medical insurance system the pharmaceutical retail system is connected to in the future, there is no need to change the system program. If there is a medical insurance system with relatively unique requirements, it is only necessary to iterate the expansion fields in the pharmaceutical retail system. The development of field format adaptation is maintained by the front-end client, and will not have much impact on the functions of the system services of the back-end pharmaceutical retail system.

[0053] In one embodiment, the setting mapping list represents a mapping list consisting of conversion relationships established between setting field formats and corresponding field formats supported by the system.

[0054] Here, the setting mapping list represents a mapping list consisting of the conversion relationship between the setting field format and the corresponding field format supported by the system. In order to select the adapted field format according to the system type field carried in the order data, the front-end client stores the conversion relationship between the setting field format and the field format supported by the system corresponding to each system type.

[0055] By setting the mapping list, the front-end client can accurately convert the field format of the order data according to the system corresponding to the order data, thereby improving the order processing efficiency.

[0056] In one embodiment, after modifying the order data in the set field format to the order data in the first field format, the method further includes:

[0057] Assign the numerical value corresponding to the order data in the set field format to the corresponding order data in the first field format.

[0058] Here, after completing the modification of the field format, it is also necessary to assign the value corresponding to the order data in the set field format to the corresponding order data in the first field format. For example, the amount field format in the order data in the set field format is (medical insurance amount: yibaoprice, cash amount cashprice), and the amount field format in the order data in the field format supported by the system in region A is (medical insurance amount: price, cash amount: cashprice). After modifying the field format, the value corresponding to the medical insurance amount yibaoprice in the amount field in the set field format is assigned to the medical insurance amount price in the amount field in the field format supported by region A.

[0059] Through the assignment process, the first system can perform effective order processing based on the order data in the first field format.

[0060] In one embodiment, sending the order data in the first field format to the first system includes:

[0061] Based on the first system corresponding to the order data in the first field format, determining a first data communication mode corresponding to the first system;

[0062] Based on the first data communication method, the order data in the first field format is sent to the first system.

[0063] Here, there are certain differences in the data communication methods corresponding to different system types. Therefore, before sending the order data in the field format supported by the system to the corresponding system, the data communication method adapted to the corresponding system should also be determined.

[0064] Since the order data is in the first field format, which is the field format of the order data for order processing supported by the first system, it can be known that the order data in the first field format corresponds to the first system. After the first system is confirmed, the data communication mode is determined to be the first data communication mode corresponding to the first system. Then, based on the first data communication mode, the order data in the first field format is sent to the first system.

[0065] By selecting the data communication method corresponding to the system according to the order data, the order processing efficiency can be improved. And because the front-end client can select the corresponding data communication method according to the system corresponding to the order data, systems in different regions can use this set of front-end client logic, and there is no need to develop a set of front-end client logic for each region's system. When offline pharmacy stores switch to different medical insurance systems, the front-end client can also switch the data communication method at any time.

[0066] In one embodiment, the types of the first data communication method include: a data communication method based on an HTTP interface, a data communication method based on TXT reading and writing, and a data communication method based on Windows operation commands.

[0067] Here, the types of the first data communication method include: a data communication method based on an HTTP interface, a data communication method based on TXT reading and writing, and a data communication method based on Windows operation commands.

[0068] By selecting an appropriate communication method for the system corresponding to the order data, the order processing efficiency is improved.

[0069] In one embodiment, the method further comprises:

[0070] The second conversion relationship is saved in the setting mapping list; wherein,

[0071] The second conversion relationship represents a conversion relationship between a set field format and a field format supported by the second system; the second system type represents a newly added system type.

[0072] Here, when a new system type for data transmission is added in the front-end client, the second conversion relationship needs to be saved in the setting mapping list in the front-end client. The second conversion relationship represents the conversion relationship established between the setting field format and the field format supported by the second system, and the second system type represents the newly added system type.

[0073] In actual applications, when a new medical insurance system is added, the front-end client is upgraded in the form of a patch, that is, the pharmaceutical retail system uses Maven software to create a new program module, creates a conversion relationship between the set field format and the field format supported by the new system, and saves the conversion relationship in the Maven program. The Maven program is then uploaded to the cloud server, and the front-end client downloads the Maven program and saves the conversion relationship.

[0074] By pre-storing the conversion relationship between the set field format and the field format supported by the newly added system, the front-end client does not need to perform a lot of upgrade and maintenance work when transmitting data with the newly added system, thereby improving the maintainability of the system.

[0075] In one embodiment, the method further comprises:

[0076] A second data communication method corresponding to the second system is saved.

[0077] Here, in order to successfully send the order data to the second system for order processing, it is necessary to save the second data communication method corresponding to the newly added second system.

[0078] By pre-saving the data communication method corresponding to the newly added system, the front-end client can perform data transmission with the newly added system based on the correct data communication method, thereby improving order processing efficiency.

[0079] Figure 4 A flow chart of a data processing model provided for the application embodiment of the present application is as follows: Figure 4 As shown:

[0080] Develop standardized business interaction processes. Developing a standard process for pharmaceutical retail systems to use medical insurance cards for payment can avoid inconsistent business interactions when transmitting data with different medical insurance systems.

[0081] Unified modeling, abstracting a common underlying data model. The underlying data modeling of the pharmaceutical retail system is unified, and the format of all order data is unified into order data with a common set field format. The subsequent pharmaceutical retail system can expand the data model.

[0082] The front-end uses the adapter mode to process the format of personalized data. The adaptation of order data to local medical insurance systems is managed and implemented uniformly by the front-end client to facilitate subsequent expansion and maintenance.

[0083] The communication mode of data transmission is selected by configuration. The communication mode between the front-end client and the medical insurance system is adapted in a configuration way to facilitate the operation and management of the business personnel of the prescription store. Among them, the specific configuration can include configuring the communication port, configuring the Internet Protocol (IP) address, and configuring the Uniform Resource Locator (URL) address.

[0084] Package a set of front-end software for deployment and maintenance. The medical insurance systems in various regions use a set of front-end client logic, so there is no need to develop corresponding front-end clients for different regions, which facilitates subsequent system upgrades and capacity expansion.

[0085] The data transmission between the pharmaceutical retail system and the medical insurance system realized by the above process can improve the flexibility of data transmission between the pharmaceutical retail system and the medical insurance system, realize the effect of complete decoupling of data transmission and business system, improve the maintainability and scalability of the pharmaceutical retail system, and reduce the development complexity of the pharmaceutical retail system.

[0086] Figure 5 A schematic diagram of the process of data transmission between the pharmaceutical retail system and the medical insurance system provided in the application embodiment of the present application is as follows: Figure 5 As shown:

[0087] The front-end client polls the order to be paid to the pharmaceutical retail system. The pharmaceutical retail system queries the order data, converts the order data into a universal data format, and transmits it to the front-end client. The front-end client adapts the data format of the medical insurance system and selects the data transmission and communication method corresponding to the medical insurance system. The order data to be paid after the data format conversion is transmitted to the medical insurance system client. After the medical insurance system verifies the order data and completes the payment using the medical insurance card, the payment result is sent to the front-end client. The front-end client converts the data format of the payment result into a universal data format and returns it to the pharmaceutical retail system. The pharmaceutical retail system performs subsequent operations based on the payment result.

[0088] In an embodiment of the present application, order data in a set field format is received, and the order data carries a first system type field; the first system type field represents the identifier of the first system that performs order processing of the order data; based on the first system type field carried in the order data, the first conversion relationship between the set field format and the first field format is queried in the set mapping list, and based on the first conversion relationship, the order data in the set field format is modified to order data in the first field format; the first field format represents the field format of the order data supported by the first system for order processing; the order data in the first field format is sent to the first system, so that the first system performs order processing based on the order data in the first field format. In this way, the front-end client receives order data in the same field format, and according to the system identifier carried in the order data, the order data is converted into order data in the field format supported by the system, thereby completing the order processing of the order data in the system. Since the front-end client stores the conversion relationship between the set field format and the field format supported by each system, this set of front-end clients can be applied to third-party billing systems in various regions, and there is no need to develop corresponding front-end clients separately for third-party billing systems in various regions, which improves the maintainability and extensibility of the industry retail system.

[0089] In order to implement the method of the embodiment of the present application, the embodiment of the present application also provides an electronic order processing device, Figure 6 For a schematic diagram of the electronic order processing device provided in the embodiment of the present application, see Figure 6 , the device comprises:

[0090] The receiving unit 601 is used to receive order data in a set field format; the order data carries a first system type field; the first system type field represents the identifier of a first system for processing the order data.

[0091] The modification unit 602 is used to query the first conversion relationship between the set field format and the first field format in the set mapping list based on the first system type field carried in the order data, and based on the first conversion relationship, modify the order data in the set field format to the order data in the first field format; the first field format represents the field format of the order data supported by the first system for order processing.

[0092] The sending unit 603 is used to send the order data in the first field format to the first system, so that the first system performs order processing based on the order data in the first field format.

[0093] In one embodiment, the setting mapping list represents a mapping list consisting of conversion relationships established between setting field formats and corresponding field formats supported by the system.

[0094] In one embodiment, the device further comprises: an assignment unit, configured to assign a numerical value corresponding to the order data in the set field format to the corresponding order data in the first field format.

[0095] In one embodiment, the sending unit 603 is further configured to determine a first data communication mode corresponding to the first system based on the first system corresponding to the order data in the first field format;

[0096] Based on the first data communication method, the order data in the first field format is sent to the first system.

[0097] In one embodiment, the types of the first data communication method include: a data communication method based on an HTTP interface, a data communication method based on TXT reading and writing, and a data communication method based on Windows operation commands.

[0098] In one embodiment, the device further comprises: a saving unit, configured to save the second conversion relationship into the setting mapping list; wherein,

[0099] The second conversion relationship represents a conversion relationship between a set field format and a field format supported by the second system; the second system type represents a newly added system type.

[0100] In one embodiment, the storage unit is further used to store a second data communication mode corresponding to the second system.

[0101] In actual application, the receiving unit 601, the modifying unit 602, the sending unit 603, the assigning unit, and the saving unit can be implemented by a processor in the terminal, such as a central processing unit (CPU), a digital signal processor (DSP), a microcontroller unit (MCU), or a programmable gate array (FPGA).

[0102] It should be noted that: the electronic order processing device provided in the above embodiment only uses the division of the above program modules as an example when displaying information. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device is divided into different program modules to complete all or part of the above-described processing. In addition, the electronic order processing device provided in the above embodiment and the electronic order processing method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0103] Based on the hardware implementation of the above program modules and in order to implement the method of the embodiment of the present application, the embodiment of the present application also provides an electronic device. Figure 7 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown in FIG. Figure 7 As shown, the electronic equipment includes:

[0104] Communication interface 701, capable of exchanging information with other devices such as network devices;

[0105] The processor 702 is connected to the communication interface 701 to implement information exchange with other devices and is used to execute the method provided by one or more technical solutions on the terminal side when running a computer program. The computer program is stored in the memory 703.

[0106] Specifically, the processor 702 is used to receive order data in a set field format; the order data carries a first system type field; the first system type field represents an identifier of a first system for order processing of the order data;

[0107] Based on the first system type field carried in the order data, a first conversion relationship between the set field format and the first field format is queried in the set mapping list, and based on the first conversion relationship, the order data in the set field format is modified into the order data in the first field format; the first field format represents the field format of the order data for order processing supported by the first system;

[0108] The order data in the first field format is sent to the first system, so that the first system processes the order based on the order data in the first field format.

[0109] In one embodiment, the setting mapping list represents a mapping list consisting of conversion relationships established between setting field formats and corresponding field formats supported by the system.

[0110] In one embodiment, after modifying the order data in the set field format to the order data in the first field format, the processor 702 is further used to assign the numerical value corresponding to the order data in the set field format to the corresponding order data in the first field format.

[0111] In one embodiment, the communication interface 701 is further used to determine a first data communication mode corresponding to the first system based on the first system corresponding to the order data in the first field format;

[0112] Based on the first data communication method, the order data in the first field format is sent to the first system.

[0113] In one embodiment, the types of the first data communication method include: a data communication method based on an HTTP interface, a data communication method based on TXT reading and writing, and a data communication method based on Windows operation commands.

[0114] In one embodiment, the processor 702 is further configured to save the second conversion relationship into the setting mapping list; wherein,

[0115] The second conversion relationship represents a conversion relationship between a set field format and a field format supported by the second system; the second system type represents a newly added system type.

[0116] In one embodiment, the processor 702 is further configured to save a second data communication mode corresponding to the second system.

[0117] Of course, in actual application, the various components in the electronic device are coupled together through the bus system 704. It can be understood that the bus system 704 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 704 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Figure 7 Various buses are labeled as bus system 704 .

[0118] The memory 703 in the embodiment of the present application is used to store various types of data to support the operation of the electronic device. Examples of such data include: any computer program used to operate on the electronic device.

[0119] It can be understood that the memory 703 can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), and direct RAM bus random access memory (DRRAM, Direct Rambus Random Access Memory).The memory 703 described in the embodiments of the present application is intended to include but is not limited to these and any other suitable types of memories.

[0120] The method disclosed in the above embodiment of the present application can be applied to the processor 702, or implemented by the processor 702. The processor 702 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of the hardware in the processor 702 or an instruction in the form of software. The above processor 702 may be a general-purpose processor, a DSP, or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 702 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in the memory 703, and the processor 702 reads the program in the memory 703 and completes the steps of the above method in combination with its hardware.

[0121] When the processor 702 executes the program, the corresponding processes in the various methods of the embodiments of the present application are implemented.

[0122] In an exemplary embodiment, the present application also provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium, for example, a memory 703 storing a computer program, and the computer program can be executed by a processor 702 to complete the steps of the aforementioned method. The computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface storage, optical disk, or CD-ROM.

[0123] In the several embodiments provided in the present application, it should be understood that the disclosed devices, terminals and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0124] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0125] In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be a separate unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0126] A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium, which, when executed, executes the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, disks or optical disks.

[0127] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can be essentially or partly reflected in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable an electronic device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.

[0128] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. An electronic order processing method, characterized in that: Applied to a front-end client, the front-end client is used for data transmission between a pharmaceutical retail system and a medical insurance system, and the method includes: receiving order data in a set field format sent by a pharmaceutical retail system; the order data carries a first system type field; the first system type field represents an identifier of a first system for order processing of the order data, and the first system type is a first medical insurance system type; Based on the first system type field carried in the order data, a first conversion relationship between the set field format and the first field format is queried in the set mapping list, and based on the first conversion relationship, the order data in the set field format is modified into the order data in the first field format; the first field format represents the field format of the order data for order processing supported by the first system; sending the order data in the first field format to the first system, so that the first system processes the order based on the order data in the first field format; After the order data in the set field format is modified into the order data in the first field format, the method further includes: assigning a value corresponding to the order data in the set field format to the corresponding order data in the first field format; The step of sending the order data in the first field format to the first system includes: Based on the first system corresponding to the order data in the first field format, determining a first data communication mode corresponding to the first system; Based on the first data communication method, the order data in the first field format is sent to the first system.

2. The electronic order processing method according to claim 1, characterized in that: The setting mapping list represents a mapping list consisting of conversion relationships established between setting field formats and corresponding field formats supported by the system.

3. The electronic order processing method according to claim 1, characterized in that: The types of the first data communication method include: a data communication method based on a hypertext transfer protocol HTTP interface, a data communication method based on reading and writing text files TXT, and a data communication method based on Windows operation commands.

4. The electronic order processing method according to claim 1, characterized in that: The method further comprises: The second conversion relationship is saved in the setting mapping list; wherein, The second conversion relationship represents a conversion relationship between a set field format and a field format supported by the second system; the second system type represents a newly added system type.

5. The electronic order processing method according to claim 4, characterized in that: The method further comprises: A second data communication method corresponding to the second system is saved.

6. An electronic order processing device, characterized in that: Applied to a front-end client, the front-end client is used for data transmission between a pharmaceutical retail system and a medical insurance system, and the device includes: A receiving unit, configured to receive order data in a set field format sent by a pharmaceutical retail system; the order data carries a first system type field; the first system type field represents an identifier of a first system for order processing of the order data, and the first system type is a first medical insurance system type; a modification unit, configured to query a first conversion relationship between the set field format and the first field format in a set mapping list based on the first system type field carried in the order data, and modify the order data in the set field format into the order data in the first field format based on the first conversion relationship; the first field format represents a field format of the order data for order processing supported by the first system; An assignment unit, used for assigning a value corresponding to the order data in the set field format to the corresponding order data in the first field format; A sending unit is used to send the order data in the first field format to the first system so that the first system processes the order based on the order data in the first field format; it is also used to determine a first data communication mode corresponding to the first system based on the first system corresponding to the order data in the first field format; based on the first data communication mode, the order data in the first field format is sent to the first system.

7. An electronic device, characterized in that: include: A processor and a memory for storing a computer program that can be executed on the processor, wherein: When the processor is used to run the computer program, the steps of the method according to any one of claims 1 to 5 are performed.

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

Citation Information

Patent Citations

  • Unified management method and device of order information, terminal device and medium

    CN110619555A

  • Data processing method and device

    CN110765067A

  • Omnichannel order configurable access method and system, equipment and storage medium

    CN112419004A

  • System and method of processing computer form data

    US6851087B1