Data processing method, device, equipment, medium and computer program product

By receiving business processing requests, identifying and matching dictionary types and values ​​of business variables, it solves the problem of difficulty in data maintenance between different systems, ensures the unique meaning of business variables, and improves data consistency and maintenance efficiency.

CN113536767BInactive Publication Date: 2024-10-25SHENZHEN GONGYIFU ELECTRONIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110759219.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-05
Publication Date
2024-10-25
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the prior art, data maintenance between different systems is difficult, which results in inconsistent constant list values ​​corresponding to the same variable in each system, making data synchronization and maintenance difficult.

Method used

By receiving business processing requests, the target business information is obtained, annotation recognition is performed, the dictionary type and variable value of the business variables are determined, and the business meanings are matched in the preset data dictionary to ensure that different application systems have a unique understanding of business variables.

Benefits of technology

It simplifies data maintenance between different systems, avoids inconsistent constant list values, and improves data consistency and maintenance efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113536767B_ABST
    Figure CN113536767B_ABST
Patent Text Reader

Abstract

The present application discloses a data processing method, apparatus, device, medium and computer program product, which receive a business processing request, obtain target business information based on the business processing request; annotate and identify the target business information, obtain the target dictionary type and target variable value of the business variable in the target business information; determine the business meaning of the business variable in a preset data dictionary based on the target dictionary type and the target variable value, and output the business meaning. The present application can obtain the business meaning that uniquely corresponds to the business variable in the business processing request when performing business processing through different application systems, avoid the situation where the constant list values ​​corresponding to the same variable in each system are inconsistent, and effectively reduce the difficulty of data maintenance between different systems.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet technology, and in particular to a data processing method, device, equipment, medium and computer program product. Background Art

[0002] With the rapid development of the Internet finance industry, the increasingly perfect payment industry business, the expansion of the scale of software systems, and the frequent changes in various links and processes of payment business, the use of data processing variables can more conveniently, accurately and efficiently connect various systems, such as connecting the order status of the order system with the order status of the clearing system, etc.

[0003] The existing way of managing variables is usually that the user chooses to view the meaning of each value of a field in the data table, and then the managers of each module define the corresponding constant values. In this operation mode, system A and system B need to maintain a constant list respectively. When the requirements change and iterate, some constants are removed or invalid in system A, but there is no synchronous adjustment in system B. It is easy for the constant list values ​​corresponding to the same variable in each system to be inconsistent, which makes data maintenance between different systems more difficult. Summary of the invention

[0004] The main purpose of this application is to provide a data processing method, device, equipment, medium and computer program product, aiming to solve the current technical problem of high difficulty in data maintenance between different systems.

[0005] To achieve the above purpose, the present application provides a data processing method, which includes:

[0006] Receiving a business processing request, and acquiring target business information based on the business processing request;

[0007] Annotate and identify the target business information to obtain a target dictionary type and a target variable value of a business variable in the target business information;

[0008] Based on the target dictionary type and the target variable value, the business meaning of the business variable is determined in a preset data dictionary, and the business meaning is output.

[0009] Preferably, the step of annotating and identifying the target business information to obtain the target dictionary type and target variable value of the business variable in the target business information includes:

[0010] Annotating and identifying the target business information;

[0011] If there is an annotation in the target business information, the target dictionary type and target variable value of the business variable corresponding to the annotation are obtained.

[0012] Preferably, the step of annotating and identifying the target business information includes:

[0013] Based on the annotation parser, annotation recognition is performed on each field in the target business information to determine whether there is a target field with an annotation set in each field.

[0014] Preferably, the step of determining the business meaning of the business variable in a preset data dictionary based on the target dictionary type and the target variable value comprises:

[0015] Matching information in a preset data dictionary based on the target dictionary type and the target variable value;

[0016] If the preset data dictionary contains dictionary data matching the target dictionary type and the target variable value, the business meaning in the dictionary data is determined as the business meaning of the business variable, and the dictionary data at least includes a dictionary type, a variable value and a business meaning.

[0017] Preferably, after the step of acquiring target business information based on the business processing request, the method further includes:

[0018] Parsing business variables corresponding to the business processing request;

[0019] An annotation is set for a target field corresponding to the business variable in the target business information.

[0020] Preferably, before the step of determining the business meaning of the business variable in a preset data dictionary based on the target dictionary type and the target variable value, the method further includes:

[0021] Get the information to be configured;

[0022] The information to be configured is configured as a dictionary type to obtain a preset data dictionary.

[0023] To achieve the above object, the present application further provides a data processing device, the data processing device comprising:

[0024] An acquisition module, used to receive a business processing request and acquire target business information based on the business processing request;

[0025] An identification module, used to annotate and identify the target business information, and obtain a target dictionary type and a target variable value of a business variable in the target business information;

[0026] A determination module is used to determine the business meaning of the business variable in a preset data dictionary based on the target dictionary type and the target variable value, and output the business meaning.

[0027] Furthermore, to achieve the above-mentioned purpose, the present application also provides a data processing device, which includes a memory, a processor, and a data processing program stored in the memory and executable on the processor, and the data processing program implements the steps of the above-mentioned data processing method when executed by the processor.

[0028] Furthermore, to achieve the above-mentioned purpose, the present application also provides a medium, which is a computer-readable storage medium, on which a data processing program is stored, and when the data processing program is executed by a processor, the steps of the above-mentioned data processing method are implemented.

[0029] Furthermore, to achieve the above objectives, the present application also provides a computer program product, including a computer program, which implements the steps of the above data processing method when executed by a processor.

[0030] The embodiments of the present application provide a data processing method, apparatus, device, medium and computer program product, which receive a business processing request, obtain target business information based on the business processing request; annotate and identify the target business information to obtain the target dictionary type and target variable value of the business variable in the target business information; determine the business meaning of the business variable in the preset data dictionary based on the target dictionary type and the target variable value, and output the business meaning. The present application annotates and identifies the target business information obtained according to the business processing request, quickly obtains the target dictionary type and target variable value of the business variable in the target business information, and then accurately determines the business meaning of the business variable from the preset configuration dictionary through the target dictionary type and the target variable value, so that when performing business processing through different application systems, the business meaning that uniquely corresponds to the business variable in the business processing request can be obtained, avoiding the situation where the constant list values ​​corresponding to the same variable in each system are inconsistent, and effectively reducing the difficulty of data maintenance between different systems. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 This is a schematic diagram of the structure of the hardware operating environment involved in the data processing method embodiment of this application;

[0032] Figure 2 This is a flow chart of the first embodiment of the data processing method of the present application;

[0033] Figure 3 This is a flow chart of the second embodiment of the data processing method of the present application;

[0034] Figure 4 This is a flow chart of the third embodiment of the data processing method of the present application;

[0035] Figure 5 This is a functional module diagram of a preferred embodiment of the data processing device of the present application.

[0036] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0037] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0038] The embodiments of the present application provide a data processing method, apparatus, device, medium and computer program product, which receive a business processing request, obtain target business information based on the business processing request; annotate and identify the target business information to obtain the target dictionary type and target variable value of the business variable in the target business information; determine the business meaning of the business variable in the preset data dictionary based on the target dictionary type and the target variable value, and output the business meaning. The present application annotates and identifies the target business information obtained according to the business processing request, quickly obtains the target dictionary type and target variable value of the business variable in the target business information, and then accurately determines the business meaning of the business variable from the preset configuration dictionary through the target dictionary type and the target variable value, so that when performing business processing through different application systems, the business meaning that uniquely corresponds to the business variable in the business processing request can be obtained, avoiding the situation where the constant list values ​​corresponding to the same variable in each system are inconsistent, and effectively reducing the difficulty of data maintenance between different systems.

[0039] like Figure 1 As shown, Figure 1 It is a schematic diagram of the data processing device structure of the hardware operating environment involved in the embodiment of the present application.

[0040] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present application, and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.

[0041] The data processing device in the embodiment of the present application may be a PC, or a portable terminal device such as a tablet computer or a portable computer.

[0042] like Figure 1As shown, the data processing device may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0043] Those skilled in the art will understand that Figure 1 The data processing device structure shown in the figure does not constitute a limitation of the data processing device, and may include more or less components than shown in the figure, or combine some components, or arrange the components differently.

[0044] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a data processing program.

[0045] exist Figure 1 In the device shown, the network interface 1004 is mainly used to connect to the backend server and communicate data with the backend server; the user interface 1003 is mainly used to connect to the client (user end) and communicate data with the client; and the processor 1001 can be used to call the data processing program stored in the memory 1005 and perform the following operations:

[0046] Receiving a business processing request, and acquiring target business information based on the business processing request;

[0047] Annotate and identify the target business information to obtain a target dictionary type and a target variable value of a business variable in the target business information;

[0048] Based on the target dictionary type and the target variable value, the business meaning of the business variable is determined in a preset data dictionary, and the business meaning is output.

[0049] Furthermore, the step of annotating and identifying the target business information to obtain the target dictionary type and target variable value of the business variable in the target business information includes:

[0050] Annotating and identifying the target business information;

[0051] If there is an annotation in the target business information, the target dictionary type and target variable value of the business variable corresponding to the annotation are obtained.

[0052] Furthermore, the step of annotating and identifying the target business information includes:

[0053] Based on the annotation parser, annotation recognition is performed on each field in the target business information to determine whether there is a target field with an annotation set in each field.

[0054] Furthermore, the step of determining the business meaning of the business variable in a preset data dictionary based on the target dictionary type and the target variable value includes:

[0055] Matching information in a preset data dictionary based on the target dictionary type and the target variable value;

[0056] If the preset data dictionary contains dictionary data matching the target dictionary type and the target variable value, the business meaning in the dictionary data is determined as the business meaning of the business variable, and the dictionary data at least includes a dictionary type, a variable value and a business meaning.

[0057] Further, after the step of acquiring target business information based on the business processing request, the processor 1001 may be used to call a data processing program stored in the memory 1005 and perform the following operations:

[0058] Parsing business variables corresponding to the business processing request;

[0059] An annotation is set for a target field corresponding to the business variable in the target business information.

[0060] Further, before the step of determining the business meaning of the business variable in the preset data dictionary based on the target dictionary type and the target variable value, the processor 1001 may be used to call a data processing program stored in the memory 1005 and perform the following operations:

[0061] Get the information to be configured;

[0062] The information to be configured is configured as a dictionary type to obtain a preset data dictionary.

[0063] In order to better understand the above technical solution, exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0064] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0065] Reference Figure 2 , the first embodiment of the present application provides a flow chart of a data processing method. In this embodiment, the data processing method includes the following steps:

[0066] Step S10, receiving a service processing request, and acquiring target service information based on the service processing request;

[0067] In this embodiment, the data processing method is applied to a data processing system, which includes a microservice architecture and an application system. The microservice architecture is a new technology for deploying applications and services in the cloud. In this embodiment, it can be used for users to define business variables that need to add dictionary configuration as a general data dictionary type, and add and save the variable values ​​and business meanings of the business variables in the microservice architecture in turn, where the business variables can be general data or business status, such as account status, transaction status, etc.; the application system in this embodiment can be one or more, for example, it can be an order system, a clearing system, and one or more systems that improve the corresponding functions for users.

[0068] Through the microservice architecture and application system in the data processing system of this embodiment, users can unify and strip common business variables such as common data or business status to form a data dictionary. Specifically, business variables that need to add dictionary configuration can be defined as common data dictionary types in the data dictionary configuration interface of the microservice architecture, and the variable values ​​and business meanings of the business variables can be added and saved in sequence to form a data dictionary. When users have subsequent use needs, they can use the corresponding application system to uniformly select the dictionary type corresponding to the business variable in the dictionary data set of the data dictionary of the microservice architecture, and then identify the business meaning of the business variable based on the dictionary type and the variable value of the business variable, that is, convert the variable value of the business variable into natural language. This allows different application systems to obtain the business meaning that uniquely corresponds to the business variable in the business processing request when performing business processing, avoiding the situation where the constant list values ​​corresponding to the same variable in each system are inconsistent, and effectively reducing the difficulty of data maintenance between different systems.

[0069] On the one hand, when there is a business need, the user can initiate a business processing request through the corresponding application system in the data processing system, such as requesting to query the transaction status of a certain transaction at a specific time in the order system.

[0070] On the other hand, after the user initiates a business processing request, the data processing system receives the business processing request and obtains the target business information corresponding to the business processing request in the corresponding application system. For example: if the user requests to query the transaction status of a transaction at a specific time in the order system, the data processing system obtains the transaction status of the corresponding transaction in the order system. It can be understood that in order to ensure that the business meaning corresponding to the business variables output to the user is unique, the target business information obtained in this embodiment will not be directly output to the user after obtaining the target business information. It is necessary to obtain the unique business meaning of the business variables in the target business information based on the preset data dictionary, and then output the business meaning to the user. When performing business processing through different application systems, the business meaning that uniquely corresponds to the business variables in the business processing request can be obtained, avoiding the situation where the constant list values ​​corresponding to the same variable in each system are inconsistent, and effectively reducing the difficulty of data maintenance between different systems.

[0071] It is understandable that since the user's business needs may involve personal privacy or data security issues, the data processing system can verify the user's identity information before the user initiates a business processing request, and generate a business processing request based on the corresponding application system after the user passes the identity information verification, so as to ensure the security of the information.

[0072] Furthermore, after the step of acquiring target business information based on the business processing request, the method further includes:

[0073] Step A1, parsing the business variables corresponding to the business processing request;

[0074] Step A2: setting annotations for the target fields corresponding to the business variables in the target business information.

[0075] After obtaining the target business information based on the business processing request, the data processing system first parses the business processing request to obtain the business variables corresponding to the business processing request. Furthermore, the data processing system queries the field corresponding to the business variable in the target business information, determines the field corresponding to the business variable as the target field, and sets an annotation in the target field belonging to the dictionary type, so that the target field containing the annotation can be identified according to the annotation parser, and the target dictionary type and target variable value of the business variable corresponding to the target field containing the annotation can be obtained. Finally, the business meaning of the business variable is determined in the preset data dictionary based on the target dictionary type and the target variable value. When performing business processing through different application systems, the business meaning that uniquely corresponds to the business variable in the business processing request can be obtained, avoiding the situation where the constant list values ​​corresponding to the same variable in each system are inconsistent, and effectively reducing the difficulty of data maintenance between different systems.

[0076] Step S20, annotating and identifying the target business information to obtain a target dictionary type and a target variable value of a business variable in the target business information;

[0077] It can be understood that an annotation parser can also be provided in the data processing system to identify the annotation, and the business variable corresponding to the annotation can be converted into a dictionary type and the variable value of the business variable can be obtained, wherein the annotation is essentially a mark that can be set at a key node (class, method, variable, parameter, package) in the program code, and the program can detect the mark at compile time or runtime to perform some corresponding operations. After obtaining the target business information, the data processing system performs annotation recognition on the obtained target business information through a preset annotation parser to identify whether there is an annotation in the target business information. If it is determined that there is an annotation in the target business information, the business variable corresponding to the annotation is converted into a target dictionary type and the target variable value of the business variable is obtained. If it is determined that there is no annotation in the target business information, the data processing system ends the data processing flow based on the business processing request or returns a prompt message of request failure. By annotating and identifying the target business information, it is possible to quickly determine the fields of the target business information that belong to the dictionary type, convert them into the dictionary type, and obtain the variable values ​​of the business variables, so as to facilitate matching the unique business meaning in the preset data dictionary, so that when business processing is performed through different application systems, the business meaning that uniquely corresponds to the business variables in the business processing request can be obtained, avoiding the situation where the constant list values ​​corresponding to the same variable in each system are inconsistent, and effectively reducing the difficulty of data maintenance between different systems.

[0078] Step S30: determining the business meaning of the business variable in a preset data dictionary based on the target dictionary type and the target variable value, and outputting the business meaning.

[0079] After obtaining the target dictionary type and target variable value of the business variable, the data processing system inputs the target dictionary type and target variable value into the preset data dictionary for information matching. If there is dictionary data matching the target dictionary type and target variable value in the preset data dictionary, the business meaning in the dictionary data is determined as the business meaning of the business variable, wherein the dictionary data at least includes the dictionary type, variable value and business meaning, for example, the dictionary type can be transaction status, payment status, etc.; the variable value is 0, 1, 2, 3, 4, etc., and the business meaning can be effective, ineffective, frozen, cancelled, deactivated, etc. Further, the data processing system outputs the business meaning; for example, it can be displayed and output through a display preset in the application system, or it can be output in the form of voice broadcast, so that the user can directly view the unique business meaning of the business variable to be queried. If there is no dictionary data matching the target dictionary type and target variable value in the preset data dictionary, the data processing flow based on the business processing request is terminated or a prompt message indicating that the request failed is returned.

[0080] It can be understood that when users use business variables containing the same business meaning in different systems, such as payment systems, order systems, etc., there is no need to repeatedly define the business meaning of the business variables for different systems. Instead, they only need to unify the dictionary type and corresponding variable values ​​of the dictionary data configured in the preset data dictionary to obtain a unique business meaning. This allows users to obtain the business meaning that uniquely corresponds to the business variables in the business processing request when performing business processing through different application systems, avoiding the situation where the constant list values ​​corresponding to the same variable in each system are inconsistent, effectively reducing the difficulty of data maintenance between different systems.

[0081] It can be understood that before the step of determining the business meaning of the business variable in the preset data dictionary based on the target dictionary type and the target variable value, the step further includes:

[0082] Step B1, obtaining information to be configured;

[0083] Step B2: performing dictionary type configuration on the information to be configured to obtain a preset data dictionary.

[0084] It can be understood that a data dictionary configuration interface is pre-set in the microservice architecture for users to configure the preset data dictionary. Specifically, users can define the business variables that need to add dictionary configuration as a general data dictionary type in the data dictionary configuration interface of the microservice architecture, and add and save the variable values ​​and business meanings of the business variables in sequence, thereby forming a preset data dictionary. Further, after the user enters the business variables, data dictionary types, variable values, business meanings and other configuration information through the data dictionary configuration interface, a configuration request is generated according to the information to be configured. Further, after the data processing system receives the generated configuration request, it parses the configuration request to obtain the business variables, data dictionary types, variable values, business meanings and other configuration information contained in the configuration request. After obtaining the information to be configured, the data processing system configures the information to be configured in the form of a data dictionary, and forms a preset data dictionary after the configuration is completed. It can be understood that the user's configuration request may include a dictionary data creation request, a dictionary data modification request, a dictionary data deletion request, etc. The dictionary data creation request is used to add new data dictionary content in the microservice architecture, the dictionary data modification request is used to modify or adjust the content in the preset data dictionary, and the dictionary data deletion request is used to delete the content in the preset data dictionary.

[0085] It can be understood that after the preset data dictionary is configured, when each application system or application module needs to use a business variable when using the corresponding business, even if the application systems name the business variable inconsistently, it is only necessary to use the defined general dictionary type to convert the variable value of the business variable into the business meaning corresponding to the dictionary type.

[0086] By defining and maintaining a business variable in multiple application systems through data dictionary configuration, the consistency of business variable definitions between different application systems is improved, and the definition of repeated business meanings in the database is reduced. When the business meaning of a business variable changes, it is only necessary to update the business meaning of the dictionary type corresponding to the business variable in one place to achieve the effect of updating everywhere once, which improves the efficiency of software upgrades and avoids the situation of inadequate synchronization. In terms of the database, it is only necessary to impose unique restrictions on the dictionary type and variable value, which can greatly and efficiently improve the speed of reading the business meaning of the business variable and avoid repeated definitions of the business meaning.

[0087] The present embodiment provides a data processing method, apparatus, device, medium and computer program product, which receives a business processing request, obtains target business information based on the business processing request; annotates and identifies the target business information to obtain the target dictionary type and target variable value of the business variable in the target business information; determines the business meaning of the business variable in the preset data dictionary based on the target dictionary type and the target variable value, and outputs the business meaning. The present application annotates and identifies the target business information obtained according to the business processing request, quickly obtains the target dictionary type and target variable value of the business variable in the target business information, and then accurately determines the business meaning of the business variable from the preset configuration dictionary through the target dictionary type and the target variable value, so that when performing business processing through different application systems, the business meaning that uniquely corresponds to the business variable in the business processing request can be obtained, avoiding the situation where the constant list values ​​corresponding to the same variable in each system are inconsistent, and effectively reducing the difficulty of data maintenance between different systems.

[0088] Further, refer to Figure 3 Based on the first embodiment of the data processing method of the present application, a second embodiment of the data processing method of the present application is proposed. In the second embodiment, the step of annotating and identifying the target business information to obtain the target dictionary type and target variable value of the business variable in the target business information includes:

[0089] Step S21, annotating and identifying the target business information;

[0090] Step S22: If there is an annotation in the target business information, the target dictionary type and target variable value of the business variable corresponding to the annotation are obtained.

[0091] It can be understood that after obtaining the target business information based on the business processing request, the data processing system identifies the annotations of the target business information through the annotation parser preset in the application system used by the user, so as to determine whether there are annotations in the target business information. Further, if it is determined that there are annotations in the target business information through identification, the data processing system converts the business variable corresponding to the annotation into a dictionary type, obtains the target dictionary type of the business variable, and obtains the target variable value corresponding to the business variable, so as to match the unique business meaning in the preset data dictionary according to the target dictionary type and the target variable value, so that when performing business processing through different application systems, the business meaning uniquely corresponding to the business variable in the business processing request can be obtained, avoiding the situation where the constant list values ​​corresponding to the same variable in each system are inconsistent, and effectively reducing the difficulty of data maintenance between different systems.

[0092] Furthermore, the step of annotating and identifying the target business information includes:

[0093] Step S211 : performing annotation recognition on each field in the target business information based on the annotation parser to determine whether there is a target field with an annotation in each field.

[0094] Specifically, when the target business information is annotated and identified, the data processing system uses the annotation parser preset in the application system used by the user to perform annotation identification on each field in the target business information to determine whether there is a target field containing annotations in each field of the target business information. Furthermore, the data processing system can set an identification order for the annotation parser, such as row-by-row identification or column-by-column identification, and perform annotation identification on all fields in the target business information according to the set identification order to determine whether there is a target field containing annotations in all fields of the target business information, so as to facilitate obtaining the target dictionary type and target variable value according to the business variable corresponding to the target field containing annotations, and then match the unique business meaning in the preset data dictionary according to the target dictionary type and the target variable value, so that when performing business processing through different application systems, the business meaning uniquely corresponding to the business variable in the business processing request can be obtained, avoiding the situation where the constant list values ​​corresponding to the same variable in each system are inconsistent, and effectively reducing the difficulty of data maintenance between different systems.

[0095] This embodiment identifies the target business information through annotations; when there are annotations in the target business information, the target dictionary type and target variable value of the business variable corresponding to the annotation are obtained, so as to match the unique business meaning in the preset data dictionary according to the target dictionary type and the target variable value, so that when business processing is performed through different application systems, the business meaning uniquely corresponding to the business variable in the business processing request can be obtained, avoiding the situation where the constant list values ​​corresponding to the same variable in each system are inconsistent, and effectively reducing the difficulty of data maintenance between different systems.

[0096] Further, refer to Figure 4 Based on the first embodiment of the data processing method of the present application, a third embodiment of the data processing method of the present application is proposed. In the third embodiment, the step of determining the business meaning of the business variable in the preset data dictionary based on the target dictionary type and the target variable value includes:

[0097] Step S31, matching information in a preset data dictionary based on the target dictionary type and the target variable value;

[0098] Step S32: if the preset data dictionary contains dictionary data matching the target dictionary type and the target variable value, the business meaning in the dictionary data is determined as the business meaning of the business variable, and the dictionary data at least includes the dictionary type, the variable value and the business meaning.

[0099] It can be understood that the preset data dictionary in the microservice architecture is configured based on the user's needs before the user makes a business processing request. The preset data dictionary may contain the general dictionary type defined by the user according to the general business variables and the variable values ​​and business meanings corresponding to the business variables. Therefore, after obtaining the target dictionary type and target variable value of the business variable in the target business information, the data processing system inputs the target dictionary type and the target variable value into the preset data dictionary of the microservice architecture, and performs data indexing in the preset data dictionary according to the target dictionary type and the target variable value, so as to match the information. Specifically, the target dictionary type and the target variable value can be formed into a data pair as an index formula, and then the index formula is used to find out whether there is dictionary data matching the target dictionary type and the target variable value in the data pair in the preset data dictionary. Further, after the search determines that there is dictionary data matching the target dictionary type and the target variable value in the data pair in the preset data dictionary, the business meaning contained therein is extracted from the dictionary data matching the target dictionary type and the target variable value in the data pair, and the business meaning extracted from the dictionary data is determined as the unique business meaning of the business variable. For example: if the business variable is account status, the target dictionary type corresponding to the business variable is account_state, and the target variable value is 0, the data processing system uses the target dictionary type account_state and the target variable value 1 as a data pair to match information in the preset data dictionary. If it is determined through matching that there is dictionary data (account_state, 1, not effective) in the preset data dictionary that matches the target dictionary type account_state and the target variable value 1, then the business meaning (not effective) in the dictionary data (account_state, 1, not effective) is determined as the business meaning of the business variable (account status). As another example: if the business variable is payment status, the target dictionary type corresponding to the business variable is payment_state, and the target variable value is 0, the data processing system uses the target dictionary type payment_state and the target variable value 0 as a data pair to perform information matching in the preset data dictionary. If it is determined through matching that there is dictionary data (payment_state, 0, effective) in the preset data dictionary that matches the target dictionary type payment_state and the target variable value 0, then the business meaning (effective) in the dictionary data (payment_state, 0, effective) is determined as the business meaning of the business variable (payment status).

[0100] This embodiment matches the unique business meaning of the business variable in the preset data dictionary based on the target dictionary type and the target variable value, so that when business processing is performed through different application systems, the business meaning uniquely corresponding to the business variable in the business processing request can be obtained, avoiding the situation where the constant list values ​​corresponding to the same variable in each system are inconsistent, and effectively reducing the difficulty of data maintenance between different systems.

[0101] Furthermore, the present application also provides a data processing device.

[0102] Reference Figure 5 , Figure 5 This is a schematic diagram of the functional modules of the first embodiment of the data processing device of the present application.

[0103] The data processing device comprises:

[0104] The acquisition module 10 is used to receive a business processing request and acquire target business information based on the business processing request;

[0105] An identification module 20 is used to perform annotation identification on the target business information to obtain a target dictionary type and a target variable value of a business variable in the target business information;

[0106] The determination module 30 is used to determine the business meaning of the business variable in a preset data dictionary based on the target dictionary type and the target variable value, and output the business meaning.

[0107] Furthermore, the acquisition module 10 includes:

[0108] A parsing unit, used for parsing business variables corresponding to the business processing request;

[0109] The setting unit is used to set an annotation for a target field corresponding to the business variable in the target business information.

[0110] Furthermore, the identification module 20 includes:

[0111] A first identification unit, used for annotating and identifying the target business information;

[0112] The first acquisition unit is configured to acquire a target dictionary type and a target variable value of a business variable corresponding to the annotation if there is an annotation in the target business information.

[0113] Furthermore, the identification module 20 further includes:

[0114] The second identification unit is used to perform annotation identification on each field in the target business information based on an annotation parser to determine whether there is a target field with an annotation set in each field.

[0115] Furthermore, the determination module 30 includes:

[0116] A matching unit, configured to match information in a preset data dictionary based on the target dictionary type and the target variable value;

[0117] A determination unit is used to determine the business meaning in the dictionary data as the business meaning of the business variable if there is dictionary data matching the target dictionary type and the target variable value in the preset data dictionary, and the dictionary data at least includes a dictionary type, a variable value and a business meaning.

[0118] Furthermore, the determining module 30 further includes:

[0119] A second acquisition unit, used to acquire information to be configured;

[0120] The configuration unit is used to perform dictionary type configuration on the information to be configured to obtain a preset data dictionary.

[0121] In addition, the present application also provides a medium, which is preferably a computer-readable storage medium on which a data processing program is stored. When the data processing program is executed by a processor, the steps of each embodiment of the above-mentioned data processing method are implemented.

[0122] In addition, the present application also provides a computer program product, including a computer program, which implements the steps of each embodiment of the above-mentioned data processing method when executed by a processor.

[0123] In the embodiments of the data processing device, computer-readable medium and computer program product of the present application, all technical features of the above-mentioned data processing method embodiments are included, and the descriptions and explanations are basically the same as those of the above-mentioned data processing method embodiments, and are not repeated here.

[0124] It should be noted that, in this article, the terms "include", "comprises" or any other variations 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, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0125] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0126] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD), and includes several instructions to enable a terminal device (which can be a fixed terminal, such as an IoT smart device, including smart air conditioners, smart lights, smart power supplies, smart routers and other smart homes; it can also be a mobile terminal, including smart phones, wearable networked AR / VR devices, smart speakers, self-driving cars and many other networked devices) to execute the methods described in the various embodiments of the present application.

[0127] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A data processing method, characterized in that: The data processing method comprises: Receiving a business processing request, and acquiring target business information based on the business processing request; Annotate and identify the target business information to obtain a target dictionary type and a target variable value of a business variable in the target business information; Based on the target dictionary type and the target variable value, determining a unique business meaning of the business variable in a preset data dictionary, and outputting the business meaning; The step of determining the unique business meaning of the business variable in the preset data dictionary based on the target dictionary type and the target variable value includes: Matching information in a preset data dictionary based on the target dictionary type and the target variable value; If dictionary data matching the target dictionary type and the target variable value exists in the preset data dictionary, the business meaning in the dictionary data is determined as the unique business meaning of the business variable, and the dictionary data at least includes a dictionary type, a variable value and a business meaning.

2. The data processing method according to claim 1, characterized in that: The step of annotating and identifying the target business information to obtain the target dictionary type and target variable value of the business variable in the target business information comprises: Annotating and identifying the target business information; If there is an annotation in the target business information, the target dictionary type and target variable value of the business variable corresponding to the annotation are obtained.

3. The data processing method according to claim 2, characterized in that: The step of annotating and identifying the target business information includes: Based on the annotation parser, annotation recognition is performed on each field in the target business information to determine whether there is a target field with an annotation set in each field.

4. The data processing method according to claim 1, characterized in that: After the step of acquiring target business information based on the business processing request, the method further includes: Parsing business variables corresponding to the business processing request; An annotation is set for a target field corresponding to the business variable in the target business information.

5. The data processing method according to claim 1, characterized in that: Before the step of determining the unique business meaning of the business variable in the preset data dictionary based on the target dictionary type and the target variable value, the step further includes: Get the information to be configured; The information to be configured is configured as a dictionary type to obtain a preset data dictionary.

6. A data processing device, characterized in that: The data processing device comprises: An acquisition module, used to receive a business processing request and acquire target business information based on the business processing request; An identification module, used to annotate and identify the target business information, and obtain a target dictionary type and a target variable value of a business variable in the target business information; A determination module, configured to determine a unique business meaning of the business variable in a preset data dictionary based on the target dictionary type and the target variable value, and output the business meaning; The step of determining the unique business meaning of the business variable in the preset data dictionary based on the target dictionary type and the target variable value includes: Matching information in a preset data dictionary based on the target dictionary type and the target variable value; If dictionary data matching the target dictionary type and the target variable value exists in the preset data dictionary, the business meaning in the dictionary data is determined as the unique business meaning of the business variable, and the dictionary data at least includes a dictionary type, a variable value and a business meaning.

7. A data processing device, characterized in that: The data processing device comprises a memory, a processor, and a data processing program stored in the memory and executable on the processor, wherein the data processing program implements the steps of the data processing method according to any one of claims 1 to 5 when executed by the processor.

8. A medium, the medium being a computer-readable storage medium, characterized in that: The computer-readable storage medium stores a data processing program, and when the data processing program is executed by a processor, the steps of the data processing method according to any one of claims 1 to 5 are implemented.

9. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the data processing method according to any one of claims 1 to 5 are implemented.