CN109814923A - Data processing method, device, computer equipment and storage medium - Google Patents
Data processing method, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN109814923A CN109814923A CN201811628665.1A CN201811628665A CN109814923A CN 109814923 A CN109814923 A CN 109814923A CN 201811628665 A CN201811628665 A CN 201811628665A CN 109814923 A CN109814923 A CN 109814923A
- Authority
- CN
- China
- Prior art keywords
- data
- information
- code data
- type
- parameter
- 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.)
- Granted
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 23
- 238000003860 storage Methods 0.000 title claims abstract description 16
- 238000012545 processing Methods 0.000 claims abstract description 81
- 238000000034 method Methods 0.000 claims abstract description 49
- 239000000284 extract Substances 0.000 claims description 9
- 230000008859 change Effects 0.000 claims description 4
- 230000008569 process Effects 0.000 abstract description 27
- 238000011161 development Methods 0.000 abstract description 7
- 239000000463 material Substances 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 16
- 238000007630 basic procedure Methods 0.000 description 9
- 230000006854 communication Effects 0.000 description 9
- 238000004891 communication Methods 0.000 description 9
- 238000000605 extraction Methods 0.000 description 7
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 3
- 241001269238 Data Species 0.000 description 2
- 238000009826 distribution Methods 0.000 description 2
- 238000005111 flow chemistry technique Methods 0.000 description 2
- 241000208340 Araliaceae Species 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 206010034719 Personality change Diseases 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007175 bidirectional communication Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the invention discloses a kind of data processing method, device, computer equipment and storage medium, include the following steps: to obtain code data information to be processed;Target data is extracted from the code data information according to the type parameter in preset information configuration table, wherein the information configuration table further includes the processing rule of the target data;The target data is handled according to the processing rule, and data return in database by treated.The process flow of code data to be processed is configured in the form of parameter setting information configured list, it is only necessary to target data can directly be obtained from database by information configuration list, and handled according to corresponding processing rule.This method is visualized process flow by information configuration list, can save the time that developer is familiar with process flow, reduces manpower and material resources, improves development efficiency.
Description
Technical field
The present embodiments relate to data processing field, especially a kind of data processing method, device, computer equipment and
Storage medium.
Background technique
The development of computer, software technology provides a great convenience for people's lives, work.It is usually soft in utilization
During part carries out project development, need to handle the code data during exploitation according to preset process, for example,
Remove space therein, extracts the field for meeting format or setting date format etc..
But after the completion of project, when needing the modification for carrying out the later period to code data or further developing, exploit person
Member needs according to devoting a tremendous amount of time research process flow, and according to newly-installed flow processing code data, can make in this way
At a large amount of manpower consumption, time-consuming and laborious.
Summary of the invention
The embodiment of the present invention provides a kind of data processing method, device, computer equipment and storage medium.
In order to solve the above technical problems, the technical solution that the embodiment of the invention uses is: providing a kind of number
According to processing method, include the following steps:
Obtain code data information to be processed;
Target data is extracted from the code data information according to the type parameter in preset information configuration table,
In, the information configuration table further includes the processing rule of the target data;
The target data is handled according to the processing rule, and data return to database by treated
In.
Optionally, the type parameter according in preset information configuration table extracts mesh from the code data information
Data are marked, are included the following steps:
The type keyword of code data is extracted from the code data information;
The type keyword is compared with the type parameter in the information configuration list;
When the type keyword and the type parameter compare consistent, by the code number of type keyword direction
According to as the target data.
Optionally, the type parameter according in preset information configuration table extracts mesh from the code data information
Data are marked, are included the following steps:
Judge the code data that whether there is in the code data information with the parameter type is had to same format;
With the parameter type will there is the code data of same format to be determined as the target data.
Optionally, the processing rule includes: field parameter and preset target character;It is described regular according to the processing
The target data is handled, is included the following steps:
It is chosen from the target data according to the field parameter and the matched aiming field of the field parameter;
Character in the aiming field is replaced with into the target character.
Optionally, the target character is used to indicate to change the format of the target data.
Optionally, described by treated, data are returned in database, are included the following steps:
The routing information of the target data is extracted from the code data information;
According to the routing information, by treated, data are returned in data.
In order to solve the above technical problems, the embodiment of the present invention also provides a kind of data processing equipment, comprising:
Module is obtained, for obtaining code data information to be processed;
Processing module, for being extracted from the code data information according to the type parameter in preset information configuration table
Target data, wherein the information configuration table further includes the processing rule of the target data;
Execution module, for handling according to processing rule the target data, and will treated data
Back in database.
Optionally, the processing module includes the following steps:
First acquisition submodule, for extracting the type keyword of code data from the code data information;
First processing submodule, for carrying out the type parameter in the type keyword and the information configuration list
It compares;
First implementation sub-module, for when the type keyword and the type parameter compare consistent, by the class
The code data that type keyword is directed toward is as the target data.
Optionally, the processing module includes the following steps:
Second processing submodule has for judging to whether there is in the code data information with by the parameter type
The code data of same format;
Second implementation sub-module, for the parameter type will there is the code data of same format to be determined as the mesh
Mark data.
Optionally, the processing rule includes: field parameter and preset target character;The execution module includes:
Second acquisition submodule, for being chosen from the target data according to the field parameter and the field parameter
Matched aiming field;
Third implementation sub-module, for the character in the aiming field to be replaced with the target character.
Optionally, the target character is used to indicate to change the format of the target data.
Optionally, the execution module includes:
Third acquisition submodule, for extracting the routing information of the target data from the code data information;
4th implementation sub-module, for data to return in data by treated according to the routing information.
In order to solve the above technical problems, the embodiment of the present invention also provides a kind of computer equipment, including memory and processing
Device is stored with computer-readable instruction in the memory, when the computer-readable instruction is executed by the processor, so that
The processor executes the step of data processing method described above.
In order to solve the above technical problems, the embodiment of the present invention also provides a kind of storage Jie for being stored with computer-readable instruction
Matter, when the computer-readable instruction is executed by one or more processors, so that one or more processors execute above-mentioned institute
The step of stating data processing method.
The beneficial effect of the embodiment of the present invention is: by setting information configured list by the processing of code data to be processed
Process is configured in the form of parameter, it is only necessary to number of targets can be directly obtained from database by information configuration list
According to, and handled according to corresponding processing rule.This method is visualized process flow by information configuration list, Ke Yijie
The time that developer is familiar with process flow is saved, manpower and material resources is reduced, improves development efficiency.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is a kind of basic procedure schematic diagram of data processing method provided in an embodiment of the present invention;
Fig. 2 is a kind of type parameter according in preset information configuration table provided in an embodiment of the present invention from code data
The basic procedure schematic diagram of the method for target data is extracted in information;
Fig. 3 be it is provided in an embodiment of the present invention it is another according to the type parameter in preset information configuration table from code number
It is believed that extracting the basic procedure schematic diagram of the method for target data in breath;
Fig. 4 is provided in an embodiment of the present invention a kind of according to the basic of the regular method handled target data of processing
Flow diagram;
Fig. 5 is a kind of basic procedure of method by treated data back to database provided in an embodiment of the present invention
Schematic diagram;
Fig. 6 is a kind of data processing equipment basic structure block diagram provided in an embodiment of the present invention;
Fig. 7 is computer equipment basic structure block diagram provided in an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described.
In some processes of the description in description and claims of this specification and above-mentioned attached drawing, contain according to
Multiple operations that particular order occurs, but it should be clearly understood that these operations can not be what appears in this article suitable according to its
Sequence is executed or is executed parallel, and serial number of operation such as 101,102 etc. is only used for distinguishing each different operation, serial number
It itself does not represent and any executes sequence.In addition, these processes may include more or fewer operations, and these operations can
To execute or execute parallel in order.It should be noted that the description such as " first " herein, " second ", is for distinguishing not
Same message, equipment, module etc., does not represent sequencing, does not also limit " first " and " second " and be different type.
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those skilled in the art's every other implementation obtained without creative efforts
Example, shall fall within the protection scope of the present invention.
Embodiment
Those skilled in the art of the present technique are appreciated that " terminal " used herein above, " terminal device " both include wireless communication
The equipment of number receiver, only has the equipment of the wireless signal receiver of non-emissive ability, and including receiving and emitting hardware
Equipment, have on bidirectional communication link, can execute two-way communication reception and emit hardware equipment.This equipment
It may include: honeycomb or other communication equipments, shown with single line display or multi-line display or without multi-line
The honeycomb of device or other communication equipments;PCS (Personal Communications Service, PCS Personal Communications System), can
With combine voice, data processing, fax and/or communication ability;PDA (Personal Digital Assistant, it is personal
Digital assistants), it may include radio frequency receiver, pager, the Internet/intranet access, web browser, notepad, day
It goes through and/or GPS (Global Positioning System, global positioning system) receiver;Conventional laptop and/or palm
Type computer or other equipment, have and/or the conventional laptop including radio frequency receiver and/or palmtop computer or its
His equipment." terminal " used herein above, " terminal device " can be it is portable, can transport, be mounted on the vehicles (aviation,
Sea-freight and/or land) in, or be suitable for and/or be configured in local runtime, and/or with distribution form, operate in the earth
And/or any other position operation in space." terminal " used herein above, " terminal device " can also be communication terminal, on
Network termination, music/video playback terminal, such as can be PDA, MID (Mobile Internet Device, mobile Internet
Equipment) and/or mobile phone with music/video playing function, it is also possible to the equipment such as smart television, set-top box.
Client terminal in present embodiment is above-mentioned terminal.
Specifically, referring to Fig. 1, Fig. 1 is the basic procedure schematic diagram of the present embodiment data processing method.
As shown in Figure 1, data processing method includes the following steps:
S1100, code data information to be processed is obtained;
Code data information to be processed is used to indicate the code data for needing to be handled according to processing rule, wherein
Code data information includes the type of the code data and the location information of the file where code data.Due in each project
Code data involved in processing rule is different, the processing rule of the data in each stage is different or every kind in a project
The processing rule of data type is different, and therefore, the type of code data can indicate type, the title of the project at place, or
The title in each stage in some project, or be that the type of data is related to for example, being related to the data type on date
To the data format etc. of Chinese character.
In some embodiments, code data can be extracted from each project by Kafka, and by the code of extraction
Data are added in database, so that terminal transfers code data from database.For the ease of processing, Kafka is extracted every time
When code data, data can be extracted in batches according to each stage in each project or some project.In number
According in library to the code data of extraction according to where it project or the stage label is set, and deposited according to the sequence of label
Storage.
It should be noted that the location information of code data is stored together during storage.
S1200, target data is extracted from code data information according to the type parameter in preset information configuration table,
In, information configuration table further includes the processing rule of target data;
Information configuration table is the allocation list defaulted in flow processing platform, the type parameter including extracting code data,
The process flow of target data after extraction, processing rule and treated code data is believed back to the path of original position
Breath.Type parameter is used to indicate type according to the code data to be extracted of the process flow being arranged in information configuration table,
In the present embodiment, type parameter can be each stage of the title of project, identification code either in some project title or
Identification code.Specifically, type parameter can be indicated with text, letter, character, field.
Handling rule can be to be multiple, and each processing rule is configured according to the node of process flow, wherein processing is advised
It then can be the usability of program fragments of one section of SQL statement or section business processing.Wherein, processing rule is specifically as follows to number of targets
According to be set as space, by the form modifying of aiming field be unified format, for example, the uniform format on date is revised as
XXXX/XX/XX。
Routing information can be configured in advance, can also extract the target data during extracting target data
Original position information, and be added in information configuration table.
In some embodiments, all code data to be processed and the code have been preset in information configuration list
The process flow of data, and can be carried out with the customized routing information to type parameter therein, processing rule or code data
Modification.
It in some embodiments, can be by the keyword and database of project name when extracting target data
The label of the parameter information of middle storage is compared, when the alignment is identical, it is determined that compares the code number that consistent label is directed toward
According to for target data.For example, needing to be modified font to all data in XX project, at this point, with project in the present embodiment
Title " XX " is compared as keyword respectively at the label in database, when the alignment is identical, by the label institute comprising XX
The code data of expression is as target data.
S1300, target data is handled according to processing rule, and data return in database by treated.
Terminal or server are handled target data according to the processing rule of node each in configuration information table.Example
Such as, aiming field is extracted from target data, is preset character by the character change in aiming field, such as by the lattice on date
Formula is set as preset format, need to extract from code data it is all be related to the field of date format, and by original lattice
Formula is revised as preset format.For example, the code needed according to processing rule process is added in target data, such as need to generation
Code data carry out space and handle, then the code command for going to space to handle is added in corresponding position.
For example, terminal or server carry out space to data all in XX project when handling, with entry name
Claim " XX " as type parameter from database extraction XX project in all data.The data of extraction are regular according to processing,
I.e. following code searches space, and deletes.
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;
}
Above-mentioned data processing method, by setting information configured list by the process flow of code data to be processed to join
Several forms are configured, it is only necessary to target data can directly be obtained from database by information configuration list, and according to
Corresponding processing rule is handled.This method is visualized process flow by information configuration list, can save exploit person
Member is familiar with the time of process flow, reduces manpower and material resources, improves development efficiency.
The embodiment of the present invention provides a kind of type parameter according in preset information configuration table from code data information
The method for extracting target data.As shown in Fig. 2, Fig. 2 is provided in an embodiment of the present invention a kind of according to preset information configuration table
In type parameter extracted from code data information target data method basic procedure schematic diagram;
Specifically, as shown in Fig. 2, step S1200 includes the following steps:
S1211, the type keyword that code data is extracted from code data information;
In some embodiments, code data is extracted from each project by Kafka, and by the code data of extraction
It is added in database, so that terminal transfers code data from database.In the database to the code data of extraction according to
Label is arranged in project or stage where it, and is stored according to the sequence of label.Wherein, code data information includes extracting
Code data, in code data position in the database and database be tag types of code data etc..
Type keyword is used to indicate that the type of code data, the type can be according to the projects where expression code data
Type, title can also indicate type belonging to data, for example, date data, lteral data or numerical data etc..
S1212, type keyword is compared with the type parameter in information configuration list;
Various types parameter is recorded in information configuration list, and is carried out for the code data of various types of parameters
The processing rule of processing.
In the embodiment of the present invention, type keyword is compared with the type parameter in information configuration list, type is closed
Keyword and type parameter can be one or more combinations such as number, letter, symbol.It, will be in type keyword when comparing
All characters be compared with the character of type parameter.
S1213, when type keyword and type parameter compare consistent, code data that type keyword is directed toward as
Target data.
Target data is code data represented by the type parameter in information configuration list in the embodiment of the present invention.Pass through
Type keyword and type parameter are compared to determine target data to be processed.
For example, type keyword is the type parameter " project one " in " project one " keyword and information configuration list
It compares unanimously, then the code data of " project one " type in database is determined as target data.
In some embodiments, when the code data for being directed to a certain type carries out form modifying, due to such
The range of the code data distribution of type is wider, can not set keyword to all code datas, in order to solve this problem, this
Inventive embodiments provide another kind and extract target from code data information according to the type parameter in preset information configuration table
The method of data, as shown in figure 3, Fig. 3 is another kind provided in an embodiment of the present invention according to the class in preset information configuration table
Shape parameter extracts the basic procedure schematic diagram of the method for target data from code data information.
Specifically, as shown in figure 3, step S1200 includes the following steps:
S1221, judge the code data that whether there is in code data information with parameter type is had to same format;
It should be noted that the target data that the embodiment of the present invention is directed to is the code data for needing to carry out form modifying,
For example, the format to the date is modified, space is carried out to all code datas and is handled.In this case, information is matched
Setting the parameter type in list can be configured according to the format of code data to be found, in this way, determining target data
When, according to lookup number of targets identical with the format of parameter type in the code data of the format of parameter type in the database
According to.
S1222, with parameter type will there is the code data of same format to be determined as target data.
In the embodiment of the present invention, when in code data information exist with parameter type have same format code data
When, the identical code data of format is determined as target data.For example, the format of type parameter is the ginseng comprising space
It counts, searches the code data comprising space in the present embodiment in code data information, and include the code data in space by this
It is determined as target data.
In practical applications, after determining target data, it is necessary to be advised according to processing preset in information configuration list
Then target data is handled.In the embodiment of the present invention, format, word of the related processing rule mainly to target data
Duan Jinhang processing.Under normal circumstances, processing rule includes: field parameter and preset target character;The embodiment of the present invention provides
A method of target data is handled according to processing rule, as shown in figure 4, Fig. 4 is provided in an embodiment of the present invention one
The basic procedure schematic diagram for the method that kind is handled target data according to processing rule.
Specifically, as shown in figure 4, step S1300 includes the following steps:
S1311, it is chosen from target data according to field parameter and the matched aiming field of field parameter;
Field parameter is used to indicate the character string handled according to processing rule, is under normal conditions institute in target data
There is a part of character.Wherein, field parameter can be the parameter of expression aiming field position, or indicate aiming field
The information of specific code.For example, target data is passage, in order to empty two lattice before this section of text setting section, field parameter
It can be the location parameter of expression paragraph header.If aiming field date field, date field is chosen from target data as target
Field.
S1312, the character in aiming field is replaced with into target character.
Rule is handled as one section of SQL statement or the usability of program fragments of section business processing, in the present embodiment, processing rule is
Character in aiming field is replaced with to one section of usability of program fragments of target character.For example, comprising various formats in aiming field
Date, target character XXXX/XX/XX, the present embodiment summarize, and the dated field of institute is uniformly replaced with XXXX/XX/XX lattice
Formula.
The embodiment of the present invention provides a kind of method that treated data are returned to database, as shown in figure 5, Fig. 5 is
A kind of basic procedure schematic diagram of method by treated data back to database provided in an embodiment of the present invention.
Specifically, as shown in figure 5, step S1300 includes the following steps:
S1321, the routing information that target data is extracted from code data information;
Routing information is for indicating the location information that code data stores in the database.
S1322, according to routing information, by treated, data are returned in data.
It, can be in order to according to the routing information position that treated data are original back to database in the present embodiment
Modified code data is returned in original location information, to modify to the code data in project.
Routing information can be configured in advance, can also extract the target data during extracting target data
Original position information, and be added in information configuration table.
In some embodiments, all code data to be processed and the code have been preset in information configuration list
The process flow of data, and can be carried out with the customized routing information to type parameter therein, processing rule or code data
Modification.
The embodiment of the present invention also provides a kind of data processing equipment to solve above-mentioned technical problem.Referring specifically to Fig. 6, figure
6 be the present embodiment data processing equipment basic structure block diagram.
As shown in fig. 6, a kind of data processing equipment, comprising: obtain module 2100, processing module 2200 and execution module
2300.Wherein, module 2100 is obtained, for obtaining code data information to be processed;Processing module 2200, for according to default
Information configuration table in type parameter target data is extracted from code data information, wherein the information configuration table also wraps
Include the processing rule of the target data;Execution module 2300, for being carried out according to the processing rule to the target data
Processing, and data return in database by treated.
Data processing equipment is by setting information configured list by the process flow of code data to be processed with parameter
Form is configured, it is only necessary to target data can be directly obtained from database by information configuration list, and according to correspondence
Processing rule handled.This method is visualized process flow by information configuration list, and it is ripe can to save developer
The time of process flow is known, manpower and material resources are reduced, improves development efficiency.
In some embodiments, the processing module includes the following steps: the first acquisition submodule, is used for from the generation
The type keyword of code data is extracted in code data information;First processing submodule, is used for the type keyword and institute
The type parameter stated in information configuration list is compared;First implementation sub-module, for when the type keyword with it is described
When type parameter compares consistent, the code data that the type keyword is directed toward is as the target data.
In some embodiments, the processing module includes the following steps: second processing submodule, described for judging
The code data that whether there is in code data information and the parameter type is had to same format;Second implementation sub-module,
For with the parameter type will there is the code data of same format to be determined as the target data.
In some embodiments, the processing rule includes: field parameter and preset target character;The execution mould
Block includes: the second acquisition submodule, for choosing from the target data according to the field parameter and the field parameter
Matched aiming field;Third implementation sub-module, for the character in the aiming field to be replaced with the target character.
In some embodiments, the target character is used to indicate to change the format of the target data.
In some embodiments, the execution module includes: third acquisition submodule, for believing from the code data
The routing information of the target data is extracted in breath;4th implementation sub-module is used for according to the routing information will treated
Data return in data.
In order to solve the above technical problems, the embodiment of the present invention also provides computer equipment.It is this referring specifically to Fig. 7, Fig. 7
Embodiment computer equipment basic structure block diagram.
As shown in fig. 7, the schematic diagram of internal structure of computer equipment.As shown in fig. 7, the computer equipment includes passing through to be
Processor, non-volatile memory medium, memory and the network interface of bus of uniting connection.Wherein, the computer equipment is non-easy
The property lost storage medium is stored with operating system, database and computer-readable instruction, can be stored with control information sequence in database
Column, when which is executed by processor, may make processor to realize a kind of data processing method.The computer is set
Standby processor supports the operation of entire computer equipment for providing calculating and control ability.The storage of the computer equipment
It can be stored with computer-readable instruction in device, when which is executed by processor, processor may make to execute one
Kind data processing method.The network interface of the computer equipment is used for and terminal connection communication.Those skilled in the art can manage
It solves, structure shown in Fig. 7, only the block diagram of part-structure relevant to application scheme, is not constituted to the application side
The restriction for the computer equipment that case is applied thereon, specific computer equipment may include more more or less than as shown in the figure
Component, perhaps combine certain components or with different component layouts.
Processor obtains module 2100, processing module 2200 and execution module for executing in present embodiment in Fig. 6
2300 particular content, program code and Various types of data needed for memory is stored with the above-mentioned module of execution.Network interface is used for
To the data transmission between user terminal or server.Memory in present embodiment, which is stored in data processing method, to be executed
Program code needed for all submodules and data, server is capable of the program code of invoking server and data execute all sons
The function of module.
Computer equipment is by setting information configured list by the process flow of code data to be processed with the shape of parameter
Formula is configured, it is only necessary to target data can be directly obtained from database by information configuration list, and according to corresponding
Processing rule is handled.This method is visualized process flow by information configuration list, can be saved developer and is familiar with
The time of process flow reduces manpower and material resources, improves development efficiency.
The present invention also provides a kind of storage mediums for being stored with computer-readable instruction, and the computer-readable instruction is by one
When a or multiple processors execute, so that one or more processors execute data processing method described in any of the above-described embodiment
Step.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, which can be stored in a computer-readable storage and be situated between
In matter, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, storage medium above-mentioned can be
The non-volatile memory mediums such as magnetic disk, CD, read-only memory (Read-Only Memory, ROM) or random storage note
Recall body (Random Access Memory, RAM) etc..
It should be understood that although each step in the flow chart of attached drawing is successively shown according to the instruction of arrow,
These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps
Execution there is no stringent sequences to limit, can execute in the other order.Moreover, at least one in the flow chart of attached drawing
Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps
Completion is executed, but can be executed at different times, execution sequence, which is also not necessarily, successively to be carried out, but can be with other
At least part of the sub-step or stage of step or other steps executes in turn or alternately.
The above is only some embodiments of the invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.
Claims (10)
1. a kind of data processing method, which is characterized in that include the following steps:
Obtain code data information to be processed;
Target data is extracted from the code data information according to the type parameter in preset information configuration table, wherein institute
State the processing rule that information configuration table further includes the target data;
The target data is handled according to the processing rule, and data return in database by treated.
2. data processing method according to claim 1, which is characterized in that described according in preset information configuration table
Type parameter extracts target data from the code data information, includes the following steps:
The type keyword of code data is extracted from the code data information;
The type keyword is compared with the type parameter in the information configuration list;
When the type keyword and the type parameter compare consistent, the code data that the type keyword is directed toward is made
For the target data.
3. data processing method according to claim 1, which is characterized in that described according in preset information configuration table
Type parameter extracts target data from the code data information, includes the following steps:
Judge the code data that whether there is in the code data information with the parameter type is had to same format;
With the parameter type will there is the code data of same format to be determined as the target data.
4. data processing method according to claim 1, which is characterized in that the processing rule include: field parameter and
Preset target character;It is described that the target data is handled according to the processing rule, include the following steps:
It is chosen from the target data according to the field parameter and the matched aiming field of the field parameter;
Character in the aiming field is replaced with into the target character.
5. data processing method according to claim 1, which is characterized in that the target character is for indicating described in change
The format of target data.
6. data processing method according to claim 1, which is characterized in that described by treated, data return to data
In library, include the following steps:
The routing information of the target data is extracted from the code data information;
According to the routing information, by treated, data are returned in data.
7. a kind of data processing equipment characterized by comprising
Module is obtained, for obtaining code data information to be processed;
Processing module, for extracting target from the code data information according to the type parameter in preset information configuration table
Data, wherein the information configuration table further includes the processing rule of the target data;
Execution module, for handling according to the processing rule the target data, and data return by treated
Into database.
8. data processing equipment according to claim 7, which is characterized in that the processing module includes the following steps:
First acquisition submodule, for extracting the type keyword of code data from the code data information;
First processing submodule, for comparing the type keyword and the type parameter in the information configuration list
It is right;
First implementation sub-module, for when the type keyword compares consistent with the type parameter, the type to be closed
The code data that keyword is directed toward is as the target data.
9. a kind of computer equipment, including memory and processor, it is stored with computer-readable instruction in the memory, it is described
When computer-readable instruction is executed by the processor, so that the processor executes such as any one of claims 1 to 6 right
It is required that the step of data processing method.
10. a kind of storage medium for being stored with computer-readable instruction, the computer-readable instruction is handled by one or more
When device executes, so that one or more processors execute the data processing side as described in any one of claims 1 to 6 claim
The step of method.
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 true CN109814923A (en) | 2019-05-28 |
CN109814923B 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) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110309149A (en) * | 2019-06-06 | 2019-10-08 | 平安科技(深圳)有限公司 | A kind of tables of data processing method, device, electronic equipment and storage medium |
CN110825920A (en) * | 2019-10-22 | 2020-02-21 | 厦门市美亚柏科信息股份有限公司 | Data processing method and device |
CN114764556A (en) * | 2021-01-15 | 2022-07-19 | 中国再保险(集团)股份有限公司 | Data processing method, data processing device, computer equipment and storage medium |
Citations (9)
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 |
-
2018
- 2018-12-28 CN CN201811628665.1A patent/CN109814923B/en active Active
Patent Citations (9)
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 |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110309149A (en) * | 2019-06-06 | 2019-10-08 | 平安科技(深圳)有限公司 | A kind of tables of data processing method, device, electronic equipment and storage medium |
CN110309149B (en) * | 2019-06-06 | 2024-06-07 | 平安科技(深圳)有限公司 | Data table processing method and device, electronic equipment and storage medium |
CN110825920A (en) * | 2019-10-22 | 2020-02-21 | 厦门市美亚柏科信息股份有限公司 | Data processing method and device |
CN110825920B (en) * | 2019-10-22 | 2022-06-10 | 厦门市美亚柏科信息股份有限公司 | Data processing method and device |
CN114764556A (en) * | 2021-01-15 | 2022-07-19 | 中国再保险(集团)股份有限公司 | Data processing method, data processing device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109814923B (en) | 2024-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7716163B2 (en) | Method and system for defining semantic categories and actions | |
CN109814923A (en) | Data processing method, device, computer equipment and storage medium | |
US20090265313A1 (en) | Automatically Extracting Data From Semi-Structured Documents | |
CN106919711B (en) | Method and device for labeling information based on artificial intelligence | |
CN110457363A (en) | Querying method, device and storage medium based on distributed data base | |
CN102567421B (en) | Document retrieval method and device | |
US20080133460A1 (en) | Searching descendant pages of a root page for keywords | |
US20140082007A1 (en) | Method, system and storage medium for pushing user's personal label dynamically | |
CN110019649A (en) | A kind of method and device established, search for index tree | |
CN110738049A (en) | Similar text processing method and device and computer readable storage medium | |
CN110096524A (en) | Recommended method, device, computer equipment and the storage medium of insurance products | |
CN110704608A (en) | Text theme generation method and device and computer equipment | |
CN107729523A (en) | Data service method, electronic installation and storage medium | |
CN108776622A (en) | Method of data synchronization, device, computer equipment and storage medium | |
CN109656942B (en) | Method, device, computer equipment and storage medium for storing SQL (structured query language) sentences | |
CN108959343A (en) | A kind of method and device of text modification | |
CN117093619A (en) | Rule engine processing method and device, electronic equipment and storage medium | |
CN111797297A (en) | Page data processing method and device, computer equipment and storage medium | |
CN110750683A (en) | Data modification method and device, computer equipment and storage medium | |
US20130304720A1 (en) | Methods and Apparatus for Presenting Search Results with Indication of Relative Position of Search Terms | |
CN102567420B (en) | Document retrieval method and device | |
US11669555B2 (en) | System and method of creating index | |
CN109672536B (en) | Digital signature method and system for batch PDF files | |
CN113220831A (en) | Nuclear power plant document selection display method and device and electronic equipment | |
CN108268517B (en) | Method and system for managing labels in database |
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 |