Order data processing method and device, storage medium and electronic equipment

By receiving and supplementing the element information of business value objects and generating order data, it solves the problem of increased development and maintenance costs caused by independent logic of each business in the business order system, realizes unified logic processing, and reduces business development and maintenance costs.

CN118799014APending Publication Date: 2024-10-18ZUNYI BRANCH OF CHINA MOBILE GRP GUIZHOU COMPANY +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202311473709.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-07
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

In the existing technology, the order processing logic of each business in the business order system exists independently, resulting in an increase in business development workload and maintenance costs.

Method used

By receiving the message information accepted by the target business, the business value object is generated, and the element information is supplemented to generate the order data corresponding to the target business to achieve unified business logic processing.

Benefits of technology

It reduces the need for separate business logic due to different information elements of each message, and enables the use of unified logic to generate order information when common business information is different, reducing business development and maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118799014A_ABST
    Figure CN118799014A_ABST
Patent Text Reader

Abstract

The invention discloses an order data processing method and device, a storage medium and electronic equipment, and relates to the technical field of data processing.The method comprises the steps that first message information accepted by a target service is received, and the target service is any service in different services; then generating a service value object according to the message information, wherein the service value object comprises each piece of element information in a target service acceptance process; and performing element information supplementation on the business value object, and generating order data corresponding to the target business based on a supplementation result. Compared with the prior art, the method and the device have the advantages that the condition that each piece of message information needs an independent service logic due to different element information of each piece of message information can be avoided, the order information can be generated by using the unified service logic under the condition that the service information of common services is different, and the user experience is improved. And the workload of business development and the corresponding maintenance cost are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer software technology, and in particular to a method, device, storage medium and electronic device for processing order data. Background Art

[0002] In the field of computer software, a business acceptance of a software system is usually the process of business processing and order data generation until the order is completed.

[0003] At present, in the business order system, common businesses all have their own business logic, but they are not well designed and planned, so that the order processing logic of each business is independent, which increases the workload of business development and the corresponding maintenance costs. Summary of the invention

[0004] In view of this, the present application provides a method, device, storage medium and electronic device for processing order data, the main purpose of which is to improve the technical problem that the order processing logic of the current existing technical business is independent, which increases the workload of business development and the corresponding maintenance cost.

[0005] In a first aspect, the present application provides a method for processing order data, comprising:

[0006] Receiving first message information accepted by a target service, wherein the target service is any service among various different services;

[0007] Generate a service value object according to the message information, wherein the service value object contains information of various elements in the target service acceptance process;

[0008] The business value object is supplemented with element information, and based on the supplementation result, order data corresponding to the target business is generated.

[0009] In a second aspect, the present application provides an order data processing device, comprising:

[0010] A receiving module is configured to receive first message information accepted by a target service, wherein the target service is any service among various different services;

[0011] A generating module, configured to generate a service value object according to the message information, wherein the service value object includes information of various elements in the target service acceptance process;

[0012] The generation module is further configured to supplement the element information of the business value object and generate order data corresponding to the target business based on the supplementation result.

[0013] In a third aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the order data processing method of the first aspect.

[0014] In a fourth aspect, the present application provides an electronic device comprising a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, wherein the processor implements the order data processing method of the first aspect when executing the computer program.

[0015] By means of the above technical scheme, the present application provides a method, device, storage medium and electronic device for processing order data, which first receives the first message information accepted by the target business, wherein the target business is any one of the different businesses; then generates a business value object according to the message information, wherein the business value object contains each element information in the process of accepting the target business; then supplements the element information of the business value object, and based on the supplementation result, generates order data corresponding to the target business. Compared with the current prior art, the present application generates a business value object containing each element information corresponding to the message information, and then supplements the business value object with information, thereby avoiding the situation where each message information requires a separate business logic due to different element information of each message information. The present application can use a unified business logic to generate order information when the business information of common businesses is different, thereby reducing the workload of business development and the corresponding maintenance costs.

[0016] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0018] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0019] Figure 1 A schematic diagram showing a flow chart of a method for processing order data provided in an embodiment of the present application;

[0020] Figure 2A schematic diagram showing a flow chart of a method for processing order data provided in an embodiment of the present application;

[0021] Figure 3 A schematic diagram of an example process provided by an embodiment of the present application is shown;

[0022] Figure 4 A schematic diagram of an example process provided by an embodiment of the present application is shown;

[0023] Figure 5 A schematic diagram of an example process provided by an embodiment of the present application is shown;

[0024] Figure 6 A schematic diagram of an example process provided by an embodiment of the present application is shown;

[0025] Figure 7 A schematic diagram of the structure of an order data processing device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0026] The embodiments of the present application will be described in more detail below with reference to the accompanying drawings. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other without conflict.

[0027] In order to improve the current technical problems that the order processing logic of existing services is independent, which increases the workload of service development and the corresponding maintenance cost. This embodiment provides a method for processing order data, such as Figure 1 As shown, the method includes:

[0028] Step 101: Receive first message information accepted by a target service.

[0029] The target business is any one of the various businesses.

[0030] It should be noted that the target business may be a different business for which an order is currently to be generated, and the first message information is simplified message information. Using simplified message information may improve the scope of application of the embodiment of the present application.

[0031] Step 102: Generate a business value object according to the message information.

[0032] The business value object includes information about various elements in the target business acceptance process.

[0033] In the embodiment of the present application, the business value object is a value object (Value Object). After the business acceptance parameters are received, the data structure Map is used as the input parameter. After receiving the streamlined business acceptance parameters, the framework will take over the entire logical process of business acceptance; the Map object is converted into a VO object as the basis for subsequent business processing.

[0034] In some examples, Map is a data structure, also known as mapping or dictionary. It is a container that stores key-value pairs, where each key and value is a pair of associated objects.

[0035] Step 103: Supplement the element information of the business value object, and generate order data corresponding to the target business based on the supplement result.

[0036] In the embodiment of the present application, the business acceptance element is supplemented. The operator's business is very complex. Each business has its own unique personalized elements. These elements cannot be described in the simplified message, so it is necessary to supplement the VO object for the personalized data of the business. Correspondingly, the business acceptance element supplement can provide business expansion capabilities, and the business can supplement the business elements through the extension point.

[0037] Compared with the current existing technology, this embodiment generates a business value object containing various element information corresponding to the message information, and then supplements the business value object with information, thereby avoiding the situation where each message information requires a separate business logic due to the different element information of each message information. When the business information of common businesses is different, a unified business logic can be used to generate order information, thereby reducing the workload of business development and the corresponding maintenance costs.

[0038] In order to further illustrate the specific implementation process of the method of this embodiment, this embodiment provides the following Figure 2 The specific method shown includes:

[0039] Step 201 receives the first message information accepted by the target service.

[0040] The target business is any one of the various businesses.

[0041] For example, Figure 3 As shown, this is the message format of the first message information accepted by the target business.

[0042] For example, the first message information accepted by target service A may be "service A data", the first message information accepted by target service B may be "service B data", the first message information accepted by target service C may be "service C data", and so on, and examples are not given one by one here.

[0043] Optionally, before step 201, the method of this embodiment further includes: receiving second message information accepted by the converged service, and parsing the second message information; splitting the parsed second message information based on the converged service splitting condition to obtain multiple first message information.

[0044] In the embodiment of the present application, the converged service can provide voice, fax, video calls, called one number and other services for mobile phone users, IMS fixed-line users and traditional fixed-line users, and can unify the networking of the three types of users to achieve converged communications across networks (wireless and wired), across regions (different cities and counties), and across terminals (mobile phones and fixed-line phones) for users.

[0045] In some examples, the second message information is message information corresponding to the converged service, and the second message information can be parsed and split to obtain multiple first message information.

[0046] Exemplarily, parsing the fusion service acceptance message may be parsing and splitting the message according to the rules to obtain acceptance messages of each sub-service, and the acceptance message of the sub-service is the first message information of the target service acceptance in the embodiment of the present application.

[0047] In some examples, the processing of the sub-service may include receiving service messages, generating service VO objects, supplementing service acceptance elements, and other processes.

[0048] For example, the message information accepted by integrated service 1 may be "service 1 data", and "service 1 data" may include "service A data", "service B data", "service C data", etc. The message information accepted by integrated service 2 may be "service 2 data", and "service 2 data" may include "service D data", "service E data", "service F data", etc., and so on. Examples are not given one by one here.

[0049] Step 202: Generate a service value object according to the message information.

[0050] The business value object includes information about various elements in the target business acceptance process.

[0051] In an embodiment of the present application, the element information may be the basic element information required for the acceptance of the target business. Since the present application can be applied to all different businesses, the first message information corresponds to simplified message information. The simplified message information cannot contain all the message information required in the business acceptance process, so it is necessary to further personalize the element information.

[0052] Optionally, the business value object can use Map as an input parameter to receive simplified business acceptance parameters. Accordingly, Map is a data structure, also known as a mapping or dictionary. It is a container for storing key-value pairs, where each key and value is a pair of associated objects.

[0053] For example, the first message information accepted by the target business A may be "business A data". For "business A data", a Map parameter needs to be introduced, that is, to determine the value information of the key-value pair corresponding to the business A data, that is, the value of the "business A data". Similarly, the first message information accepted by the target business B may be "business B data". For "business B data", a Map parameter needs to be introduced, that is, to determine the value information of the key-value pair corresponding to the business B data, that is, the value of the "business B data". The first message information accepted by the target business C may be "business C data". For "business C data", a Map parameter needs to be introduced, that is, to determine the value information of the key-value pair corresponding to the business C data, that is, the value of the "business C data". And so on, no examples are given one by one here.

[0054] In some examples, before step 202, the method of this embodiment further includes: performing a legality check and / or a validity check on the first message information accepted by the target service.

[0055] In the embodiment of the present application, the first message information that has passed the legality check and / or validity check can be further supplemented with information.

[0056] Exemplarily, when performing legality check and / or validity check on message information such as "business A data", "business B data", and "business C data", if "business A data", "business B data", and "business C data" all pass the legality check and / or validity check, then "business A data", "business B data", and "business C data" can supplement the element information of the business value object; if "business B data" does not meet the legality check and / or validity check, then "business A data" and "business C data" can supplement the element information of the business value object.

[0057] Step 203: Supplement the element information of the business value object, and generate order data corresponding to the target business based on the supplement result.

[0058] Optional, business acceptance elements are supplemented. Operator services are very complex and each service has its own unique personalized elements. These elements cannot be described in the simplified message, so it is necessary to supplement the VO object with personalized data for the service.

[0059] Optionally, the personalized supplement may be to supplement each message information with its unique element information, so that the element information corresponding to each message information is complete.

[0060] For example, based on the example shown in step 201, the first message information accepted by the target business A may be "business A data", and the "business A data" includes element Aa information, element Ab information, and element Ac information of the target business A. The "business A data" also needs to be supplemented with personalized information such as element Ad information and element Ae information, and order A is generated based on the supplemented results.

[0061] Exemplarily, the first message information accepted by the target business B may be "business B data", which includes element Ba information, element Bb information, and element Bc information of the target business B. The "business B data" also needs to be supplemented with personalized information such as element Bd information and element Be information, and order B is generated based on the supplemented results.

[0062] Correspondingly, the first message information accepted by the target business C may be "business C data", which includes the element Ca information, element Cb information, and element Cc information of the target business C. The "business C data" also needs to be supplemented with personalized information such as element Cd information and element Ce information, and order C is generated based on the supplemented results. And so on, no more examples are given here.

[0063] Step 204: Match the order data with the database model, and determine the database model mapping object corresponding to the order data based on the matching result.

[0064] In the embodiment of the present application, there are many common logics in the process from business acceptance to order data generation, and these common logics need to be uniformly converged and maintained.

[0065] Optionally, the common logic mainly includes: order data generation, order line data generation, order item data generation, joint processing, mutual exclusion processing, dependency processing, rule verification, etc. The order item data mainly includes: user-related order items, commodity-related order items, product-related order items, and expense-related order items. During the order item data generation process, some extended processing plug-ins can be configured for different order item specifications. When the framework generates order item data, it will match the relevant plug-ins for processing.

[0066] In some examples, mutual exclusion is a relationship between products, that is, two products are mutually exclusive and cannot be ordered at the same time. Dependence is a relationship between products, product A depends on product B, that is, when ordering product A, you need to order product B first. Co-dependency is a relationship between products, product A is co-dependent with product B, that is, when ordering product A, product B will be automatically ordered. Further, the order model object is adapted and converted, and the corresponding database model mapping object is adapted according to the order data according to the data model requirements.

[0067] Exemplarily, based on the example in step 203, order A is matched with the database model, and based on the matching result, the database model mapping object A corresponding to order A is determined; order B is matched with the database model, and based on the matching result, the database model mapping object B corresponding to order B is determined; order C is matched with the database model, and based on the matching result, the database model mapping object C corresponding to order C is determined.

[0068] Step 205: Determine the business processing information corresponding to the database model mapping object.

[0069] In the embodiment of the present application, the business processing information may be a business type and the like.

[0070] Exemplarily, based on the example in step 204, business A corresponding to database model mapping object A is determined, business B corresponding to database model mapping object B is determined, and business C corresponding to database model mapping object C is determined.

[0071] Step 206: Based on the business processing information, the order data is integrated with the business and uniformly saved and processed.

[0072] Optionally, step 206 may specifically include: determining a scheduling sequence corresponding to the order data based on the business processing information; and performing unified storage processing of the fusion business on the order data according to the scheduling sequence.

[0073] In some examples, the fused business includes order data corresponding to multiple target businesses; accordingly, step 206 specifically also includes: sharing the order data in the fused business according to the scheduling order; and performing unified storage and processing of the order data in the fused business based on data information in the fused business that has a common logic with the order data.

[0074] In the embodiment of the present application, step 206 specifically also includes: determining the priority information of the order data based on the business processing information; and generating a scheduling sequence corresponding to the order data according to the priority information.

[0075] For example, some verification logic is used when accepting a business. Only when the business rules are met can the business be successfully accepted.

[0076] Exemplarily, based on the example in step 205, Figure 4As shown, the priorities of business A, business B, and business C are determined. If the priority of business A is 1, the priority of business B is 3, and the priority of business C is 2, then the scheduling order of business A, business B, and business C is determined according to the priorities, that is, business A, business C, and business B. According to the scheduling order, business A, business C, and business B are shared in the integrated business; based on the data information in the integrated business that has a common logic with the order data, the order data is uniformly saved and processed for the integrated business.

[0077] In the traditional business acceptance process, it is impossible to submit account opening and other businesses in one transaction. To support this, the entire business acceptance logic must be adjusted. As business access increases, the entire fusion scenario will be extremely complex. However, this embodiment implements a set of business acceptance logic through minimal adjustments without affecting the original single business acceptance, and supports both single business acceptance and fusion business acceptance scenarios. Subsequent business access can be quickly accessed and fusion accepted through rule configuration without requiring a lot of additional development work.

[0078] In the business order system, common businesses all have their own business logic, but without good design and planning, the processing logic of each business is independent. Even if there is some convergence of common logic, due to the differences in business, the code frequently has business personalized logic branches. This makes the common logic increasingly large, and the code complex, difficult to read, and difficult to maintain. Every time a new business is added, a new set of business processing code is added, making the business processing logic like chimneys, very numerous and independent.

[0079] In this chimney-style development model, it is very costly to accept integrated services, because integrated services generally have dependencies on sub-business data, and some common logic also needs to implement cross-order data processing. Therefore, for integrated services, a new set of business processing logic needs to be developed to support them. This will lead to non-convergence of business processing logic, increase the difficulty of maintenance and bring uncontrollable risks.

[0080] As a technical solution for integrated business acceptance, the embodiment of the present application can, first of all, ensure the independence of business logic, that is, the business logic of the integrated acceptance scenario and the single business acceptance scenario is consistent. This can greatly reduce the complexity of business integration. Secondly, in the process of building business data, the ability to share cross-business data can be provided, which can ensure the integrity of data during business processing. At the same time, it also has the ability to uniformly process cross-business data. Compared with the separate processing of each business, the ability to uniformly process cross-business data can reduce a large amount of repeated logic, reduce the complexity of the business, improve business processing efficiency, and improve the overall response of the integrated scenario.

[0081] This embodiment provides the ability to uniformly process services, ensure the independence of services, and dynamically schedule services according to business rules. The purpose of integrated acceptance is to provide the ability to accept multiple services at the same time, with the ability to reduce the operations of business personnel and users, such as one-time submission and one-time payment. It can greatly improve the operating experience. Starting from reducing the difficulty of service access, the independence of the service is guaranteed, which means that the service can be connected to the integrated acceptance scenario after very little adjustment. It reduces a lot of development and testing work. It is convenient for the future development and expansion of the business. It provides the ability to dynamically schedule services, that is, the order of service processing, coordination between services, and dependencies between services can be controlled through rule configuration, paving the way for the development of integrated services. It provides unified business processing capabilities. On the basis of ensuring business independence, it realizes the rapid access of services to the integrated acceptance scenario, and rich business extension plug-ins meet the dynamic expansion of various business scenarios. Converge the core business processing logic to ensure the uniqueness of the core business processing logic. Support business custom scheduling rule configuration. Complex scenarios such as collaboration, dependency, and waiting between services can be easily realized.

[0082] Compared with the current existing technology, this embodiment generates a business value object containing each element information corresponding to the message information, and then supplements the business value object with information, so as to avoid the situation that each message information needs a separate business logic due to the different element information of each message information. When the business information of common businesses is different, the unified business logic can be used to generate order information, thereby reducing the workload of business development and the corresponding maintenance cost. The corresponding business processing logic is matched and executed through business association, thereby ensuring the independence of business logic. Through factors such as priority and business dependency, the sub-businesses are uniformly scheduled and processed, and the common logics such as mutual exclusion, dependency, joint and rule verification are processed across orders. Various integrated business scenarios can be coped with. The common core logic convergence of the business and the customized extension of the personalized business logic of the business are realized, which greatly converges and reuses the common business logic, converges the business acceptance entrance, reduces the workload of business development and maintenance, and uses dynamic plug-ins to update and increase the expansion capabilities of the framework and business, so that it can adapt to various business scenarios more easily.

[0083] In order to illustrate the specific implementation process of this embodiment, the following application scenario examples are given: Figure 5 As shown, but not limited to:

[0084] The processing process of the integrated service may be receiving an integrated service acceptance message, wherein the message includes simplified messages of multiple service acceptances, and the integrated service splitting may be splitting the integrated service acceptance message according to a service splitting rule to obtain a simplified acceptance message for each service.

[0085] The sub-business execution process can be that the framework matches the corresponding business acceptance process and executes it according to the simplified message of each business, such as Figure 6 As shown, the sub-business execution process includes Figure 6 In the S110, S120, S130, and S140 related content in the complex operator convergence service, there is data dependency between sub-services. The framework will control the scheduling order of the sub-service execution process according to the service priority. The dependent service is executed first, and the result data is then shared with the dependent service for related processing.

[0086] The common logic processing of the fusion business can be that the framework will obtain the order data set of each sub-business, and the order data is generated by simplifying the message and supplementing the business elements. The common logic processing mainly handles the linkage, dependency, mutual exclusion, rule verification, etc. of the sub-business order data. When processing the logic of linkage, mutual exclusion, dependency, etc., the framework integrates all the sub-order data in the fusion business for unified processing. The fusion business order data preservation can be the unified preservation of the fusion business order data.

[0087] In the process of processing the converged service, the sub-service execution process may include receiving the service message, receiving the service acceptance simplified message, and verifying the legitimacy and validity of the message. The service VO object generation may be based on the service message to generate the service VO object, and the VO object contains all the elements in the service acceptance process. The service acceptance element supplement may be that the operator's service is very complex, and each service has its own unique personalized elements, which cannot be described in the simplified message, so it is necessary to supplement the VO object for the personalized data of the service. The order public logic processing may be the process from service acceptance to order data generation, and there are many common logics, which need to be uniformly converged and maintained. The common logic mainly includes: order data generation, order line data generation, order item data generation, joint processing, mutual exclusion processing, dependency processing, rule verification, etc. Among them, the order item data mainly includes: user-related order items, commodity-related order items, product-related order items, and expense-related order items. In the process of generating order item data, some extension processing plug-ins can be configured for different order item specifications. When the framework generates order item data, it will match the relevant plug-ins for processing. The order model object is adapted and converted. According to the data model requirements, the corresponding database model mapping object is adapted according to the order data. The order data can be saved by matching the corresponding processing service according to the database model mapping object to save the order data.

[0088] Compared with the current existing technology, this embodiment generates a business value object containing each element information corresponding to the message information, and then supplements the business value object with information, so as to avoid the situation that each message information needs a separate business logic due to the different element information of each message information. When the business information of common businesses is different, the unified business logic can be used to generate order information, thereby reducing the workload of business development and the corresponding maintenance cost. The corresponding business processing logic is matched and executed through business association, thereby ensuring the independence of business logic. Through factors such as priority and business dependency, the sub-businesses are uniformly scheduled and processed, and the common logics such as mutual exclusion, dependency, joint and rule verification are processed across orders. Various integrated business scenarios can be coped with. The common core logic convergence of the business and the customized extension of the personalized business logic of the business are realized, which greatly converges and reuses the common business logic, converges the business acceptance entrance, reduces the workload of business development and maintenance, and uses dynamic plug-ins to update and increase the expansion capabilities of the framework and business, so that it can adapt to various business scenarios more easily.

[0089] Further, as Figure 1 and Figure 2 The specific implementation of the method shown in the embodiment provides a device for processing order data, such as Figure 7 As shown, the device includes: a receiving module 31 and a generating module 32.

[0090] The receiving module 31 is configured to receive first message information accepted by a target service, where the target service is any service among various different services;

[0091] A generating module 32 is configured to generate a service value object according to the message information, wherein the service value object includes information of various elements in the target service acceptance process;

[0092] The generating module 32 is further configured to supplement the element information of the business value object, and generate order data corresponding to the target business based on the supplementation result.

[0093] In some examples of this embodiment, the generation module 32 is also configured to match the order data with the database model, and based on the matching result, determine the database model mapping object corresponding to the order data; determine the business processing information corresponding to the database model mapping object; and perform unified storage processing of the fusion business on the order data based on the business processing information.

[0094] In some examples of this embodiment, the generation module 32 is specifically configured to determine the scheduling sequence corresponding to the order data based on the business processing information; and perform unified storage processing of the fusion business on the order data according to the scheduling sequence.

[0095] In some examples of this embodiment, the fused business includes order data corresponding to multiple target businesses; accordingly, the generation module 32 is further configured to share the order data in the fused business according to the scheduling order; based on the data information in the fused business that has a common logic with the order data, the order data is uniformly saved and processed by the fused business.

[0096] In some examples of this embodiment, the generation module 32 is further specifically configured to determine the priority information of the order data based on the business processing information; and generate a scheduling sequence corresponding to the order data according to the priority information.

[0097] In some examples of this embodiment, the generating module 32 is further configured to perform a legality check and / or a validity check on the first message information accepted by the target service.

[0098] In some examples of this embodiment, the receiving module 31 is further configured to receive second message information accepted by the fusion service and parse the second message information; based on the fusion service splitting condition, the parsed second message information is split to obtain multiple first message information.

[0099] It should be noted that for other corresponding descriptions of the functional units involved in the order data processing device provided in this embodiment, please refer to Figure 1 and Figure 2 The corresponding description in will not be repeated here.

[0100] Based on the above Figure 1 to Figure 2 The method shown in the embodiment also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned Figure 1 to Figure 2 The method shown.

[0101] Based on this understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, USB flash drive, mobile hard disk, etc.), including a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods of various implementation scenarios of the present application.

[0102] Based on the above Figure 1 to Figure 2 The method shown, and Figure 7In order to achieve the above-mentioned purpose, the embodiment of the present application also provides an electronic device, such as a personal computer, a server, a laptop computer, a smart phone, an intelligent robot or other intelligent terminal, which includes a storage medium and a processor; the storage medium is used to store a computer program; the processor is used to execute the computer program to achieve the above-mentioned Figure 1 to Figure 2 The method shown.

[0103] Optionally, the above-mentioned physical device may also include a user interface, a network interface, a camera, a radio frequency (RF) circuit, a sensor, an audio circuit, a WI-FI module, etc. The user interface may include a display, an input unit such as a keyboard, etc., and the optional user interface may also include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (such as a WI-FI interface), etc.

[0104] Those skilled in the art will appreciate that the above-mentioned physical device structure provided in this embodiment does not constitute a limitation on the physical device, and may include more or fewer components, or a combination of certain components, or different arrangements of components.

[0105] The storage medium may also include an operating system and a network communication module. The operating system is a program that manages the hardware and software resources of the above-mentioned physical device, and supports the operation of the information processing program and other software and / or programs. The network communication module is used to realize the communication between the components inside the storage medium, and the communication with other hardware and software in the information processing physical device.

[0106] Through the description of the above implementation methods, the technicians in this field can clearly understand that the present application can be implemented by means of software plus the necessary general hardware platform, or by hardware. Compared with the current prior art, the present embodiment generates a business value object corresponding to the message information containing each element information, and then supplements the business value object with information, so as to avoid the situation that each message information needs a separate business logic due to the different element information of each message information. When the business information of common businesses is different, the order information can be generated using a unified business logic, which reduces the workload of business development and the corresponding maintenance cost. The corresponding business processing logic is matched and executed through business association, which ensures the independence of business logic. Through factors such as priority and business dependency, the sub-business is uniformly scheduled and processed, and the common logic such as mutual exclusion, dependency, joint and rule verification is processed across orders. It can cope with various fusion business scenarios. The common core logic convergence of the business is realized, and the customized extension of the personalized business logic of the business is greatly converged and reused, the business acceptance entrance is converged, the business development and maintenance workload is reduced, and the use of dynamic plug-ins increases the expansion capability of the framework and business, which can adapt to various business scenarios more easily.

[0107] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0108] The above is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features applied for herein.

Claims

1. A method for processing order data, characterized in that: include: Receiving first message information accepted by a target service, wherein the target service is any service among various different services; Generate a service value object according to the message information, wherein the service value object contains information of various elements in the target service acceptance process; The business value object is supplemented with element information, and based on the supplementation result, order data corresponding to the target business is generated.

2. The method according to claim 1, characterized in that: After generating the order data corresponding to the target business, the method further includes: Matching the order data with a database model, and determining a database model mapping object corresponding to the order data based on the matching result; Determine the business processing information corresponding to the database model mapping object; Based on the business processing information, the order data is integrated with the business and uniformly saved and processed.

3. The method according to claim 2, characterized in that The information processed according to the business includes: Determine the scheduling order corresponding to the order data according to the business processing information; According to the scheduling order, the order data is integrated and saved in a unified manner.

4. The method according to claim 3, characterized in that The fusion service includes order data corresponding to multiple target services; The step of performing integrated business unified storage processing on the order data according to the scheduling order includes: Sharing the order data in the fusion service according to the scheduling order; Based on the data information in the fusion business that has a common logic with the order data, the order data is uniformly saved and processed by the fusion business.

5. The method according to claim 3, characterized in that: Determining the scheduling sequence corresponding to the order data according to the business processing information includes: Determining priority information of the order data according to the business processing information; According to the priority information, a scheduling order corresponding to the order data is generated.

6. The method according to claim 1, characterized in that Before generating the service value object according to the message information, the method further includes: Perform a legality check and / or validity check on the first message information accepted by the target service.

7. The method according to any one of claims 1 to 6, characterized in that Before receiving the message information accepted by the target service, the method further includes: receiving second message information accepted by the fusion service, and parsing and processing the second message information; Based on the fusion service splitting condition, the second message information after parsing is split to obtain multiple first message information.

8. A device for processing order data, characterized in that: include: A receiving module is configured to receive first message information accepted by a target service, wherein the target service is any service among various different services; A generating module, configured to generate a service value object according to the message information, wherein the service value object includes information of various elements in the target service acceptance process; The generation module is further configured to supplement the element information of the business value object and generate order data corresponding to the target business based on the supplementation result.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

10. An electronic device comprising a storage medium, a processor, and a computer program stored in the storage medium and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Order generation method and device and electronic equipment

    CN119784474A