An order system service configuration method and device, equipment and medium
By parsing the supplier's order business configuration requests and using node mapping or hard-coding configuration methods, the high cost problem of adding new business types to the order system is solved, and configuration is simplified and efficiency is improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- PING AN PAY ELECTRONIC PAYMENT CO LTD
- Filing Date
- 2023-02-21
- Publication Date
- 2026-06-23
AI Technical Summary
The existing order system requires frequent code modifications when adding new business types, resulting in excessive time and manpower costs.
By receiving order business configuration requests from suppliers, the system preprocesses and parses the target order business configuration method. It then uses either node mapping configuration or hard-coded configuration to build a mapping relationship based on the business type and the link between suppliers, or writes Java code to complete the configuration.
It simplifies the process of adding new business types, saves time and manpower costs, and improves business configuration efficiency.
Smart Images

Figure CN116149623B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the fields of computer technology and business processing technology, and more specifically, to a business configuration method, apparatus, equipment and medium for an order system. Background Technology
[0002] With the development of modern network technology, companies in all industries have some form of order processing within their operations. Initially, when only a few external suppliers needed to access company data, developers customized interfaces for each supplier to output data. However, as the company's business grew rapidly and the types of orders increased, for example, the interfaces previously customized for each supplier only supported one type of business, but now multiple types needed to be added. This required modifying the code to support multiple business types, necessitating further code modifications to the existing interfaces, followed by packaging, deployment, testing, and finally going live, resulting in significant time and manpower costs. Summary of the Invention
[0003] Based on the above-mentioned technical problems, the present invention aims to parse the target order business configuration request based on preset conditions, determine the target order business configuration method, and use the target order business configuration method as the configuration method to be adopted. The configuration method to be adopted includes node mapping configuration method and hard-coded configuration method, so as to solve the problem of high cost when adding new business configurations to the order system.
[0004] The first aspect of this invention provides a business configuration method for an order system, the method comprising:
[0005] Receive order service configuration requests from suppliers;
[0006] The order service configuration request is preprocessed to obtain the target order service configuration request;
[0007] The target order service configuration request is parsed based on preset conditions to determine the target order service configuration method and select the target order service configuration method as the configuration method to be adopted. The configuration method to be adopted includes node mapping configuration method and hard-coded configuration method.
[0008] If the node mapping configuration method is adopted, a mapping relationship is constructed based on the business type in the target order business configuration request and the link formed between the suppliers, and the configuration is completed based on the mapping relationship;
[0009] If the hard-coded configuration method is adopted, the configuration of the node is constructed and completed using Java coding techniques.
[0010] In some embodiments of the present invention, the step of constructing a mapping relationship based on the business type in the target order business configuration request and the link formed between the supplier includes:
[0011] The application scenarios for the business type are obtained based on the link formed between the business type and the supplier.
[0012] Establish a mapping relationship between the business type and the supplier based on the application scenario.
[0013] In some embodiments of the present invention, establishing the mapping relationship between the business type and the supplier according to the application scenario includes:
[0014] Configure the field names for the business type and supplier;
[0015] The application scenario is parsed and a hierarchical data object is obtained, which includes the field names of the business type and the supplier, wherein each field name is associated with one or more field values in the hierarchical data object;
[0016] Establish a mapping relationship between the field names of the business type and the field names of the supplier.
[0017] In some embodiments of the present invention, the configuration based on the mapping relationship includes:
[0018] Once all mapping relationships are established, the file containing all mapping relationships will be used as a mapping configuration file, and the mapping configuration file will be stored in the database of the order system.
[0019] In some embodiments of the present invention, the step of constructing and configuring the node according to Java coding technology includes:
[0020] Multiple nodes are obtained based on the business type and the link formed between the supplier in the target order business configuration request, wherein the nodes include the application scenarios of the business type;
[0021] The configuration of each node is built and completed using Java coding techniques.
[0022] In some embodiments of the present invention, after the configuration of each node is built and completed according to Java coding technology, the method further includes: testing and executing each configured node to confirm that the link configuration between the business type and the supplier is successful.
[0023] In some embodiments of the present invention, the preset conditions include a first preset condition and a second preset condition, wherein the first preset condition corresponds to the condition for performing node mapping configuration, and the second preset condition corresponds to the condition for performing hard-coded configuration; the step of parsing the target order business configuration request based on the preset conditions, determining the target order business configuration method, and using the target order business configuration method as the configuration method to be adopted, wherein the configuration method to be adopted includes a node mapping configuration method and a hard-coded configuration method, including:
[0024] The target order business configuration request is parsed. If the target order business configuration request meets the first preset condition, the node mapping configuration method is adopted.
[0025] If the target order business configuration request meets the second preset condition, then the hard-coded configuration method is adopted.
[0026] A second aspect of the present invention provides a business processing apparatus for an order system, the apparatus comprising:
[0027] The receiving module is configured to receive order business configuration requests sent by suppliers;
[0028] The preprocessing module is configured to preprocess the order business configuration request to obtain the target order business configuration request;
[0029] The determination module is configured to parse the target order business configuration request based on preset conditions, determine the target order business configuration method, and use the target order business configuration method as the configuration method to be adopted. The configuration method to be adopted includes node mapping configuration method and hard-coded configuration method.
[0030] The first configuration module, if the node mapping configuration method is adopted, is used to construct a mapping relationship based on the business type in the target order business configuration request and the link formed between the supplier, and complete the configuration based on the mapping relationship;
[0031] The second configuration module, if the hard-coded configuration method is adopted, is used to construct and complete the configuration of the node based on Java coding technology.
[0032] A third aspect of the present invention provides a computer device, including a memory and a processor, wherein the memory stores computer-readable instructions, and when executed by the processor, the computer-readable instructions cause the processor to perform the following steps:
[0033] Receive order service configuration requests from suppliers;
[0034] The order service configuration request is preprocessed to obtain the target order service configuration request;
[0035] The target order service configuration request is parsed based on preset conditions to determine the target order service configuration method and select the target order service configuration method as the configuration method to be adopted. The configuration method to be adopted includes node mapping configuration method and hard-coded configuration method.
[0036] If the node mapping configuration method is adopted, a mapping relationship is constructed based on the business type in the target order business configuration request and the link formed between the suppliers, and the configuration is completed based on the mapping relationship;
[0037] If the hard-coded configuration method is adopted, the configuration of the node is constructed and completed using Java coding techniques.
[0038] A fourth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs the following steps:
[0039] Receive order service configuration requests from suppliers;
[0040] The order service configuration request is preprocessed to obtain the target order service configuration request;
[0041] The target order service configuration request is parsed based on preset conditions to determine the target order service configuration method and select the target order service configuration method as the configuration method to be adopted. The configuration method to be adopted includes node mapping configuration method and hard-coded configuration method.
[0042] If the node mapping configuration method is adopted, a mapping relationship is constructed based on the business type in the target order business configuration request and the link formed between the suppliers, and the configuration is completed based on the mapping relationship;
[0043] If the hard-coded configuration method is adopted, the configuration of the node is constructed and completed using Java coding techniques.
[0044] The technical solutions provided in this application embodiment have at least the following technical effects or advantages:
[0045] This application receives an order business configuration request sent by a supplier, preprocesses the request to obtain a target order business configuration request, parses the request based on preset conditions, determines the target order business configuration method, and selects this method as the proposed configuration method. The proposed configuration method includes a node mapping configuration method and a hard-coded configuration method. If the node mapping configuration method is used, a mapping relationship is constructed based on the business type in the target order business configuration request and the link formed between the supplier, and the configuration is completed based on this mapping relationship. If the hard-coded configuration method is used, the node configuration is constructed and completed using Java coding technology. This makes it very simple and convenient for suppliers to add new business types to the order system. Configuring according to a configuration method adapted to actual conditions saves time and manpower costs, reduces reliance on manual operations, and thus improves the efficiency of business configuration.
[0046] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit the invention. Attached Figure Description
[0047] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the scope of this application. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings:
[0048] Figure 1 This invention illustrates a schematic diagram of the business configuration method steps of an order system in an exemplary embodiment of this application;
[0049] Figure 2 This illustration shows a schematic diagram of configuration file storage in an exemplary embodiment of this application;
[0050] Figure 3 A schematic diagram of the business configuration apparatus structure of an order system in an exemplary embodiment of this application is shown;
[0051] Figure 4 This illustration shows a schematic diagram of the structure of a computer device provided in an exemplary embodiment of this application. Detailed Implementation
[0052] The embodiments of this application will now be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of this application. Furthermore, descriptions of well-known structures and technologies are omitted in the following description to avoid unnecessarily obscuring the concepts of this application. It will be apparent to those skilled in the art that this application can be implemented without one or more of these details. In other instances, some technical features well-known in the art have not been described to avoid confusion with this application.
[0053] It should be noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the exemplary embodiments according to this application. As used herein, the singular form is intended to include the plural form as well, unless the context clearly indicates otherwise. Furthermore, it should be understood that when the terms “comprising” and / or “including” are used in this specification, they indicate the presence of the stated features, integrals, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components, and / or combinations thereof.
[0054] Exemplary embodiments according to this application will now be described in more detail with reference to the accompanying drawings. However, these exemplary embodiments may be implemented in many different forms and should not be construed as being limited to the embodiments set forth herein. The drawings are not drawn to scale, and some details may be enlarged and omitted for clarity. The shapes of the various regions and layers shown in the figures, as well as their relative sizes and positional relationships, are merely exemplary and may deviate from reality due to manufacturing tolerances or technical limitations. Furthermore, those skilled in the art can design regions / layers with different shapes, sizes, and relative positions as needed.
[0055] The following is in conjunction with the instruction manual appendix. Figure 1 - Appendix Figure 4 Several embodiments are given to describe exemplary implementations according to this application. It should be noted that the following application scenarios are shown only to facilitate understanding of the spirit and principles of this application, and the implementations of this application are not limited in any way. Rather, the implementations of this application can be applied to any applicable scenario.
[0056] With the development of modern network technology, companies in all industries have some form of order processing within their operations. Initially, when only a few external suppliers needed to access company data, developers customized interfaces for each supplier to output data. However, as the company's business grew rapidly and the types of orders increased, for example, the interfaces previously customized for each supplier only supported one type of business, but now multiple types needed to be added. This required modifying the code to support multiple business types, necessitating further code modifications to the existing interfaces, followed by packaging, deployment, testing, and finally going live, resulting in significant time and manpower costs.
[0057] Therefore, in some exemplary embodiments of this application, a business configuration method for an order system is provided, such as... Figure 1 As shown, the method includes:
[0058] S1. Receive the order business configuration request sent by the supplier;
[0059] S2. Preprocess the order service configuration request to obtain the target order service configuration request;
[0060] S3. Based on preset conditions, parse the target order business configuration request, determine the target order business configuration method, and use the target order business configuration method as the configuration method to be adopted. The configuration method to be adopted includes node mapping configuration method and hard-coded configuration method.
[0061] S4. If the node mapping configuration method is adopted, a mapping relationship is constructed based on the business type in the target order business configuration request and the link formed between the suppliers, and the configuration is completed based on the mapping relationship;
[0062] S4. If the hard-coded configuration method is adopted, the configuration of the node is constructed and completed according to Java coding technology.
[0063] As actual business expands, suppliers will add new business types to the order system to synchronize the actual situation with the system's settings. For example, if previously it was 4G products, now 5G products need to be added, and the supplier sends an order service configuration request to the order system. However, if M suppliers are involved, and each supplier uses at most N business types, then at most M*N method logics are needed to handle providing data to external suppliers. If each business type is further subdivided into P sub-scenarios, then in the future, a cascading structure will inevitably form, requiring at most M*N*P method logics to handle providing data to external suppliers. Expanding to include multiple business types does not necessarily require modifying the existing interface code, or even packaging, deployment, testing, and final launch.
[0064] In practice, suppliers can send order service configuration requests from the terminal. However, it's possible that these requests might be non-standard. For example, a supplier might call the order system administrator to request the addition of a new service type, which also falls under the category of receiving an order service configuration request. Therefore, preprocessing addresses the issue of transforming order service configuration requests into standardized requests. This includes setting the data format of the request to obtain the target data and the target order service configuration request. Preliminary parsing can also be performed to ensure that the final target order service configuration request is "legitimate."
[0065] In one specific implementation, the preset conditions include a first preset condition and a second preset condition. The first preset condition corresponds to the condition for node mapping configuration, and the second preset condition corresponds to the condition for hard-coding configuration. Based on the preset conditions, the target order service configuration request is parsed to determine the target order service configuration method and use this method as the proposed configuration method. The proposed configuration method includes a node mapping configuration method and a hard-coding configuration method. This includes: parsing the target order service configuration request; if the target order service configuration request meets the first preset condition, then the node mapping configuration method is used; if the target order service configuration request meets the second preset condition, then the hard-coding configuration method is used. Here, the first preset condition can be the same service type as the service type already added to the order system. In this case, the hard-coding configuration method can be used. For example, if the target order service configuration request was previously a 4G product and now a 5G product needs to be added, the hard-coding configuration method can be used because the service type can be modified based on copying the previous code, thus minimizing the coding time. The second preset condition can be a business type that is different from the business type that has been added to the order system. For example, if the supplier previously only had the business type of ordering production materials in the order system, and now wants to add the intermediary business, then the node mapping configuration method is required.
[0066] In some embodiments of this application, constructing a mapping relationship based on the business type in the target order business configuration request and the link formed between the supplier includes: obtaining the application scenario of the business type based on the link formed between the business type and the supplier; and establishing a mapping relationship between the business type and the supplier based on the application scenario. For example, if there are 3 business types in the order system, and each business type corresponds to 2 application scenarios, then there are application scenarios in the complete link from the supplier to the business type. Then, a mapping relationship between the business type and the supplier is established based on the application scenario.
[0067] In a preferred embodiment, establishing a mapping relationship between the business type and the supplier based on the application scenario includes: configuring the field names of the business type and the supplier; parsing the application scenario and obtaining a hierarchical data object including the field names of the business type and the supplier, wherein each field name is associated with one or more field values in the hierarchical data object; and establishing a mapping relationship between the field names of the business type and the field names of the supplier. For example, in an order system, a business type field applied to scenario A is designated as srcNode, and the supplier field is designated as desNode. A mapping relationship is established, mapping the value of srcNode to desNode. This process is repeated, and other fields are processed in the same way, thus completing the entire configuration, including the mapping relationship data. In other words, a mapping relationship is established based on the business loop of the order, and then the corresponding business type is added to the order system based on the mapping relationship data.
[0068] In some embodiments of this application, configuration based on the mapping relationship is completed, including: when all mapping relationships are established, using a file containing all mapping relationships as a mapping configuration file, and storing the mapping configuration file in the database of the order system. For example, as... Figure 2 As shown, the mapping configuration file can be stored in the database of the order system in JSON format.
[0069] In a preferred embodiment, the configuration of the nodes is constructed and completed using Java coding technology, including: obtaining multiple nodes based on the business type in the target order business configuration request and the link formed between the supplier, wherein the nodes include the application scenario of the business type; and constructing and completing the configuration of each node using Java coding technology.
[0070] In some embodiments of this application, after configuring each node using Java coding techniques, the method further includes: testing and executing each configured node to confirm that the link configuration between the business type and the supplier is successful.
[0071] This application receives an order business configuration request sent by a supplier, preprocesses the order business configuration request to obtain a target order business configuration request, and determines a suitable configuration method for the target order business configuration request based on preset conditions. The configuration method includes a node mapping configuration method and a hard-coded configuration method. If the node mapping configuration method is used, a mapping relationship is constructed based on the business type in the target order business configuration request and the link formed between the supplier, and the configuration is completed based on the mapping relationship. If the hard-coded configuration method is used, the node configuration is constructed and completed using Java coding technology. This makes it very simple and convenient for suppliers to add new business types to the order system. Configuring according to a configuration method adapted to actual conditions saves time and manpower costs, reduces reliance on manual operations, and thus improves the efficiency of business configuration.
[0072] It is understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit the invention.
[0073] In some exemplary embodiments of this application, a business configuration apparatus for an order system is also provided, such as... Figure 3 As shown, the apparatus is used to execute the business configuration method of the order system provided in any of the above embodiments, and the apparatus includes:
[0074] The receiving module 301 is configured to receive order business configuration requests sent by the supplier;
[0075] The preprocessing module 302 is configured to preprocess the order business configuration request to obtain the target order business configuration request;
[0076] The determination module 303 is configured to parse the target order business configuration request based on preset conditions, determine the target order business configuration method, and use the target order business configuration method as the configuration method to be adopted. The configuration method to be adopted includes a node mapping configuration method and a hard-coded configuration method.
[0077] The first configuration module 304, if the node mapping configuration method is adopted, is used to construct a mapping relationship based on the business type in the target order business configuration request and the link formed between the suppliers, and complete the configuration based on the mapping relationship;
[0078] The second configuration module 305, if the hard-coded configuration method is adopted, is used to construct and complete the configuration of the node based on Java coding technology.
[0079] When implementing the function of building a mapping relationship between the business type and the supplier in the target order business configuration request, the first configuration module 304 specifically performs the following steps: configuring the field names of the business type and the supplier; parsing the application scenario and obtaining a hierarchical data object including the field names of the business type and the supplier, wherein each field name is associated with one or more field values in the hierarchical data object; and establishing a mapping relationship between the field names of the business type and the field names of the supplier.
[0080] The second configuration module 305 performs the following steps when implementing the function of constructing and configuring the nodes using Java coding technology: obtaining multiple nodes based on the business type and the link formed between the supplier in the target order business configuration request, wherein the nodes include the application scenario of the business type; and constructing and configuring each node using Java coding technology.
[0081] It is understood that the business configuration device of the order system also includes a testing module, which tests each node after the configuration is executed to confirm that the link configuration between the business type and the supplier is successful.
[0082] It should be understood that the business configuration device of the order system also includes necessary supporting hardware or equipment. The above general description and the following detailed description are merely exemplary and explanatory, and do not limit the present invention.
[0083] It should also be emphasized that the system provided in this application embodiment can acquire and process relevant data based on artificial intelligence technology. Artificial intelligence (AI) is the theory, method, technology, and application system that uses digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use that knowledge to obtain optimal results. Basic AI technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing technology, operating / interactive systems, and mechatronics. AI software technologies mainly include computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning / deep learning.
[0084] Please refer to the following. Figure 4 This illustrates a schematic diagram of a computer device provided by some embodiments of this application. For example... Figure 4As shown, the computer device 2 includes: a processor 200, a memory 201, a bus 202, and a communication interface 203. The processor 200, the communication interface 203, and the memory 201 are connected via the bus 202. The memory 201 stores a computer program that can run on the processor 200. When the processor 200 runs the computer program, it executes the business configuration method of the order system provided in any of the foregoing embodiments of this application.
[0085] The memory 201 may include high-speed random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Communication between this system network element and at least one other network element is achieved through at least one communication interface 203 (which can be wired or wireless), such as the Internet, wide area network, local area network, or metropolitan area network.
[0086] Bus 202 can be an ISA bus, PCI bus, or EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. The memory 201 is used to store programs. After receiving an execution instruction, the processor 200 executes the program. The business configuration method of the order system disclosed in any of the foregoing embodiments of this application can be applied to the processor 200, or implemented by the processor 200.
[0087] The processor 200 may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by the integrated logic circuitry in the hardware of the processor 200 or by instructions in software form. The processor 200 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules may reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. The storage medium is located in memory 201. The processor 200 reads the information in memory 201 and, in conjunction with its hardware, completes the steps of the above method.
[0088] This application also provides a computer-readable storage medium corresponding to the business configuration method of the order system provided in the foregoing embodiments, wherein a computer program is stored thereon, and the computer program, when run by a processor, executes the business configuration method of the order system provided in any of the foregoing embodiments.
[0089] In addition, examples of the computer-readable storage medium may include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other optical and magnetic storage media, which will not be described in detail here.
[0090] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the business configuration method for the order system provided in any of the foregoing embodiments, including: receiving an order business configuration request sent by a supplier; preprocessing the order business configuration request to obtain a target order business configuration request; determining a suitable configuration method for the target order business configuration request based on preset conditions, wherein the configuration method includes a node mapping configuration method and a hard-coded configuration method; if the node mapping configuration method is used, constructing a mapping relationship based on the business type in the target order business configuration request and the link formed between the suppliers, and completing the configuration based on the mapping relationship; if the hard-coded configuration method is used, constructing and completing the configuration of the node using Java coding technology.
[0091] It should be noted that the algorithms and displays provided herein are not inherently related to any particular computer, virtual device, or other equipment. Various general-purpose devices can also be used in conjunction with the teachings herein. The required structure for constructing such devices is obvious from the above description. Furthermore, this application is not directed to any particular programming language. It should be understood that the content of this application described herein can be implemented using various programming languages, and the above description of specific languages is for the purpose of disclosing the best mode of implementation of this application. Numerous specific details are set forth in the specification provided herein. However, it is to be understood that embodiments of this application can be practiced without these specific details. In some instances, well-known methods, structures, and techniques have not been shown in detail so as not to obscure the understanding of this specification.
[0092] Those skilled in the art will understand that modules in the device of the embodiments can be adaptively changed and placed in one or more devices different from that embodiment. Modules, units, or components in the embodiments can be combined into a single module, unit, or component, and further, they can be divided into multiple sub-modules, sub-units, or sub-components. Except where at least some of such features and / or processes or units are mutually exclusive, any combination can be used to combine all features disclosed herein and all processes or units of any method or device so disclosed. Unless expressly stated otherwise, each feature disclosed herein may be replaced by an alternative feature that serves the same, equivalent, or similar purpose.
[0093] The various component embodiments of this application can be implemented in hardware, or as software modules running on one or more processors, or a combination thereof. Those skilled in the art will understand that microprocessors or digital signal processors (DSPs) can be used in practice to implement some or all of the functions of some or all of the components in the virtual machine creation apparatus according to embodiments of this application. This application can also be implemented as a device or apparatus program for performing part or all of the methods described herein. The program implementing this application can be stored on a computer-readable medium, or can be in the form of one or more signals. Such signals can be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
[0094] The above description is merely a preferred embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A business configuration method for an order system, characterized in that, The method includes: Receive order service configuration requests from suppliers; The order service configuration request is preprocessed to obtain the target order service configuration request; The target order service configuration request is parsed based on preset conditions to determine the target order service configuration method and select the target order service configuration method as the configuration method to be adopted. The configuration method to be adopted includes node mapping configuration method and hard-coded configuration method. If the node mapping configuration method is adopted, a mapping relationship is constructed based on the business type in the target order business configuration request and the link formed between the suppliers, and the configuration is completed based on the mapping relationship; If the hard-coded configuration method is adopted, the configuration of the node is constructed and completed according to Java coding technology; The step of constructing a mapping relationship based on the business type and the link formed between the supplier in the target order business configuration request includes: The application scenarios for the business type are obtained based on the link formed between the business type and the supplier. Configure the field names for the service type and the supplier; The application scenario is parsed and a hierarchical data object is obtained, including the field names of the business type and the supplier, wherein each field name is associated with one or more field values in the hierarchical data object; Establish a mapping relationship between the field names of the business type and the field names of the supplier based on the business loop of the order.
2. The business configuration method for the order system according to claim 1, characterized in that, The configuration based on the mapping relationship includes: Once all mapping relationships are established, the file containing all mapping relationships will be used as a mapping configuration file, and the mapping configuration file will be stored in the database of the order system.
3. The business configuration method for the order system according to claim 1, characterized in that, The process of constructing and configuring the node using Java coding techniques includes: Multiple nodes are obtained based on the business type and the link formed between the supplier in the target order business configuration request, wherein the nodes include the application scenarios of the business type; The configuration of each node is built and completed using Java coding techniques.
4. The business configuration method for the order system according to claim 3, characterized in that, After configuring each node using Java coding techniques, the process further includes testing each configured node to confirm that the link configuration between the business type and the supplier is successful.
5. The business configuration method for the order system according to any one of claims 1-4, characterized in that, The preset conditions include a first preset condition and a second preset condition, wherein the first preset condition corresponds to the condition for performing node mapping configuration, and the second preset condition corresponds to the condition for performing hard-coded configuration; the step of parsing the target order business configuration request based on the preset conditions, determining the target order business configuration method, and using the target order business configuration method as the configuration method to be adopted, wherein the configuration method to be adopted includes a node mapping configuration method and a hard-coded configuration method, including: The target order business configuration request is parsed. If the target order business configuration request meets the first preset condition, the node mapping configuration method is adopted. If the target order business configuration request meets the second preset condition, then the hard-coded configuration method is adopted.
6. A business processing device for an order system, characterized in that, The device includes: The receiving module is configured to receive order business configuration requests sent by suppliers; The preprocessing module is configured to preprocess the order business configuration request to obtain the target order business configuration request; The determination module is configured to parse the target order business configuration request based on preset conditions, determine the target order business configuration method, and use the target order business configuration method as the configuration method to be adopted. The configuration method to be adopted includes node mapping configuration method and hard-coded configuration method. The first configuration module, if the node mapping configuration method is adopted, is used to construct a mapping relationship based on the business type in the target order business configuration request and the link formed between the supplier, and complete the configuration based on the mapping relationship; The second configuration module, if the hard-coded configuration method is adopted, is used to construct and complete the configuration of the node based on Java coding technology; The step of constructing a mapping relationship based on the business type and the link formed between the supplier in the target order business configuration request includes: The application scenarios for the business type are obtained based on the link formed between the business type and the supplier. Configure the field names for the service type and the supplier; The application scenario is parsed and a hierarchical data object is obtained, including the field names of the business type and the supplier, wherein each field name is associated with one or more field values in the hierarchical data object; Establish a mapping relationship between the field names of the business type and the field names of the supplier based on the business loop of the order.
7. A computer device, comprising a memory and a processor, characterized in that, The memory stores computer-readable instructions that, when executed by a processor, cause the processor to perform the method as described in any one of claims 1-5.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1-5.