CN111898759A - Knowledge base updating method and device, electronic equipment and readable storage medium - Google Patents
Knowledge base updating method and device, electronic equipment and readable storage medium Download PDFInfo
- Publication number
- CN111898759A CN111898759A CN202010569853.2A CN202010569853A CN111898759A CN 111898759 A CN111898759 A CN 111898759A CN 202010569853 A CN202010569853 A CN 202010569853A CN 111898759 A CN111898759 A CN 111898759A
- Authority
- CN
- China
- Prior art keywords
- knowledge base
- target domain
- updating
- version information
- party
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000005516 engineering process Methods 0.000 claims abstract description 19
- 230000008859 change Effects 0.000 claims description 8
- 238000000605 extraction Methods 0.000 claims description 3
- 230000008520 organization Effects 0.000 abstract description 23
- 238000003058 natural language processing Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 3
- 238000005034 decoration Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000005192 partition Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 229910052709 silver Inorganic materials 0.000 description 1
- 239000004332 silver Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N5/00—Computing arrangements using knowledge-based models
- G06N5/02—Knowledge representation; Symbolic representation
- G06N5/022—Knowledge engineering; Knowledge acquisition
-
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N5/00—Computing arrangements using knowledge-based models
- G06N5/02—Knowledge representation; Symbolic representation
- G06N5/027—Frames
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Evolutionary Computation (AREA)
- Artificial Intelligence (AREA)
- Databases & Information Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The application provides a knowledge base updating method, a knowledge base updating device, electronic equipment and a readable storage medium, which are applied to the technical field of natural language processing, wherein the method comprises the following steps: when the standard version of the card organization is a new version compared with the standard version corresponding to the knowledge base, the knowledge base is updated based on the target domain and the target domain attribute value extracted by the natural language understanding technology, so that the automatic updating of the knowledge base is realized, the updating efficiency of the knowledge base is improved, and the problems of low efficiency and easy error caused by manual reading, understanding and updating of the knowledge base are solved.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for updating a knowledge base, an electronic device, and a readable storage medium.
Background
Under the globalization trend, the finance and science and technology are changing day by day, and the international card organization (JCB, luca, dalia, usa, luck and Union of silver) is used as a main transaction processing mode, and new standard requirements are made on transaction messages provided by each member bank every year.
At present, banks all arrange special teams to support international card organization specification upgrading, but mainly change the bank system through manual reading and understanding card organization specification requirements, so that the problems of low efficiency and high labor cost of manual reading and understanding card organization specification exist in the prior art.
Disclosure of Invention
The application provides a knowledge base updating method, a knowledge base updating device, electronic equipment and a readable storage medium, and aims to provide the knowledge base updating method, which is used for realizing automatic updating of a knowledge base, improving the updating efficiency of the knowledge base and avoiding the problems of low efficiency and high possibility of errors caused by manual reading, understanding and updating of the knowledge base. The technical scheme adopted by the application is as follows:
in a first aspect, a knowledge base updating method is provided, the method comprising,
acquiring version information of a specification document released by a third party and acquiring version information of the specification document corresponding to a knowledge base;
determining whether the knowledge base needs to be updated or not based on the version information of the canonical document published by the third party and the version information of the canonical document corresponding to the knowledge base;
if the updating is needed, extracting a target domain and a target domain attribute value based on a natural language understanding technology;
and updating the knowledge base based on the extracted target domain and the target domain attribute value.
Optionally, the method further comprises:
judging whether the target domain exists in the knowledge base or not;
if the target domain does not exist, further judging whether the target domain is in the input range of the knowledge base;
and if the target domain is in the input range of the knowledge base, updating the knowledge base based on the target domain and the attribute value of the target domain.
Optionally, the method further comprises:
judging whether the target domain exists in the knowledge base or not;
and if the knowledge base has the target domain, updating the knowledge base based on the target attribute value of the target domain of the canonical document published by the third party.
Optionally, the obtaining version information of the specification document published by the third party includes:
performing region identification on the version information of the standard document released by the third party, and determining the region information where the version information is located;
and performing character recognition based on the region information determined by recognition, and determining the version information of the standard document released by the third party.
Optionally, the method further comprises:
acquiring a changed target domain and target domain attribute information, wherein the changed target domain comprises a newly added target domain and a target domain with a changed attribute value;
and comparing and displaying the changed target domain and the target domain attribute information before and after the change.
In a second aspect, there is provided a knowledge base updating apparatus, comprising,
the first acquisition module is used for acquiring the version information of the standard document released by a third party and acquiring the version information of the standard document corresponding to the knowledge base;
the determining module is used for determining whether the knowledge base needs to be updated or not based on the version information of the canonical document published by the third party and the version information of the canonical document corresponding to the knowledge base;
the extraction module is used for extracting the target domain and the attribute value of the target domain based on the natural language understanding technology if the updating is needed;
and the updating module is used for updating the knowledge base based on the extracted target domain and the target domain attribute value.
Optionally, the apparatus further comprises:
the first judging module is used for judging whether the target domain exists in the knowledge base or not;
the second judgment module is used for further judging whether the target domain is in the input range of the knowledge base if the target domain does not exist;
the updating module is specifically configured to update the knowledge base based on the target domain and the attribute value of the target domain if the target domain is in the entry range of the knowledge base.
Optionally, the apparatus further comprises:
the third judging module is used for judging whether the target domain exists in the knowledge base or not;
the updating module is specifically configured to update the knowledge base based on a target attribute value of a target domain of a canonical document published by a third party if the knowledge base has the target domain.
Optionally, the apparatus further comprises:
the partition identification module is used for carrying out area identification on the version information of the standard document released by the third party and determining the area information where the version information is located;
and the character recognition module is used for carrying out character recognition based on the region information determined by recognition and determining the version information of the standard document released by the third party.
Optionally, the apparatus further comprises:
the second acquisition module is used for acquiring the changed target domain and the attribute information of the target domain, wherein the changed target domain comprises a newly added target domain and the target domain with the changed attribute value;
and the display module is used for comparing and displaying the changed target domain and the target domain attribute information before and after the change.
In a third aspect, an electronic device is provided, which includes:
one or more processors;
a memory;
one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to: the knowledge base updating method shown in the first aspect is performed.
In a fourth aspect, a computer-readable storage medium is provided for storing computer instructions that, when executed on a computer, cause the computer to perform the knowledge base updating method of the first aspect.
Compared with the prior art that the knowledge base is updated through manual reading and understanding of card organization specifications, the method and the device for updating the knowledge base acquire the version information of the specification document issued by a third party and acquire the version information of the specification document corresponding to the knowledge base; determining whether the knowledge base needs to be updated or not based on the version information of the canonical document published by a third party and the version information of the canonical document corresponding to the knowledge base; if the updating is needed, extracting a target domain and a target domain attribute value based on a natural language understanding technology; and updating the knowledge base based on the extracted target domain and the target domain attribute value. When the standard version of the card organization is a new version compared with the standard version corresponding to the knowledge base, the knowledge base is updated based on the target domain and the target domain attribute value extracted by the natural language understanding technology, so that the automatic updating of the knowledge base is realized, the updating efficiency of the knowledge base is improved, and the problems of low efficiency and easy error caused by manual reading, understanding and updating of the knowledge base are solved.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flowchart of a knowledge base updating method according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a knowledge base updating apparatus according to an embodiment of the present application;
FIG. 3 is a diagram illustrating an example of a knowledge base update process according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
FIG. 5 is an exemplary diagram of a mastercard organization transaction message;
fig. 6 is an exemplary diagram of extracted attribute information of one domain.
Detailed Description
Reference will now be made in detail to the embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application.
As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
An embodiment of the present application provides a knowledge base updating method, as shown in fig. 1, the method may include the following steps:
step S101, acquiring version information of a specification document released by a third party and acquiring version information of the specification document corresponding to a knowledge base;
step S102, determining whether the knowledge base needs to be updated or not based on the version information of the canonical document released by a third party and the version information of the canonical document corresponding to the knowledge base;
step S103, if updating is needed, extracting a target domain and a target domain attribute value based on a natural language understanding technology;
and step S104, updating the knowledge base based on the extracted target domain and the target domain attribute value.
Illustratively, the specification document published by the third party may be a mastercard organization transaction message, which is an 8583 message, the message relates to multiple domains, and specification upgrade is embodied by increase and decrease of specific domains, increase and decrease of values of domains, or increase and decrease of attributes of domains. According to the method and the device, the card organization specification document is used as input through natural language identification, the latest attribute of all the domains is output, and the related domains and the change content related to the updating can be obtained through comparing the latest attribute of all the domains with the full attribute of the last version of all the domains. Fig. 5 is an exemplary diagram of a mastercard transaction message. Fig. 6 shows the extracted attribute information of one domain.
Wherein, the standard version: the specification version of the card organization is a time version of the card organization file release, such as 19.Q4,18.Q2, and so on.
Domain: a specific field for a card organization consistent transaction, a generic transaction message involves 128 fields.
The attributes of the domain: the method comprises the length (Data length) of a domain, the value requirement such as character string or number and the like (representation), left alignment or right alignment (Justification), whether the value is required to be transmitted (Option management), whether the value is a limited list value (value list) and the like.
The embodiment of the application provides a knowledge base updating method, and compared with the prior art that manual reading and understanding of card organization specifications are carried out and updating of a knowledge base is realized, the method obtains version information of a specification document issued by a third party and obtains version information of the specification document corresponding to the knowledge base; determining whether the knowledge base needs to be updated or not based on the version information of the canonical document published by a third party and the version information of the canonical document corresponding to the knowledge base; if the updating is needed, extracting a target domain and a target domain attribute value based on a natural language understanding technology; and updating the knowledge base based on the extracted target domain and the target domain attribute value. When the standard version of the card organization is a new version compared with the standard version corresponding to the knowledge base, the knowledge base is updated based on the target domain and the target domain attribute value extracted by the natural language understanding technology, so that the automatic updating of the knowledge base is realized, the updating efficiency of the knowledge base is improved, and the problems of low efficiency and easy error caused by manual reading, understanding and updating of the knowledge base are solved.
The embodiment of the present application provides a possible implementation manner, and further, the method further includes:
judging whether the target domain exists in the knowledge base or not;
if the target domain does not exist, further judging whether the target domain is in the input range of the knowledge base;
and if the target domain is in the input range of the knowledge base, updating the knowledge base based on the target domain and the attribute value of the target domain.
Specifically, the content of the specification organized by the third party may be the content referred to by the knowledge base or the content not referred to by the knowledge base, and if the content is the content not referred to by the knowledge base, the target domain and the attribute value thereof cannot be added to the knowledge base even if the corresponding target domain is not contained in the knowledge base. That is, not all of the domains of the canonical documents that are not contained in the knowledge base are added to the knowledge base as updated content.
The embodiment of the present application provides a possible implementation manner, and further, the method further includes:
judging whether the target domain exists in the knowledge base or not;
and if the knowledge base has the target domain, updating the knowledge base based on the target attribute value of the target domain of the canonical document published by the third party.
Specifically, if the knowledge base is in the target domain, whether the attribute value of the target domain in the knowledge base is consistent with the attribute value of the target domain in the specification document is detected, and if not, the attribute value of the target domain in the specification document is used for replacing the attribute value of the target domain in the knowledge base.
The embodiment of the present application provides a possible implementation manner, and further, the obtaining of the version information of the specification document published by the third party includes:
performing region identification on the version information of the standard document released by the third party, and determining the region information where the version information is located;
and performing character recognition based on the region information determined by recognition, and determining the version information of the standard document released by the third party.
Specifically, the version information of the specification document released by the third party is subjected to region identification to determine the region where the version information is located, and then the information of the region is identified to determine the version information.
Illustratively, as shown in fig. 5, the lower right-hand corner of the page is the area where the version number is located, where the version number is 1Dec2019,.
The embodiment of the present application provides a possible implementation manner, and further, the method further includes:
acquiring a changed target domain and target domain attribute information, wherein the changed target domain comprises a newly added target domain and a target domain with a changed attribute value;
and comparing and displaying the changed target domain and the target domain attribute information before and after the change.
FIG. 3 shows a process for updating the knowledge base based on the specification document, which comprises the following steps:
step 1: the input card organizes the specification document and proceeds to step 2
Step 2: and reading the card organization specification version number corresponding to the document, and entering the step 3.
And step 3: checking whether the system historical knowledge base has the version number, if so, entering a step 12, and if not, entering a step 4.
And 4, step 4: and reading the documents in sequence, searching the result through keyword matching of the domain attributes, and entering the step 5.
And 5: if there is a search result, step 6 is entered, otherwise step 12 is entered.
Step 6: the attributes of the current domain are updated. Proceed to step 7.
And 7: and judging whether the current domain is the last domain, if so, entering a step 8, and otherwise, entering a step 4.
And 8: all the read domains are updated to the knowledge base of the current version (i.e. the latest version), and the process proceeds to step 9.
And step 9: and judging whether the knowledge base has a history version, if so, entering a step 10, and otherwise, entering a step 12.
Step 10: and displaying the difference between the current version knowledge base and the previous version knowledge base. Step 11 is entered.
Step 11: a system change is implemented based on the difference. Step 12 is entered.
Step 12: and (6) ending.
Fig. 2 is a knowledge base updating apparatus provided in an embodiment of the present application, where the apparatus 20 includes: a first obtaining module 201, a determining module 202, an extracting module 203, an updating module 204, wherein,
the first obtaining module 201 is configured to obtain version information of a canonical document published by a third party, and obtain version information of the canonical document corresponding to the knowledge base;
a determining module 202, configured to determine whether the knowledge base needs to be updated based on version information of a canonical document published by a third party and version information of a canonical document corresponding to the knowledge base;
the extraction module 203 is used for extracting a target domain and a target domain attribute value based on a natural language understanding technology if updating is needed;
and the updating module 204 is configured to update the knowledge base based on the extracted target domain and the target domain attribute value.
The embodiment of the application provides a knowledge base updating device, and compared with the prior art that the card organization specification is read and understood manually and the updating of a knowledge base is realized, the device acquires the version information of a specification document issued by a third party and acquires the version information of the specification document corresponding to the knowledge base; determining whether the knowledge base needs to be updated or not based on the version information of the canonical document published by a third party and the version information of the canonical document corresponding to the knowledge base; if the updating is needed, extracting a target domain and a target domain attribute value based on a natural language understanding technology; and updating the knowledge base based on the extracted target domain and the target domain attribute value. When the standard version of the card organization is a new version compared with the standard version corresponding to the knowledge base, the knowledge base is updated based on the target domain and the target domain attribute value extracted by the natural language understanding technology, so that the automatic updating of the knowledge base is realized, the updating efficiency of the knowledge base is improved, and the problems of low efficiency and easy error caused by manual reading, understanding and updating of the knowledge base are solved.
Optionally, the apparatus further comprises:
the first judging module is used for judging whether the target domain exists in the knowledge base or not;
the second judgment module is used for further judging whether the target domain is in the input range of the knowledge base if the target domain does not exist;
the updating module is specifically configured to update the knowledge base based on the target domain and the attribute value of the target domain if the target domain is in the entry range of the knowledge base.
Optionally, the apparatus further comprises:
the third judging module is used for judging whether the target domain exists in the knowledge base or not;
the updating module is specifically configured to update the knowledge base based on a target attribute value of a target domain of a canonical document published by a third party if the knowledge base has the target domain.
Optionally, the apparatus further comprises:
the partition identification module is used for carrying out area identification on the version information of the standard document released by the third party and determining the area information where the version information is located;
and the character recognition module is used for carrying out character recognition based on the region information determined by recognition and determining the version information of the standard document released by the third party.
Optionally, the apparatus further comprises:
the second acquisition module is used for acquiring the changed target domain and the attribute information of the target domain, wherein the changed target domain comprises a newly added target domain and the target domain with the changed attribute value;
and the display module is used for comparing and displaying the changed target domain and the target domain attribute information before and after the change.
The knowledge base updating apparatus of the present embodiment may execute the knowledge base updating method provided in the above embodiments of the present application, and the implementation principles thereof are similar, and are not described herein again.
An embodiment of the present application provides an electronic device, as shown in fig. 4, an electronic device 40 shown in fig. 4 includes: a processor 401 and a memory 403. Wherein the processor 401 is coupled to the memory 403, such as via a bus 402. Further, the electronic device 40 may also include a transceiver 404. It should be noted that the transceiver 404 is not limited to one in practical applications, and the structure of the electronic device 40 is not limited to the embodiment of the present application. The processor 401 is applied in the embodiment of the present application, and is used to implement the functions of the modules shown in fig. 2. The transceiver 404 includes a receiver and a transmitter.
The processor 401 may be a CPU, general purpose processor, DSP, ASIC, FPGA or other programmable logic device, transistor logic device, hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor 401 may also be a combination of computing functions, e.g., comprising one or more microprocessors, a combination of a DSP and a microprocessor, or the like.
The memory 403 may be, but is not limited to, a ROM or other type of static storage device that can store static information and instructions, a RAM or other type of dynamic storage device that can store information and instructions, an EEPROM, a CD-ROM or other optical disk storage, optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
The memory 403 is used for storing application program codes for executing the scheme of the application, and the execution is controlled by the processor 401. The processor 401 is configured to execute application program code stored in the memory 403 to implement the functions of the knowledge base updating apparatus provided by the embodiment shown in fig. 2.
The embodiment of the application provides electronic equipment, and in the prior art, by manually reading and understanding card organization specifications and realizing updating comparison of a knowledge base, version information of a specification document issued by a third party and version information of the specification document corresponding to the knowledge base are acquired; determining whether the knowledge base needs to be updated or not based on the version information of the canonical document published by a third party and the version information of the canonical document corresponding to the knowledge base; if the updating is needed, extracting a target domain and a target domain attribute value based on a natural language understanding technology; and updating the knowledge base based on the extracted target domain and the target domain attribute value. When the standard version of the card organization is a new version compared with the standard version corresponding to the knowledge base, the knowledge base is updated based on the target domain and the target domain attribute value extracted by the natural language understanding technology, so that the automatic updating of the knowledge base is realized, the updating efficiency of the knowledge base is improved, and the problems of low efficiency and easy error caused by manual reading, understanding and updating of the knowledge base are solved.
The embodiment of the application provides an electronic device suitable for the method embodiment. And will not be described in detail herein.
The present application provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the method shown in the above embodiments is implemented.
The embodiment of the application provides a computer-readable storage medium, and compared with the prior art that the card organization specification is read and understood manually and the knowledge base is updated, the method and the device for updating the card organization specification acquire the version information of the specification document issued by a third party and acquire the version information of the specification document corresponding to the knowledge base; determining whether the knowledge base needs to be updated or not based on the version information of the canonical document published by a third party and the version information of the canonical document corresponding to the knowledge base; if the updating is needed, extracting a target domain and a target domain attribute value based on a natural language understanding technology; and updating the knowledge base based on the extracted target domain and the target domain attribute value. When the standard version of the card organization is a new version compared with the standard version corresponding to the knowledge base, the knowledge base is updated based on the target domain and the target domain attribute value extracted by the natural language understanding technology, so that the automatic updating of the knowledge base is realized, the updating efficiency of the knowledge base is improved, and the problems of low efficiency and easy error caused by manual reading, understanding and updating of the knowledge base are solved.
The embodiment of the application provides a computer-readable storage medium which is suitable for the method embodiment. And will not be described in detail herein.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
The foregoing is only a partial embodiment of the present application, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present application, and these modifications and decorations should also be regarded as the protection scope of the present application.
Claims (10)
1. A method for updating a knowledge base, comprising:
acquiring version information of a specification document released by a third party and acquiring version information of the specification document corresponding to a knowledge base;
determining whether the knowledge base needs to be updated or not based on the version information of the canonical document published by a third party and the version information of the canonical document corresponding to the knowledge base;
if the updating is needed, extracting a target domain and a target domain attribute value based on a natural language understanding technology;
and updating the knowledge base based on the extracted target domain and the target domain attribute value.
2. The method of claim 1, further comprising:
judging whether the target domain exists in the knowledge base or not;
if the target domain does not exist, further judging whether the target domain is in the input range of the knowledge base;
and if the target domain is in the input range of the knowledge base, updating the knowledge base based on the target domain and the attribute value of the target domain.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
judging whether the target domain exists in the knowledge base or not;
and if the knowledge base has the target domain, updating the knowledge base based on the target attribute value of the target domain of the canonical document published by the third party.
4. The method of claim 1, wherein obtaining version information of a specification document published by a third party comprises:
performing region identification on the version information of the standard document released by the third party, and determining the region information where the version information is located;
and performing character recognition based on the region information determined by recognition, and determining the version information of the standard document released by the third party.
5. The method of claim 1, further comprising:
acquiring a changed target domain and target domain attribute information, wherein the changed target domain comprises a newly added target domain and a target domain with a changed attribute value;
and comparing and displaying the changed target domain and the target domain attribute information before and after the change.
6. A knowledge base updating apparatus, comprising:
the first acquisition module is used for acquiring the version information of the standard document released by a third party and acquiring the version information of the standard document corresponding to the knowledge base;
the determining module is used for determining whether the knowledge base needs to be updated or not based on the version information of the canonical document published by the third party and the version information of the canonical document corresponding to the knowledge base;
the extraction module is used for extracting the target domain and the attribute value of the target domain based on the natural language understanding technology if the updating is needed;
and the updating module is used for updating the knowledge base based on the extracted target domain and the target domain attribute value.
7. The method of claim 6, wherein the apparatus further comprises:
the first judging module is used for judging whether the target domain exists in the knowledge base or not;
the second judgment module is used for further judging whether the target domain is in the input range of the knowledge base if the target domain does not exist;
the updating module is specifically configured to update the knowledge base based on the target domain and the attribute value of the target domain if the target domain is in the entry range of the knowledge base.
8. The apparatus of claim 6 or 7, further comprising:
the third judging module is used for judging whether the target domain exists in the knowledge base or not;
the updating module is specifically configured to update the knowledge base based on a target attribute value of a target domain of a canonical document published by a third party if the knowledge base has the target domain.
9. An electronic device, comprising:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to: performing the knowledge base updating method according to any one of claims 1 to 5.
10. A computer-readable storage medium for storing computer instructions which, when executed on a computer, cause the computer to perform the method of knowledge base update of any of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010569853.2A CN111898759A (en) | 2020-06-20 | 2020-06-20 | Knowledge base updating method and device, electronic equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010569853.2A CN111898759A (en) | 2020-06-20 | 2020-06-20 | Knowledge base updating method and device, electronic equipment and readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111898759A true CN111898759A (en) | 2020-11-06 |
Family
ID=73206835
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010569853.2A Pending CN111898759A (en) | 2020-06-20 | 2020-06-20 | Knowledge base updating method and device, electronic equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111898759A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112800181A (en) * | 2021-02-08 | 2021-05-14 | 深圳追一科技有限公司 | Text retrieval method and device, computer equipment and storage medium |
CN115841865A (en) * | 2023-02-16 | 2023-03-24 | 南京大经中医药信息技术有限公司 | Information extraction control system for traditional Chinese medicine knowledge base |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5341469A (en) * | 1991-05-13 | 1994-08-23 | Arcom Architectural Computer Services, Inc. | Structured text system |
CN1711766A (en) * | 2002-11-14 | 2005-12-21 | Lg电子株式会社 | Electronic document versioning method and updated document supply method using version number based on XML |
CN101127051A (en) * | 2007-09-29 | 2008-02-20 | 腾讯科技(深圳)有限公司 | Document synchronization method and system |
CN110377704A (en) * | 2019-07-22 | 2019-10-25 | 北京百度网讯科技有限公司 | Detection method, device and the computer equipment of data consistency |
CN111309867A (en) * | 2020-02-18 | 2020-06-19 | 北京航空航天大学 | Knowledge base dynamic updating method |
-
2020
- 2020-06-20 CN CN202010569853.2A patent/CN111898759A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5341469A (en) * | 1991-05-13 | 1994-08-23 | Arcom Architectural Computer Services, Inc. | Structured text system |
CN1711766A (en) * | 2002-11-14 | 2005-12-21 | Lg电子株式会社 | Electronic document versioning method and updated document supply method using version number based on XML |
CN101127051A (en) * | 2007-09-29 | 2008-02-20 | 腾讯科技(深圳)有限公司 | Document synchronization method and system |
CN110377704A (en) * | 2019-07-22 | 2019-10-25 | 北京百度网讯科技有限公司 | Detection method, device and the computer equipment of data consistency |
CN111309867A (en) * | 2020-02-18 | 2020-06-19 | 北京航空航天大学 | Knowledge base dynamic updating method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112800181A (en) * | 2021-02-08 | 2021-05-14 | 深圳追一科技有限公司 | Text retrieval method and device, computer equipment and storage medium |
CN115841865A (en) * | 2023-02-16 | 2023-03-24 | 南京大经中医药信息技术有限公司 | Information extraction control system for traditional Chinese medicine knowledge base |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108647357B (en) | Data query method and device | |
CN102129425B (en) | The access method of big object set table and device in data warehouse | |
CN102110102A (en) | Data processing method and device, and file identifying method and tool | |
CN111898759A (en) | Knowledge base updating method and device, electronic equipment and readable storage medium | |
CN111159982A (en) | Document editing method and device, electronic equipment and computer readable storage medium | |
CN110232156B (en) | Information recommendation method and device based on long text | |
CN115114232A (en) | Method, device and medium for enumerating historical version objects | |
CN107169767B (en) | Transaction processing method and system | |
CN116560629A (en) | Serialization method, device, medium and equipment for data transmission object | |
CN115983208A (en) | Document conversion method and electronic equipment | |
CN115269548A (en) | Method and system for generating data warehouse development model and related equipment | |
US9106423B1 (en) | Using positional analysis to identify login credentials on a web page | |
CN111610908B (en) | Method for generating frame diagram, computer equipment and readable storage medium | |
CN114153461A (en) | Script processing method and device, electronic equipment and storage medium | |
CN112990466A (en) | Redundancy rule detection method and device and server | |
CN112685013A (en) | CSS code optimization method based on front-end vue project and related equipment | |
CN107479910B (en) | Document repairing method, system, readable storage medium and computer equipment | |
CN112817931A (en) | Method and device for generating incremental version file | |
CN112783751A (en) | Incremental code scanning method and device, electronic equipment and storage medium | |
CN111897712A (en) | Test case generation method and device, electronic equipment and readable storage medium | |
CN112445461B (en) | Business rule generation method and device, electronic equipment and readable storage medium | |
CN110941604B (en) | Data storage method and device | |
CN117891499A (en) | Data processing method, data processing device, computer readable storage medium and electronic equipment | |
CN116842084A (en) | Data query method, device and storage medium in cloud environment | |
CN116610669A (en) | Processing method and device for power service data and computer 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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20220926 Address after: 25 Financial Street, Xicheng District, Beijing 100033 Applicant after: CHINA CONSTRUCTION BANK Corp. Address before: 25 Financial Street, Xicheng District, Beijing 100033 Applicant before: CHINA CONSTRUCTION BANK Corp. Applicant before: Jianxin Financial Science and Technology Co.,Ltd. |