CN109814923B - Data processing method, device, computer equipment and storage medium - Google Patents

Data processing method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN109814923B
CN109814923B CN201811628665.1A CN201811628665A CN109814923B CN 109814923 B CN109814923 B CN 109814923B CN 201811628665 A CN201811628665 A CN 201811628665A CN 109814923 B CN109814923 B CN 109814923B
Authority
CN
China
Prior art keywords
data
code data
target
type
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811628665.1A
Other languages
Chinese (zh)
Other versions
CN109814923A (en
Inventor
刘翔
卫志强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201811628665.1A priority Critical patent/CN109814923B/en
Publication of CN109814923A publication Critical patent/CN109814923A/en
Application granted granted Critical
Publication of CN109814923B publication Critical patent/CN109814923B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses a data processing method, a device, computer equipment and a storage medium, which comprise the following steps: acquiring code data information to be processed; extracting target data from the code data information according to type parameters in a preset information configuration table, wherein the information configuration table further comprises processing rules of the target data; and processing the target data according to the processing rule, and returning the processed data to a database. And setting the processing flow of the code data to be processed in a parameter form through the information configuration list, and directly acquiring the target data from the database through the information configuration list and processing according to the corresponding processing rule. The method visualizes the processing flow through the information configuration list, so that the time for a developer to familiarize with the processing flow can be saved, manpower and material resources are reduced, and the development efficiency is improved.

Description

Data processing method, device, computer equipment and storage medium
Technical Field
The embodiment of the invention relates to the field of data processing, in particular to a data processing method, a data processing device, computer equipment and a storage medium.
Background
The development of computer and software technology provides great convenience for life and work of people. In the process of developing projects by using software, code data in the development process needs to be processed according to a preset flow, for example, spaces in the code data are removed, and fields conforming to a format or date formats are extracted.
However, when the code data is required to be modified later or further developed after the project is completed, a developer needs to study the processing flow according to a great amount of time and process the code data according to a newly set flow, which causes great manpower consumption, time and labor.
Disclosure of Invention
The embodiment of the invention provides a data processing method, a data processing device, computer equipment and a storage medium.
In order to solve the technical problems, the embodiment of the invention adopts the following technical scheme: there is provided a data processing method comprising the steps of:
Acquiring code data information to be processed;
Extracting target data from the code data information according to type parameters in a preset information configuration table, wherein the information configuration table further comprises processing rules of the target data;
And processing the target data according to the processing rule, and returning the processed data to a database.
Optionally, the extracting the target data from the code data information according to the type parameter in the preset information configuration table includes the following steps:
extracting type keywords of the code data from the code data information;
comparing the type keywords with type parameters in the information configuration list;
and when the type key word is consistent with the type parameter comparison, taking code data pointed by the type key word as the target data.
Optionally, the extracting the target data from the code data information according to the type parameter in the preset information configuration table includes the following steps:
judging whether code data with the same format as the parameter type exists in the code data information;
Code data having the same format as the parameter type is determined as the target data.
Optionally, the processing rule includes: the field parameters and preset target characters; the processing of the target data according to the processing rule comprises the following steps:
selecting a target field matched with the field parameter from the target data according to the field parameter;
And replacing the characters in the target field with the target characters.
Optionally, the target character is used to represent a format for modifying the target data.
Optionally, the returning the processed data to the database includes the following steps:
Extracting path information of the target data from the code data information;
and returning the processed data to the data according to the path information.
In order to solve the above technical problem, an embodiment of the present invention further provides a data processing apparatus, including:
the acquisition module is used for acquiring code data information to be processed;
The processing module is used for extracting target data from the code data information according to type parameters in a preset information configuration table, wherein the information configuration table further comprises processing rules of the target data;
and the execution module is used for processing the target data according to the processing rule and returning the processed data to the database.
Optionally, the processing module includes the steps of:
the first acquisition sub-module is used for extracting the type keywords of the code data from the code data information;
The first processing sub-module is used for comparing the type keywords with the type parameters in the information configuration list;
And the first execution sub-module is used for taking code data pointed by the type key words as the target data when the type key words are consistent with the type parameter comparison.
Optionally, the processing module includes the steps of:
the second processing sub-module is used for judging whether code data with the same format as the parameter type exists in the code data information;
and the second execution sub-module is used for determining code data with the same format as the parameter type as the target data.
Optionally, the processing rule includes: the field parameters and preset target characters; the execution module comprises:
the second acquisition sub-module is used for selecting a target field matched with the field parameter from the target data according to the field parameter;
And the third execution sub-module is used for replacing the characters in the target field with the target characters.
Optionally, the target character is used to represent a format for modifying the target data.
Optionally, the execution module includes:
A third obtaining sub-module, configured to extract path information of the target data from the code data information;
And the fourth execution sub-module is used for returning the processed data to the data according to the path information.
To solve the above technical problem, an embodiment of the present invention further provides a computer device, including a memory and a processor, where the memory stores computer readable instructions, and when the computer readable instructions are executed by the processor, the processor is caused to execute the steps of the data processing method.
To solve the above technical problem, embodiments of the present invention further provide a storage medium storing computer readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of the data processing method described above.
The embodiment of the invention has the beneficial effects that: and setting the processing flow of the code data to be processed in a parameter form through the information configuration list, and directly acquiring the target data from the database through the information configuration list and processing according to the corresponding processing rule. The method visualizes the processing flow through the information configuration list, so that the time for a developer to familiarize with the processing flow can be saved, manpower and material resources are reduced, and the development efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a basic flow of a data processing method according to an embodiment of the present invention;
Fig. 2 is a basic flow chart of a method for extracting target data from code data information according to type parameters in a preset information configuration table according to an embodiment of the present invention;
Fig. 3 is a basic flow chart of another method for extracting target data from code data information according to type parameters in a preset information configuration table according to an embodiment of the present invention;
FIG. 4 is a basic flow diagram of a method for processing target data according to a processing rule according to an embodiment of the present invention;
FIG. 5 is a basic flow diagram of a method for returning processed data to a database according to an embodiment of the present invention;
FIG. 6 is a basic block diagram of a data processing apparatus according to an embodiment of the present invention;
fig. 7 is a basic structural block diagram of a computer device according to an embodiment of the present invention.
Detailed Description
In order to enable those skilled in the art to better understand the present invention, the following description will make clear and complete descriptions of the technical solutions according to the embodiments of the present invention with reference to the accompanying drawings.
In some of the flows described in the specification and claims of the present invention and in the foregoing figures, a plurality of operations occurring in a particular order are included, but it should be understood that the operations may be performed out of order or performed in parallel, with the order of operations such as 101, 102, etc., being merely used to distinguish between the various operations, the order of the operations themselves not representing any order of execution. In addition, the flows may include more or fewer operations, and the operations may be performed sequentially or in parallel. It should be noted that, the descriptions of "first" and "second" herein are used to distinguish different messages, devices, modules, etc., and do not represent a sequence, and are not limited to the "first" and the "second" being different types.
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to fall within the scope of the invention.
Examples
As used herein, a "terminal" includes both a device of a wireless signal receiver having no transmitting capability and a device of receiving and transmitting hardware having receiving and transmitting hardware capable of performing bi-directional communications over a bi-directional communication link, as will be appreciated by those skilled in the art. Such a device may include: a cellular or other communication device having a single-line display or a multi-line display or a cellular or other communication device without a multi-line display; PCS (Personal Communications Service, personal communications System) that may combine voice, data processing, facsimile and/or data communications capabilities; PDA (Personal DIGITAL ASSISTANT ) that may include a radio frequency receiver, pager, internet/intranet access, web browser, notepad, calendar and/or GPS (Global Positioning System ) receiver; a conventional laptop and/or palmtop computer or other appliance that has and/or includes a radio frequency receiver. As used herein, "terminal," "terminal device" may be portable, transportable, installed in a vehicle (aeronautical, maritime, and/or land-based), or adapted and/or configured to operate locally and/or in a distributed fashion, to operate at any other location(s) on earth and/or in space. The "terminal" and "terminal device" used herein may also be a communication terminal, a network access terminal, and a music/video playing terminal, for example, may be a PDA, a MID (Mobile INTERNET DEVICE ) and/or a Mobile phone with a music/video playing function, and may also be a smart tv, a set top box, and other devices.
The client terminal in this embodiment is the above-described terminal.
Specifically, referring to fig. 1, fig. 1 is a basic flow chart of a data processing method according to the present embodiment.
As shown in fig. 1, the data processing method includes the steps of:
s1100, acquiring code data information to be processed;
The code data information to be processed is used for representing the code data which needs to be processed according to the processing rule, wherein the code data information comprises the type of the code data and the position information of the file where the code data are located. Since the processing rules related to the code data in each item are different, the processing rules of the data in each stage in one item are different, or the processing rules of each data type are different, the type of the code data can represent the type and name of the item where the code data is located, the name of each stage in a certain item, or the type of the data, for example, the data type related to the date, the data format related to Chinese characters, and the like.
In some embodiments, the code data may be extracted from the respective items by Kafka and the extracted code data added to the database to cause the terminal to retrieve the code data from the database. For ease of processing, kafka may perform batch extraction of data per item or per stage in a certain item each time code data is extracted. And setting labels for the extracted code data in the database according to the item or stage in which the extracted code data are located, and storing the extracted code data according to the sequence of the labels.
In the storing process, the position information of the code data is stored together.
S1200, extracting target data from code data information according to type parameters in a preset information configuration table, wherein the information configuration table further comprises processing rules of the target data;
the information configuration table is a configuration table preset in the flow processing platform and comprises type parameters of the extracted code data, the processing flow and processing rule of the extracted target data and path information for returning the processed code data to the original position. The type parameter is used to represent the type of code data to be extracted according to the processing flow set in the information configuration table, and in this embodiment, the type parameter may be the name, the identification code of an item or the name or the identification code of each stage in a certain item. In particular, the type parameter may be represented by a letter, a character, a field.
The processing rules can be multiple, and each processing rule is set according to a node of a processing flow, wherein the processing rules can be an SQL statement or a program fragment of business processing. The processing rule may specifically be to set a space for the target data, modify the format of the target field into a uniform format, for example, uniformly modify the format of the date into XXXX/XX.
The path information may be preset, or in-situ information of the target data may be extracted during the process of extracting the target data, and added to the information configuration table.
In some embodiments, the information configuration list presets all the code data to be processed and the processing flow of the code data, and can be customized to modify the type parameters, the processing rules or the path information of the code data.
In some embodiments, when extracting the target data, the keyword of the item name may be compared with the tag of the parameter information stored in the database, and when the comparison is consistent, the code data pointed by the tag that is consistent in comparison is determined to be the target data. For example, in this embodiment, the font of all data in the XX item needs to be changed, at this time, the item name "XX" is used as a keyword to respectively compare the tags in the database, and when the comparison is consistent, the code data represented by the tag containing XX is used as the target data.
S1300, processing the target data according to the processing rules, and returning the processed data to the database.
And the terminal or the server processes the target data according to the processing rule of each node in the configuration information table. For example, extracting the target field from the target data, modifying the characters in the target field to the preset characters, if the date format is to be set to the preset format, all the fields related to the date format need to be extracted from the code data, and modifying the original format to the preset format. For example, a code to be processed according to a processing rule is added to the target data, and if the space removal processing is required to be performed on the code data, a code instruction for the space removal processing is added to the corresponding position.
For example, when the terminal or the server performs space removal processing on all data in the XX project, the terminal or the server extracts all data in the XX project from the database by taking the project name 'XX' as a type parameter. The extracted data is searched for spaces according to the processing rule, namely the following codes, and deleted.
function trim(s){
var count=s.length;
var st=0;//start
var end=count-1;//end
if(s=="")return s;
while(st<count){
if(s.charAt(st)=="")
st++;else
break;
}
According to the data processing method, the processing flow of the code data to be processed is set in the form of parameters through the setting information configuration list, and the target data can be directly obtained from the database only through the information configuration list and processed according to the corresponding processing rules. The method visualizes the processing flow through the information configuration list, so that the time for a developer to familiarize with the processing flow can be saved, manpower and material resources are reduced, and the development efficiency is improved.
The embodiment of the invention provides a method for extracting target data from code data information according to type parameters in a preset information configuration table. Fig. 2 is a basic flow chart of a method for extracting target data from code data information according to type parameters in a preset information configuration table according to an embodiment of the present invention;
Specifically, as shown in fig. 2, step S1200 includes the steps of:
s1211, extracting a type keyword of the code data from the code data information;
In some embodiments, the code data is extracted from the respective items by Kafka and the extracted code data is added to the database so that the terminal retrieves the code data from the database. And setting labels for the extracted code data in the database according to the item or stage in which the extracted code data are located, and storing the extracted code data according to the sequence of the labels. The code data information comprises extracted code data, positions of the code data in a database, tag types of the code data in the database and the like.
The type keyword is used to indicate the type of the code data, and the type may indicate the type of the item, the name, the category of the data, for example, date data, text data, or digital data.
S1212, comparing the type keywords with the type parameters in the information configuration list;
the information configuration list includes various types of parameters and processing rules for processing code data of the various types of parameters.
In the embodiment of the invention, the type keywords are compared with the type parameters in the information configuration list, and the type keywords and the type parameters can be one or a plurality of combinations of numbers, letters, symbols and the like. And when the characters are compared, comparing all the characters in the type keywords with the characters of the type parameters.
S1213, when the type keywords are consistent with the type parameter comparison, taking code data pointed by the type keywords as target data.
The target data is code data represented by type parameters in the information configuration list in the embodiment of the invention. And determining target data to be processed by comparing the type keywords with the type parameters.
For example, if the type keyword is that the "item one" keyword is consistent with the type parameter "item one" in the information configuration list, determining the code data of the "item one" type in the database as the target data.
In some embodiments, when format modification is performed on a certain type of code data, since the range of distribution of the code data of the type is wider, keywords cannot be set for all code data, in order to solve the problem, in the embodiment of the present invention, another method for extracting target data from code data information according to type parameters in a preset information configuration table is provided, as shown in fig. 3, and fig. 3 is a basic flow diagram of another method for extracting target data from code data information according to type parameters in the preset information configuration table provided in the embodiment of the present invention.
Specifically, as shown in fig. 3, step S1200 includes the steps of:
S1221, judging whether code data with the same format as the parameter type exists in the code data information;
it should be noted that, the target data according to the embodiment of the present invention is code data that needs to be modified in format, for example, the format of the date is modified, and space removal processing is performed on all code data. In this case, the parameter types in the information configuration list may be set in accordance with the format of the code data to be searched, so that when determining the target data, the target data identical to the format of the parameter types is searched in the code data in the database in accordance with the format of the parameter types.
S1222, code data having the same format as the parameter type is determined as target data.
In the embodiment of the invention, when the code data information contains the code data with the same format as the parameter type, the code data with the same format is determined as the target data. For example, the format of the type parameter is a parameter including a space, and in this embodiment, code data including a space is searched for in the code data information and determined as target data.
In practical applications, after determining the target data, the target data needs to be processed according to a processing rule preset in the information configuration list. In the embodiment of the invention, the related processing rules mainly process the format and the fields of the target data. In general, the processing rules include: the field parameters and preset target characters; an embodiment of the present invention provides a method for processing target data according to a processing rule, as shown in fig. 4, fig. 4 is a basic flow diagram of a method for processing target data according to a processing rule provided in an embodiment of the present invention.
Specifically, as shown in fig. 4, step S1300 includes the steps of:
S1311, selecting a target field matched with the field parameter from target data according to the field parameter;
The field parameters are used to represent a string of characters that is processed according to the processing rules, typically part of all characters in the target data. The field parameter may be a parameter indicating a location of the target field, or may be information indicating a specific code of the target field. For example, the target data is a piece of text, and in order to set two preceding fields for the piece of text, the field parameter may be a position parameter indicating the head of the segment. And if the date field of the target field is the date field, selecting the date field from the target data as the target field.
S1312, replacing the characters in the target field with target characters.
The processing rule is an SQL statement or a program fragment for business processing, and in this embodiment, the processing rule is a program fragment for replacing a character in the target field with a target character. For example, the target field contains dates in various formats, the target character is XXXX/XX/XX, the embodiment gathers, and the fields of all dates are replaced with XXXX/XX/XX formats in a unified way.
The embodiment of the invention provides a method for returning processed data to a database, as shown in fig. 5, fig. 5 is a basic flow diagram of the method for returning processed data to the database.
Specifically, as shown in fig. 5, step S1300 includes the steps of:
S1321, extracting path information of target data from code data information;
the path information is used to represent the location information of the code data stored in the database.
S1322, the processed data is returned to the data according to the path information.
In this embodiment, the processed data is returned to the original location of the database according to the path information, so that the modified code data can be conveniently returned to the original location information, so as to modify the code data in the project.
The path information may be preset, or in-situ information of the target data may be extracted during the process of extracting the target data, and added to the information configuration table.
In some embodiments, the information configuration list presets all the code data to be processed and the processing flow of the code data, and can be customized to modify the type parameters, the processing rules or the path information of the code data.
In order to solve the technical problems, the embodiment of the invention also provides a data processing device. Referring specifically to fig. 6, fig. 6 is a block diagram showing a basic structure of a data processing apparatus according to the present embodiment.
As shown in fig. 6, a data processing apparatus includes: an acquisition module 2100, a processing module 2200, and an execution module 2300. Wherein, the acquiring module 2100 is configured to acquire code data information to be processed; a processing module 2200, configured to extract target data from code data information according to a type parameter in a preset information configuration table, where the information configuration table further includes a processing rule of the target data; and the execution module 2300 is used for processing the target data according to the processing rule and returning the processed data to the database.
The data processing device sets the processing flow of the code data to be processed in the form of parameters by setting the information configuration list, and can directly acquire the target data from the database by only needing to use the information configuration list and process the target data according to the corresponding processing rules. The method visualizes the processing flow through the information configuration list, so that the time for a developer to familiarize with the processing flow can be saved, manpower and material resources are reduced, and the development efficiency is improved.
In some embodiments, the processing module comprises the steps of: the first acquisition sub-module is used for extracting the type keywords of the code data from the code data information; the first processing sub-module is used for comparing the type keywords with the type parameters in the information configuration list; and the first execution sub-module is used for taking code data pointed by the type key words as the target data when the type key words are consistent with the type parameter comparison.
In some embodiments, the processing module comprises the steps of: the second processing sub-module is used for judging whether code data with the same format as the parameter type exists in the code data information; and the second execution sub-module is used for determining code data with the same format as the parameter type as the target data.
In some embodiments, the processing rules include: the field parameters and preset target characters; the execution module comprises: the second acquisition sub-module is used for selecting a target field matched with the field parameter from the target data according to the field parameter; and the third execution sub-module is used for replacing the characters in the target field with the target characters.
In some embodiments, the target character is used to represent a modification to the format of the target data.
In some embodiments, the execution module comprises: a third obtaining sub-module, configured to extract path information of the target data from the code data information; and the fourth execution sub-module is used for returning the processed data to the data according to the path information.
In order to solve the technical problems, the embodiment of the invention also provides computer equipment. Referring specifically to fig. 7, fig. 7 is a basic structural block diagram of a computer device according to the present embodiment.
As shown in fig. 7, the internal structure of the computer device is schematically shown. As shown in fig. 7, the computer device includes a processor, a non-volatile storage medium, a memory, and a network interface connected by a system bus. The nonvolatile storage medium of the computer device stores an operating system, a database and computer readable instructions, the database can store a control information sequence, and the computer readable instructions can enable a processor to realize a data processing method when the computer readable instructions are executed by the processor. The processor of the computer device is used to provide computing and control capabilities, supporting the operation of the entire computer device. The memory of the computer device may have stored therein computer readable instructions that, when executed by the processor, cause the processor to perform a data processing method. The network interface of the computer device is for communicating with a terminal connection. It will be appreciated by those skilled in the art that the structure shown in FIG. 7 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
The processor in this embodiment is configured to execute the specific contents of the acquisition module 2100, the processing module 2200, and the execution module 2300 in fig. 6, and the memory stores program codes and various types of data required for executing the above modules. The network interface is used for data transmission between the user terminal or the server. The memory in the present embodiment stores program codes and data required for executing all the sub-modules in the data processing method, and the server can call the program codes and data of the server to execute the functions of all the sub-modules.
The computer equipment sets the processing flow of the code data to be processed in the form of parameters by setting the information configuration list, and can directly acquire the target data from the database by the information configuration list and process the target data according to the corresponding processing rules. The method visualizes the processing flow through the information configuration list, so that the time for a developer to familiarize with the processing flow can be saved, manpower and material resources are reduced, and the development efficiency is improved.
The present invention also provides a storage medium storing computer readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of a data processing method according to any of the embodiments described above.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program stored in a computer-readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. The storage medium may be a nonvolatile storage medium such as a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a random access Memory (Random Access Memory, RAM).
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the flowcharts of the figures may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily being sequential, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
The foregoing is only a partial embodiment of the present invention, and it should be noted that it will be apparent to those skilled in the art that modifications and adaptations can be made without departing from the principles of the present invention, and such modifications and adaptations are intended to be comprehended within the scope of the present invention.

Claims (4)

1. A method of data processing comprising the steps of:
acquiring code data information to be processed, wherein the code data information comprises extracted code data, the position of the code data in a database and the type of a label of the code data in the database;
Extracting target data from the code data information according to the type parameters in a preset information configuration table, wherein the extracting target data comprises the following steps: extracting type keywords of the code data from the code data information; if the type keyword is consistent with the type parameter in comparison and the code data information contains code data with the same format as the type parameter, determining the code data which is pointed by the type keyword and has the same format as the type parameter as the target data, wherein the format of the type parameter is a parameter containing a space, and the type parameter is used for representing the type of the code data to be extracted according to the processing flow set in the information configuration table; the information configuration table is a configuration table preset in a flow processing platform and comprises type parameters of extracted code data, a processing flow of the extracted target data, processing rules and path information for returning the processed code data to a home position, wherein the processing rules comprise: the field parameters and preset target characters are used for representing changing the format of the target data;
Selecting a target field matched with the field parameter from the target data according to the field parameter, replacing the character in the target field with the target character, and returning the processed data to a database, wherein the method comprises the following steps: extracting path information of the target data from the code data information, and returning the processed data to the data according to the path information, wherein the target field comprises dates in various formats.
2. A data processing apparatus, comprising:
The code data processing module is used for processing the code data information to be processed, wherein the code data information comprises extracted code data, the position of the code data in a database and the type of a label of the code data in the database;
The processing module is used for extracting target data from the code data information according to the type parameters in the preset information configuration table, and comprises the following steps: extracting type keywords of the code data from the code data information; if the type keyword is consistent with the type parameter in comparison and the code data information contains code data with the same format as the type parameter, determining the code data which is pointed by the type keyword and has the same format as the type parameter as the target data, wherein the format of the type parameter is a parameter containing a space, and the type parameter is used for representing the type of the code data to be extracted according to the processing flow set in the information configuration table; the information configuration table is a configuration table preset in a flow processing platform and comprises type parameters of extracted code data, a processing flow of the extracted target data, processing rules and path information for returning the processed code data to a home position, wherein the processing rules comprise: the field parameters and preset target characters are used for representing changing the format of the target data;
The execution module is used for selecting a target field matched with the field parameter from the target data according to the field parameter, replacing the character in the target field with the target character, and returning the processed data to a database, and comprises the following steps: extracting path information of the target data from the code data information, and returning the processed data to the data according to the path information, wherein the target field comprises dates in various formats.
3. A computer device comprising a memory and a processor, the memory having stored therein computer readable instructions which, when executed by the processor, cause the processor to perform the steps of the data processing method of claim 1.
4. A storage medium storing computer readable instructions which, when executed by one or more processors, cause the one or more processors to perform the steps of the data processing method of claim 1.
CN201811628665.1A 2018-12-28 2018-12-28 Data processing method, device, computer equipment and storage medium Active CN109814923B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811628665.1A CN109814923B (en) 2018-12-28 2018-12-28 Data processing method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811628665.1A CN109814923B (en) 2018-12-28 2018-12-28 Data processing method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109814923A CN109814923A (en) 2019-05-28
CN109814923B true CN109814923B (en) 2024-05-10

Family

ID=66601491

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811628665.1A Active CN109814923B (en) 2018-12-28 2018-12-28 Data processing method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109814923B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110309149B (en) * 2019-06-06 2024-06-07 平安科技(深圳)有限公司 Data table processing method and device, electronic equipment and storage medium
CN110825920B (en) * 2019-10-22 2022-06-10 厦门市美亚柏科信息股份有限公司 Data processing method and device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105930332A (en) * 2016-01-13 2016-09-07 平安科技(深圳)有限公司 Code release and query method and terminal
WO2017071777A1 (en) * 2015-10-30 2017-05-04 Hewlett Packard Enterprise Development Lp Generation of a data type code value for a data type
CN107798035A (en) * 2017-04-10 2018-03-13 平安科技(深圳)有限公司 A kind of data processing method and terminal
CN107977405A (en) * 2017-11-16 2018-05-01 北京三快在线科技有限公司 Data reordering method, data sorting device, electronic equipment and readable storage medium storing program for executing
CN108133008A (en) * 2017-12-22 2018-06-08 平安养老保险股份有限公司 The processing method of business datum, device, equipment and storage medium in database
CN108287708A (en) * 2017-12-22 2018-07-17 深圳市云智融科技有限公司 A kind of data processing method, device, server and computer readable storage medium
CN108595183A (en) * 2018-04-19 2018-09-28 北京微播视界科技有限公司 Code splices and adjustment method, device, computer readable storage medium and terminal
CN108681872A (en) * 2018-03-30 2018-10-19 平安科技(深圳)有限公司 Variable information update method, device, computer equipment and storage medium
CN109032796A (en) * 2018-07-18 2018-12-18 北京京东金融科技控股有限公司 A kind of data processing method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017071777A1 (en) * 2015-10-30 2017-05-04 Hewlett Packard Enterprise Development Lp Generation of a data type code value for a data type
CN105930332A (en) * 2016-01-13 2016-09-07 平安科技(深圳)有限公司 Code release and query method and terminal
CN107798035A (en) * 2017-04-10 2018-03-13 平安科技(深圳)有限公司 A kind of data processing method and terminal
CN107977405A (en) * 2017-11-16 2018-05-01 北京三快在线科技有限公司 Data reordering method, data sorting device, electronic equipment and readable storage medium storing program for executing
CN108133008A (en) * 2017-12-22 2018-06-08 平安养老保险股份有限公司 The processing method of business datum, device, equipment and storage medium in database
CN108287708A (en) * 2017-12-22 2018-07-17 深圳市云智融科技有限公司 A kind of data processing method, device, server and computer readable storage medium
CN108681872A (en) * 2018-03-30 2018-10-19 平安科技(深圳)有限公司 Variable information update method, device, computer equipment and storage medium
CN108595183A (en) * 2018-04-19 2018-09-28 北京微播视界科技有限公司 Code splices and adjustment method, device, computer readable storage medium and terminal
CN109032796A (en) * 2018-07-18 2018-12-18 北京京东金融科技控股有限公司 A kind of data processing method and device

Also Published As

Publication number Publication date
CN109814923A (en) 2019-05-28

Similar Documents

Publication Publication Date Title
US20240078386A1 (en) Methods and systems for language-agnostic machine learning in natural language processing using feature extraction
CN109885691B (en) Knowledge graph completion method, knowledge graph completion device, computer equipment and storage medium
US11263262B2 (en) Indexing a dataset based on dataset tags and an ontology
CN109936561B (en) User request detection method and device, computer equipment and storage medium
CN108804532B (en) Query intention mining method and device and query intention identification method and device
US20080021876A1 (en) Action tags
CN105550173A (en) Text correction method and device
CN107783976B (en) User information mining method and device
CN107633081A (en) A kind of querying method and system of user profile of breaking one&#39;s promise
EP3961426A2 (en) Method and apparatus for recommending document, electronic device and medium
CN106919711A (en) The method and apparatus of the markup information based on artificial intelligence
CN109814923B (en) Data processing method, device, computer equipment and storage medium
CN114065750A (en) Commodity information matching and publishing method and device, equipment, medium and product thereof
CN112084342A (en) Test question generation method and device, computer equipment and storage medium
US20180189298A1 (en) Random Index Pattern Matching Based Email Relations Finder System
US20080312901A1 (en) Character input assist method, character input assist system, character input assist program, user terminal, character conversion method and character conversion program
CN109905362B (en) User request detection method and device, computer equipment and storage medium
CN109656942B (en) Method, device, computer equipment and storage medium for storing SQL (structured query language) sentences
CN110086848A (en) Sending method, device, computer equipment and the storage medium of network request
US8112070B2 (en) Electronic device and method for searching a merchandise location
CN110750683A (en) Data modification method and device, computer equipment and storage medium
CN110874326A (en) Test case generation method and device, computer equipment and storage medium
CN110998542B (en) Data exchange system, data exchange method, and data exchange program
US20130304720A1 (en) Methods and Apparatus for Presenting Search Results with Indication of Relative Position of Search Terms
CN115129804A (en) Address association method, device, equipment, medium and product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant