CN108255877A - The storage method and device of judgement document - Google Patents

The storage method and device of judgement document Download PDF

Info

Publication number
CN108255877A
CN108255877A CN201611249945.2A CN201611249945A CN108255877A CN 108255877 A CN108255877 A CN 108255877A CN 201611249945 A CN201611249945 A CN 201611249945A CN 108255877 A CN108255877 A CN 108255877A
Authority
CN
China
Prior art keywords
information
judgement document
stored
digital coding
corresponding digital
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
Application number
CN201611249945.2A
Other languages
Chinese (zh)
Other versions
CN108255877B (en
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.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum 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 Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201611249945.2A priority Critical patent/CN108255877B/en
Publication of CN108255877A publication Critical patent/CN108255877A/en
Application granted granted Critical
Publication of CN108255877B publication Critical patent/CN108255877B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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

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)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses the storage methods and device of a kind of judgement document.Wherein, this method includes:Obtain judgement document to be stored;Judgement document to be stored is parsed, obtains multiple key messages of judgement document to be stored;Coded combination is carried out to multiple key messages, obtains the identification information of judgement document to be stored;Based on identification information, judgement document to be stored is stored.The technical issues of storage method that the present invention solves judgement document of the prior art stores according to judgement document's Reference Number, causes same piece document that may store more parts in the database, waste storage resource.

Description

The storage method and device of judgement document
Technical field
The present invention relates to internet arena, in particular to the storage method and device of a kind of judgement document.
Background technology
Judgement document describes people's court's hearing process and as a result, it is carrier and the people of lawsuit action result Law court determines and distributes the exclusive evidence of party's substantive right obligation.The sanction that a structural integrity, element are complete, logic is rigorous Sentence document, be both party enjoy rights and bear obligation voucher and higher level people's court supervision the People's Courts at lower levels people The important evidence of thing trial procedure.Document is appeared on network, and law related personnel is not only facilitated to be searched, while also right The universal of law plays very big popularizing action.Usually all it is the ID or UUID that each document is assigned to a numeric type (Universally Unique Identifier, Universally Unique Identifier's writes a Chinese character in simplified form) or unique mark is used as using Reference Number Show.
It is no doubt efficient using number or UUID storages, but when the new document of a batch needs to be stored to database, Can not judge whether document is already present in database, this this may result in same piece document stored in database it is more Part, resource is not only wasted, but also be inconvenient to retrieve.And number can be solved really in any case by being stored using Reference Number The problem of according to repeating, but it is analogous to " (2012) breathe out punishment just word the 1st ", " (2012) breathe out punishment just word the 001st " so originally It is exactly same piece document, but the slightly differentiated data of Reference Number, still there is the problem of repetition.Moreover, Reference Number is being used to make When uniquely to indicate, when new document needs to be stored to database, need to traverse the Reference Number of entire database to sentence The Reference Number of breaking whether there is, and efficiency is extremely low.
It is stored for the storage method of judgement document of the prior art according to judgement document's Reference Number, leads to same piece document The problem of more parts may be stored in the database, waste storage resource, currently no effective solution has been proposed.
Invention content
An embodiment of the present invention provides the storage methods and device of a kind of judgement document, of the prior art at least to solve The storage method of judgement document is stored according to judgement document's Reference Number, causes same piece document that may store more parts in the database, The technical issues of wasting storage resource.
One side according to embodiments of the present invention provides a kind of storage method of judgement document, including:It obtains and waits to deposit The judgement document of storage;Judgement document to be stored is parsed, obtains multiple key messages of judgement document to be stored;It is right Multiple key messages carry out coded combination, obtain the identification information of judgement document to be stored;Based on identification information, to be stored Judgement document stored.
Further, multiple key messages include at least one of following:Year information, judicial procedure information, number information, Case type information and law court's information.
Further, coded combination is carried out to multiple key messages, obtains the identification information packet of judgement document to be stored It includes:Obtain the corresponding digital coding of each key message;According to preset order, to the corresponding digital coding of each key message into Row sequence, obtains identification information.
Further, the corresponding digital coding of each key message is obtained including at least one of following:Obtain year information Corresponding digital coding;Obtain the corresponding digital coding of judicial procedure information;Obtain the corresponding digital coding of number information;It obtains The corresponding digital coding of case type information;Obtain the corresponding digital coding of law court's information.
Further, the corresponding digital coding of number information is obtained to include:Sentence successively according to the order from a high position to low level Whether each bit digital in disconnected number information is 0;Obtain the institute since first judges not as 0 number in number information There is number, the number information that obtains that treated;According to treated, number information obtains the corresponding digital coding of number information.
Further, based on identification information, storage is carried out to judgement document to be stored and is included:In searching data library whether It is present in the identical identification information of identification information;If there is no the identification informations that identification information is identical in database, will mark Know information and judgement document to be stored is stored into database.
Another aspect according to embodiments of the present invention additionally provides a kind of storage device of judgement document, including:It obtains single Member, for obtaining judgement document to be stored;Resolution unit for parsing judgement document to be stored, obtains waiting to deposit Multiple key messages of the judgement document of storage;Assembled unit for carrying out coded combination to multiple key messages, obtains to be stored Judgement document identification information;Storage unit for being based on identification information, stores judgement document to be stored.
Further, multiple key messages include at least one of following:Year information, judicial procedure information, number information, Case type information and law court's information.
Further, assembled unit includes:Acquisition module, for obtaining the corresponding digital coding of each key message;Row Sequence module, for according to preset order, being ranked up to the corresponding digital coding of each key message, obtaining identification information.
Further, acquisition module includes at least one of following:First acquisition submodule corresponds to for obtaining year information Digital coding;Second acquisition submodule, for obtaining the corresponding digital coding of judicial procedure information;Third acquisition submodule, For obtaining the corresponding digital coding of number information;4th acquisition submodule, for obtaining the corresponding number of case type information Coding;5th acquisition submodule, for obtaining the corresponding digital coding of law court's information.
Further, third acquisition submodule includes:Judge baryon module, for according to the order from a high position to low level according to Whether the secondary each bit digital judged in the number information is 0;First obtains baryon module, for obtaining the number information In all numbers since first judges not as 0 number, the number information that obtains that treated;Second obtains baryon mould Block obtains the corresponding digital coding of the number information according to treated the number information.
Further, storage unit includes:Searching module is identical in identification information for whether there is in searching data library Identification information;Memory module, if for the identical identification information of identification information to be not present in database, by identification information It is stored with judgement document to be stored into database.
In embodiments of the present invention, judgement document to be stored is obtained, judgement document to be stored is parsed, is obtained Multiple key messages of judgement document to be stored carry out coded combination to multiple key messages, obtain judge's text to be stored The identification information of book based on identification information, stores judgement document to be stored.It is easily noted that, is getting After judgement document to be stored, judgement document is parsed first, obtains the key message that judgement document includes, it is then right Key message carries out coded combination, obtains the identification information of the judgement document, since identification information is made of number, so as to solve The storage method of judgement document of the prior art is stored according to judgement document's Reference Number, leads to same piece document in the database The technical issues of more parts may be stored, waste storage resource.Therefore, the scheme provided through the embodiment of the present invention can reach Repeated data is removed, resource utilization is reduced, improves the effect of storage efficiency, further achieve the effect that quick-searching.
Description of the drawings
Attached drawing described herein is used to provide further understanding of the present invention, and forms the part of the application, this hair Bright illustrative embodiments and their description do not constitute improper limitations of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart of the storage method of judgement document according to embodiments of the present invention;
Fig. 2 is a kind of schematic diagram of the storage device of judgement document according to embodiments of the present invention;
Fig. 3 is a kind of schematic diagram of the storage device of optional judgement document according to embodiments of the present invention;
Fig. 4 is a kind of schematic diagram of the storage device of optional judgement document according to embodiments of the present invention;
Fig. 5 is a kind of schematic diagram of the storage device of optional judgement document according to embodiments of the present invention;And
Fig. 6 is a kind of schematic diagram of the storage device of optional judgement document according to embodiments of the present invention.
Specific embodiment
In order to which those skilled in the art is made to more fully understand the present invention program, below in conjunction in the embodiment of the present invention The technical solution in the embodiment of the present invention is clearly and completely described in attached drawing, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people Member's all other embodiments obtained without making creative work should all belong to the model that the present invention protects It encloses.
It should be noted that term " first " in description and claims of this specification and above-mentioned attached drawing, " Two " etc. be the object for distinguishing similar, and specific sequence or precedence are described without being used for.It should be appreciated that it uses in this way Data can be interchanged in the appropriate case, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment Those steps or unit clearly listed, but may include not listing clearly or for these processes, method, product Or the intrinsic other steps of equipment or unit.
First, description below is suitable for the part noun or term that occur in the embodiment of the present application:
Judgement document:Judgement document is to record people's court's hearing process and as a result, it is the carrier of lawsuit action result, And people's court determines and distributes the only voucher of party's substantive right obligation.
Database ID:Usually as major key, major key is existing to be acted on:It is not in repetition to ensure the data in a table Row.Individual a line record is quoted in queries.
UUID:UUID refers to the number generated on a machine, it ensures to aerial all machines when same all It is unique.
Embodiment 1
According to embodiments of the present invention, the storage method embodiment of judgement document a kind of is provided, it should be noted that attached The step of flow of figure illustrates can perform in the computer system of such as a group of computer-executable instructions, though also, So show logical order in flow charts, but in some cases, can be performed with the sequence being different from herein shown by Or the step of description.
Fig. 1 is a kind of flow chart of the storage method of judgement document according to embodiments of the present invention, as shown in Figure 1, the party Method includes the following steps:
Step S102 obtains judgement document to be stored.
Step S104 parses judgement document to be stored, obtains multiple crucial letters of judgement document to be stored Breath.
Optionally, in the above embodiment of the present invention, multiple key messages include at least one of following:Year information is examined Sentence program information, number information, case type information and law court's information.
Specifically, a judgement document contains the information such as Reference Number, law court, and Reference Number contains the time, docket, ground The information such as point, judicial procedure, with reference to the information of law court in document, it is possible to determine unique mark.That is work as number, year Part, place, case type, judicial procedure, when these information of law court are just as, document is exactly same piece document.Wherein, Judicial procedure can be first word, whole word and carry word, correspond to first trial respectively, last instance and bring a prisoner before the court;Case type can be it is capable, the people and Punishment corresponds to administrative class, civil class and criminal class respectively.
It, can be to judgement text when new judgement document needs to store to database in a kind of optional scheme Book is parsed, and obtains multiple key messages of judgement document, for example, breathing out punishment just word the using the Reference Number of judgement document as (2012) It is illustrated for No. 1, can obtain multiple key messages is respectively:Time is 2012, and law court is located at Harbin, case class Type is criminal case, and judicial procedure is first trial, and number is No. 1.
Step S106 carries out coded combination to multiple key messages, obtains the identification information of judgement document to be stored.
Specifically, above-mentioned identification information can be ID.
In a kind of optional scheme, digital coding can be carried out to each key message, obtain each key message pair The number answered, and number is combined the unique mark as the judgement document to get to the ID of the judgement document.
Step S108 based on identification information, stores judgement document to be stored.
In a kind of optional scheme, can according to the ID of obtained judgement document as the judgement document in the database The database ID of storage, and will be in judgement document storage to database.Due to being encoded to Reference Number, and all it is Number is respectively that (2012) breathe out punishment just two judgement documents of word the 1st and the first word the 001st of (2012) Kazakhstan punishment for Reference Number, Although the Reference Number of two documents is different, the identification information after corresponding coded combination is identical, it can thus be avoided judge's text The problem of book repeats to store.Further, stored in judgement document to after database, when need to a certain piece judgement document into During row retrieval, since identification information is made of number, is retrieved by identification information, retrieval rate can be improved.
According to the above embodiment of the present invention, judgement document to be stored is obtained, judgement document to be stored is parsed, Multiple key messages of judgement document to be stored are obtained, coded combination is carried out to multiple key messages, obtains sanction to be stored Sentence the identification information of document, based on identification information, judgement document to be stored is stored.It is easily noted that, is obtaining After getting judgement document to be stored, judgement document is parsed first, obtains the key message that judgement document includes, so Coded combination is carried out to key message afterwards, obtains the identification information of the judgement document, since identification information is made of number, so as to The storage method for solving judgement document of the prior art is stored according to judgement document's Reference Number, leads to same piece document in data The technical issues of more parts may be stored in library, wastes storage resource.Therefore, the scheme provided by the above embodiment of the present invention, Removal repeated data can be reached, reduce resource utilization, improve the effect of storage efficiency, further reach the effect of quick-searching Fruit.
Optionally, in the above embodiment of the present invention, step S106 carries out coded combination to multiple key messages, obtains The identification information of judgement document to be stored includes:
Step S1062 obtains the corresponding digital coding of each key message.
In a kind of optional scheme, before being stored to judgement document, each key message can be preset Corresponding digital coding after any one key message is got, can inquire the corresponding number of the key message and compile Code for example, for judgement document of the Reference Number for the first word the 7th of (2010) high row, can obtain the Supreme People's Court and be encoded to 0001, administrative case 01, first trial 01, number is No. 7, and the time is 2010.
Step S1064 according to preset order, is ranked up the corresponding digital coding of each key message, is identified Information.
Specifically, above-mentioned preset order can be the sequence of time, law court, case type, judicial procedure and number.
It, can be by multiple numbers after the corresponding digital coding of each key message is obtained in a kind of optional scheme Word coding is ranked up according to preset order, obtains final ID, for example, it is assumed that the Supreme People's Court is encoded to 0001, administration Case is 01, first trial 01, and number is No. 7, and the time is 2010, according to time, law court, case type, judicial procedure and volume Number sequence be ranked up after, obtained ID is 2010000101017.
Optionally, in the above embodiment of the present invention, step S1062 obtains the corresponding digital coding of each key message Including at least one of following:
Step S10620 obtains the corresponding digital coding of year information.
In a kind of optional scheme, the year information in judgement document can be extracted, for example the time is extracted from Reference Number Information, as the corresponding digital coding of year information, for example, 2012.
Step S10622 obtains the corresponding digital coding of judicial procedure information.
In a kind of optional scheme, can the trial journey of the judgement document be obtained according to the digital coding made an appointment The digital coding of sequence, for example, first trial can about be set to 01, last instance can about be set to 02, and 03 can be about set to by bringing a prisoner before the court.
Step S10624 obtains the corresponding digital coding of number information.
In a kind of optional scheme, duplicate removal processing can be carried out to the number of judgement document, for example, by No. 001,002 Number such number is uniformly converted to No. 1, No. 2.
Step S10626 obtains the corresponding digital coding of case type information.
In a kind of optional scheme, can the case class of the judgement document be obtained according to the digital coding made an appointment The digital coding of type, for example, administrative case can about be set to 01, civil case can about be set to 02, and criminal case can arrange It is 03.
Step S10628 obtains the corresponding digital coding of law court's information.
In a kind of optional scheme, can digital coding be carried out to 3500, whole nation law court in advance, according to predetermined in advance Digital coding, the digital coding of law court's information of the judgement document can be obtained.
Optionally, in the above embodiment of the present invention, step S10624 obtains the corresponding digital coding packet of number information It includes:
Step S112 judges whether is each bit digital in the number information successively according to the order from a high position to low level It is 0.
Specifically, preset value except zero can also be set.
Step S114 obtains all numbers since first judges not as 0 number in the number information, obtains Number information that treated.Step S116 obtains the corresponding number of the number information according to treated the number information Coding.
By traversing each bit digital of number information, judge whether each bit digital is 0, is determined first in number information Position be 0 number, obtain number information in first for 0 number start all numbers, obtaining duplicate removal, treated Number information, and using duplicate removal treated number information as the corresponding digital coding of number information, for example, for number 001, It can determine that first number not for 0 is 1, obtain all numbers since 1 in number information, obtaining duplicate removal, treated Number 1 is to get to 001 corresponding digital coding of number.
Optionally, in the above embodiment of the present invention, step S108, based on identification information, to judgement document to be stored Storage is carried out to include:
Step S1082 whether there is the identification information identical with identification information in searching data library.
Step S1084 if there is no the identification informations that identification information is identical in database, by identification information and waits to deposit The judgement document of storage is stored into database.
In a kind of optional scheme, after Reference Number is encoded, data can be stored in using ID as unique identifier In library, when new judgement document needs storage, due to being encoded to Reference Number, dichotomy progress may be used It searches the judgement document whether there is, believe in searching data library with the presence or absence of the mark identical with the identification information of the judgement document Breath, if it does not, not storing the judgement document in database, then stores the judgement document into database;If it deposits That is, the judgement document is being stored in database, then is skipping storing process.
Embodiment 2
According to embodiments of the present invention, the storage device embodiment of judgement document a kind of is provided.
Fig. 2 is a kind of schematic diagram of the storage device of judgement document according to embodiments of the present invention, as shown in Fig. 2, the dress Put including:
Acquiring unit 21, for obtaining judgement document to be stored.
Resolution unit 23 for being parsed to judgement document to be stored, obtains the multiple of judgement document to be stored Key message.
Optionally, in the above embodiment of the present invention, multiple key messages include at least one of following:Year information is examined Sentence program information, number information, case type information and law court's information.
Specifically, a judgement document contains the information such as Reference Number, law court, and Reference Number contains the time, docket, ground The information such as point, judicial procedure, with reference to the information of law court in document, it is possible to determine unique mark.That is work as number, year Part, place, case type, judicial procedure, when these information of law court are just as, document is exactly same piece document.Wherein, Judicial procedure can be first word, whole word and carry word, correspond to first trial respectively, last instance and bring a prisoner before the court;Case type can be it is capable, the people and Punishment corresponds to administrative class, civil class and criminal class respectively.
It, can be to judgement text when new judgement document needs to store to database in a kind of optional scheme Book is parsed, and obtains multiple key messages of judgement document, for example, breathing out punishment just word the using the Reference Number of judgement document as (2012) It is illustrated for No. 1, can obtain multiple key messages is respectively:Time is 2012, and law court is located at Harbin, case class Type is criminal case, and judicial procedure is first trial, and number is No. 1.
Assembled unit 25 for carrying out coded combination to multiple key messages, obtains the mark of judgement document to be stored Information.
Specifically, above-mentioned identification information can be ID.
In a kind of optional scheme, digital coding can be carried out to each key message, obtain each key message pair The number answered, and number is combined unique mark as the judgement document to get to the ID of the judgement document.
Storage unit 27 for being based on identification information, stores judgement document to be stored.
In a kind of optional scheme, can according to the ID of obtained judgement document as the judgement document in the database The database ID of storage, will be in judgement document storage to database.Due to being encoded to Reference Number, and all it is several Word is respectively that (2012) breathe out punishment just two judgement documents of word the 1st and the first word the 001st of (2012) Kazakhstan punishment for Reference Number, though The Reference Number of right two documents is different, but the identification information after corresponding coded combination is identical, it can thus be avoided judgement document The problem of repeating to store.Further, it is stored in judgement document to after database, when needing that a certain piece judgement document is carried out During retrieval, since identification information is made of number, is retrieved by identification information, retrieval rate can be improved.
According to the above embodiment of the present invention, acquiring unit obtains judgement document to be stored, and resolution unit is to be stored Judgement document is parsed, and obtains multiple key messages of judgement document to be stored, assembled unit to multiple key messages into Row coded combination obtains the identification information of judgement document to be stored, and storage unit is based on identification information, to judge to be stored Document is stored.It is easily noted that, after judgement document to be stored is got, judgement document is solved first Analysis, obtains the key message that judgement document includes, and then carries out coded combination to key message, obtains the mark of the judgement document Information, since identification information is made of number, so as to solve the storage method of judgement document of the prior art according to judge Document Reference Number stores, the technical issues of causing same piece document that may store more parts in the database, waste storage resource.Cause This, the scheme provided by the above embodiment of the present invention can reach removal repeated data, reduce resource utilization, and raising is deposited The effect of efficiency is stored up, further achievees the effect that quick-searching.
Fig. 3 is a kind of schematic diagram of the storage device of optional judgement document according to embodiments of the present invention, such as Fig. 3 institutes Show, optionally, in the above embodiment of the present invention, assembled unit 25 includes:
Acquisition module 31, for obtaining the corresponding digital coding of each key message.
In a kind of optional scheme, before being stored to judgement document, each key message can be preset Corresponding digital coding after any one key message is got, can inquire the corresponding number of the key message and compile Code for example, for judgement document of the Reference Number for the first word the 7th of (2010) high row, can obtain the Supreme People's Court and be encoded to 0001, administrative case 01, first trial 01, number is No. 7, and the time is 2010.
Sorting module 33, for according to preset order, being ranked up, obtaining to the corresponding digital coding of each key message Identification information.
Specifically, above-mentioned preset order can be the sequence of time, law court, case type, judicial procedure and number.
It, can be by multiple numbers after the corresponding digital coding of each key message is obtained in a kind of optional scheme Word coding is ranked up according to preset order, obtains final ID, for example, it is assumed that the Supreme People's Court is encoded to 0001, administration Case is 01, first trial 01, and number is No. 7, and the time is 2010, according to time, law court, case type, judicial procedure and volume Number sequence be ranked up after, obtained ID is 2010000101017.
Fig. 4 is a kind of schematic diagram of the storage device of optional judgement document according to embodiments of the present invention, such as Fig. 4 institutes Show, optionally, in the above embodiment of the present invention, acquisition module 31 includes at least one of following:
First acquisition submodule 41, for obtaining the corresponding digital coding of year information.
In a kind of optional scheme, the year information in judgement document can be extracted, as the corresponding number of year information Word encodes, for example, 2012.
Second acquisition submodule 43, for obtaining the corresponding digital coding of judicial procedure information.
In a kind of optional scheme, can the trial journey of the judgement document be obtained according to the digital coding made an appointment The digital coding of sequence, for example, first trial can about be set to 01, last instance can about be set to 02, and 03 can be about set to by bringing a prisoner before the court.
Third acquisition submodule 45, for obtaining the corresponding digital coding of number information.
In a kind of optional scheme, duplicate removal processing can be carried out to the number of judgement document, for example, by No. 001,002 Number such number is uniformly converted to No. 1, No. 2.
4th acquisition submodule 47, for obtaining the corresponding digital coding of case type information.
In a kind of optional scheme, can the case class of the judgement document be obtained according to the digital coding made an appointment The digital coding of type, for example, administrative case can about be set to 01, civil case can about be set to 02, and criminal case can arrange It is 03.
5th acquisition submodule 49, for obtaining the corresponding digital coding of law court's information.
In a kind of optional scheme, can digital coding be carried out to 3500, whole nation law court in advance, according to predetermined in advance Digital coding, the digital coding of law court's information of the judgement document can be obtained.
Fig. 5 is a kind of schematic diagram of the storage device of optional judgement document according to embodiments of the present invention, such as Fig. 5 institutes Show, optionally, in the above embodiment of the present invention, third acquisition submodule 45 includes:
Judge baryon module 51, it is each in the number information for judging successively according to the order from a high position to low level Whether bit digital is 0.
Specifically, preset value except zero can also be set.
First obtains baryon module 53, for obtaining in the number information since first judges not as 0 number All numbers, the number information that obtains that treated.
Second obtains baryon module 55, and for treated according to, the number information acquisition number information is corresponding Digital coding.
By traversing each bit digital of number information, judge whether each bit digital is 0, is determined first in number information Position be 0 number, obtain number information in first for 0 number start all numbers, obtaining duplicate removal, treated Number information, and using duplicate removal treated number information as the corresponding digital coding of number information, for example, for number 001, It can determine that first number not for 0 is 1, obtain all numbers since 1 in number information, obtaining duplicate removal, treated Number 1 is to get to 001 corresponding digital coding of number.
Fig. 6 is a kind of schematic diagram of the storage device of optional judgement document according to embodiments of the present invention, such as Fig. 6 institutes Show, optionally, in the above embodiment of the present invention, storage unit 27 includes:
Searching module 61, for whether there is the identification information identical with identification information in searching data library.
Memory module 63, if for the identical identification information of identification information to be not present in database, by identification information It is stored with judgement document to be stored into database.
In a kind of optional scheme, after Reference Number is encoded, data can be stored in using ID as unique identifier In library, when new judgement document needs storage, due to being encoded to Reference Number, dichotomy progress may be used It searches the judgement document whether there is, believe in searching data library with the presence or absence of the mark identical with the identification information of the judgement document Breath, if it does not, not storing the judgement document in database, then stores the judgement document into database;If it deposits That is, the judgement document is being stored in database, then is skipping storing process.
The storage device of the judgement document includes processor and memory, and above-mentioned acquiring unit, resolution unit, combination are single Member and storage unit etc. in memory, above-mentioned journey stored in memory are performed by processor as program unit storage Sequence unit.Above-mentioned judgement document, key message and identification information may be stored in memory.
Comprising kernel in processor, gone in memory to transfer corresponding program unit by kernel.Kernel can set one Or more, parse content of text by adjusting kernel parameter.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM), memory includes at least one deposit Store up chip.
Present invention also provides a kind of embodiment of computer program product, when being performed on data processing equipment, fitting In the program code for performing initialization there are as below methods step:Obtain judgement document to be stored;To judgement document to be stored It is parsed, obtains multiple key messages of judgement document to be stored;Coded combination is carried out to multiple key messages, is treated The identification information of the judgement document of storage;Based on identification information, judgement document to be stored is stored.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
In the above embodiment of the present invention, all emphasize particularly on different fields to the description of each embodiment, do not have in some embodiment The part of detailed description may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of unit, can be one kind Division of logic function, can there is an other dividing mode in actual implementation, such as multiple units or component can combine or can To be integrated into another system or some features can be ignored or does not perform.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of unit or module, Can be electrical or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit Component may or may not be physical unit, you can be located at a place or can also be distributed to multiple units On.Some or all of unit therein can be selected according to the actual needs to realize the purpose of this embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also That each unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If integrated unit realized in the form of SFU software functional unit and be independent product sale or in use, can To be stored in a computer read/write memory medium.Based on such understanding, technical scheme of the present invention substantially or Saying all or part of the part contribute to the prior art or the technical solution can be embodied in the form of software product Out, which is stored in a storage medium, is used including some instructions so that a computer equipment (can be personal computer, server or network equipment etc.) performs all or part of step of each embodiment method of the present invention Suddenly.And aforementioned storage medium includes:USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD.
It the above is only the preferred embodiment of the present invention, it is noted that those skilled in the art are come It says, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications also should be regarded as Protection scope of the present invention.

Claims (10)

1. a kind of storage method of judgement document, which is characterized in that including:
Obtain judgement document to be stored;
The judgement document to be stored is parsed, obtains multiple key messages of the judgement document to be stored;
Coded combination is carried out to the multiple key message, obtains the identification information of the judgement document to be stored;
Based on the identification information, the judgement document to be stored is stored.
2. according to the method described in claim 1, it is characterized in that, the multiple key message is including at least one of following:Year Part information, judicial procedure information, number information, case type information and law court's information.
3. according to the method described in claim 2, it is characterized in that, to the multiple key message progress coded combination, obtain The identification information of the judgement document to be stored includes:
Obtain the corresponding digital coding of each key message;
According to preset order, the corresponding digital coding of each key message is ranked up, obtains the identification information.
4. it according to the method described in claim 3, is at least wrapped it is characterized in that, obtaining the corresponding digital coding of each key message It includes one of following:
Obtain the corresponding digital coding of the year information;
Obtain the corresponding digital coding of the judicial procedure information;
Obtain the corresponding digital coding of the number information;
Obtain the corresponding digital coding of the case type information;
Obtain the corresponding digital coding of law court's information.
5. according to the method described in claim 4, include it is characterized in that, obtaining the corresponding digital coding of the number information:
Judge whether each bit digital in the number information is 0 successively according to the order from a high position to low level;
It obtains in the number information and not all numbers for starting of number as 0 is judged since first, obtain that treated and number Information;
The corresponding digital coding of the number information is obtained according to treated the number information.
6. according to claim 1-5 any one of them methods, which is characterized in that based on the identification information, wait to deposit to described The judgement document of storage carries out storage and includes:
It whether there is the identification information identical with the identification information in searching data library;
If there is no the identification information identical with the identification information in the database, by the identification information and described Judgement document to be stored is stored into the database.
7. a kind of storage device of judgement document, which is characterized in that including:
Acquiring unit, for obtaining judgement document to be stored;
Resolution unit for being parsed to the judgement document to be stored, obtains the more of the judgement document to be stored A key message;
Assembled unit for carrying out coded combination to the multiple key message, obtains the mark of the judgement document to be stored Know information;
Storage unit for being based on the identification information, stores the judgement document to be stored.
8. device according to claim 7, which is characterized in that the multiple key message includes at least one of following:Year Part information, judicial procedure information, number information, case type information and law court's information.
9. device according to claim 8, which is characterized in that the assembled unit includes:
Acquisition module, for obtaining the corresponding digital coding of each key message;
Sorting module for according to preset order, is ranked up the corresponding digital coding of each key message, obtains institute State identification information.
10. device according to claim 9, which is characterized in that the acquisition module includes at least one of following:
First acquisition submodule, for obtaining the corresponding digital coding of the year information;
Second acquisition submodule, for obtaining the corresponding digital coding of the judicial procedure information;
Third acquisition submodule, for obtaining the corresponding digital coding of the number information;
4th acquisition submodule, for obtaining the corresponding digital coding of the case type information;
5th acquisition submodule, for obtaining the corresponding digital coding of law court's information.
CN201611249945.2A 2016-12-29 2016-12-29 Storage method and device of referee document Active CN108255877B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611249945.2A CN108255877B (en) 2016-12-29 2016-12-29 Storage method and device of referee document

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611249945.2A CN108255877B (en) 2016-12-29 2016-12-29 Storage method and device of referee document

Publications (2)

Publication Number Publication Date
CN108255877A true CN108255877A (en) 2018-07-06
CN108255877B CN108255877B (en) 2020-11-24

Family

ID=62720863

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611249945.2A Active CN108255877B (en) 2016-12-29 2016-12-29 Storage method and device of referee document

Country Status (1)

Country Link
CN (1) CN108255877B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109446489A (en) * 2018-09-11 2019-03-08 哈尔滨金融学院 Legal information repetitive rate detection system and detection method
CN111291152A (en) * 2018-12-07 2020-06-16 北大方正集团有限公司 Case document recommendation method, device, equipment and storage medium
CN112541005A (en) * 2019-09-23 2021-03-23 北京国双科技有限公司 Number generation method and device and electronic equipment
CN112540964A (en) * 2019-09-23 2021-03-23 北京国双科技有限公司 Document number generation method and related device
CN112580341A (en) * 2019-09-27 2021-03-30 北京国双科技有限公司 Method for obtaining case number of legal document and related equipment
CN113761230A (en) * 2021-09-08 2021-12-07 深圳市大数据研究院 Method for measuring and calculating document disclosure rate of all parts of the country

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1245938A (en) * 1998-08-10 2000-03-01 株式会社理光 File data processing method and file system
CN101000635A (en) * 2007-01-10 2007-07-18 凤凰微电子(中国)有限公司 Mass storing and managing method of smart card
CN101196909A (en) * 2007-12-04 2008-06-11 深圳市迅雷网络技术有限公司 Method and device for confirming network issued information
CN101364953A (en) * 2008-04-17 2009-02-11 刘哲英 System for signing digital code for information of person, enterprise and institute
CN103425694A (en) * 2012-05-23 2013-12-04 北京神州泰岳软件股份有限公司 Relational data searching method and device
WO2014007870A1 (en) * 2012-07-06 2014-01-09 Fingi Inc. Entry lock control and operation system
CN103955526A (en) * 2014-05-09 2014-07-30 中国联合网络通信集团有限公司 Data storage method and device
CN104462396A (en) * 2014-12-10 2015-03-25 北京国双科技有限公司 Method and device for handing character strings
CN104572849A (en) * 2014-12-17 2015-04-29 西安美林数据技术股份有限公司 Automatic standardized filing method based on text semantic mining
CN104645610A (en) * 2014-09-22 2015-05-27 北京乐动卓越科技有限公司 Game object identification code coding method and system
CN105446991A (en) * 2014-07-07 2016-03-30 阿里巴巴集团控股有限公司 Data storage method, query method and device
CN106202240A (en) * 2016-06-29 2016-12-07 华能国际电力股份有限公司 Material coding data processing method and device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1245938A (en) * 1998-08-10 2000-03-01 株式会社理光 File data processing method and file system
CN101000635A (en) * 2007-01-10 2007-07-18 凤凰微电子(中国)有限公司 Mass storing and managing method of smart card
CN101196909A (en) * 2007-12-04 2008-06-11 深圳市迅雷网络技术有限公司 Method and device for confirming network issued information
CN101364953A (en) * 2008-04-17 2009-02-11 刘哲英 System for signing digital code for information of person, enterprise and institute
CN103425694A (en) * 2012-05-23 2013-12-04 北京神州泰岳软件股份有限公司 Relational data searching method and device
WO2014007870A1 (en) * 2012-07-06 2014-01-09 Fingi Inc. Entry lock control and operation system
CN103955526A (en) * 2014-05-09 2014-07-30 中国联合网络通信集团有限公司 Data storage method and device
CN105446991A (en) * 2014-07-07 2016-03-30 阿里巴巴集团控股有限公司 Data storage method, query method and device
CN104645610A (en) * 2014-09-22 2015-05-27 北京乐动卓越科技有限公司 Game object identification code coding method and system
CN104462396A (en) * 2014-12-10 2015-03-25 北京国双科技有限公司 Method and device for handing character strings
CN104572849A (en) * 2014-12-17 2015-04-29 西安美林数据技术股份有限公司 Automatic standardized filing method based on text semantic mining
CN106202240A (en) * 2016-06-29 2016-12-07 华能国际电力股份有限公司 Material coding data processing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
宋玲等: ""嵌入式内存数据库的存储和索引算法研究"", 《计算机科学与探索》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109446489A (en) * 2018-09-11 2019-03-08 哈尔滨金融学院 Legal information repetitive rate detection system and detection method
CN111291152A (en) * 2018-12-07 2020-06-16 北大方正集团有限公司 Case document recommendation method, device, equipment and storage medium
CN112541005A (en) * 2019-09-23 2021-03-23 北京国双科技有限公司 Number generation method and device and electronic equipment
CN112540964A (en) * 2019-09-23 2021-03-23 北京国双科技有限公司 Document number generation method and related device
CN112580341A (en) * 2019-09-27 2021-03-30 北京国双科技有限公司 Method for obtaining case number of legal document and related equipment
CN113761230A (en) * 2021-09-08 2021-12-07 深圳市大数据研究院 Method for measuring and calculating document disclosure rate of all parts of the country
CN113761230B (en) * 2021-09-08 2023-08-15 深圳市大数据研究院 Method for measuring and calculating disclosure rate of all-country documents

Also Published As

Publication number Publication date
CN108255877B (en) 2020-11-24

Similar Documents

Publication Publication Date Title
CN108255877A (en) The storage method and device of judgement document
CN103886376B (en) System and method for rule-based information filtering
CN104850574B (en) A kind of filtering sensitive words method of text-oriented information
CN107025239B (en) Sensitive word filtering method and device
US9183287B2 (en) Social media analysis system
KR20150018880A (en) Information aggregation, classification and display method and system
CN103714120B (en) A kind of system that user interest topic is extracted in the access record from user url
CN106709851A (en) Big data retrieval method and apparatus
CN108880980A (en) Data analysis system based on Wechat group information
JP2010224883A (en) Structured document management apparatus and method
CN106649360A (en) Data repeatability check method and apparatus
CN106777190A (en) The method and apparatus for recognizing the wifi titles of point of interest
CN1494018A (en) Method and apparatus for producing and transmitting identifier, and method and apparatus for determining identity
CN101310277A (en) Method of obtaining a representation of a text
EP3889806A1 (en) Bit sequence-based data classification system
CN114221792A (en) Internet data transmission encryption system
CN114218371A (en) Multilevel directory name retrieval matching method, device, equipment and medium
CN107807964B (en) Digital content ordering method, apparatus and computer readable storage medium
CN106547764A (en) The method and device of web data duplicate removal
CN101133416A (en) Database management apparatus and method of managing database
JP2003067397A5 (en)
CN111325562A (en) Grain safety tracing system and method
CN111221967A (en) Language data classification storage system based on block chain architecture
CN105740374A (en) Distributed memory based three-dimensional platform data fuzzy query method
CN112256909A (en) Method, system and device for searching graphic trademark 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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing

Applicant after: Beijing Guoshuang Technology Co.,Ltd.

Address before: 100086 Cuigong Hotel, 76 Zhichun Road, Shuangyushu District, Haidian District, Beijing

Applicant before: Beijing Guoshuang Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant