CN110442633A - Structural data generation method and device, storage medium and electronic equipment - Google Patents
Structural data generation method and device, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN110442633A CN110442633A CN201910740189.0A CN201910740189A CN110442633A CN 110442633 A CN110442633 A CN 110442633A CN 201910740189 A CN201910740189 A CN 201910740189A CN 110442633 A CN110442633 A CN 110442633A
- Authority
- CN
- China
- Prior art keywords
- data
- combinational logic
- processed
- key
- structure data
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/25—Integrating or interfacing systems involving database management systems
- G06F16/258—Data format conversion from or to a database
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/31—Indexing; Data structures therefor; Storage structures
- G06F16/313—Selection or weighting of terms for indexing
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
This disclosure relates to technical field of data processing, and in particular to a kind of structural data generation method and device, storage medium and electronic equipment, which comprises obtain preliminary structure data to be processed;Combinational logic is obtained, and calculate recombination to the preliminary structure data to be processed according to combinational logic to obtain final structure data.The technical solution of the embodiment of the present disclosure can carry out calculating recombination to preliminary structure data to be processed automatically by combinational logic, avoid passing through process manually for statistical analysis to preliminary structure data to be processed, and then the efficiency of data processing is promoted, it reduces and a possibility that mistake occurs.
Description
Technical field
This disclosure relates to technical field of data processing, in particular to a kind of structural data generation method and device,
Storage medium and electronic equipment.
Background technique
Development with information technology in fields such as internet, Internet of Things, mobile computers, it is more and more different types of
Data are mass produced out.However, the data that these mass productions come out generally require to be further processed and could turn
Turn to the directly available data of user.
Currently, in order to convert the directly available data of user for the mass data of production, it is often necessary to pass through people
Work is for statistical analysis to the structured message for each data source that machine extracts, just available directly available data.
For example, in the medical field, extracting the sources such as present illness history, audit report, the pathologic finding report of a certain patient respectively in machine
Structural data after, need by manually being analyzed structural data and being counted, just available medical worker is direct
The final inspection result of available patient.
However, in the above-mentioned methods, since machine can only extract the structural data in each source, by structural data
Be converted to the processes of the directly available data of user there is still a need for rely on it is artificial carry out, therefore will lead to the efficiency of data processing compared with
It is low, and it is easy to appear the problem of mistake.
It should be noted that information is only used for reinforcing the reason to the background of the disclosure disclosed in above-mentioned background technology part
Solution, therefore may include the information not constituted to the prior art known to persons of ordinary skill in the art.
Summary of the invention
The disclosure is designed to provide a kind of structural data generation method and device, storage medium and electronic equipment,
And then data-handling efficiency caused by overcoming data conversion to place one's entire reliance upon manually at least to a certain extent is low, is easy error
Problem.
Other characteristics and advantages of the disclosure will be apparent from by the following detailed description, or partially by the disclosure
Practice and acquistion.
According to the disclosure in a first aspect, providing a kind of structural data generation method, comprising:
Obtain preliminary structure data to be processed;Combinational logic is obtained, and according to combinational logic to described to be processed preliminary
Structural data calculate recombination to obtain final structure data.
In a kind of exemplary embodiment of the disclosure, it is based on aforementioned schemes, the preliminary structure data packet to be processed
At least a pair of of key-value pair data is included, the key-value pair data includes mutual corresponding key data and Value Data;
The acquisition combinational logic, and calculating recombination is carried out to the preliminary structure data to be processed according to combinational logic
To obtain final structure data, comprising:
The key-value pair data in the preliminary structure data to be processed is grouped according to the key data;
Obtain the corresponding combinational logic of each grouping, and according to the combinational logic to all Value Datas in grouping into
Row is calculated to obtain final Value Data;
The corresponding key data of each grouping and the corresponding end value data are combined into final key-value pair data
To obtain final structure data.
In a kind of exemplary embodiment of the disclosure, aforementioned schemes are based on, corresponding combine of each grouping of acquisition is patrolled
Volume, comprising:
Read the data type of the Value Data in each grouping;
Corresponding default combinational logic is called according to the data type;
The corresponding combinational logic of each grouping is set by the default combinational logic.
In a kind of exemplary embodiment of the disclosure, aforementioned schemes are based on, the data type includes Boolean type, list
Type and date type.
In a kind of exemplary embodiment of the disclosure, aforementioned schemes are based on, it is described before the acquisition combinational logic
Method further include:
In response to user's input logic data, combinational logic is configured based on the logical data.
In a kind of exemplary embodiment of the disclosure, aforementioned schemes are based on, the method also includes:
All text datas corresponding to target object carry out structuring to obtain preliminary structure data to be processed.
In a kind of exemplary embodiment of the disclosure, it is based on aforementioned schemes, all texts corresponding to target object
Notebook data carries out structuring to obtain preliminary structure data to be processed, comprising:
Obtain the corresponding all text datas of target object;
Corresponding preset strategy is called according to the source of the text data;
Structuring is carried out to the text data respectively according to preset strategy and obtains preliminary structure data to be processed.
According to the second aspect of the disclosure, a kind of structural data generating means are provided, comprising:
Data acquisition module, for obtaining preliminary structure data to be processed;Recombination module is calculated, is patrolled for obtaining combination
Volume, and calculate recombination to the preliminary structure data to be processed according to combinational logic to obtain final structure data.
In a kind of exemplary embodiment of the disclosure, it is based on aforementioned schemes, described device further include:
Logic configuration module, for configuring combinational logic based on the logical data in response to user's input logic data.
In a kind of exemplary embodiment of the disclosure, it is based on aforementioned schemes, described device further include:
Data processing module, it is to be processed first to obtain for carrying out structuring to the corresponding all text datas of target object
Walk structural data.
According to the third aspect of the disclosure, a kind of computer readable storage medium is provided, is stored thereon with computer journey
Sequence realizes the structural data generation method as described in first aspect in above-described embodiment when described program is executed by processor.
According to a fourth aspect of embodiments of the present disclosure, a kind of electronic equipment is provided, comprising:
Processor;And
Storage device, for storing one or more programs, when one or more of programs are one or more of
When processor executes, so that one or more of processors realize the structuring number as described in first aspect in above-described embodiment
According to generation method.
The technical solution that the embodiment of the present disclosure provides can include the following benefits:
Structural data generation method provided by a kind of embodiment of the disclosure, by according to combinational logic to be processed
Preliminary structure data carry out calculating recombination, can obtain corresponding final structure data.In the process, it is patrolled by combination
Collecting to carry out calculating recombination to preliminary structure data to be processed automatically, avoid passing through manually to preliminary structure number to be processed
According to process for statistical analysis, and then the efficiency of data processing is promoted, reduces and a possibility that mistake occur.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure
Example, and together with specification for explaining the principles of this disclosure.It should be evident that the accompanying drawings in the following description is only the disclosure
Some embodiments for those of ordinary skill in the art without creative efforts, can also basis
These attached drawings obtain other attached drawings.In the accompanying drawings:
Fig. 1 schematically shows a kind of flow chart of structural data generation method in disclosure exemplary embodiment;
Fig. 2 schematically shows and obtains combinational logic in disclosure exemplary embodiment, and according to combinational logic to it is described to
Processing preliminary structure data carry out calculating flow chart of the recombination to obtain the method for final structure data;
Fig. 3 schematically shows the process that each method for being grouped corresponding combinational logic is obtained in disclosure exemplary embodiment
Figure;
Fig. 4 schematically shows all text datas corresponding to target object in disclosure exemplary embodiment and carries out structure
Change to obtain the flow chart of the method for preliminary structure data to be processed;
Fig. 5 schematically shows a kind of composition schematic diagram of structural data generating means in disclosure exemplary embodiment;
Fig. 6 schematically shows the composition signal of another structural data generating means in disclosure exemplary embodiment
Figure;
Fig. 7 schematically shows the composition signal of another structural data generating means in disclosure exemplary embodiment
Figure;
Fig. 8 diagrammatically illustrates the computer system for being suitable for the electronic equipment for being used to realize disclosure exemplary embodiment
Structural schematic diagram;
Fig. 9 diagrammatically illustrates the schematic diagram of the computer readable storage medium according to some embodiments of the present disclosure.
Specific embodiment
Example embodiment is described more fully with now with reference to attached drawing.However, example embodiment can be with a variety of shapes
Formula is implemented, and is not understood as limited to example set forth herein;On the contrary, thesing embodiments are provided so that the disclosure will more
Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.Described feature, knot
Structure or characteristic can be incorporated in any suitable manner in one or more embodiments.
In addition, attached drawing is only the schematic illustrations of the disclosure, it is not necessarily drawn to scale.Identical attached drawing mark in figure
Note indicates same or similar part, thus will omit repetition thereof.Some block diagrams shown in the drawings are function
Energy entity, not necessarily must be corresponding with physically or logically independent entity.These function can be realized using software form
Energy entity, or these functional entitys are realized in one or more hardware modules or integrated circuit, or at heterogeneous networks and/or place
These functional entitys are realized in reason device device and/or microcontroller device.
In the present example embodiment, a kind of structural data generation method is provided firstly, data is can be applied to and turns
The process changed.The executing subject of the structural data generation method can be the terminal device for being able to carry out data processing, such as
Mobile phone, computer etc..Referring to fig. 1, above-mentioned structural data generation method may include steps of:
S110 obtains preliminary structure data to be processed;
S120 obtains combinational logic, and is carried out calculating weight to the preliminary structure data to be processed according to combinational logic
Group is to obtain final structure data.
Structural data generation method provided according to the present exemplary embodiment, by treating place according to combinational logic
Reason preliminary structure data carry out calculating recombination, can obtain corresponding final structure data.In the process, pass through combination
Logic can carry out calculating recombination to preliminary structure data to be processed automatically, avoid passing through manually to preliminary structure to be processed
Data process for statistical analysis, and then the efficiency of data processing is promoted, it reduces and a possibility that mistake occurs.
In the following, accompanying drawings and embodiments will be combined to each step of the structural data generation method in the present exemplary embodiment
Suddenly it is described in detail.
Step S110 obtains preliminary structure data to be processed.
In a kind of example embodiment of the disclosure, the preliminary structure data to be processed include at least one textual data
It also may include the corresponding preliminary structure number to be processed of multiple text datas according to corresponding preliminary structure data to be processed
According to.The preliminary structure data to be processed can be existing data in pairs, be also possible to data existing for other forms, this
It is open that there is no special restriction on this.
Step S120 obtains combinational logic, and is counted according to combinational logic to the preliminary structure data to be processed
Recombination is calculated to obtain final structure data.
In a kind of example embodiment of the disclosure, before the acquisition combinational logic, the method also includes: response
In user's input logic data, combinational logic is configured based on the logical data.
In a kind of example embodiment of the disclosure, user can permit according to the special of preliminary structure data to be processed
It is required that custom logic data, and logical data is configured as combinational logic, so that the preliminary structure data to be processed can
To carry out calculating recombination acording to the requirement of user to obtain the final structure data of user's needs.By allowing user customized
Combinational logic enables to preliminary structure data to be processed that can carry out calculating recombination according to the demand of user, and then obtains more
Adapt to the demand final structure data of user.
In a kind of example embodiment of the disclosure, the preliminary structure data to be processed may include at least a pair of keys
Value is to data.Wherein, the key-value pair data includes mutual corresponding key data and Value Data.For example, medical class is to be processed
Preliminary structure data may include bone scanning audit report text data and pathologic finding report text data it is corresponding
Structural data to be processed, specifically may include " whether bone scanning-is shifted: being " and " whether pathology-shifts: being ", wherein
" whether bone scanning-is shifted " and " whether pathology-shifts " is key data, and "Yes" is Value Data;For another example, credit class is to be processed first
Step structural data can be " whether xx bank-refunds on time: being ", wherein " whether xx bank-refunds on time " is key data,
"Yes" is Value Data.
In a kind of example embodiment of the disclosure, specifically included in the preliminary structure data to be processed at least a pair of
When key-value pair data, the acquisition combinational logic, and the preliminary structure data to be processed are counted according to combinational logic
Recombination is calculated to obtain final structure data, referring to shown in Fig. 2, may include steps of S210 to step S230:
Step S210 divides the key-value pair data in the preliminary structure data to be processed according to the key data
Group.
It, can be according to key data all in preliminary structure data to be processed in a kind of example embodiment of the disclosure
Key-value pair information is grouped, will there is the key-value pair data just as texture field to be divided in same group, in order to further
Calculation processing.For example, including that the obtained key-value pair data of bone scanning examining report " sweep by bone in preliminary structure data to be processed
Retouch-whether shift: being ", the key-value pair data " whether pathology-shifts: being " and " pathology-transfer portion that pathologic finding is reported
It, can be according to key data " whether shifting " by " whether bone scanning-is shifted: being " and " whether pathology-shifts: being " two when position: liver "
One group is divided into key-value pair data, " pathology-metastasis site: liver " is divided into another group.By by key-value pair data according to bond number
According to classifying, the key-value pair data of texture field of the same name can be grouped into the same group, and then convenient for the key-value pair to different groups
Data are handled respectively.
Step S220 obtains the corresponding combinational logic of each grouping, and according to the combinational logic to all institutes in grouping
Value Data is stated to be calculated to obtain final Value Data.
In a kind of example embodiment of the disclosure, the calculation basis of different grouping intermediate value data may be different, therefore need
The corresponding combinational logic of each grouping is obtained respectively.It can be obtained according to the data type of key-value pair data in each grouping corresponding
Combinational logic specifically referring to shown in Fig. 3, may include steps of S310 to S330:
Step S310 reads the data type of the Value Data in each grouping.
Step S320 calls corresponding default combinational logic according to the data type;
The default combinational logic is set the corresponding combinational logic of each grouping by step S330.
It, can be according to the data class of the Value Data in grouping in key-value pair data in a kind of example embodiment of the disclosure
Type calls corresponding default combinational logic, and sets the corresponding combinational logic of the grouping for default combinational logic.Wherein, described
Data type may include the types such as Boolean type, list type and date type, respectively represent in the key-value pair data in current group
Value Data be Boolean type, list type, date type etc..It is corresponding by being arranged according to the data type of different grouping intermediate value data
Combinational logic enables to the combinational logic of selection more to match with the data type of Value Data, and then can obtain more smart
Quasi- directly available final Value Data avoids mismatch problem caused by all key-value pair data selection like combinations logics.
In a kind of example embodiment of the disclosure, since the data type of Value Data is different, it is corresponding to preset combinational logic
It is also different.For example, key-value pair data in a packet is " whether bone scanning-is shifted: being " and " whether pathology-shifts: being ",
Since "Yes" is Boolean type data, it is that " any one is in multiple Boolean type data that default combinational logic can be set at this time
When ' being ', final Value Data is ' being ' ";For another example, when Value Data is list-mode data, default combinational logic can be set to
" using the union of multiple Value Data lists as final Value Data ";For another example, it when Value Data is date type data, can will preset
Combinational logic is set as " taking apart from nearest date a certain scheduled date as final Value Data ".Due to being directed to different Value Datas
Type and requirement to final Value Data it is different, therefore default combinational logic generally includes some common, general groups
It is logical, it can determine that there is no special restriction on this for the disclosure according to the type of Value Data and the requirement to final Value Data.
The corresponding key data of each grouping and the corresponding end value data are combined into final key by step S230
Value logarithm obtains final structure data accordingly.
In a kind of example embodiment of the disclosure, the corresponding key data of each grouping and end value data are combined to obtain most
Whole key-value pair data, it is all to be grouped corresponding final key-value pair data composition data as final structure data.For example, key data
The final Value Data obtained for " whether shifting " is "Yes", then whether final key-value pair data is " shift: being ".By to grouping
Interior Value Data carries out that final Value Data is calculated, and realizes the corresponding Value Data of identical key data being integrated into one most
The process of final value data, and then key data and end value data are combined into final key-value pair data, it can be directly to user
User's data needed are provided, avoids user from inquiring and analyze by hand the process of statistics, improves the treatment effeciency of data.
In a kind of example embodiment of the disclosure, in order to obtain preliminary structure data to be processed, the method is also wrapped
Include: all text datas corresponding to target object carry out structuring to obtain preliminary structure data to be processed.For example, curing
In treatment field, user can carry out the corresponding all text datas of target object to understand the inspection situation of target patient
Structuring obtains preliminary structure data to be processed, and then is further processed to obtain final structure data.
In a kind of example embodiment of the disclosure, all text datas corresponding to target object carry out structuring
To obtain preliminary structure data to be processed, referring to shown in Fig. 4, include the following steps S410 to S430:
Step S410 obtains the corresponding all text datas of target object.
In a kind of example embodiment of the disclosure, the target object can be set according to the demand of user.Example
Such as, in medical field, user needs to obtain the corresponding all text datas of patient A then in order to understand the medical information of patient A,
It may include that various different medicals check corresponding audit report.
Step S420 calls corresponding preset strategy according to the source of the text data.
In a kind of example embodiment of the disclosure, the natural language habit that is used due to the text data of separate sources and
Text structure is all different, therefore the strategy that extraction structural data uses in different text datas is not also identical.It is corresponding,
Natural language habit and text structure in order to respectively use according to text data carry out structuring to text data, need
Preset strategy is preset, and then corresponding preset strategy is called according to the source of text data.
Step S430 carries out structuring to the text data respectively according to preset strategy and obtains preliminary structure to be processed
Data.
In a kind of example embodiment of the disclosure, the preset strategy determined according to the data source of text data is to text
Data carry out structuring, available preliminary structure data to be processed.For example, the text obtained in the bone scanning audit report
Data are " Resection Esophagus Carcinoma is postoperative, radioactivity concentration at the sacral joint of left side, considers transfer ", and carrying out structuring to it can obtain
To preliminary structure data to be processed " whether bone scanning-is shifted: being " and " bone scanning-metastasis site: bone ".
Below by taking medical field generates the structural data of patient A as an example, to the technical solution of the embodiment of the present disclosure
Realize that details is illustrated:
1. the corresponding text data of all audit reports of patient A
Pathologic finding reports corresponding text data are as follows: " Esophagectomy sample, the low differentiation squama type cell of esophageal ulcer type
The hepatic tissue of cancer, another inspection is shown in cancer cell, meets transfer."
The corresponding text data of bone scanning audit report are as follows: " Resection Esophagus Carcinoma is postoperative, and radioactivity is dense at the sacral joint of left side
Collection considers transfer."
The corresponding text data of head CT audit report are as follows: " Resection Esophagus Carcinoma is postoperative, has no transfer and relapse sign."
2. all text datas corresponding to patient A carry out structuring and obtain preliminary structure data to be processed
The structural data that corresponding text data structure obtains is reported to pathologic finding are as follows: whether pathology-shifts:
It is;Pathology-metastasis site: liver.
The structural data that the corresponding text data structure of bone scanning audit report is obtained are as follows: whether bone scanning-turns
It moves: being;Bone scanning-metastasis site: bone.
The structural data that corresponding text data structure obtains is reported to head CT examination are as follows: whether head CT-turns
It moves: no;Head CT-metastasis site: NA.
3. according to key data to key-value pair data in preliminary structure data to be handled be grouped
Key data includes that the key-value pair data of " whether shifting " includes: whether pathology-shifts: being;Whether bone scanning-turns
It moves: being;Whether head CT-shifts: no.
Key data includes that the key-value pair data of " metastasis site " includes: pathology-metastasis site: liver;Bone scanning-transfer portion
Position: bone;Head CT-metastasis site: nothing.
4. obtaining combinational logic and calculating final Value Data according to combinational logic
Call combinational logic as follows according to the data type of key-value pair data intermediate value data in being grouped:
Key data includes the corresponding combinational logic of grouping of " whether shifting " are as follows: any one for multiple Boolean type data
A is "Yes", then final result is "Yes".
Key data includes the corresponding combinational logic of grouping of " metastasis site " are as follows: for multiple list-mode datas, is taken multiple
The union of list is as final result.
The final Value Data being calculated according to combinational logic are as follows:
Key data includes that the grouping of " whether shifting " corresponds to final Value Data are as follows: "Yes".
Key data includes that the grouping of " metastasis site " corresponds to final Value Data are as follows: " liver, bone ".
5. the corresponding key data of each grouping and corresponding end value data are combined into final key-value pair data to obtain
Final structure data
Final key-value pair data are as follows: " whether shift: being " and " metastasis site: liver, bone ".
Final structure data are as follows: whether shift: being;Metastasis site: liver, bone.
After the corresponding text data of the audit report of patient A is converted to preliminary structure data, according to preliminary knot
Key-value pair data is grouped by the key data in structure data, carries out that final Value Data is calculated to the Value Data in grouping, most
It will be grouped corresponding key data afterwards and end value data combine to obtain final key-value pair data.Pass through the life of above structure data
The manually process that obtains final key-value pair data for statistical analysis to the text data inquired is avoided at mode, is improved
The efficiency of data processing, a possibility that reducing the generation of mistake.
It should be noted that above-mentioned attached drawing is only showing for the processing according to included by the method for disclosure exemplary embodiment
Meaning property explanation, rather than limit purpose.It can be readily appreciated that it is above-mentioned it is shown in the drawings processing do not indicate or limit these processing when
Between sequence.In addition, be also easy to understand, these processing, which can be, for example either synchronously or asynchronously to be executed in multiple modules.
In addition, additionally providing a kind of structural data generating means in the illustrative embodiments of the disclosure.Referring to figure
Shown in 5, the structural data generating means 500 include: data acquisition module 510 and calculating recombination module 520.
Wherein, the data acquisition module 510 can be used for obtaining preliminary structure data to be processed;
The calculating recombination module 520 can be used for obtaining combinational logic, and according to combinational logic to described to be processed first
Step structural data calculate recombination to obtain final structure data.
In a kind of exemplary embodiment of the disclosure, aforementioned schemes are based on, the calculating recombination module 520 can be used for
The key-value pair data in the preliminary structure data to be processed is grouped according to the key data;Each grouping is obtained to correspond to
Combinational logic, and all Value Datas in grouping are calculated to obtain end value number according to the combinational logic
According to;The corresponding key data of each grouping and the corresponding end value data are combined into final key-value pair data to obtain
Final structure data.
In a kind of exemplary embodiment of the disclosure, aforementioned schemes are based on, the calculating recombination module 520 can be used for
Read the data type of the Value Data in each grouping;Corresponding default combinational logic difference is called according to the data type
It is set as the corresponding combinational logic of each grouping.
In a kind of exemplary embodiment of the disclosure, aforementioned schemes are based on, the data type includes Boolean type, list
Type and date type.
In a kind of exemplary embodiment of the disclosure, aforementioned schemes are based on, the calculating recombination module 520 can also be used
In the logical data of acquisition user's input, and set the logical data to be grouped corresponding combinational logic.
In a kind of exemplary embodiment of the disclosure, aforementioned schemes are based on, referring to shown in Fig. 6, the structural data
Generation fills 500 further include: logic configuration module 530 can be used for being based on the logical number in response to user's input logic data
According to configuration combinational logic.
In a kind of exemplary embodiment of the disclosure, aforementioned schemes are based on, referring to shown in Fig. 7, the structural data
Generating means 500 further include: data processing module 540 can be used for all text datas corresponding to target object and tie
Structure is to obtain preliminary structure data to be processed.
In a kind of exemplary embodiment of the disclosure, aforementioned schemes are based on, the data processing module 540 can be used for
Obtain the corresponding all text datas of target object;Corresponding preset strategy is called according to the source of the text data;According to
Preset strategy carries out structuring to the text data respectively and obtains preliminary structure data to be processed.
Due to each functional module and above structure of the structural data generating means of the example embodiment of the disclosure
The step of example embodiment of data creation method, is corresponding, therefore for those undisclosed details in the apparatus embodiments, asks
Referring to the embodiment of the above-mentioned structural data generation method of the disclosure.
It should be noted that although being referred to several modules or list for acting the equipment executed in the above detailed description
Member, but this division is not enforceable.In fact, according to embodiment of the present disclosure, it is above-described two or more
Module or the feature and function of unit can embody in a module or unit.Conversely, an above-described mould
The feature and function of block or unit can be to be embodied by multiple modules or unit with further division.
In addition, in an exemplary embodiment of the disclosure, additionally providing one kind can be realized the generation of above structure data
The electronic equipment of method.
Person of ordinary skill in the field it is understood that various aspects of the disclosure can be implemented as system, method or
Program product.Therefore, various aspects of the disclosure can be with specific implementation is as follows, it may be assumed that complete hardware embodiment, completely
Software implementation (including firmware, microcode etc.) or hardware and software in terms of combine embodiment, may be collectively referred to as here
Circuit, " module " or " system ".
The electronic equipment 800 of this embodiment according to the disclosure is described referring to Fig. 8.The electronics that Fig. 8 is shown is set
Standby 800 be only an example, should not function to the embodiment of the present disclosure and use scope bring any restrictions.
As shown in figure 8, electronic equipment 800 is showed in the form of universal computing device.The component of electronic equipment 800 can wrap
It includes but is not limited to: at least one above-mentioned processing unit 810, at least one above-mentioned storage unit 820, the different system components of connection
The bus 830 of (including storage unit 820 and processing unit 810), display unit 840.
Wherein, the storage unit is stored with program code, and said program code can be held by the processing unit 810
Row, so that various according to the disclosure described in the execution of the processing unit 810 above-mentioned " illustrative methods " part of this specification
The step of exemplary embodiment.For example, the processing unit 810 can execute step S110 as shown in fig. 1: obtaining wait locate
Manage preliminary structure data;S120: obtain combinational logic, and according to combinational logic to the preliminary structure data to be processed into
Row calculates recombination to obtain final structure data.
For another example, each step as shown in Figures 2 to 4 may be implemented in the electronic equipment.
Storage unit 820 may include the readable medium of volatile memory cell form, such as Random Access Storage Unit
(RAM) 821 and/or cache memory unit 822, it can further include read-only memory unit (ROM) 823.
Storage unit 820 can also include program/utility 824 with one group of (at least one) program module 825,
Such program module 825 includes but is not limited to: operating system, one or more application program, other program modules and
It may include the realization of network environment in program data, each of these examples or certain combination.
Bus 830 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage
Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures
Local bus.
Electronic equipment 800 can also be with one or more external equipments 870 (such as keyboard, sensing equipment, bluetooth equipment
Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 800 communicate, and/or with make
Any equipment (such as the router, modulation /demodulation that the electronic equipment 800 can be communicated with one or more of the other calculating equipment
Device etc.) communication.This communication can be carried out by input/output (I/O) interface 850.Also, electronic equipment 800 can be with
By network adapter 860 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network,
Such as internet) communication.As shown, network adapter 860 is communicated by bus 830 with other modules of electronic equipment 800.
It should be understood that although not shown in the drawings, other hardware and/or software module can not used in conjunction with electronic equipment 800, including but not
Be limited to: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and
Data backup storage system etc..
By the description of above embodiment, those skilled in the art is it can be readily appreciated that example embodiment described herein
It can also be realized in such a way that software is in conjunction with necessary hardware by software realization.Therefore, implemented according to the disclosure
The technical solution of example can be embodied in the form of software products, which can store in a non-volatile memories
In medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) or on network, including some instructions are so that a calculating equipment (can
To be personal computer, server, terminal installation or network equipment etc.) it executes according to the method for the embodiment of the present disclosure.
In an exemplary embodiment of the disclosure, a kind of computer readable storage medium is additionally provided, energy is stored thereon with
Enough realize the program product of this specification above method.In some possible embodiments, various aspects of the disclosure can be with
It is embodied as a kind of form of program product comprising program code, it is described when described program product is run on the terminal device
Program code is for executing the terminal device described in above-mentioned " illustrative methods " part of this specification according to the disclosure
The step of various exemplary embodiments.
Referring to Fig. 9, the program product 900 according to an embodiment of the present disclosure for realizing the above method is described, it can
To use portable compact disc read only memory (CD-ROM) and including program code, and can be in terminal device, such as individual
It is run on computer.However, the program product of the disclosure is without being limited thereto, in this document, readable storage medium storing program for executing can be any packet
Contain or store the tangible medium of program, which can be commanded execution system, device or device use or in connection
It uses.
Described program product can be using any combination of one or more readable mediums.Readable medium can be readable letter
Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or
System, device or the device of semiconductor, or any above combination.The more specific example of readable storage medium storing program for executing is (non exhaustive
List) include: electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only
Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory
(CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
In carry readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal,
Optical signal or above-mentioned any appropriate combination.Readable signal medium can also be any readable Jie other than readable storage medium storing program for executing
Matter, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or and its
The program of combined use.
The program code for including on readable medium can transmit with any suitable medium, including but not limited to wirelessly, have
Line, optical cable, RF etc. or above-mentioned any appropriate combination.
Can with any combination of one or more programming languages come write for execute the disclosure operation program
Code, described program design language include object oriented program language-Java, C++ etc., further include conventional
Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user
It calculates and executes in equipment, partly executes on a user device, being executed as an independent software package, partially in user's calculating
Upper side point is executed on a remote computing or is executed in remote computing device or server completely.It is being related to far
Journey calculates in the situation of equipment, and remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network
(WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP
To be connected by internet).
In addition, above-mentioned attached drawing is only the schematic theory of the processing according to included by the method for disclosure exemplary embodiment
It is bright, rather than limit purpose.It can be readily appreciated that the time that above-mentioned processing shown in the drawings did not indicated or limited these processing is suitable
Sequence.In addition, be also easy to understand, these processing, which can be, for example either synchronously or asynchronously to be executed in multiple modules.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure
His embodiment.The disclosure is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Adaptive change follow the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure or
Conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by claim
It points out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the attached claims.
Claims (12)
1. a kind of structural data generation method characterized by comprising
Obtain preliminary structure data to be processed;
Combinational logic is obtained, and calculate recombination to the preliminary structure data to be processed according to combinational logic to obtain most
Whole structural data.
2. the method according to claim 1, wherein the preliminary structure data to be processed include at least a pair of
Key-value pair data, the key-value pair data include mutual corresponding key data and Value Data;
The acquisition combinational logic, and calculate recombination to the preliminary structure data to be processed according to combinational logic to obtain
Take final structure data, comprising:
The key-value pair data in the preliminary structure data to be processed is grouped according to the key data;
The corresponding combinational logic of each grouping is obtained, and all Value Datas in grouping are counted according to the combinational logic
It calculates to obtain final Value Data;
The corresponding key data of each grouping and the corresponding end value data are combined into final key-value pair data to obtain
To final structure data.
3. according to the method described in claim 2, it is characterized in that, described obtain the corresponding combinational logic of each grouping, comprising:
Read the data type of the Value Data in each grouping;
Corresponding default combinational logic is called according to the data type;
The corresponding combinational logic of each grouping is set by the default combinational logic.
4. according to the method described in claim 3, it is characterized in that, the data type includes Boolean type, list type and date
Type.
5. the method according to claim 1, wherein the method is also wrapped before the acquisition combinational logic
It includes:
In response to user's input logic data, combinational logic is configured based on the logical data.
6. the method according to claim 1, wherein the method also includes:
All text datas corresponding to target object carry out structuring to obtain preliminary structure data to be processed.
7. according to the method described in claim 6, it is characterized in that, all text datas corresponding to target object carry out
Structuring is to obtain preliminary structure data to be processed, comprising:
Obtain the corresponding all text datas of target object;
Corresponding preset strategy is called according to the source of the text data;
Structuring is carried out to the text data respectively according to preset strategy and obtains preliminary structure data to be processed.
8. a kind of structural data generating means characterized by comprising
Data acquisition module, for obtaining preliminary structure data to be processed;
Calculate recombination module, for obtaining combinational logic, and according to combinational logic to the preliminary structure data to be processed into
Row calculates recombination to obtain final structure data.
9. device according to claim 8, which is characterized in that described device further include:
Logic configuration module, for configuring combinational logic based on the logical data in response to user's input logic data.
10. device according to claim 8, which is characterized in that described device further include:
Data processing module, for carrying out structuring to the corresponding all text datas of target object to obtain preliminary knot to be processed
Structure data.
11. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that described program is processed
The structural data generation method as described in any one of claims 1 to 7 is realized when device executes.
12. a kind of electronic equipment characterized by comprising
Processor;And
Memory, for storing one or more programs, when one or more of programs are by one or more of processors
When execution, so that one or more of processors realize that the structural data as described in any one of claims 1 to 7 generates
Method.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910740189.0A CN110442633B (en) | 2019-08-12 | 2019-08-12 | Structured data generation method and device, storage medium and electronic equipment |
CN202210901620.7A CN115269701A (en) | 2019-08-12 | 2019-08-12 | Structured data generation method and device, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910740189.0A CN110442633B (en) | 2019-08-12 | 2019-08-12 | Structured data generation method and device, storage medium and electronic equipment |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210901620.7A Division CN115269701A (en) | 2019-08-12 | 2019-08-12 | Structured data generation method and device, storage medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110442633A true CN110442633A (en) | 2019-11-12 |
CN110442633B CN110442633B (en) | 2022-08-26 |
Family
ID=68434722
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910740189.0A Active CN110442633B (en) | 2019-08-12 | 2019-08-12 | Structured data generation method and device, storage medium and electronic equipment |
CN202210901620.7A Pending CN115269701A (en) | 2019-08-12 | 2019-08-12 | Structured data generation method and device, storage medium and electronic equipment |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210901620.7A Pending CN115269701A (en) | 2019-08-12 | 2019-08-12 | Structured data generation method and device, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN110442633B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112992301A (en) * | 2019-12-02 | 2021-06-18 | 金色熊猫有限公司 | Data processing method and device, electronic equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105786950A (en) * | 2015-12-30 | 2016-07-20 | 北京锐安科技有限公司 | Method and device for processing data |
US9507762B1 (en) * | 2015-11-19 | 2016-11-29 | International Business Machines Corporation | Converting portions of documents between structured and unstructured data formats to improve computing efficiency and schema flexibility |
CN106383853A (en) * | 2016-08-30 | 2017-02-08 | 刘勇 | Realization method and system for electronic medical record post-structuring and auxiliary diagnosis |
CN109299472A (en) * | 2018-11-09 | 2019-02-01 | 天津开心生活科技有限公司 | Text data processing method, device, electronic equipment and computer-readable medium |
CN109783787A (en) * | 2018-12-29 | 2019-05-21 | 远光软件股份有限公司 | A kind of generation method of structured document, device and storage medium |
US20190243841A1 (en) * | 2018-02-06 | 2019-08-08 | Thomson Reuters (Professional) UK Ltd. | Systems and method for generating a structured report from unstructured data |
-
2019
- 2019-08-12 CN CN201910740189.0A patent/CN110442633B/en active Active
- 2019-08-12 CN CN202210901620.7A patent/CN115269701A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9507762B1 (en) * | 2015-11-19 | 2016-11-29 | International Business Machines Corporation | Converting portions of documents between structured and unstructured data formats to improve computing efficiency and schema flexibility |
CN105786950A (en) * | 2015-12-30 | 2016-07-20 | 北京锐安科技有限公司 | Method and device for processing data |
CN106383853A (en) * | 2016-08-30 | 2017-02-08 | 刘勇 | Realization method and system for electronic medical record post-structuring and auxiliary diagnosis |
US20190243841A1 (en) * | 2018-02-06 | 2019-08-08 | Thomson Reuters (Professional) UK Ltd. | Systems and method for generating a structured report from unstructured data |
CN109299472A (en) * | 2018-11-09 | 2019-02-01 | 天津开心生活科技有限公司 | Text data processing method, device, electronic equipment and computer-readable medium |
CN109783787A (en) * | 2018-12-29 | 2019-05-21 | 远光软件股份有限公司 | A kind of generation method of structured document, device and storage medium |
Non-Patent Citations (2)
Title |
---|
SIJUN QIN: "Feature selection for text classification based on part of speech filter and synonym merge", 《 2015 12TH INTERNATIONAL CONFERENCE ON FUZZY SYSTEMS AND KNOWLEDGE DISCOVERY (FSKD)》 * |
丁慧萃: "心电图诊断报告的结构化方法研究", 《中国优秀硕士学位论文全文数据库(医药卫生科技辑)》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112992301A (en) * | 2019-12-02 | 2021-06-18 | 金色熊猫有限公司 | Data processing method and device, electronic equipment and storage medium |
CN112992301B (en) * | 2019-12-02 | 2024-03-29 | 金色熊猫有限公司 | Data processing method, device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN115269701A (en) | 2022-11-01 |
CN110442633B (en) | 2022-08-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108427939B (en) | Model generation method and device | |
CN111066021B (en) | Text data representation learning using random document embedding | |
CN108304846B (en) | Image recognition method, device and storage medium | |
CN109522538B (en) | Automatic listing method, device, equipment and storage medium for table contents | |
CN110599557A (en) | Image description generation method, model training method, device and storage medium | |
CN107798069A (en) | Method, apparatus and computer-readable medium for data loading | |
CN108959257A (en) | A kind of natural language analytic method, device, server and storage medium | |
CN115438215B (en) | Image-text bidirectional search and matching model training method, device, equipment and medium | |
CN109657251A (en) | Method and apparatus for translating sentence | |
CN106897466A (en) | Physical examination data matching method and system, storage medium and electronic equipment | |
CN107608801A (en) | The primary page and HTML5 page communication methods, device, medium and equipment | |
CN107657066A (en) | Medical data scientific research field customizing method and device | |
CN106951248A (en) | Add method, device and the readable storage medium storing program for executing of code | |
CN109947431A (en) | A kind of code generating method, device, equipment and storage medium | |
EP4044044A1 (en) | Method and apparatus for processing information | |
CN109710951A (en) | Supplementary translation method, apparatus, equipment and storage medium based on translation history | |
CN113254684A (en) | Content aging determination method, related device, equipment and storage medium | |
CN112966824A (en) | Deployment method and device of inference library and electronic equipment | |
CN113707309A (en) | Disease prediction method and device based on machine learning | |
US20210165647A1 (en) | System for performing automatic code correction for disparate programming languages | |
CN108574733A (en) | Network agent method and device, storage medium and electronic equipment | |
CN111104874A (en) | Face age prediction method, training method and device of model and electronic equipment | |
CN110442633A (en) | Structural data generation method and device, storage medium and electronic equipment | |
US10289788B1 (en) | System and method for suggesting components associated with an electronic design | |
CN109977011A (en) | Automatic generation method, device, storage medium and the electronic equipment of test script |
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 |