CN110765135A - Automobile repair data structure standardization method and device, electronic equipment and storage medium - Google Patents

Automobile repair data structure standardization method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110765135A
CN110765135A CN201911032441.9A CN201911032441A CN110765135A CN 110765135 A CN110765135 A CN 110765135A CN 201911032441 A CN201911032441 A CN 201911032441A CN 110765135 A CN110765135 A CN 110765135A
Authority
CN
China
Prior art keywords
data
entity
word
entity word
relation
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.)
Pending
Application number
CN201911032441.9A
Other languages
Chinese (zh)
Inventor
刘新
秦文礼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Launch Technology Co Ltd
Original Assignee
Shenzhen Launch Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Launch Technology Co Ltd filed Critical Shenzhen Launch Technology Co Ltd
Priority to CN201911032441.9A priority Critical patent/CN110765135A/en
Publication of CN110765135A publication Critical patent/CN110765135A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/36Creation of semantic tools, e.g. ontology or thesauri
    • G06F16/367Ontology

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • Computational Linguistics (AREA)
  • Software Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a method and a device for standardizing a vehicle repair data structure, an electronic device and a computer readable storage medium, wherein the method comprises the following steps: acquiring a vehicle repair data and a standard data structure, and dividing the vehicle repair data into a plurality of data sections according to a preset rule; wherein the standard data structure comprises a plurality of data tables; determining entity words of each data section, and extracting entity relation words between the data sections corresponding to every two entity words by utilizing an entity recognition technology; constructing a three-relationship set based on the entity words and the entity relationship words; the unit relation set comprises a first entity word, a second entity word and an entity relation word for representing the relation between the first entity word and the second entity word; the values of the key fields in the data table are determined from the set of three relationships to generate normalized trim data. Therefore, the automobile repair data structure standardization method saves the cost and time for manually inputting data, and effectively improves the data reliability and the data inputting efficiency.

Description

Automobile repair data structure standardization method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a method and an apparatus for standardizing a data structure for automobile repair, an electronic device, and a computer-readable storage medium.
Background
The data volume of the automobile maintenance data is huge, and the contents of all the data are deviated. In the related technology, a manual system entry mode is adopted for automobile maintenance data, so that the data reliability is poor, the entry efficiency is low, and the data is disordered.
Therefore, how to improve the entry efficiency and data reliability of the repair data is a technical problem to be solved by those skilled in the art.
Disclosure of Invention
The application aims to provide a method and a device for standardizing a vehicle repair data structure, an electronic device and a computer readable storage medium, and the recording efficiency and the data reliability of vehicle repair data are improved.
In order to achieve the above object, the present application provides a method for standardizing a data structure of a vehicle repair system, comprising:
acquiring a vehicle repair data and a standard data structure, and dividing the vehicle repair data into a plurality of data sections according to a preset rule; wherein the standard data structure comprises a plurality of data tables;
determining an entity word of each data section, and extracting an entity relation word between the data sections corresponding to each two entity words by utilizing an entity recognition technology;
constructing a three-relationship set based on the entity words and the entity relationship words; the unit relation set comprises a first entity word, a second entity word and an entity relation word used for representing the relation between the first entity word and the second entity word;
and determining the value of a key field in the data table according to the ternary relation set so as to generate standardized repair data.
Wherein, will vapour repair the data and divide into a plurality of data sections according to presetting the rule, include:
dividing each vapour repair material according to paragraphs, and taking each paragraph as each data section.
Wherein the determining the entity word of each data segment comprises:
and determining the theme distribution of the automobile repair data, and inputting the theme distribution and each data section into a classification model to obtain the entity words of each data section.
Wherein, the determining the theme distribution of the vehicle repair data comprises the following steps:
performing word segmentation operation on the automobile repair data, and determining the word frequency of each word so as to obtain the word frequency distribution of the automobile repair data;
and determining the theme distribution of the automobile repair data based on the word frequency distribution by utilizing a target probability function.
Wherein the determining the value of the key field in the data table according to the set of three relationships comprises:
determining a first data table corresponding to a first entity word and a second data table corresponding to a second entity word in the ternary relationship set;
acquiring a first code corresponding to the first entity word from the first data table, and acquiring a second code corresponding to the second entity word from the second data table;
recording the relation between the first entity word and the second entity word in the first data table according to the relation entity word and the second code in the ternary relation set;
and recording the relation between the first entity word and the second entity word in the second data table according to the relation entity word and the first code in the ternary relation set.
Acquiring a first code corresponding to the first entity word in the first data table, and acquiring a second code corresponding to the second entity word in the second data table, including:
judging whether a first code corresponding to the first entity word exists in the first data table; if yes, acquiring the first code; if not, adding a first record of the first entity word in the first data table, and acquiring a first code corresponding to the first entity word in the first record;
judging whether a second code corresponding to the second entity word exists in the second data table; if yes, acquiring the second code; and if not, adding a second record of the second entity word in the second data table, and acquiring a second code corresponding to the second entity word in the second record.
In order to achieve the above object, the present application provides a data structure standardization apparatus for repairing a vehicle, including:
the acquisition module is used for acquiring the automobile repair data and a standard data structure and dividing the automobile repair data into a plurality of data sections according to a preset rule; wherein the standard data structure comprises a plurality of data tables;
the extraction module is used for determining the entity words of each data section and extracting the entity relation words between the data sections corresponding to each two entity words by utilizing an entity identification technology;
the building module is used for building a three-relationship set based on the entity words and the entity relationship words; the unit relation set comprises a first entity word, a second entity word and an entity relation word used for representing the relation between the first entity word and the second entity word;
and the determining module is used for determining the value of the key field in the data table according to the ternary relation set so as to generate the standardized repair data.
Wherein the determining module comprises:
the first determining unit is used for determining a first data table corresponding to a first entity word and a second data table corresponding to a second entity word in the ternary relationship set;
a second determining unit, configured to obtain a first code corresponding to the first entity word in the first data table, and obtain a second code corresponding to the second entity word in the second data table;
a first recording unit, configured to record, in the first data table, a relationship between the first entity word and the second entity word according to the relationship entity word and the second code in the ternary relationship set;
and the second recording unit is used for recording the relation between the first entity word and the second entity word in the second data table according to the relation entity word and the first code in the ternary relation set.
To achieve the above object, the present application provides an electronic device including:
a memory for storing a computer program;
and the processor is used for realizing the steps of the automobile repair data structure standardization method when the computer program is executed.
To achieve the above object, the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the above automobile repair data structure standardization method.
According to the scheme, the automobile repair data structure standardization method comprises the following steps: acquiring a vehicle repair data and a standard data structure, and dividing the vehicle repair data into a plurality of data sections according to a preset rule; wherein the standard data structure comprises a plurality of data tables; determining an entity word of each data section, and extracting an entity relation word between the data sections corresponding to each two entity words by utilizing an entity recognition technology; constructing a three-relationship set based on the entity words and the entity relationship words; the unit relation set comprises a first entity word, a second entity word and an entity relation word used for representing the relation between the first entity word and the second entity word; and determining the value of a key field in the data table according to the ternary relation set so as to generate standardized repair data.
The method for standardizing the automobile repair data structure converts the automobile repair data according to the standard data structure. The standard data structure comprises a plurality of data tables, and each data table represents a certain steam repair data or a relation between two steam repair data. The structured data keeps the original maintenance guide logic, and can be used for performing data association modeling on a guide type intelligent maintenance system and an expert to create a steam repair knowledge map. Therefore, the automobile repair data structure standardization method saves the cost and time for manually inputting data, and effectively improves the data reliability and the data inputting efficiency. The application also discloses a device for standardizing the automobile repair data structure, an electronic device and a computer readable storage medium, and the technical effects can be realized.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
FIG. 1 is a flow chart illustrating a method for standardizing a repair data structure in accordance with an exemplary embodiment;
FIG. 2 is a diagram of a standard data structure;
FIG. 3 is a detailed flowchart of step S104 in FIG. 1;
FIG. 4 is a flow diagram illustrating another method for standardizing a repair data structure in accordance with one exemplary embodiment;
FIG. 5 is a block diagram illustrating a vehicle repair data structure normalization apparatus according to an exemplary embodiment;
FIG. 6 is a block diagram illustrating an electronic device in accordance with an exemplary embodiment.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application discloses a method for standardizing a vehicle repair data structure, which improves the recording efficiency and the data reliability of vehicle repair data.
Referring to fig. 1, a flowchart of a method for standardizing a vehicle repair data structure according to an exemplary embodiment is shown, as shown in fig. 1, including:
s101: acquiring a vehicle repair data and a standard data structure, and dividing the vehicle repair data into a plurality of data sections according to a preset rule; wherein the standard data structure comprises a plurality of data tables;
the embodiment can be applied to a pipeline type steam repair data processing system, and aims to perform structural standardization processing on steam repair data, namely adding the acquired steam repair data into a standard data structure. In the specific implementation, the repair data is divided into a plurality of file blocks, and the file blocks are encoded to obtain [ A ]1,A2,...,AM]And M is the number of all data blocks. For each data block, the data block is divided according to a preset standard, where the preset standard is not limited, for example, the data block may be divided according to a section of the repair material, that is, the step of dividing the repair material into a plurality of data sections according to a preset rule may include: dividing each vapour repair material according to paragraphs, and taking each paragraph as each data section.
The standard data structure in this step is a data structure with a standardized structure, and includes a plurality of data tables, each data table represents a relationship between certain vehicle repair data or two vehicle repair data, for example, a vehicle model table, a vehicle system table, a maintenance step table, a system and step relationship table, and the data table representing the relationship between two vehicle repair data is convenient for retrieval. The standard data structure can be set according to the logic rules set by the contents of the auto service manual, and is a schematic diagram of the standard data structure as shown in fig. 2.
S102: determining an entity word of each data section, and extracting an entity relation word between the data sections corresponding to each two entity words by utilizing an entity recognition technology;
in this step, an entity word of each data segment is extracted, where the entity word is a value of a key field subsequently filled into the data table, and a manner of determining the entity word is not limited herein, and preferably, a manner of a classification model may be adopted, that is, the step of determining the entity word of each data segment includes: and determining the theme distribution of the automobile repair data, and inputting the theme distribution and each data section into a classification model to obtain the entity words of each data section. Specifically, the step of determining the theme distribution of the vehicle repair data includes: performing word segmentation operation on the automobile repair data, and determining the word frequency of each word so as to obtain the word frequency distribution of the automobile repair data; and determining the theme distribution of the automobile repair data based on the word frequency distribution by utilizing a target probability function. In the specific implementation, the word part of the automobile repair data of each file block is extracted for word segmentation, and the word frequency distribution [ F ] of each file block is counted1,F2,...FM]In which F isi(1. ltoreq. i. ltoreq.M) is a probability word distribution F of dimension Mi=(f1,f2,...,fm). In the graph relation library, scene prediction analysis is carried out, and the topic distribution Q is equal to (Q)1,Q2,...,QM) Wherein Q isi(1. ltoreq. i. ltoreq.M) is an s-dimensional topic relation feature vector Qi=(q1,q2,...,qs) The theme label q is a system, function, etc. of the automobile, such as SFI (chinese full name: sequential multipoint electronic fuel injection system, english full name: sequential fusion) system, ABS (chinese full name: braking anti-lock system, english full name: antilock brake system), automatic transmission, ECU (chinese full name: electronic control unit, english full name: electronic Control Unit), and the like. q ═ fq(Fi),fq() The parameters of the polynomial probability function can be obtained by training according to actual conditions. The classification task is executed by using a trained classification model, which can be realized by using a machine learning common algorithm, such as a decision tree, a support vector machine, a neural network and the like, and the classification model is distributed with the theme and is in each data sectionExamples of sequences after word and sentence correlation, classification [ α, epsilon]Wherein the letters are entity words, and the letters are [ α, epsilon.,. chi., "chi", after the duplication removing operation is executed]Each entity word corresponds to one or more data sections.
And extracting entity relation words between the data sections corresponding to every two entity words by utilizing an entity identification technology, wherein the entity relation words are used for filling a data table representing the relation between the two items of automobile repair data in the subsequent step.
S103: constructing a three-relationship set based on the entity words and the entity relationship words; the unit relation set comprises a first entity word, a second entity word and an entity relation word used for representing the relation between the first entity word and the second entity word;
in this step, three-element relation sets are constructed by using the entity words and the entity relation words extracted in the previous step, and each three-element relation set comprises two entity words and entity relation words between data sections corresponding to the two entity words. The set of ternary relationships is for example:
(P0011, maintenance scheme, scheme 1), (scheme 1, trouble code, P0010)
(scheme 1, procedure 1 step), (procedure 1 step, starting point of procedure, scheme 1)
(step 1 of the procedure, yes, step 2 of the procedure), (step 2 of the procedure, reason, step 1 of the procedure)
(step 1, No, step 3 of the process), (step 3 of the process, reason, step 1 of the process)
(step 2, YES, conclusion 1), (conclusion 1, reason, step 2 of the procedure)
(step 2, NO, conclusion 2), (conclusion 2, reason, step 2 of the process)
(step 3, more than 2V, conclusion 3), (conclusion 3, reason, step 3 of the scheme)
(step 3, less than 1V, conclusion 4), (conclusion 4, reason, step 3 of the process)
(step 3, 1-2V, conclusion 5), (conclusion 5, reason, step 3)
Wherein, the first item and the third item are entity words, and the second item is an entity relation word.
S104: and determining the value of a key field in the data table according to the ternary relation set so as to generate standardized repair data.
In this step, the values of the key fields in the data table are determined according to the ternary relationship set. For example, the vehicle model table is shown in table 1:
TABLE 1
id make_id model model_ch
1 1 prado Pradol
2 1 highlander Hanlanda (Chinese character of 'Hanlanda')
3 1 yaris Enjoy as one
4 1 crown Imperial crown
Wherein id is a code corresponding to the entity word, make _ id is a code of a vehicle system to which the vehicle type belongs, model is an English name of the vehicle type, and model _ ch is a Chinese name of the vehicle type.
If the three-relationship set is (Toyota, model, Camry), a record with id of 5 can be generated in Table 1, and if the vehicle system to which Camry belongs is Toyota and the code thereof is 1, the record of the entity word "Camry" in Table 1 is: id is 5, make _ id is 1, model is camry, and model _ ch is kaimery.
The method for standardizing the automobile repair data structure provided by the embodiment of the application converts the automobile repair data according to the standard data structure. The standard data structure comprises a plurality of data tables, and each data table represents a certain steam repair data or a relation between two steam repair data. The structured data keeps the original maintenance guide logic, and can be used for performing data association modeling on a guide type intelligent maintenance system and an expert to create a steam repair knowledge map. Therefore, the method for standardizing the automobile repair data structure saves the cost and time of manually inputting data, and effectively improves the data reliability and the data inputting efficiency.
The method for generating the normalized repair data based on the ternary relationship set is described in detail below, that is, as shown in fig. 3, step S104 in the above embodiment may include:
s41: determining a first data table corresponding to a first entity word and a second data table corresponding to a second entity word in the ternary relationship set;
in this step, data tables corresponding to the two entity words are determined, for example, the data table corresponding to the entity word "Toyota" is a vehicle family table, and the data table corresponding to the "Camry" is a vehicle model table.
S42: acquiring a first code corresponding to the first entity word from the first data table, and acquiring a second code corresponding to the second entity word from the second data table;
in this step, codes corresponding to two entity words are obtained, and in the vehicle type table in the previous embodiment, the code of cameri is 5, and the code of toyota is 1.
Specifically, the method comprises the following steps: judging whether a first code corresponding to the first entity word exists in the first data table; if yes, acquiring the first code; if not, adding a first record of the first entity word in the first data table, and acquiring a first code corresponding to the first entity word in the first record; judging whether a second code corresponding to the second entity word exists in the second data table; if yes, acquiring the second code; and if not, adding a second record of the second entity word in the second data table, and acquiring a second code corresponding to the second entity word in the second record.
In the specific implementation, whether the code corresponding to the entity word exists in the data table is judged, that is, whether the record corresponding to the entity word exists in the data table is judged, if the record does not exist, the record of the entity word is created in sequence, and the code corresponding to the entity word is generated.
S43: recording the relation between the first entity word and the second entity word in the first data table according to the relation entity word and the second code in the ternary relation set;
for a set of three-way relationships (Toyota, model, Camry), code 5 of Camry is added to the relevant fields of the records in the vehicle family table corresponding to Toyota.
S44: and recording the relation between the first entity word and the second entity word in the second data table according to the relation entity word and the first code in the ternary relation set.
For a ternary system set (Toyota, model, Camry), code 1 of Toyota is added to the relevant field of the record corresponding to Camry in the model table, i.e., make _ id.
The embodiment of the application discloses a method for standardizing a data structure of automobile repair, and compared with the previous embodiment, the embodiment further explains and optimizes the technical scheme. Specifically, the method comprises the following steps:
referring to fig. 4, a flowchart of another steam repair data structure standardization method according to an exemplary embodiment is shown, and as shown in fig. 4, includes:
s201: acquiring automobile repair materials and a standard data structure, and dividing each file block according to paragraphs;
s202: performing word segmentation operation on the automobile repair data, and determining the word frequency of each word so as to obtain the word frequency distribution of the automobile repair data;
s203: determining the subject distribution of the automobile repair data based on the word frequency distribution by using a target probability function;
s204: inputting the topic distribution and each paragraph into a classification model to obtain an entity word of each paragraph;
s205: constructing a three-relationship set based on the entity words and the entity relationship words; the unit relation set comprises a first entity word, a second entity word and an entity relation word used for representing the relation between the first entity word and the second entity word;
s206: determining a first data table corresponding to a first entity word and a second data table corresponding to a second entity word in the ternary relationship set;
s207: judging whether a first code corresponding to the first entity word exists in the first data table; if yes, acquiring the first code; if not, adding a first record of the first entity word in the first data table, and acquiring a first code corresponding to the first entity word in the first record;
s208: judging whether a second code corresponding to the second entity word exists in the second data table; if yes, acquiring the second code; and if not, adding a second record of the second entity word in the second data table, and acquiring a second code corresponding to the second entity word in the second record.
S209: recording the relation between the first entity word and the second entity word in the first data table according to the relation entity word and the second code in the ternary relation set;
s210: and recording the relation between the first entity word and the second entity word in the second data table according to the relation entity word and the first code in the ternary relation set.
Therefore, in the embodiment, the classification model is used for determining the entity words of each paragraph based on the topic distribution of each data block, and the result is more accurate. And converting the automobile repair data according to a standard data structure by utilizing the ternary relation set. The structured data keeps the original maintenance guide logic, and can be used for performing data association modeling on a guide type intelligent maintenance system and an expert to create a steam repair knowledge map.
In the following, a vehicle repair data structure standardization apparatus provided in the embodiments of the present application is introduced, and a vehicle repair data structure standardization apparatus described below and a vehicle repair data structure standardization method described above may be referred to each other.
Referring to fig. 5, a block diagram of a vehicle repair data structure standardizing apparatus according to an exemplary embodiment is shown, as shown in fig. 5, including:
the acquiring module 501 is configured to acquire a repair data and a standard data structure, and divide the repair data into a plurality of data sections according to a preset rule; wherein the standard data structure comprises a plurality of data tables;
an extracting module 502, configured to determine an entity word of each data segment, and extract an entity relation word between data segments corresponding to each two entity words by using an entity identification technology;
a building module 503, configured to build a three-relationship set based on the entity words and the entity relationship words; the unit relation set comprises a first entity word, a second entity word and an entity relation word used for representing the relation between the first entity word and the second entity word;
a determining module 504, configured to determine values of key fields in the data table according to the ternary relationship set, so as to generate normalized repair data.
The data structure standardization unit is repaiied to vapour that this application embodiment provided, the data is repaiied according to standard data structure with the vapour and carries out the conversion. The standard data structure comprises a plurality of data tables, and each data table represents a certain steam repair data or a relation between two steam repair data. The structured data keeps the original maintenance guide logic, and can be used for performing data association modeling on a guide type intelligent maintenance system and an expert to create a steam repair knowledge map. Therefore, the automobile repair data structure standardization device provided by the embodiment of the application saves the cost and time for manually inputting data, and effectively improves the data reliability and the data inputting efficiency.
On the basis of the foregoing embodiment, as a preferred implementation, the obtaining module 501 includes:
the acquisition unit is used for acquiring the automobile repair data and the standard data structure;
and the dividing unit is used for dividing each steam repair material according to paragraphs and taking each paragraph as each data section.
On the basis of the foregoing embodiment, as a preferred implementation, the extracting module 502 includes:
the classification unit is used for determining the theme distribution of the automobile repair data, inputting the theme distribution and each data section into a classification model, and obtaining an entity word of each data section;
and the extraction unit is used for extracting entity relation words between the data sections corresponding to every two entity words by utilizing an entity recognition technology.
On the basis of the above embodiment, as a preferred implementation, the classification unit includes:
the word cutting sub-unit is used for carrying out word cutting operation on the automobile repair data and determining the word frequency of each word so as to obtain the word frequency distribution of the automobile repair data;
the determining subunit is used for determining the subject distribution of the automobile repair data based on the word frequency distribution by using a target probability function;
and the classification subunit is used for inputting the theme distribution and each data section into a classification model to obtain the entity word of each data section.
On the basis of the foregoing embodiment, as a preferred implementation, the determining module 504 includes:
the first determining unit is used for determining a first data table corresponding to a first entity word and a second data table corresponding to a second entity word in the ternary relationship set;
a second determining unit, configured to obtain a first code corresponding to the first entity word in the first data table, and obtain a second code corresponding to the second entity word in the second data table;
a first recording unit, configured to record, in the first data table, a relationship between the first entity word and the second entity word according to the relationship entity word and the second code in the ternary relationship set;
and the second recording unit is used for recording the relation between the first entity word and the second entity word in the second data table according to the relation entity word and the first code in the ternary relation set.
On the basis of the above embodiment, as a preferred implementation, the second determining unit includes:
the first judging subunit is used for judging whether a first code corresponding to the first entity word exists in the first data table; if yes, acquiring the first code; if not, adding a first record of the first entity word in the first data table, and acquiring a first code corresponding to the first entity word in the first record;
a second judging subunit, configured to judge whether a second code corresponding to the second entity word exists in the second data table; if yes, acquiring the second code; and if not, adding a second record of the second entity word in the second data table, and acquiring a second code corresponding to the second entity word in the second record.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
The present application further provides an electronic device, and referring to fig. 6, a structure diagram of an electronic device 600 provided in an embodiment of the present application may include a processor 11 and a memory 12, as shown in fig. 6. The electronic device 600 may also include one or more of a multimedia component 13, an input/output (I/O) interface 14, and a communication component 15.
The processor 11 is configured to control the overall operation of the electronic device 600 to complete all or part of the steps of the above-mentioned automobile repair data structure standardization method. The memory 12 is used to store various types of data to support operation at the electronic device 600, such as instructions for any application or method operating on the electronic device 600 and application-related data, such as contact data, transmitted and received messages, pictures, audio, video, and so forth. The Memory 12 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk. The multimedia component 13 may include a screen and an audio component. Wherein the screen may be, for example, a touch screen and the audio component is used for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may further be stored in the memory 12 or transmitted via the communication component 15. The audio assembly also includes at least one speaker for outputting audio signals. The I/O interface 14 provides an interface between the processor 11 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication module 15 is used for wired or wireless communication between the electronic device 600 and other devices. Wireless communication, such as Wi-Fi, bluetooth, Near Field Communication (NFC), 2G, 3G or 4G, or a combination of one or more of them, so that the corresponding communication component 15 may include: Wi-Fi module, bluetooth module, NFC module.
In an exemplary embodiment, the electronic Device 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above-mentioned vapor repair data structure standardization method.
In another exemplary embodiment, a computer readable storage medium including program instructions for implementing the steps of the above-described repair data structure standardization method when executed by a processor is also provided. For example, the computer readable storage medium may be the memory 12 comprising program instructions executable by the processor 11 of the electronic device 600 to perform the above-mentioned method for standardizing the repair data structure.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A method for standardizing a vehicle repair data structure is characterized by comprising the following steps:
acquiring a vehicle repair data and a standard data structure, and dividing the vehicle repair data into a plurality of data sections according to a preset rule; wherein the standard data structure comprises a plurality of data tables;
determining an entity word of each data section, and extracting an entity relation word between the data sections corresponding to each two entity words by utilizing an entity recognition technology;
constructing a three-relationship set based on the entity words and the entity relationship words; the unit relation set comprises a first entity word, a second entity word and an entity relation word used for representing the relation between the first entity word and the second entity word;
and determining the value of a key field in the data table according to the ternary relation set so as to generate standardized repair data.
2. The steam repair data structure standardization method of claim 1, wherein the step of dividing the steam repair data into a plurality of data sections according to a preset rule comprises the steps of:
dividing each vapour repair material according to paragraphs, and taking each paragraph as each data section.
3. The method for standardizing a repair data structure of a vehicle according to claim 1, wherein the determining of the entity words of each of the data segments comprises:
and determining the theme distribution of the automobile repair data, and inputting the theme distribution and each data section into a classification model to obtain the entity words of each data section.
4. The steam repair data structure standardization method of claim 3, wherein the determining of the theme distribution of the steam repair data comprises:
performing word segmentation operation on the automobile repair data, and determining the word frequency of each word so as to obtain the word frequency distribution of the automobile repair data;
and determining the theme distribution of the automobile repair data based on the word frequency distribution by utilizing a target probability function.
5. The repair data structure standardization method of any one of claims 1 to 4, wherein the determining the value of the key field in the data table according to the ternary relationship set comprises:
determining a first data table corresponding to a first entity word and a second data table corresponding to a second entity word in the ternary relationship set;
acquiring a first code corresponding to the first entity word from the first data table, and acquiring a second code corresponding to the second entity word from the second data table;
recording the relation between the first entity word and the second entity word in the first data table according to the relation entity word and the second code in the ternary relation set;
and recording the relation between the first entity word and the second entity word in the second data table according to the relation entity word and the first code in the ternary relation set.
6. The method for standardizing a structure of automotive repair data as claimed in claim 5, wherein the step of obtaining a first code corresponding to the first entity word in the first data table and obtaining a second code corresponding to the second entity word in the second data table comprises:
judging whether a first code corresponding to the first entity word exists in the first data table; if yes, acquiring the first code; if not, adding a first record of the first entity word in the first data table, and acquiring a first code corresponding to the first entity word in the first record;
judging whether a second code corresponding to the second entity word exists in the second data table; if yes, acquiring the second code; and if not, adding a second record of the second entity word in the second data table, and acquiring a second code corresponding to the second entity word in the second record.
7. The utility model provides a vapour is repaiied data structure standardization unit which characterized in that includes:
the acquisition module is used for acquiring the automobile repair data and a standard data structure and dividing the automobile repair data into a plurality of data sections according to a preset rule; wherein the standard data structure comprises a plurality of data tables;
the extraction module is used for determining the entity words of each data section and extracting the entity relation words between the data sections corresponding to each two entity words by utilizing an entity identification technology;
the building module is used for building a three-relationship set based on the entity words and the entity relationship words; the unit relation set comprises a first entity word, a second entity word and an entity relation word used for representing the relation between the first entity word and the second entity word;
and the determining module is used for determining the value of the key field in the data table according to the ternary relation set so as to generate the standardized repair data.
8. The vehicle repair data structure standardization device according to claim 7, wherein the determination module comprises:
the first determining unit is used for determining a first data table corresponding to a first entity word and a second data table corresponding to a second entity word in the ternary relationship set;
a second determining unit, configured to obtain a first code corresponding to the first entity word in the first data table, and obtain a second code corresponding to the second entity word in the second data table;
a first recording unit, configured to record, in the first data table, a relationship between the first entity word and the second entity word according to the relationship entity word and the second code in the ternary relationship set;
and the second recording unit is used for recording the relation between the first entity word and the second entity word in the second data table according to the relation entity word and the first code in the ternary relation set.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the method for standardizing a repair data structure as claimed in any one of claims 1 to 6 when the computer program is executed.
10. A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when executed by a processor, the computer program implements the steps of the repair data structure standardization method according to any one of claims 1 to 6.
CN201911032441.9A 2019-10-28 2019-10-28 Automobile repair data structure standardization method and device, electronic equipment and storage medium Pending CN110765135A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911032441.9A CN110765135A (en) 2019-10-28 2019-10-28 Automobile repair data structure standardization method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911032441.9A CN110765135A (en) 2019-10-28 2019-10-28 Automobile repair data structure standardization method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110765135A true CN110765135A (en) 2020-02-07

Family

ID=69334023

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911032441.9A Pending CN110765135A (en) 2019-10-28 2019-10-28 Automobile repair data structure standardization method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110765135A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113536766A (en) * 2020-04-16 2021-10-22 浙江大搜车软件技术有限公司 Analysis method and device for automobile maintenance record

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102947842A (en) * 2010-06-22 2013-02-27 启创互联公司 Systems and methods for analyzing and synthesizing complex knowledge representations
CN109189946A (en) * 2018-11-06 2019-01-11 湖南云智迅联科技发展有限公司 A method of the description of equipment fault sentence is converted into knowledge mapping expression
CN109492115A (en) * 2018-11-23 2019-03-19 深圳市元征科技股份有限公司 A kind of Automobile Service knowledge physical network construction method, device and equipment
CN109509556A (en) * 2018-11-09 2019-03-22 天津开心生活科技有限公司 Knowledge mapping generation method, device, electronic equipment and computer-readable medium
CN109960802A (en) * 2019-03-19 2019-07-02 四川大学 The information processing method and device of narrative text are reported for aviation safety
CN110020957A (en) * 2019-01-31 2019-07-16 阿里巴巴集团控股有限公司 Damage identification method and device, the electronic equipment of maintenance objects
CN110222199A (en) * 2019-06-20 2019-09-10 青岛大学 A kind of character relation map construction method based on ontology and a variety of Artificial neural network ensembles

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102947842A (en) * 2010-06-22 2013-02-27 启创互联公司 Systems and methods for analyzing and synthesizing complex knowledge representations
CN109189946A (en) * 2018-11-06 2019-01-11 湖南云智迅联科技发展有限公司 A method of the description of equipment fault sentence is converted into knowledge mapping expression
CN109509556A (en) * 2018-11-09 2019-03-22 天津开心生活科技有限公司 Knowledge mapping generation method, device, electronic equipment and computer-readable medium
CN109492115A (en) * 2018-11-23 2019-03-19 深圳市元征科技股份有限公司 A kind of Automobile Service knowledge physical network construction method, device and equipment
CN110020957A (en) * 2019-01-31 2019-07-16 阿里巴巴集团控股有限公司 Damage identification method and device, the electronic equipment of maintenance objects
CN109960802A (en) * 2019-03-19 2019-07-02 四川大学 The information processing method and device of narrative text are reported for aviation safety
CN110222199A (en) * 2019-06-20 2019-09-10 青岛大学 A kind of character relation map construction method based on ontology and a variety of Artificial neural network ensembles

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113536766A (en) * 2020-04-16 2021-10-22 浙江大搜车软件技术有限公司 Analysis method and device for automobile maintenance record
CN113536766B (en) * 2020-04-16 2024-04-12 浙江大搜车软件技术有限公司 Analysis method and device for automobile maintenance records

Similar Documents

Publication Publication Date Title
CN111506722B (en) Knowledge graph question-answering method, device and equipment based on deep learning technology
CN110275965B (en) False news detection method, electronic device and computer readable storage medium
CN111145737B (en) Voice test method and device and electronic equipment
CN110060674B (en) Table management method, device, terminal and storage medium
CN108304424B (en) Text keyword extraction method and text keyword extraction device
CN112951211B (en) Voice awakening method and device
KR20190107063A (en) Information processing method and apparatus for data visualization
CN110825840B (en) Word bank expansion method, device, equipment and storage medium
CN113553847A (en) Method, device, system and storage medium for parsing address text
CN110765135A (en) Automobile repair data structure standardization method and device, electronic equipment and storage medium
CN115840808A (en) Scientific and technological project consultation method, device, server and computer-readable storage medium
CN114242047A (en) Voice processing method and device, electronic equipment and storage medium
CN114398315A (en) Data storage method, system, storage medium and electronic equipment
CN113988195A (en) Private domain traffic clue mining method and device, vehicle and readable medium
CN109446318A (en) A kind of method and relevant device of determining auto repair document subject matter
CN113033160B (en) Method and device for classifying intention of dialogue and method for generating intention classification model
CN110413899B (en) Storage resource optimization method and system for server storage news
CN110010131B (en) Voice information processing method and device
CN114626798A (en) Task flow determination method and device, computer readable storage medium and terminal
US10861436B1 (en) Audio call classification and survey system
CN113779230B (en) Legal recommendation method, system and equipment based on legal understanding
CN116861042B (en) Information verification method, device, equipment and medium based on material database
CN114186066B (en) Report generation method, system, storage medium and electronic equipment
CN116204568B (en) Data mining analysis method
CN110737750B (en) Data processing method and device for analyzing text audience and electronic equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200207

RJ01 Rejection of invention patent application after publication