CN113987113A - Multi-site naming service fusion method and device, storage medium and server - Google Patents
Multi-site naming service fusion method and device, storage medium and server Download PDFInfo
- Publication number
- CN113987113A CN113987113A CN202110710567.8A CN202110710567A CN113987113A CN 113987113 A CN113987113 A CN 113987113A CN 202110710567 A CN202110710567 A CN 202110710567A CN 113987113 A CN113987113 A CN 113987113A
- Authority
- CN
- China
- Prior art keywords
- name
- behavior
- action
- alignment
- legal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/3331—Query processing
- G06F16/334—Query execution
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/25—Fusion techniques
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Life Sciences & Earth Sciences (AREA)
- Databases & Information Systems (AREA)
- Computational Linguistics (AREA)
- Artificial Intelligence (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a multi-site naming service fusion method, a multi-site naming service fusion device, a storage medium and a server; wherein the method comprises the following steps: s1: acquiring a legal behavior text to be named; s2: automatically converting the legal action text to be named into a first legal action text and a second legal action text … … Nth legal action text which are respectively supported by N name-designating servers; the N is more than or equal to 2; s3: the N name-assigning servers output first action names and second action names … … and N action names according to the first legal action text and the N legal action text … … supported by the N name-assigning servers respectively; s4: performing action name alignment processing on the first action name and the second action name … … Nth action name to obtain a first alignment action name and a second alignment action name … … Nth alignment action name; s5: and automatically fusing and outputting the specification behavior names according to the first alignment behavior name and the second alignment behavior name … …. The invention solves the problem that the behavior name forms of different levels and different granularities are difficult to fuse when being output, and achieves the purpose of intelligent name-fixing judgment.
Description
Technical Field
The invention relates to the technical field of legal action naming, in particular to a multi-site naming service fusion method and device, a storage medium and a server.
Background
The computer naming quantitative service is applied to judicial practice as an artificial intelligent law tool, and can provide reference for judicial judgment so as to improve efficiency. Currently, sites supporting naming service are widely deployed in public networks, and naming algorithms and dependent training data sets adopted by each naming service site may be different, so that final naming results are not identical. In order to improve accuracy, when a user needs to name a certain legal behavior fact, the name-assigning service provided by two or more sites can be used, and the name-assigning results are fused.
However, the current convergence of multi-source naming service has the following obstacles and disadvantages:
firstly, the requirements for text input of legal action facts are different:
in general, the nomination service server requests to enter a textual description of a legal action fact, but other servers may request to enter a structured official document, a prosecution document, or a prosecution comment from a police officer. In actual use, users have difficulty in knowing the input format requirements of each server, and usually only use text in a certain format familiar or available to the users as input, but do not manually convert the format according to the format requirements of the servers.
Secondly, the output format of the behavior name is not standard:
the method for realizing the name server is different, the behavior name output is random, and the method mainly comprises the following steps:
1. the form of text output by the action name is different
For the same action name, the texts output by different servers are different, for example, some servers use 'kidnapping', and some servers use 'kidnapping actions'; some servers have added specific symbols, such as "[ counterfeit, altered, buy and sell ] organs [ official documents, certificates, stamps ] for facilitating subsequent information processing, and entities in parallel relation are enclosed by brackets.
2. The number of supported behavior names is different
Some servers only implement automatic naming of full action names, and others only support some common action names. And the name-setting fusion cannot be realized for the behavior names which are not supported by the server.
3. Granularity of action names
Different levels, different granularities of behavior name forms result in difficulties in fusing at the output.
Disclosure of Invention
The technical problem to be solved by the invention is how to automatically adapt to different servers under the condition that a user provides a format input, and how to automatically merge and output a standard behavior name under the condition that the behavior names of all sites are output inconsistently, and the invention aims to provide a multi-site naming service merging method, a device, a storage medium and a server to solve the problems.
The invention is realized by the following technical scheme:
a multi-site naming service fusion method comprises the following steps:
s1: acquiring a legal behavior text to be named;
s2: automatically converting the legal action text to be named into a first legal action text and a second legal action text … … Nth legal action text which are respectively supported by N name-designating servers; the N is more than or equal to 2;
s3: the N name-assigning servers output first action names and second action names … … and N action names according to the first legal action text and the N legal action text … … supported by the N name-assigning servers respectively;
s4: performing action name alignment processing on the first action name and the second action name … … Nth action name to obtain a first alignment action name and a second alignment action name … … Nth alignment action name;
s5: and automatically fusing and outputting the specification behavior names according to the first alignment behavior name and the second alignment behavior name … ….
The method comprises the steps of receiving legal behavior texts input by a user, automatically converting the legal behavior texts into legal behavior texts supported by N naming servers, outputting a plurality of behavior names by the N naming servers according to the legal behavior texts supported by the N naming servers in a matching mode, uniformly identifying and naming the behavior names by adopting a URI identification system, and finally fusing and outputting recommended behavior names.
Further, in S5, the automatically fusing and outputting the canonical behavior name according to the first and second alignment behavior names … … and the nth alignment behavior name includes:
if the first alignment behavior name and the second alignment behavior name … … are the same behavior names or only one effectively returned behavior name, directly outputting the legal behavior name;
if different behavior names exist in the first alignment behavior name and the second alignment behavior name … …, and the N alignment behavior names exist in different behavior names, combining the behavior names based on the upper level behavior name, and outputting the upper level behavior name;
if different behavior names exist in the first alignment behavior name and the second alignment behavior name … …, and the nth alignment behavior name does not have the situation of different legal behavior name granularities, the recommended behavior name is output.
Further, in S4, the action name alignment processing on the first action name and the second action name … … nth action name is specifically to collectively express the first action name and the second action name … … nth action name in standardized text.
Further, the standardized text comprises text identified using a uniform resource identifier, URI.
Further, the outputting the recommended action name includes outputting the recommended action name by adopting a machine learning or voting method.
Further, in S1, the method further includes obtaining a training data set covering the full behavior name, and testing the input formats supported by the N named servers and the supported behavior names.
A multi-site naming service convergence device, comprising:
the acquisition module is used for acquiring a legal action text to be named;
the format conversion module is used for automatically converting the legal action text to be named into a first legal action text and a second legal action text … … Nth legal action text which are respectively supported by the N naming servers; the N is more than or equal to 2;
the behavior name acquisition module is used for outputting a first behavior name and a second behavior name … … (N th behavior name) by the N name servers according to the first legal behavior text and the N (N th) legal behavior text … … supported by the N name servers;
the behavior name alignment module is used for performing behavior name alignment processing on the first behavior name and the second behavior name … … Nth behavior name to obtain a first alignment behavior name and a second alignment behavior name … … Nth alignment behavior name;
and the behavior name fusion module is used for automatically fusing and outputting the standard behavior name according to the first alignment behavior name and the second alignment behavior name … ….
A computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements a multi-site naming service fusion method as described above.
A server, 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 applications configured to: the multi-site naming service fusion method is executed.
Compared with the prior art, the invention has the following advantages and beneficial effects:
the invention relates to a multi-site naming service fusion method, a multi-site naming service fusion device, a storage medium and a server, wherein legal behavior texts input by a user are received and automatically converted into legal behavior texts supported by N naming servers, the N naming servers output a plurality of behavior names in a matching manner according to the legal behavior texts supported by the N naming servers, then the behavior names are identified and named by uniformly adopting a URI identification system, and finally recommended behavior names are fused and output, so that the problem that behavior name forms of different levels and different granularities are difficult to fuse during output is solved, and the purpose of intelligent naming judgment is achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the embodiments of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the principles of the invention. In the drawings:
FIG. 1 is a flow chart of the multi-site naming service fusion method of the present invention;
FIG. 2 is a schematic flow chart of a multi-site naming data acquisition method according to the present invention;
FIG. 3 is a schematic view of the behavior name granularity merging and behavior name recommendation process according to the present invention;
FIG. 4 is a schematic illustration of feedback submitted to a nomination server in a variety of legal action document formats.
FIG. 5 is a schematic diagram of data submitted to a naming server for feedback in multiple action names.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to examples and accompanying drawings, and the exemplary embodiments and descriptions thereof are only used for explaining the present invention and are not meant to limit the present invention.
Examples
A multi-site naming service fusion method comprises the following steps:
s1: acquiring a legal behavior text to be named;
s2: automatically converting the legal action text to be named into a first legal action text and a second legal action text … … Nth legal action text which are respectively supported by N name-designating servers; the N is more than or equal to 2;
s3: the N name-assigning servers output first action names and second action names … … and N action names according to the first legal action text and the N legal action text … … supported by the N name-assigning servers respectively;
s4: performing action name alignment processing on the first action name and the second action name … … Nth action name to obtain a first alignment action name and a second alignment action name … … Nth alignment action name;
s5: and automatically fusing and outputting the specification behavior names according to the first alignment behavior name and the second alignment behavior name … ….
The automatically fusing and outputting the canonical behavior name according to the first alignment behavior name and the second alignment behavior name … …, the nth alignment behavior name includes:
if the first alignment behavior name and the second alignment behavior name … … are the same behavior names or only one effectively returned behavior name, directly outputting the legal behavior name;
if different behavior names exist in the first alignment behavior name and the second alignment behavior name … …, and the N alignment behavior names exist in different behavior names, combining the behavior names based on the upper level behavior name, and outputting the upper level behavior name;
if different behavior names exist in the first alignment behavior name and the second alignment behavior name … …, and the nth alignment behavior name does not have the situation of different legal behavior name granularities, the recommended behavior name is output.
In the step, if a plurality of name-specifying servers return the same legal behavior name or only one effective return is made, the legal behavior name is directly output; if the plurality of behavior names returned by the plurality of name-specifying servers are inconsistent and the granularity of the legal behavior names is different, merging the behavior names based on the upper-level behavior names and outputting the upper-level behavior names; and if the action names returned by the plurality of name-identifying servers are inconsistent and the condition that the granularity of the legal action names is different does not exist, outputting the recommended action name by adopting a machine learning or voting method.
The invention adopts the hierarchy numbering to solve the problem of inconsistent granularity of the behavior names; for example: the law of criminal law is hierarchically marked according to 4 levels of 'editing, stamping, writing and withdrawing', the middles of the law are connected by a '. An', taking the 103 th law of criminal law as an example, and 'X.2.1.103.2' represents 'the 2 nd law, the 1 st stamping, the 103 th law and the 2 nd withdrawing'. The behavior names of different granularities, as shown in table 1:
the action name alignment processing of the first action name and the second action name … … is specifically to uniformly express the first action name and the second action name … … as the nth action name by standardized texts. The standardized text comprises text identified using a uniform resource identifier, URI.
The law/action names in criminal law are named by uniform resource identifiers URIs, each clause has a unique identification number, and the identification system can use but is not limited to Guid, Handle, DOI, or local URI identification, such as: "LAW 0000251" with the number of the running letter added.
And outputting the recommended behavior name comprises outputting the recommended behavior name by adopting a machine learning or voting method.
In S1, the method further includes acquiring a training data set covering the full behavior name, and testing the input formats and the supported behavior names supported by the N named servers, where the method includes: (1) input formats supported/unsupported by the automark server: as shown in fig. 4, the site is submitted in various formats such as legal action facts, official documents, and prosecution, and the input format supported by the site is determined according to the returned result and is recorded in the named site knowledge base. (2) Auto-mark server supported/unsupported action name: as shown in fig. 5, the data of each behavior name is submitted to the site, which behavior names are supported/not supported by the site are determined according to the statistical data of the returned results, and the data are recorded in the named site knowledge base.
A multi-site naming service convergence device, comprising:
the acquisition module is used for acquiring a legal action text to be named;
the format conversion module is used for automatically converting the legal action text to be named into a first legal action text and a second legal action text … … Nth legal action text which are respectively supported by the N naming servers; the N is more than or equal to 2;
the behavior name acquisition module is used for outputting a first behavior name and a second behavior name … … (N th behavior name) by the N name servers according to the first legal behavior text and the N (N th) legal behavior text … … supported by the N name servers;
the behavior name alignment module is used for performing behavior name alignment processing on the first behavior name and the second behavior name … … Nth behavior name to obtain a first alignment behavior name and a second alignment behavior name … … Nth alignment behavior name;
and the behavior name fusion module is used for automatically fusing and outputting the standard behavior name according to the first alignment behavior name and the second alignment behavior name … ….
A computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the multi-site naming service fusion method described above.
A server, 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 applications configured to: and executing the multi-site naming service fusion method.
When a named service site is newly added, the service content and the service capability of the site are described by using a Resource Description Framework (RDF). The method comprises basic information of an IP (Internet protocol), a service port, a Web API (application program interface)/RESTful interface, an adopted algorithm, training data set scale, regions and the like of a site.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.
Claims (9)
1. A multi-site naming service fusion method is characterized by comprising the following steps:
s1: acquiring a legal behavior text to be named;
s2: automatically converting the legal action text to be named into a first legal action text and a second legal action text … … Nth legal action text which are respectively supported by N name-designating servers; said N is greater than or equal to 2;
s3: the N name-assigning servers output first action names and second action names … … and N action names according to the first legal action text and the N legal action text … … supported by the N name-assigning servers respectively;
s4: performing action name alignment processing on the first action name and the second action name … … Nth action name to obtain a first alignment action name and a second alignment action name … … Nth alignment action name;
s5: and automatically fusing and outputting the specification behavior names according to the first alignment behavior name and the second alignment behavior name … ….
2. The method as claimed in claim 1, wherein in S5, the automatically merging and outputting canonical behavior names according to the first and second aligned behavior names … … N-th aligned behavior names includes:
if the first alignment behavior name and the second alignment behavior name … … are the same behavior names or only one effectively returned behavior name, directly outputting the legal behavior name;
if different behavior names exist in the first alignment behavior name and the second alignment behavior name … …, and the N alignment behavior names exist in different behavior names, combining the behavior names based on the upper level behavior name, and outputting the upper level behavior name;
if different behavior names exist in the first alignment behavior name and the second alignment behavior name … …, and the nth alignment behavior name does not have the situation of different legal behavior name granularities, the recommended behavior name is output.
3. The method as claimed in claim 2, wherein in S4, the action name alignment process performed on the first action name and the second action name … … and the nth action name is to uniformly represent the first action name and the second action name … … and the nth action name in standardized texts.
4. The method of claim 3, wherein the standardized text comprises text identified using a Uniform Resource Identifier (URI).
5. The method as claimed in claim 2, wherein the outputting the recommended action name includes outputting the recommended action name by machine learning or voting.
6. The method for fusing the multi-site naming service as claimed in claim 1, wherein the step S1 further includes obtaining a training data set covering the full behavior name, and testing the input formats supported by the N naming servers and the supported behavior names.
7. A multi-site naming service convergence device, comprising:
the acquisition module is used for acquiring a legal action text to be named;
the format conversion module is used for automatically converting the legal action text to be named into a first legal action text and a second legal action text … … Nth legal action text which are respectively supported by the N naming servers; the N is more than or equal to 2;
the behavior name acquisition module is used for outputting a first behavior name and a second behavior name … … (N th behavior name) by the N name servers according to the first legal behavior text and the N (N th) legal behavior text … … supported by the N name servers;
the behavior name alignment module is used for performing behavior name alignment processing on the first behavior name and the second behavior name … … Nth behavior name to obtain a first alignment behavior name and a second alignment behavior name … … Nth alignment behavior name;
and the behavior name fusion module is used for automatically fusing and outputting the standard behavior name according to the first alignment behavior name and the second alignment behavior name … ….
8. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method of multi-site naming service convergence according to any one of claims 1 to 6.
9. A server, characterized in that it comprises:
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 applications configured to: a method of performing the multi-site naming service convergence according to any of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110710567.8A CN113987113B (en) | 2021-06-25 | 2021-06-25 | Multi-station naming service fusion method, device, storage medium and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110710567.8A CN113987113B (en) | 2021-06-25 | 2021-06-25 | Multi-station naming service fusion method, device, storage medium and server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113987113A true CN113987113A (en) | 2022-01-28 |
CN113987113B CN113987113B (en) | 2023-09-22 |
Family
ID=79734994
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110710567.8A Active CN113987113B (en) | 2021-06-25 | 2021-06-25 | Multi-station naming service fusion method, device, storage medium and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113987113B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107704474A (en) * | 2016-08-08 | 2018-02-16 | 华为技术有限公司 | Attribute alignment schemes and device |
CN109308311A (en) * | 2018-09-05 | 2019-02-05 | 广州小楠科技有限公司 | A kind of multi-source heterogeneous data fusion system |
CN111581976A (en) * | 2020-03-27 | 2020-08-25 | 平安医疗健康管理股份有限公司 | Method and apparatus for standardizing medical terms, computer device and storage medium |
CN111696635A (en) * | 2020-05-13 | 2020-09-22 | 平安科技(深圳)有限公司 | Disease name standardization method and device |
CN112084781A (en) * | 2020-09-10 | 2020-12-15 | 腾讯科技(深圳)有限公司 | Standard term determination method, device and storage medium |
CN112183100A (en) * | 2020-10-12 | 2021-01-05 | 浪潮天元通信信息***有限公司 | Multi-source homonymous expert disambiguation method |
CN112417214A (en) * | 2020-11-02 | 2021-02-26 | 中关村科学城城市大脑股份有限公司 | Fusion method and system for multi-source heterogeneous data of urban brain scene |
-
2021
- 2021-06-25 CN CN202110710567.8A patent/CN113987113B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107704474A (en) * | 2016-08-08 | 2018-02-16 | 华为技术有限公司 | Attribute alignment schemes and device |
CN109308311A (en) * | 2018-09-05 | 2019-02-05 | 广州小楠科技有限公司 | A kind of multi-source heterogeneous data fusion system |
CN111581976A (en) * | 2020-03-27 | 2020-08-25 | 平安医疗健康管理股份有限公司 | Method and apparatus for standardizing medical terms, computer device and storage medium |
CN111696635A (en) * | 2020-05-13 | 2020-09-22 | 平安科技(深圳)有限公司 | Disease name standardization method and device |
CN112084781A (en) * | 2020-09-10 | 2020-12-15 | 腾讯科技(深圳)有限公司 | Standard term determination method, device and storage medium |
CN112183100A (en) * | 2020-10-12 | 2021-01-05 | 浪潮天元通信信息***有限公司 | Multi-source homonymous expert disambiguation method |
CN112417214A (en) * | 2020-11-02 | 2021-02-26 | 中关村科学城城市大脑股份有限公司 | Fusion method and system for multi-source heterogeneous data of urban brain scene |
Non-Patent Citations (3)
Title |
---|
HAI-YUN XU, ET AL: "Multi-source data fusion study in scientometrics" * |
温书豪,黄学军等: "刑事案件上诉原因文本挖掘--基于二审文书数据" * |
潘亚宁: "基于融合多源信息的知识图谱表示学习研究" * |
Also Published As
Publication number | Publication date |
---|---|
CN113987113B (en) | 2023-09-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105243086B (en) | Vehicle information query method and device | |
CN103246963B (en) | Based on the staffs training system of Internet of Things | |
CN101482875A (en) | Information query method and apparatus | |
CN107870989A (en) | webpage generating method and terminal device | |
CN111309868B (en) | Knowledge graph construction and retrieval method and device | |
CN105554169A (en) | OID configuration and analytic methods, ORS client, and OID node and database thereof | |
TWI289261B (en) | System and method for dynamically generating a HTTP query | |
CN113486187A (en) | Buddhism knowledge graph construction method, device, equipment and storage medium | |
CN115409490A (en) | Project management system and method based on intelligent park | |
US20190362442A1 (en) | System and method for prediction of email addresses of certain individuals and verification thereof | |
CN107832342B (en) | Robot chatting method and system | |
CN113987113A (en) | Multi-site naming service fusion method and device, storage medium and server | |
CN103092982A (en) | Information service system based on multiple-view business model | |
CN110457527B (en) | XML message comparison method and system | |
CN115952770B (en) | Data standardization processing method and device, electronic equipment and storage medium | |
CN112200465A (en) | Electric power AI method and system based on multimedia information intelligent analysis | |
CN112948474B (en) | Data export method, device, equipment and computer readable storage medium | |
CN111913821B (en) | Method for realizing cross-data-source real-time data stream production consumption | |
Ivanovic et al. | Improving dissemination of human knowledge by exporting data from research information systems | |
Shil et al. | Additional Functionalities to SOAP, WSDL and UDDI for a Better Web Services' Administration | |
CN116739675B (en) | Advertisement intelligent pushing method based on big data | |
CN115396525B (en) | Data interaction method and device based on service template mapping | |
Alzahrani et al. | What metadata is needed for semantic and data mappings? | |
CN113065078B (en) | Statistical analysis method for simulating user behavior to dial and test multistage domain names of WEB sites | |
CN116932711A (en) | Work order processing method, device, equipment and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |