CN110334333A - A kind of information amending method and relevant apparatus - Google Patents

A kind of information amending method and relevant apparatus Download PDF

Info

Publication number
CN110334333A
CN110334333A CN201910525891.5A CN201910525891A CN110334333A CN 110334333 A CN110334333 A CN 110334333A CN 201910525891 A CN201910525891 A CN 201910525891A CN 110334333 A CN110334333 A CN 110334333A
Authority
CN
China
Prior art keywords
information
modification
document
format
information element
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
CN201910525891.5A
Other languages
Chinese (zh)
Other versions
CN110334333B (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.)
Ping An Property and Casualty Insurance Company of China Ltd
Original Assignee
Ping An Property and Casualty Insurance Company of China 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 Ping An Property and Casualty Insurance Company of China Ltd filed Critical Ping An Property and Casualty Insurance Company of China Ltd
Priority to CN201910525891.5A priority Critical patent/CN110334333B/en
Publication of CN110334333A publication Critical patent/CN110334333A/en
Application granted granted Critical
Publication of CN110334333B publication Critical patent/CN110334333B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/08Insurance

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Technology Law (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The embodiment of the present invention discloses a kind of information amending method and relevant apparatus, comprising: obtains the modification document for carrying document identification;Obtain the corresponding user message table of document identification;The sequence of format and/or modification information in document to modification document is adjusted, obtain modification information table, modification information table includes first information element, and first information element is the element in modification information table in addition to the second information element, and the second information element is the element for identity user;Use the corresponding information of first information element in modification information table modification user message table.Information modification efficiency can be improved in the embodiment of the present invention.

Description

A kind of information amending method and relevant apparatus
Technical field
The present invention relates to computer field more particularly to a kind of information amending methods and relevant apparatus.
Background technique
With the continuous improvement of people's economic level and insurance awareness, insurance service has become a kind of common service. After insurance company receives the insurance of bulk purchase, business personnel needs to store the information of these users, so as to subsequent use.It will It could be modified due to the change of the information such as the time limit of insuring to the information of storage after information storage.Currently, a kind of common Information amending method are as follows: receive user to the modification information of each user.However, in the above method due to need business personnel by The information of a pair of each user is modified, so that reducing information modification efficiency.
Summary of the invention
The embodiment of the invention discloses a kind of information amending method and relevant apparatus, and information modification efficiency can be improved.
First aspect discloses a kind of information amending method, comprising:
Obtain the modification document for carrying document identification;
Obtain the corresponding user message table of the document identification;
The sequence of format and/or the modification information in document to the modification document is adjusted, and obtains modification letter Table is ceased, the modification information table includes first information element, and the first information element is that second is removed in the modification information table Element except information element, second information element are the element for identity user;
The corresponding information of first information element described in the user message table is modified using the modification information table.
In one possible implementation, believe in the format and/or the modification document to the modification document The sequence of breath is adjusted, and is obtained modification information table and is included:
In the case where the first format and inconsistent the second format, by the format of the modification document by first format Second format is converted to, information conversion table is obtained;Or
It include second information element in the modification document, and under the first format and the second format unanimous circumstances, Institute in the modification information table is adjusted according to putting in order for the second information element corresponding informance described in the user message table State putting in order for first information element corresponding informance and the second information element corresponding informance;
Wherein, first format is the format of the modification document, and second format is the user message table Format.
In one possible implementation, the format by the modification document is converted to institute by first format The second format is stated, obtaining information conversion table includes:
All information elements modified in document are extracted by reflection technology and all information elements are corresponding Information;
It is associated in the corresponding information of all information elements that there are the information of corresponding relationship, obtains modification information table, institute Stating all information elements includes the first information element.
In one possible implementation, the user message table includes one or more information elements, the use The modification information table modifies the corresponding information of first information element described in the user message table
In the case where one or more of information elements do not include the first information element, in the user information The corresponding information of first information element described in the first information element and the modification information table is added in table.
In one possible implementation, the user message table includes one or more information elements, the use The modification information table modifies the corresponding information of first information element described in the user message table
In the case where one or more of information elements include the first information element, the modification information is used The corresponding information of first information element described in table replaces the corresponding information of first information element described in the user message table.
In one possible implementation, the corresponding information of first information element described in the modification information table is It is described to replace the user information using the corresponding information of first information element described in the modification information table in the case where sky The corresponding information of first information element described in table includes:
Delete first information element described in the user message table and the corresponding information of the first information element.
In one possible implementation, the modification document includes second information element, described in the use Modification information table modifies the corresponding information of first information element described in the user message table
It include the first information element in the user message table, and the second information word described in the user message table In the case that the corresponding information of element does not include the first information, the first information and the corresponding information of the first information are added It adds in the user message table, the first information is in the corresponding information of the second information element that the modification document includes Any information.
Second aspect discloses a kind of information modification device, comprising:
First acquisition unit, for obtaining the modification document for carrying document identification;
Second acquisition unit, for obtaining the corresponding user message table of the document identification;
Adjustment unit, the sequence for format and/or the modification information in document to the modification document are adjusted It is whole, modification information table is obtained, the modification information table includes first information element, and the first information element is modification letter The element in table in addition to the second information element is ceased, second information element is the element for identity user;
Unit is modified, it is corresponding to modify first information element described in the user message table using the modification information table Information.
In one possible implementation, the adjustment unit is specifically used for:
In the case where the first format and inconsistent the second format, by the format of the modification document by first format Second format is converted to, information conversion table is obtained;Or
It include second information element in the modification document, and under the first format and the second format unanimous circumstances, Institute in the modification information table is adjusted according to putting in order for the second information element corresponding informance described in the user message table State putting in order for first information element corresponding informance and the second information element corresponding informance;
Wherein, first format is the format of the modification document, and second format is the user message table Format.
In one possible implementation, the adjustment unit is by the format of the modification document by first format Second format is converted to, obtaining information conversion table includes:
All information elements modified in document are extracted by reflection technology and all information elements are corresponding Information;
It is associated in the corresponding information of all information elements that there are the information of corresponding relationship, obtains modification information table, institute Stating all information elements includes the first information element.
In one possible implementation, the user message table includes one or more information elements, the modification Unit, specifically in the case where one or more of information elements do not include the first information element, in the use The corresponding information of first information element described in the first information element and the modification information table is added in the information table of family.
In one possible implementation, the user message table includes one or more information elements, the modification Unit, specifically for being repaired using described in the case where one or more of information elements include the first information element It is corresponding to change first information element described in the corresponding information replacement of first information element described in the information table user message table Information.
In one possible implementation, the corresponding information of first information element described in the modification information table is In the case where sky, the modification unit is used described in the corresponding information replacement of first information element described in the modification information table The corresponding information of first information element described in user message table includes:
Delete first information element described in the user message table and the corresponding information of the first information element.
In one possible implementation, the modification document includes second information element, the modification unit, Specifically for including the first information element in the user message table, and the second information word described in the user message table In the case that the corresponding information of element does not include the first information, the first information and the corresponding information of the first information are added It adds in the user message table, the first information is in the corresponding information of the second information element that the modification document includes Any information.
The third aspect discloses a kind of information modification device, including processor and memory;Above-mentioned processor and above-mentioned storage Device is connected with each other by bus;Wherein, for above-mentioned memory for storing computer program, above-mentioned computer program includes that program refers to It enables, above-mentioned processor is configured for calling above procedure instruction, executes as first aspect or first aspect are any possible Method shown in implementation.
Fourth aspect discloses a kind of computer readable storage medium, and above-mentioned computer-readable recording medium storage has computer Program, above-mentioned computer program when being executed by a processor, execute above-mentioned processor as first aspect or first aspect are any Method shown in the possible implementation of kind.
5th aspect discloses a kind of computer program product comprising program instruction, when run on a computer, makes It obtains computer and executes the method as shown in first aspect or first aspect any possible implementation.
In the embodiment of the present invention, the modification document for carrying document identification is obtained, obtains the corresponding user information of document identification The sequence of table, format and/or modification information in document to modification document is adjusted to obtain repairing including first information element Change information table, uses the corresponding information of first information element in modification information table modification user message table, it is seen then that the modification of information The participation for not needing user can be completed, so as to improve information modification efficiency.
Detailed description of the invention
Technical solution in order to illustrate the embodiments of the present invention more clearly or in background technique below will be implemented the present invention Attached drawing needed in example or background technique is illustrated.
Fig. 1 is a kind of flow diagram of information amending method disclosed by the embodiments of the present invention;
Fig. 2 is a kind of structural schematic diagram of information modification device disclosed by the embodiments of the present invention;
Fig. 3 is the structural schematic diagram of another information modification device disclosed by the embodiments of the present invention.
Specific embodiment
Description and claims of this specification and term " first " in above-mentioned attached drawing, " second " etc. are for distinguishing Different objects, is not use to describe a particular order.In addition, term " includes " and " having " and their any deformations, meaning Figure, which is to cover, non-exclusive includes.Such as contain the process, method, system, product or equipment of a series of steps or units It is not limited to listed step or unit, but optionally further comprising the step of not listing or unit, or optionally also Including other step or units intrinsic for these process, methods or equipment.
The embodiment of the present invention discloses a kind of information amending method and relevant apparatus, and information modification efficiency can be improved.Below It is described in detail respectively.
Referring to Fig. 1, Fig. 1 is a kind of flow diagram of information amending method disclosed by the embodiments of the present invention.Wherein, should Information amending method can be applied to server.As shown in Figure 1, the information amending method may include steps of.
101, the modification document for carrying document identification is obtained.
Modification document can be server in real time or periodically obtain.It can be from locally obtaining.For example, Modification document can store in a database in the server, and server can be real-time or periodically detects this data With the presence or absence of modification document in library, in the case where there is modification document in detecting this database, obtains and carry document mark The modification document of knowledge can continue to test this data there is no in the case where modification document in detecting this database With the presence or absence of modification document in library, can also be detected again when next cycle arrives in this database with the presence or absence of modification text Shelves.It is also possible to can also be from the terminal device acquisition for establishing communication connection with server from network acquisition.Wherein, Document identification is that the mark of document is modified for unique identification.For example, document identification can in the case where being insured with company's name Think Business Name, or company code can also be other information for unique identification company.
Modification document is also possible to establish the terminal device active transmission of communication connection with server to server, can be with It is to detect that modification document is just sent, is also possible to periodically send.
Modification document can also be network push to server.For example, all modifications document can be placed on In local area network in fixed network address, local area network is detected in the case where having modification document in this network address, can will modify document It is sent to server.
Modification document can also be what user uploaded.Specifically, user can operate server by operation interface, so as to Modification document is uploaded to server.
Modification document is also possible to server and detects what information modification instruction obtained later, and information modification instruction can be Terminal device is sent to server, is also possible to user's input, can also be what server periodically generated, can be with It is that network is sent to server.Wherein, information modification instruction carries document identification.
Modification document may include first information element, and first information element is that the second information element is removed in modification information table Except element, the second information element is element for identity user.Modifying document may include the second information element, can also Not include the second information element.First information element may include one or more information elements.Do not include in modification document In the case where second information element, the corresponding user of the one or more information element corresponding informance put in order must with In the information table of family user put in order it is identical, otherwise can not according to modification document user message table is correctly modified.It lifts Example explanation, it is assumed that first information element only includes an information element, the corresponding information of difference information element in user message table It is to be arranged according to the information of the information of user A, the information of user B, the information of user C and user D, first information member Element is the age, and corresponding information is followed successively by 23,25,30 and 40, and therefore, the putting in order for age modified in document be It is arranged according to the age of the age of user A, the age of user B, the age of user C and user D, i.e. the age of user A Age for 23, user B is 25, the age of user C is 30 and the age of user D is 40.It include the second letter in modification document In the case where ceasing element, due to that can determine that information is that user by the corresponding information of the second information element, because This, putting in order for the corresponding user of the one or more information element corresponding informance is suitable with the arrangement of user in user message table Except sequence may be the same or different, but user message table does not include the case where the second information element.
For example, first information element may include " name ", " age ", " insured amount ", " type of insuring ", " gender ", One or more of " insuring the date ", " expiration time of insuring ", " indemnity " etc..Second information element can be " identity Demonstrate,prove number ", " employee number ", any one in " phone number " etc..Wherein, the corresponding information of information element can be numerical value One of type, character type and Boolean type are a variety of.Modifying document can be form document, such as Excel file, comma separated value (comma-separated values, CSV) file etc.;It may be text file, for example Portable Document lattice (portable Document format, PDF) file, Word file etc..
For example, in the case where modifying document is Excel file, modification document can be as shown in table 1.
Table 1 modifies document
Information element 1 Information element 2 Information element 3 Information element 4
A1 B1 C1 D1
A2 B2 C2 D2
...... ...... ...... ......
As it can be seen that all information elements are in same a line, first information in each column is information element, in each column Information in addition to first information is the corresponding information of the information element, and the different information of the same user are in same a line. Modifying document can also be as shown in table 2.
Table 2 modifies document
Information element 1 A1 A2 ......
Information element 2 B1 B2 ......
Information element 3 C1 C2 ......
Information element 4 D1 D2 ......
As it can be seen that all information elements are in same row, first information in every a line is information element, in every a line Information in addition to first information is the corresponding information of the information element, and the different information of the same user are in same row.
102, the corresponding user message table of document identification is obtained.
After getting the modification document for carrying document identification, the corresponding user information of document identification can be directly acquired Table.It can be to be also possible to from what is locally obtained to store in equipment from the third party for establishing communication connection with server and obtain, It can also be from network acquisition.User message table may include one or more information elements.The one or more information word Element may include the second information element, can not also include the second information element.Do not include in the one or more information element In the case where second information element, the corresponding user of the one or more information element corresponding informance put in order must with repair It is identical to change putting in order for user in document, otherwise user message table can not correctly be modified according to modification document.Wherein, The document identification for modifying document can be identical with the mark of user message table, there may also be certain corresponding relationship, so as to Corresponding user message table is uniquely got by document identification.
After getting the modification document for carrying document identification, the corresponding use of document identification can also be first judged whether there is Family information table obtains the corresponding user of document identification in the case where judging user message table corresponding there are document identification Information table.In the case where judging user message table corresponding there is no document identification, modification document can be stored as text Shelves identify corresponding user message table, can also directly abandon modification document, while exporting for prompting that document identification is not present The prompt information of corresponding user message table.
After getting the modification document for carrying document identification, it can also first judge to modify whether document is legal documents, In the case where judging that modifying document is legal documents, then obtain the corresponding user message table of document identification.Judging to repair In the case where changing document as illegal document, step 102- step 104 can not be executed, further, it is also possible to export for reminding text The corresponding modification document of shelves mark is the prompt information of illegal document.Specifically, can be by the name format of document identification It is no to meet preset format to judge to modify whether document is legal documents.
103, the sequence of the format to modification document and/or modification information in document is adjusted to obtain modification information table.
It, can be to the format and/or modification document for modifying document after getting the corresponding user message table of document identification The sequence of middle information is adjusted to obtain modification information table.It can be and first judge whether the first format is consistent with the second format, Judge under the first format and the second format unanimous circumstances, modification document directly can be determined as modification information table.Sentencing It is disconnected go out the first format and the second format it is inconsistent in the case where, the format for modifying document can be converted to second by the first format Format obtains modification information table.Specifically, all information in modification document can be extracted by reflection technology, from all information In identify information element, be associated in the corresponding information of all information elements that there are the information of corresponding relationship to obtain modification information Table.All information elements include first information element.It is repaired for example, reflection technology can extract in the way of ranks or column row Change all information in document, identify information element from all information later, determines that different information elements are same later Row is still in same row, and in different information elements in the case where same row, the information with a line is the information of the same user, In different information elements in the case where same a line, the information of same row is the information of the same user, later according to the second lattice The information that formula storage is extracted obtains modification information table.Wherein, the first format is the format for modifying document, and the second format is user's letter Cease tableau format.Format herein can be Excel, Word text, Word table etc..The mode of ranks first identifies the first row Information, identify the information of the second row later, and so on.And the mode for arranging row first identifies the information of first row, Zhi Houshi The information of other secondary series, and so on.Wherein, the information element that modification information table includes information corresponding with information element with repair Change the identical of document.
In the case where judging the first format and the second format unanimous circumstances, or the format of document will be modified by the first format After being converted to the second format, it can first judge to modify whether document and user message table include the second information element, sentence It is disconnected go out in the case that modification document and user message table include the second information element, can be according to the second letter in user message table Cease first information element corresponding informance and the second information element pair in the redjustment and modification information table that puts in order of element corresponding informance Answer putting in order for information.For example, it is assumed that the information of all information elements is according to the information of user A, use in user message table The information of the information of family B, the information of user C and user D arranges, modify document in all information elements information according to The information of user B, the information of user C, the information of the information of user A and user D arrange, and can will own in modification document The information of information element be also adjusted to the information of the information according to user A, the information of user B, the information of user C and user D into Row arrangement.The corresponding information of the second information element in modification information table is corresponding with the second information element in user message table Information corresponds, i.e., the user in the user and user message table in modification information table corresponds or user message table In user include all users in modification information table, and all users in the modification information table for including in user message table Between be that just it is necessary to otherwise above-mentioned adjustment is not necessarily to for above-mentioned adjustment in continuous situation.
104, using the corresponding information of first information element in modification information table modification user message table.
The sequence of format and/or modification information in document to modification document is adjusted after obtaining modification information table, The corresponding information of first information element in modification information table modification user message table can be used, i.e., modified according to modification information table The corresponding information of first information element in user message table.
When information corresponding using first information element in modification information table modification user message table, it can first judge to modify It whether include the second information element in information table and user message table.One in judging modification information table and user message table It is a or two do not include the second information element in the case where, it is believed that the corresponding information of information element in modification information table Information corresponding with information element in user message table be arranged according to same user sequence, for example, be according to The information of user 1-user N information is arranged, and can continue to judge whether user message table includes first information element. It, can be directly using the first information in modification information table in the case where judging user message table includes first information element The corresponding information of first information element in element corresponding information replacement user message table, the holding that puts in order of information when replacement It is constant, for example, being arranged in modification information table according to the sequence of information 1- information N, after replacement first in user message table The corresponding information of information element is also arranged according to the sequence of information 1- information N.It include judging user message table not In the case where one information element, it can directly be added in user message table first in first information element and modification information table The corresponding information of information element.Similarly, putting in order for information remains unchanged after addition.
It, can be according to repairing in the case where including the second information element in judging modification information table and user message table The second information element for changing information table and user message table modifies to user message table.It can continue to judge user message table It whether include first information element.In the case where judging user message table includes first information element, can directly use The corresponding information of first information element in the corresponding information replacement user message table of first information element in modification information table, is replaced When changing can first more each user the corresponding information of first information element it is whether identical, if identical, do not need to replace, If it is different, then using the information in the information replacement user message table in modification information table.Judging user message table not In the case where including first information element, first information element and modification information table can be directly added in user message table The corresponding information of middle first information element.It to be corresponded when addition, i.e., by the corresponding information of first information element of user 1 Addition is in user 1 and the corresponding position of first information element, for example, the corresponding first information of user 1 member in user message table The corresponding position of element is the column of fifth line the 5th, then needs the information of the corresponding first information element of user 1 in modification information table The position that the fifth line the 5th being added in user message table arranges.The corresponding information of the second information element is not in user message table In the case where including the first information, the first information and the corresponding information of the first information are added in user message table, first Information is any information modified in the corresponding information of the second information element that document includes.Information i.e. in user message table It does not include the information of user F, and in the case where the information in modification information table including user F, the information of user F can be added Into user message table.
It include the second information element in judging modification information table and user message table, the user in modification information table It is identical with the user in user message table, and the second information element corresponding informance putting in order and repairing in user message table Change putting in order in identical situation for the second information element corresponding informance in information table, replacement or addition first information element pair When the information answered, it can be replaced or add in batch.Other similar situations can also be replaced or be added in batch.Example Such as, the second information element corresponding informance puts in order identical in user message table and modification information table, and a line represents one The information of user, at this point it is possible to directly by the first information element and the corresponding information of first information element in modification information table Copy to the blank column in user message table.
It include first information element in user message table, and the corresponding information of first information element is sky in modification information table In the case where, first information element and the corresponding information of first information element in user message table can be deleted.The first information The corresponding information of element, which can be the corresponding information of first information element for sky, does not have any content, is also possible to first information member The corresponding information of element is specific character, such as "-", " # ".
The format to modification document and/or modify information in document sequence be adjusted to obtain modification information table it Afterwards, can also first judge whether modification information table is legal information table, judge that modification information table is the feelings of legal information table Under condition, step 104 is executed.In the case where judging modification information table is invalid information table, step 104 is not executed.It can lead to Cross modification information table information corresponding with information element same in user message table format it is whether consistent come judge modification letter Whether breath table is legal information table, the format of the corresponding information of same information element in modification information table and user message table Under unanimous circumstances, determine that modification information table is legal information table.It can also be corresponding by different user in modification information table Whether the format of the information of same information element unanimously judges whether modification information table is legal information table, in modification information table Under the format unanimous circumstances of the information of the corresponding same information element of middle different user, determine that modification information table is legal information Table.It is exemplified by Table 1, it can be determined that whether the format of A1 and A2 consistent, whether the format of consistent, C1 and C2 is the format of B1 and B2 Whether no consistent and D1 and D2 format is consistent, in the case where judging that above-mentioned format is consistent, can determine modification letter Breath table is legal information table.Whether in pre-set interval can also judge to modify by the length of the corresponding information of information element Whether information table is legal information table, and in the case where the length of the corresponding information of information element is in pre-set interval, determination is repaired Changing information table is legal information table.Different information elements can correspond to different pre-set intervals.For example, for name field, in advance If section can be [2,15], for insuring type, pre-set interval can be [3,8].Can also include by information element Whether the length for the numerical value that whether length of character is equal to preset length and the information element includes is in pre-set interval to sentence Whether disconnected modification information table is legal information table, is equal to preset length and the letter in the length for the character that information element includes In the case that the length for the numerical value that breath element includes is in pre-set interval, determine that modification information table is legal information table.It can be with Judge whether modification information table is legal letter by judging whether the format of information element matches with the format of malicious code Breath table determines that modification information table is illegal in the case where the format of the format of any information element and malicious code matches Information modifies table.Wherein, server can use the form of regular expression by the format of each information element and malicious code It is matched.
In the information amending method described in Fig. 1, since the participation that the modification of information does not need user can be completed, It is thus possible to improve information modifies efficiency.
Referring to Fig. 2, Fig. 2 is a kind of structural schematic diagram of information modification device disclosed by the embodiments of the present invention.Wherein, should It can be server that information, which modifies device,.As shown in Fig. 2, information modification device may include:
First acquisition unit 201, for obtaining the modification document for carrying document identification;
Second acquisition unit 202 identifies corresponding user message table for obtaining the document;
Adjustment unit 203, the sequence for format and/or the modification information in document to the modification document are adjusted It is whole, modification information table is obtained, modification information table includes first information element, and first information element is that second is removed in modification information table Element except information element, the second information element are the element for identity user;
Unit 204 is modified, the corresponding information of first information element in modification information table modification user message table is used.
In one embodiment, adjustment unit 203 is specifically used for:
In the case where the first format and inconsistent the second format, the format for modifying document is converted to by the first format Two formats obtain information conversion table;Or
It include the second information element in modification document, and under the first format and the second format unanimous circumstances, according to user In information table in the redjustment and modification information table that puts in order of the second information element corresponding informance first information element corresponding informance and Second information element corresponding informance puts in order;
Wherein, the first format is the format for modifying document, and the second format is user information tableau format.
In one embodiment, the format for modifying document is converted to the second format by the first format by adjustment unit 203, is obtained Include: to information conversion table
All information elements and the corresponding information of all information elements in modification document are extracted by reflection technology;
It is associated in the corresponding information of all information elements that there are the information of corresponding relationship, obtains modification information table, Suo Youxin Ceasing element includes first information element.
In one embodiment, user message table may include one or more information elements, modify unit 204, specifically For adding the first letter in user message table in the case where the one or more information element does not include first information element Cease the corresponding information of first information element in element and modification information table.
In one embodiment, user message table may include one or more information elements, modify unit 204, specifically For using first information member in modification information table in the case where the one or more information element includes first information element The corresponding information of first information element in the corresponding information replacement user message table of element.
In one embodiment, in the case that the corresponding information of first information element is empty in modification information table, modification Unit 204 is corresponding using first information element in the corresponding information replacement user message table of first information element in modification information table Information include:
Delete first information element and the corresponding information of first information element in user message table.
In one embodiment, modification document may include the second information element, modify unit 204, be specifically used for Family information table includes first information element, and the corresponding information of the second information element does not include the first information in user message table In the case of, the first information and the corresponding information of the first information are added in user message table, the first information is modification document Including the corresponding information of the second information element in any information.
It is understood that the specific implementation of information modification device shown in Fig. 2 reference may also be made to method shown in FIG. 1, here No longer it is described in detail one by one.
Referring to Fig. 3, Fig. 3 is the structural schematic diagram of another information modification device disclosed by the embodiments of the present invention.Wherein, It can be server that the information, which modifies device,.It may include: at least one processor 301 that the information, which modifies device, such as center Processor (central processing unit, CPU), at least one processor 302 and at least one bus 303.Wherein, Above-mentioned bus 303 can be one group of parallel data line, mutually interconnect for realizing above-mentioned processor 301 with above-mentioned memory 302 It connects;Above-mentioned memory 302 can be high-speed random access memory (random access memory, RAM), be also possible to non- Volatile memory (non-volatile memory), for example, at least read-only memory (read only memory, ) or at least one flash memories (flash memory) ROM.
Specifically, it can store program instruction in above-mentioned memory 302, above-mentioned processor 301 can be used for caller and refer to It enables and executes method shown in FIG. 1.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can store in computer readable storage medium, and storage is situated between Matter include read-only memory (read only memory, ROM), random access memory (random access memory, RAM), Programmable read only memory (programmable read only memory, PROM), Erasable Programmable Read Only Memory EPROM (erasable programmable read only memory, EPROM), disposable programmable read-only memory (one-time Programmable read-only memory, OTPROM), the electronics formula of erasing can make carbon copies read-only memory (electrically-erasable programmable read-only memory, EEPROM), CD-ROM (compact Disc read-only memory, CD-ROM), solid state hard disk (solid state disk, SSD) or other disc memories, Magnetic disk storage, magnetic tape storage or any other the computer-readable medium that can be used in carrying or storing data.
The embodiment of the present invention has been described in detail above, specific case used herein to the principle of the present invention and Embodiment is expounded, and the above description of the embodiment is only used to help understand the method for the present invention and its core ideas; At the same time, for those skilled in the art can in specific embodiments and applications according to the thought of the present invention There is change place.To sum up above-mentioned, the contents of this specification are not to be construed as limiting the invention.

Claims (10)

1. a kind of information amending method characterized by comprising
Obtain the modification document for carrying document identification;
Obtain the corresponding user message table of the document identification;
The sequence of format and/or the modification information in document to the modification document is adjusted, and obtains modification information table, The modification information table includes first information element, and the first information element is that the second information word is removed in the modification information table Element except element, second information element are the element for identity user;
The corresponding information of first information element described in the user message table is modified using the modification information table.
2. the method according to claim 1, wherein the format to the modification document and/or described repairing The sequence for changing information in document is adjusted, and is obtained modification information table and is included:
In the case where the first format and inconsistent the second format, the format of the modification document is converted by first format For second format, information conversion table is obtained;Or
It include second information element in the modification document, and under the first format and the second format unanimous circumstances, according to Putting in order for second information element corresponding informance described in the user message table adjusts described in the modification information table One information element corresponding informance and the second information element corresponding informance put in order;
Wherein, first format is the format of the modification document, and second format is the user information tableau format.
3. according to the method described in claim 2, it is characterized in that, the format by the modification document is by first lattice Formula is converted to second format, obtains information conversion table and includes:
All information elements and the corresponding information of all information elements in the modification document are extracted by reflection technology;
It is associated in the corresponding information of all information elements that there are the information of corresponding relationship, obtains modification information table, the institute Having information element includes the first information element.
4. method according to claim 1-3, which is characterized in that the user message table includes one or more Information element, it is described to modify the corresponding information of first information element described in the user message table using the modification information table Include:
In the case where one or more of information elements do not include the first information element, in the user message table Add the corresponding information of first information element described in the first information element and the modification information table.
5. method according to claim 1-3, which is characterized in that the user message table includes one or more Information element, it is described to modify the corresponding information of first information element described in the user message table using the modification information table Include:
In the case where one or more of information elements include the first information element, using in the modification information table The corresponding information of first information element described in the first information element corresponding information replacement user message table.
6. according to the method described in claim 5, it is characterized in that, the first information element pair described in the modification information table It is described to replace institute using the corresponding information of first information element described in the modification information table in the case that the information answered is empty Stating the corresponding information of first information element described in user message table includes:
Delete first information element described in the user message table and the corresponding information of the first information element.
7. method according to claim 1-3, which is characterized in that the modification document includes second information Element, it is described to modify the corresponding packet of first information element described in the user message table using the modification information table It includes:
It include the first information element in the user message table, and the second information element pair described in the user message table In the case that the information answered does not include the first information, the first information and the corresponding information of the first information are added to In the user message table, the first information is appointing in the corresponding information of the second information element that the modification document includes One information.
8. a kind of information modifies device, which is characterized in that including for executing the method according to claim 1 to 7 Unit.
9. a kind of information modifies device, which is characterized in that including processor, memory and bus, the processor and described deposit Reservoir is connected with each other by the bus, and for the memory for storing computer program, the computer program includes program Instruction, the processor are configured for calling described program instruction, execute the method according to claim 1 to 7.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey Sequence, the computer program are executed by processor to realize the described in any item methods of claim 1-7.
CN201910525891.5A 2019-06-18 2019-06-18 Information modification method and related device Active CN110334333B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910525891.5A CN110334333B (en) 2019-06-18 2019-06-18 Information modification method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910525891.5A CN110334333B (en) 2019-06-18 2019-06-18 Information modification method and related device

Publications (2)

Publication Number Publication Date
CN110334333A true CN110334333A (en) 2019-10-15
CN110334333B CN110334333B (en) 2023-08-25

Family

ID=68142451

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910525891.5A Active CN110334333B (en) 2019-06-18 2019-06-18 Information modification method and related device

Country Status (1)

Country Link
CN (1) CN110334333B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112650477A (en) * 2020-12-31 2021-04-13 深圳软牛科技有限公司 Project data batch transfer method and device and electronic equipment
CN112784540A (en) * 2019-11-11 2021-05-11 珠海金山办公软件有限公司 Document number proofreading method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120233205A1 (en) * 2008-03-07 2012-09-13 Inware, Llc System and method for document management
CN102789484A (en) * 2012-06-28 2012-11-21 奇智软件(北京)有限公司 Method and device for webpage information processing
CN107679081A (en) * 2017-08-30 2018-02-09 平安科技(深圳)有限公司 Information amending method, device, computer equipment and computer-readable recording medium
US20180089157A1 (en) * 2016-09-28 2018-03-29 Abbyy Development Llc Text editing in an image of a document
US20180189244A1 (en) * 2016-12-31 2018-07-05 Entefy Inc. Advanced zero-knowledge document processing and synchronization
CN109670092A (en) * 2019-01-07 2019-04-23 北京仁和汇智信息技术有限公司 XML document proofreading method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120233205A1 (en) * 2008-03-07 2012-09-13 Inware, Llc System and method for document management
CN102789484A (en) * 2012-06-28 2012-11-21 奇智软件(北京)有限公司 Method and device for webpage information processing
US20180089157A1 (en) * 2016-09-28 2018-03-29 Abbyy Development Llc Text editing in an image of a document
US20180189244A1 (en) * 2016-12-31 2018-07-05 Entefy Inc. Advanced zero-knowledge document processing and synchronization
CN107679081A (en) * 2017-08-30 2018-02-09 平安科技(深圳)有限公司 Information amending method, device, computer equipment and computer-readable recording medium
CN109670092A (en) * 2019-01-07 2019-04-23 北京仁和汇智信息技术有限公司 XML document proofreading method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112784540A (en) * 2019-11-11 2021-05-11 珠海金山办公软件有限公司 Document number proofreading method and device
CN112784540B (en) * 2019-11-11 2023-11-07 珠海金山办公软件有限公司 Document number checking method and device
CN112650477A (en) * 2020-12-31 2021-04-13 深圳软牛科技有限公司 Project data batch transfer method and device and electronic equipment

Also Published As

Publication number Publication date
CN110334333B (en) 2023-08-25

Similar Documents

Publication Publication Date Title
US10796080B2 (en) Artificial intelligence based document processor
CN110457302B (en) Intelligent structured data cleaning method
US11003796B2 (en) Artificial intelligence based document processor
CN109447364B (en) Label-based electric power customer complaint prediction method
US20190394238A1 (en) IT compliance and request for proposal (RFP) management
Grouin et al. De-identification of clinical notes in French: towards a protocol for reference corpus development
CN107783950A (en) Package insert processing method and processing device
JP6582277B1 (en) Block chain history storage system and block chain history storage method
CN102737012A (en) Text information comparison method and system
CN110334333A (en) A kind of information amending method and relevant apparatus
CN103631967B (en) A kind of processing method and processing device of the tables of data with independent increment identification field
CN105872127B (en) A kind of IP address management system
Charnock Electronic healthcare records and data quality
US10997405B1 (en) Method, apparatus, and computer program product for performing machine learning on unstructured documents
CN110119951B (en) Recording method, recording device, computer equipment and storage medium
CN108021713B (en) Document clustering method and device
CN112685415A (en) Data import method and device, computer equipment and storage medium
Benton et al. A structured policy review of the principles of professional self‐regulation
CN109034834A (en) Commercial subject business scope register method, device, terminal device and storage medium
CN108549722A (en) Multi-platform data publication method, system and medium
CN114880409A (en) Data table filing method and related device
US8838543B2 (en) Archiving system that facilitates systematic cataloguing of archived documents for searching and management
CN114861614A (en) Method and device for filling data, electronic equipment and medium
CN103489051A (en) Method for checking and normalizing customer information in multiple information systems of fund company
AU2019201632A1 (en) Artificial intelligence based document processor

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