CN107402908A - Document content update method, device and equipment, computer-readable recording medium - Google Patents
Document content update method, device and equipment, computer-readable recording medium Download PDFInfo
- Publication number
- CN107402908A CN107402908A CN201710239597.9A CN201710239597A CN107402908A CN 107402908 A CN107402908 A CN 107402908A CN 201710239597 A CN201710239597 A CN 201710239597A CN 107402908 A CN107402908 A CN 107402908A
- Authority
- CN
- China
- Prior art keywords
- document
- repeat
- template
- recorded
- repeat 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/332—Query formulation
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Mathematical Physics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application provides a kind of document content update method, device and equipment, computer-readable recording medium, and methods described includes:Predefine in document and meet at least one repeat element of preparatory condition, and the positional information of repeat element in a document is recorded;After detecting the element renewal operation for the document, determine whether upgating object belongs to predetermined repeat element;If it is, according to pre-recorded positional information, batch updating is carried out to repeat element corresponding with the upgating object in the document.Implement the application, the repeat element in document can be updated in batches, improve document renewal efficiency.
Description
Technical field
The application is related to field of computer technology, more particularly to document content update method, device and equipment, readable Jie
Matter.
Background technology
User using electronic equipment when being operated and being learnt, commonly using documents editing software, such as:Text class editor
Software, image class software for editing etc.., may be in multiple positions of document input identical element (such as when user edits document:Figure
Shape, word, form or hyperlink etc.).
User to the identical element of multiple positions if necessary to be updated, then will search these elements one by one, so
Update the element found one by one afterwards.When the element that document contains is more, user needs to consult each element one by one, can just find
The element that need to be updated, and the process for consulting element extremely expends the time, can reduce document renewal efficiency.
The content of the invention
In view of this, the application provides a kind of document content update method, device and equipment, computer-readable recording medium.
According to the first aspect of the embodiment of the present application, there is provided a kind of document content update method, including step:
Predefine at least one repeat element for meeting preparatory condition in document, and the position to repeat element in a document
Confidence breath is recorded;
After detecting the element renewal operation for the document, determine whether upgating object belongs to predetermined repetition
Element;
If it is, according to pre-recorded positional information, repeated to corresponding with the upgating object in the document
Element carries out batch updating.
According to the second aspect of the embodiment of the present application, there is provided a kind of electronic equipment, including:
Processor;
Store the memory of processor-executable instruction;
Wherein, the processor is coupled in the memory, for reading the programmed instruction of the memory storage, and makees
For response, following operation is performed:
Predefine at least one repeat element for meeting preparatory condition in document, and the position to repeat element in a document
Confidence breath is recorded;
After detecting the element renewal operation for the document, determine whether upgating object belongs to predetermined repetition
Element;
If it is, according to pre-recorded positional information, repeated to corresponding with the upgating object in the document
Element carries out batch updating.
According to the third aspect of the embodiment of the present application, there is provided a kind of document content updating device, including:
Element determining module, meet at least one repeat element of preparatory condition, and counterweight in document for predefining
The positional information of complex element in a document is recorded;
Object judge module, for after detecting for the element renewal operation of the document, determining that upgating object is
It is no to belong to predetermined repeat element;
Batch updating module, for when upgating object belongs to predetermined repeat element, according to pre-recorded position
Confidence is ceased, and batch updating is carried out to repeat element corresponding with the upgating object in the document.
According to the 5th of the embodiment of the present application the aspect, there is provided one or more machine readable medias, instruction is stored thereon with,
When executed by one or more processors so that terminal device performs method as described above.
Implement the application provide embodiment, in advance during document is edited, determine repeatedly to be inputted in document and
The element for meeting preparatory condition is repeat element, and the positional information of repeat element in a document is recorded, and is then being examined
When measuring the element renewal operation for document, and determining that upgating object belongs to predetermined repeat element, user is without again
The each element in document is consulted one by one, you can by related system according to pre-recorded positional information, quickly in the document
Corresponding repeat element carries out batch updating.The time that the process that the present embodiment effectively save can consult element expends, Jin Erti
High document updates efficiency, and can improve the accuracy of renewal, reduce renewal missing rate.
Brief description of the drawings
Fig. 1 is the flow chart of the document content update method shown in the exemplary embodiment of the application one;
Fig. 2 is the flow chart of the document content update method shown in the application another exemplary embodiment;
Fig. 3 a are the flow charts of the document content update method shown in the application another exemplary embodiment;
Fig. 3 b-3e are that the documentation window in the document content update method shown in the exemplary embodiment of the application one shows
It is intended to;
Fig. 4 is the logic diagram of the document content updating device shown in the application another exemplary embodiment;
Fig. 5 is the hardware structure diagram of the document content updating device shown in the application another exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects be described in detail in claims, the application.
It is only merely for the purpose of description specific embodiment in term used in this application, and is not intended to be limiting the application.
" one kind " of singulative used in the application and appended claims, " described " and "the" are also intended to including majority
Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein refers to and wrapped
Containing the associated list items purpose of one or more, any or all may be combined.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application
A little information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, do not departing from
In the case of the application scope, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as
One information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determining ".
The invention relates to document, including word processor, PaintShop, equation editing software, table
The document that the various documents editing softwares such as lattice Software for producing, PowerPoint Software for producing are edited, user are compiled using these softwares
, may be in multiple positions of document input identical element (such as when collecting document:Identical figure, word, formula, form or
Hyperlink etc.), the embodiment of the present application will be located at multiple positions in document, and meet that the identical element of preparatory condition is referred to as repeating member
Element, different preparatory conditions can be pre-set for different types of element, such as:Text element, preparatory condition can be
Word quantity;Graphic element, preparatory condition can refer to the size of figure.
If user needs to be updated the repeat element in document, usually need to consult the member in document one by one
Element, the repeat element that need to be updated can be just found, find a repeat element, update a repeat element.In this renewal
During, the process for consulting element extremely expends the time, in addition, user is likely to miss part weight during element is consulted
Complex element, there is the phenomenon of leakage renewal repeat element, therefore, document renewal is extremely inefficient.How the application is for improve document
Update efficiency and propose solution.
The scheme of the application, it can determine repeatedly to be inputted and met in document in advance in advance during document is edited
If the element of condition is repeat element, and records to the positional information of repeat element in a document, then pin is being detected
When updating operation to the element of document, and determining that upgating object belongs to predetermined repeat element, user without looking into one by one again
Read each element in document, you can by related system according to pre-recorded positional information, quickly to corresponding in the document
Repeat element carries out batch updating.The time that the process that effectively save can consult element expends, and then document renewal efficiency is improved,
And the accuracy of renewal can be improved, reduce renewal missing rate.The document content of the application is described in detail below in conjunction with accompanying drawing more
New process.
Referring to Fig. 1, Fig. 1 is the flow chart of the document content update method shown in the exemplary embodiment of the application one, should
Embodiment can apply to the various electronic equipments for possessing documents editing ability, may comprise steps of S101-S103:
Step S101, predefine in document and meet at least one repeat element of preparatory condition, and repeat element is existed
Positional information in document is recorded.
Step S102, after detecting the element renewal operation for the document, determine whether upgating object belongs to advance
The repeat element of determination.
Step S103, if it is, according to pre-recorded positional information, in the document with the upgating object pair
The repeat element answered carries out batch updating.
In the embodiment of the present application, document can be word or file, form document, PowerPoint document, formula document, figure
Document, other kinds of document is can also be, such as:The product demand document of AXURE Software Creates.For different types of text
Different types of element in shelves or document, the application designer can set different preparatory conditions, to determine to repeat
Element.In some examples, document includes more dvielements such as word, figure, will be directed to text element, and repetition can be set first
The number of words scope of element is 3 to 10, and for graphic element, the dimension width that can set repeat element is 3 to 12, and dimensions length is
4 to 16.
After preparatory condition is set, if user starts related documents editing software editing document, documents editing
Software can detect the edit operation of user in real time, and identify the element being transfused in document, if the element recognized meets
Preparatory condition, and the diverse location of document is transfused to, the element recognized can be defined as repeat element, and record repetition member
Positional information of the element in document.The positional information recorded can be the specific coordinate of repeat element or relative position
Confidence ceases, number of pages such as in a document, ranks number.In addition, the positional information recorded can be directly sightless with user
Form, it is stored in the document that user edits.
In some examples, for the repeat element of negligible amounts in document, batch updating is carried out according to the position of record,
To the raising DeGrain of document renewal efficiency, and determine that repeat element, record position information will also consume device resource
And internal memory.For such case, the application designer, the input number that repeat element need to meet can be further limited, such as:
More than five times.
After the completion of user is to the first editor of document, the application can be determined in the document that first editor completes
Repeat element, and recorded the positional information of repeat element.If user is updated again to the document content editted
(such as change partial content, delete partial content), documents editing software can detect the element renewal behaviour for the document
Make (such as:Element modification operation, element deletion action etc.), and the upgating object of identification renewal operation, then detecting more
After new object, determine whether upgating object belongs to predetermined repeat element.It is determined that whether upgating object belongs in advance really
During fixed repeat element, the repeat element of upgating object and record can be contrasted, if repeating member with any of record
Element is identical, then can determine that upgating object belongs to repeat element.
, may be by deleting the part in the repeat element when user will change a certain repeat element in practical application
Content completes the modification to repeat element, such as:Will " Real Name Zhang little Hong " be revised as " during name Zhang little Hong ", Ke Yitong
Cross two words of deletion " true " and complete modification.For this situation, when it is determined that whether upgating object belongs to repeat element, if
Upgating object differs with the repeat element recorded, it can be determined that whether the partial content of upgating object and any repeat element
It is identical, if identical, it may be determined that upgating object belongs to repeat element., can be according to documents editing software in other examples
Type, the repeat element that is related to and specific renewal operation, other decision conditions are pre-set, to determine upgating object
Whether repeat element is belonged to, and the embodiment of the present application is without limitation.
After it is determined that upgating object belongs to repeat element, the embodiment of the present application can be directly from the positional information recorded
In, the positional information of the repeat element is transferred, then correspondence position is searched in the document based on the positional information recorded
Repeat element, the repeat element found is updated to respective element.And the concrete form of respective element, can with it is identified
Form after upgating object is updated is consistent.Such as:Upgating object and repeating objects are " Real Name Zhang little Hong ", renewal pair
It is respective element " name Zhang little Hong " after being updated with repeating objects.
In some examples, user may only need to be updated least a portion of repeat element in document, if this Shen
Please embodiment detect renewal for repeat element, i.e., batch is carried out to all repeat elements according to the positional information of record
Renewal, can run counter to user intention, cause to update by mistake.In consideration of it, the designer of the application can pre-set for it is same more
The number of the element renewal operation of new object, is such as arranged to 3 times, during specifically more, records the renewal operation detected
Number of operations, the element renewal operation detected is that operation is updated to the n-th of the upgating object, and N is is more than or waited
When 3 integer, then determine whether upgating object belongs to predetermined repeat element, it is true without performing if N is less than 3
Determine the operation whether upgating object belongs to predetermined repeat element.In some examples, n times renewal operation can also be limited
Update and operate for identical.
In addition, in order to further avoid the generation updated by mistake, can also be defeated after it is determined that upgating object belongs to repeat element
Go out batch updating prompting, after detecting that batch updating confirms operation, then perform according to pre-recorded positional information, to the text
Repeat element corresponding with the upgating object carries out the step of batch updating in shelves, so can determine whether to criticize by user
Amount renewal repeat element, to avoid the generation updated by mistake.The prompting exported can be that text prompt or voice carry
Show, set by the application designer according to specific application scenarios, the application is not limited to this.
In other examples, user may need to carry out the repeat element in document different types of renewal, such as:Will
First three in document repeat element is deleted, and remaining repeat element is updated into respective element.Detected in the embodiment of the present application
After the renewal three times of this repeat element, if repeating member to remaining this in document according to the positional information of record immediately
Element carries out batch updating (batch is deleted), can run counter to user intention, cause to update by mistake.In consideration of it, the embodiment of the present application can be
After determining that upgating object belongs to repeat element, output batch updating is prompted, and can contain various renewal option of operation in the prompting,
After detecting that batch updating confirms operation, identify that the confirmation operates confirmed renewal option of operation, further according to pre-recorded
Positional information, to repeat element corresponding with the upgating object in the document, carry out corresponding with the renewal option of operation
Batch updating, so batch updating repeat element can be determined whether by user, and it is specific how to repeat element progress
Renewal, to avoid the generation updated by mistake.
In addition, for the element after batch updating, in order to when user updates again to the element after batch updating, improve
Efficiency is updated, the element after batch updating can be defined as repeat element while batch updating, and records its position letter
Breath, circulation perform the operation of the embodiment of the present application.
From above-described embodiment, the document content update method of the application can be applied in word class software for editing, such as:
WPS text softwares, Microsoft office word softwares etc., can apply to image class software for editing, such as:Adobe
Photoshop softwares, CAD graphics softwares, other types documents editing software can also be applied to, such as:Axure RP softwares.When
User during software for editing, if having input identical element in multiple positions of document, passes through this in these documents editing softwares
Apply for the method for embodiment, the position of these identical elements in a document can be recorded, then detecting that this is identical to these
After the element renewal operation of element, each element in document is consulted one by one again without user, you can by related system according to record
Positional information, quickly to these identical elements carry out batch updating.The time that the process that effectively save can consult element expends,
And then document renewal efficiency is improved, and the accuracy of renewal can be improved, reduce renewal missing rate.
In practical application, some documents editing softwares have template (mother matrix) function, and template is Partial Elements (figure, text
Word etc.) set form, have standardization, the characteristic of immobilization., can be in specification and unified document by using template function
The pattern of identical element, form etc., therefore, the template function that user is provided by software, can be carried with batch updating identical element
Gao Gengxin efficiency.But user is in editor's document for the first time, it is difficult to determine which element is arranged to template at the very start, it is past
Toward after document has been edited, just can determine which element specifically is arranged into template, if a certain element in a document multiple
Position is present, and the element need to be arranged to template by user, then user needs to consult each element in document one by one, ability
The element of template need to be updated to by finding, and the process for consulting element extremely expends the time, can reduce document renewal efficiency.
In order to which the identical element in document everywhere quickly is updated into template, the text of the embodiment of the present application proposition can be used
Shelves content updating method carries out template-setup, wherein, it is present in multiple positions in document, and need to be arranged to the identical member of template
Element is repeat element, and element renewal operation can include element modification operation, element deletion action or template switch operation,
Batch updating can be template Batch conversion, and concrete implementation process can refer to Fig. 2, and Fig. 2 is the application another exemplary reality
The flow chart of the document content update method exemplified is applied, the embodiment can apply to the various electronics for possessing documents editing ability
Equipment, it may comprise steps of S201-S203:
Step S201, predefine in document and meet at least one repeat element of preparatory condition, and repeat element is existed
Positional information in document is recorded.
Step S202, after detecting the element renewal operation for the document, determine whether upgating object belongs to advance
The repeat element of determination.
Step S203, will be corresponding with the upgating object in the document if it is, according to pre-recorded positional information
Repeat element be converted into template.
The step S201 and step S202 of the embodiment of the present application are corresponding to the step S101 shown in Fig. 1 and step S102,
This is repeated no more.
For step S203, in conversion module, recorded positional information can be automatically based upon and looked into the document
The repeat element of correspondence position is looked for, the repeat element found is then converted into template.
The embodiment of the present application, according to pre-recorded positional information, after repeat element all is converted into template automatically, if
User again to be converted into the repeat element of template it is any be updated, then automatic batch updates other repeat elements therewith.
In addition, all repeat elements before being updated one by one to repeat element, may not be converted into template, be by user
Further to improve renewal efficiency, the embodiment of the present application, can be with output template batch after it is determined that upgating object belongs to repeat element
Transform hint is measured, in the prompting, prompts user to carry out batch updating to repeat element, and by the element Batch conversion after renewal
Into template, after the confirmation operation for detecting template Batch conversion, according to pre-recorded positional information, by the document with institute
State repeat element corresponding to upgating object and carry out batch updating, then the element after batch updating is converted into template.If do not examine
Measure, then do not perform template switch operation.
In some examples, user may need to be updated the part repeat element in document, such as:By in document
First three repeat element is deleted, and remaining repeat element is not modified.Detected in the embodiment of the present application heavy for this
After the renewal three times of complex element, if carrying out batch to remaining repeat element in document according to the positional information of record immediately
Renewal, can run counter to user intention, cause to update by mistake.In consideration of it, the embodiment of the present application can be it is determined that upgating object belongs to repetition
After element, output template Batch conversion prompting, after the confirmation operation for detecting template Batch conversion, further according to pre-recorded position
Confidence is ceased, and repeat element corresponding with the upgating object in the document is converted into template.If be not detected by, do not hold
Row template switch operates.
, can also be it is determined that one repeats member in order to further improve the renewal efficiency to repeat element in other examples
Element, and after recording the positional information of the repeat element, and before detecting for the element renewal operation of document, output template batch
Transform hint, after the confirmation operation for detecting template Batch conversion, further according to pre-recorded positional information, by the document
Repeat element be converted into template.
In other examples, for the element after batch updating, if repeat element is simply updated to phase by batch updating
Element is answered, in order to when user updates again to the element after batch modification, improve renewal efficiency, will can also find
While repeat element is updated to respective element, positional information of the respective element in the document is recorded, is found
All repeat elements are updated to after respective element, the prompting of output template Batch conversion, detecting template Batch conversion
After confirming operation, the respective element of correspondence position is searched in the document based on the positional information recorded, will be searched
To respective element be converted into template.
An application example is enumerated below in conjunction with accompanying drawing 3a to 3e, the documents editing software involved by this application example is
Axure RP softwares, there is template function, as shown in Figure 3 b, user multiple interfaces by Axure RP software development, to show
Example is convenient, and 4 interfaces are illustrate only in figure.Repeat element is specially word " the Real Name Zhang little Hong " positioned at different interfaces.
User by Axure RP softwares multiple interface input words " during Real Name Zhang little Hong ", Axure RP softwares
The operation triggered by checking user, such as replicate, paste operation, it may be determined that meet the repetition member of preparatory condition in document
Element, and the positional information of repeat element in a document is recorded (step S301).Behind multiple interfaces that complete,
Axure RP softwares can be directed to " Real Name Zhang little Hong " this repeat element output template Batch conversion prompting (steps
S302 text prompt information " whether agreeing to the repeat element in document everywhere generating template "), as shown in Figure 3 c, user
Click on after agreeing to button, trigger the confirmation operation to template Batch conversion, Axure RP softwares can detect template batch
After the confirmation operation of conversion, according to pre-recorded positional information, the repeat element in the document is converted into template (step
S303)。
If the confirmation operation of template Batch conversion is not received, and user needs again to be all modified to repeat element
" name Lee little Bai ", as shown in Figure 3 d, first by the element in part interface, " Real Name Zhang little Hong " is revised as " name Lee to user
Little Bai ", after user changes element, Axure RP softwares detect the operation of user in real time, are detecting for the document
After element renewal operation, determine whether upgating object belongs to predetermined repeat element (step S304).If it is, output mould
Plate Batch conversion prompts (step S305), in the prompting, prompts user to carry out batch updating to remaining repeat element, and will more
Element Batch conversion after new is into template, and " your text prompt as shown in Figure 3 e repeatedly modify to the object, if will
The remaining object batch is revised as " name Lee little Bai ", and amended object is generated into template ", and user, which clicks on, agrees to button
Afterwards, the confirmation operation to template Batch conversion is triggered.
After the confirmation operation for detecting template Batch conversion, carried more according in pre-recorded positional information and prompting
New content, repeat element corresponding with the upgating object in the document is subjected to batch updating (step S306), then will criticized
Element after amount renewal is converted into template (step S307).
Corresponding with the embodiment of preceding method, present invention also provides the embodiment of device.
Referring to Fig. 4, Fig. 4 is the logic diagram of the document content updating device shown in the exemplary embodiment of the application one, should
Device can include:Element determining module 410, object judge module 420 and batch updating module 430.
Wherein, element determining module 410, meet that at least one of preparatory condition repeats member in document for predefining
Element, and the positional information of repeat element in a document is recorded.
Object judge module 420, for after detecting for the element renewal operation of the document, determining upgating object
Whether predetermined repeat element is belonged to.
Batch updating module 430, for when upgating object belongs to predetermined repeat element, according to pre-recorded
Positional information, batch updating is carried out to repeat element corresponding with the upgating object in the document.
In some examples, object judge module 420 can be also used for:
When the element renewal operation detected is to update operation to the n-th of the upgating object, upgating object is determined
Whether predetermined repeat element is belonged to, and N is the integer more than or equal to 3.
In other examples, element renewal operation includes one or more of operation:
Element modification operation, element deletion action, template switch operation.
In other examples, batch updating module 430 can include:
Repeat element searching modul, for searching the weight of correspondence position in the document based on the positional information recorded
Complex element.
Element update module, for the repeat element found to be updated into respective element.
As an example, the respective element is the element generated after the more object is updated.
In other examples, the document content updating device of the embodiment of the present application can also include:
Position logging modle, for while the repeat element found is updated into respective element, recording the phase
Answer positional information of the element in the document.
Template reminding module, after being updated to respective element in all repeat elements found, export mould
Plate Batch conversion is prompted.
Respective element searching modul, after the confirmation for detecting template Batch conversion operates, based on the position recorded
Information searches the respective element of correspondence position in the document.
Template switch module, for the respective element found to be converted into template.
In other examples, batch updating module 430 can also include:
Repeat element searching modul, for searching the weight of correspondence position in the document based on the positional information recorded
Complex element.
Element modular converter, for the repeat element found to be converted into template.
In other examples, the document content updating device of the embodiment of the present application can also include:
Template batch reminding module, for before detecting for the element renewal operation of the document, output template to be in batches
Transform hint.
Template Batch conversion module, for the confirmation of detection template Batch conversion operation after, according to pre-recorded position
Confidence is ceased, and repeat element corresponding with the upgating object in the document is converted into template.
In other examples, the document content updating device of the embodiment of the present application can also include:
Batch updating reminding module, for after it is determined that upgating object belongs to predetermined repeat element, output batch
Renewal prompting.
Batch updating confirms module, for after detecting that batch updating confirms operation, being believed according to pre-recorded position
Breath, batch updating is carried out to repeat element corresponding with the upgating object in the document.
The function of unit (or module) and the implementation process of effect specifically refer to right in the above method in said apparatus
The implementation process of step is answered, will not be repeated here.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is real referring to method
Apply the part explanation of example.Device embodiment described above is only schematical, wherein described be used as separating component
The unit or module of explanation can be or may not be physically separate, and the part shown as unit or module can be with
It is or may not be physical location or module, you can with positioned at a place, or multiple network lists can also be distributed to
In member or module.Some or all of module therein can be selected to realize the mesh of application scheme according to the actual needs
's.Those of ordinary skill in the art are without creative efforts, you can to understand and implement.
The embodiment of the application document content updating device can be applied on an electronic device.Specifically can be by calculating movement
Piece or entity are realized, or are realized by the product with certain function.In a kind of typical realization, electronic equipment is calculating
Machine, the concrete form of computer can be personal computer, laptop computer, cell phone, camera phone, smart phone,
Personal digital assistant, media player, navigation equipment, E-mail receiver/send equipment, game console, tablet PC, it can wear
Wear equipment, internet television, intelligent locomotive, pilotless automobile, intelligent refrigerator, other intelligent home devices or these equipment
In any several equipment combination.
Device embodiment can be realized by software, can also be realized by way of hardware or software and hardware combining.With
Exemplified by software is realized, as the device on a logical meaning, being will be non-volatile by the processor of electronic equipment where it
Corresponding computer program instructions read what operation in internal memory was formed in the computer-readable recording mediums such as memory.For hardware view,
As shown in figure 5, it is a kind of hardware structure diagram of the application document content updating device place electronic equipment, except shown in Fig. 5
Outside processor, internal memory, network interface and nonvolatile memory, the usual root of electronic equipment in embodiment where device
According to the actual functional capability of the electronic equipment, other hardware can also be included, this is repeated no more.The internal memory of electronic equipment can be deposited
Store up the memory of processor executable program instructions;Processor can be with coupled memory, for reading the memory storage
Programmed instruction, and as response, perform following operation:Predefine and meet that at least one of preparatory condition repeats member in document
Element, and the positional information of repeat element in a document is recorded;After detecting the element renewal operation for the document,
Determine whether upgating object belongs to predetermined repeat element;If it is, according to pre-recorded positional information, to described
Repeat element corresponding with the upgating object carries out batch updating in document.
In other embodiments, the operation performed by processor may be referred to description related in embodiment of the method above,
It will not be described here.
The preferred embodiment of the application is the foregoing is only, not limiting the application, all essences in the application
God any modification, equivalent substitution and improvements done etc., should be included within the scope of the application protection with principle.
Claims (18)
1. a kind of document content update method, it is characterised in that including step:
At least one repeat element for meeting preparatory condition in document is predefined, and the position of repeat element in a document is believed
Breath is recorded;
After detecting the element renewal operation for the document, determine whether upgating object belongs to predetermined and repeat member
Element;
If it is, according to pre-recorded positional information, to repeat element corresponding with the upgating object in the document
Carry out batch updating.
2. according to the method for claim 1, it is characterised in that the element renewal operation detected is to the upgating object
N-th renewal operation when, perform and determine upgating object the step of whether belonging to predetermined repeat element, N to be more than or
Integer equal to 3.
3. according to the method for claim 1, it is characterised in that the element renewal operation includes one or more of behaviour
Make:
Element modification operation, element deletion action, template switch operation.
4. according to the method for claim 1, it is characterised in that it is described according to pre-recorded positional information, to the text
Repeat element corresponding with the upgating object carries out batch updating in shelves, including:
The repeat element of correspondence position is searched in the document based on the positional information recorded;
The repeat element found is updated to respective element.
5. according to the method for claim 4, it is characterised in that methods described is further comprising the steps of:
While the repeat element found is updated into respective element, position of the respective element in the document is recorded
Confidence ceases;
After all repeat elements found are updated to respective element, the prompting of output template Batch conversion;
After the confirmation operation for detecting template Batch conversion, corresponding position is searched in the document based on the positional information recorded
The respective element put;
The respective element found is converted into template.
6. according to the method for claim 1, it is characterised in that it is described according to pre-recorded positional information, to the text
Repeat element corresponding with the upgating object carries out batch updating in shelves, including:
The repeat element of correspondence position is searched in the document based on the positional information recorded;
The repeat element found is converted into template.
7. according to the method for claim 1, it is characterised in that before detecting for the element renewal operation of the document,
Methods described is further comprising the steps of:
Output template Batch conversion is prompted;
After the confirmation for detecting template Batch conversion operates, according to pre-recorded positional information, by the document with institute
State repeat element corresponding to upgating object and be converted into template.
8. method according to any one of claim 1 to 7, it is characterised in that determine that upgating object belongs to predetermined
Repeat element after, methods described is further comprising the steps of:
Export batch updating prompting;
Performed after detecting that batch updating confirms operation according to pre-recorded positional information, in the document with it is described more
Repeat element corresponding to new object carries out the step of batch updating.
9. a kind of electronic equipment, it is characterised in that including:
Processor;
Store the memory of processor-executable instruction;
Wherein, the processor is coupled in the memory, for reading the programmed instruction of the memory storage, and as sound
Should, perform following operation:
At least one repeat element for meeting preparatory condition in document is predefined, and the position of repeat element in a document is believed
Breath is recorded;
After detecting the element renewal operation for the document, determine whether upgating object belongs to predetermined and repeat member
Element;
If it is, according to pre-recorded positional information, to repeat element corresponding with the upgating object in the document
Carry out batch updating.
A kind of 10. document content updating device, it is characterised in that including:
Element determining module, meet at least one repeat element of preparatory condition in document for predefining, and counterweight recovers
The positional information of element in a document is recorded;
Object judge module, for after detecting for the element renewal operation of the document, determining whether upgating object belongs to
In predetermined repeat element;
Batch updating module, for when upgating object belongs to predetermined repeat element, being believed according to pre-recorded position
Breath, batch updating is carried out to repeat element corresponding with the upgating object in the document.
11. device according to claim 10, it is characterised in that the object judge module is additionally operable to:
When the element renewal operation detected is to update operation to the n-th of the upgating object, whether upgating object is determined
Belong to predetermined repeat element, N is the integer more than or equal to 3.
12. device according to claim 10, it is characterised in that the element renewal operation includes one or more of
Operation:
Element modification operation, element deletion action, template switch operation.
13. device according to claim 10, it is characterised in that the batch updating module includes:
Repeat element searching modul, for searching the repetition member of correspondence position in the document based on the positional information recorded
Element;
Element update module, for the repeat element found to be updated into respective element.
14. device according to claim 13, it is characterised in that described device also includes:
Position logging modle, for while the repeat element found is updated into respective element, recording the corresponding member
Positional information of the element in the document;
Template reminding module, after being updated to respective element in all repeat elements found, output template batch
Measure transform hint;
Respective element searching modul, after being operated in the confirmation for detecting template Batch conversion, based on the position letter recorded
Cease the respective element that correspondence position is searched in the document;
Template switch module, for the respective element found to be converted into template.
15. device according to claim 10, it is characterised in that the batch updating module also includes:
Repeat element searching modul, for searching the repetition member of correspondence position in the document based on the positional information recorded
Element;
Element modular converter, for the repeat element found to be converted into template.
16. device according to claim 10, it is characterised in that described device also includes:
Template batch reminding module, before in detection for the element renewal operation of the document, output template Batch conversion
Prompting;
Template Batch conversion module, after being operated in the confirmation for detecting template Batch conversion, according to pre-recorded position
Information, repeat element corresponding with the upgating object in the document is converted into template.
17. the device according to any one of claim 10 to 16, it is characterised in that described device also includes:
Batch updating reminding module, for after it is determined that upgating object belongs to predetermined repeat element, exporting batch updating
Prompting;
Batch updating confirm module, for detect batch updating confirm operation after, it is right according to pre-recorded positional information
Repeat element corresponding with the upgating object carries out batch updating in the document.
18. one or more machine readable medias, it is characterised in that instruction is stored thereon with, when by one or more processors
During execution so that terminal device performs the method as any one of claim 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710239597.9A CN107402908A (en) | 2017-04-13 | 2017-04-13 | Document content update method, device and equipment, computer-readable recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710239597.9A CN107402908A (en) | 2017-04-13 | 2017-04-13 | Document content update method, device and equipment, computer-readable recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107402908A true CN107402908A (en) | 2017-11-28 |
Family
ID=60405218
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710239597.9A Pending CN107402908A (en) | 2017-04-13 | 2017-04-13 | Document content update method, device and equipment, computer-readable recording medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107402908A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108241605A (en) * | 2017-12-13 | 2018-07-03 | 广西电网有限责任公司电力科学研究院 | A kind of technical report standardization write method based on VC |
CN109284350A (en) * | 2018-11-16 | 2019-01-29 | 天津字节跳动科技有限公司 | Retrieve update method, device, storage medium and the electronic equipment of content |
CN110687873A (en) * | 2018-07-05 | 2020-01-14 | Juki株式会社 | Production system, management device, and recording medium for recording program |
CN111309818A (en) * | 2020-01-16 | 2020-06-19 | 平安医疗健康管理股份有限公司 | Document changing method and device based on timing task, computer equipment and computer storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101408876A (en) * | 2007-10-09 | 2009-04-15 | 中兴通讯股份有限公司 | Method and system for searching full text of electric document |
CN102012896A (en) * | 2010-12-29 | 2011-04-13 | 深圳市五巨科技有限公司 | Method and device for realizing bulk editing of file contents |
US20110161808A1 (en) * | 2008-09-10 | 2011-06-30 | Donglin Wang | Method and system for processing electronic data |
-
2017
- 2017-04-13 CN CN201710239597.9A patent/CN107402908A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101408876A (en) * | 2007-10-09 | 2009-04-15 | 中兴通讯股份有限公司 | Method and system for searching full text of electric document |
US20110161808A1 (en) * | 2008-09-10 | 2011-06-30 | Donglin Wang | Method and system for processing electronic data |
CN102012896A (en) * | 2010-12-29 | 2011-04-13 | 深圳市五巨科技有限公司 | Method and device for realizing bulk editing of file contents |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108241605A (en) * | 2017-12-13 | 2018-07-03 | 广西电网有限责任公司电力科学研究院 | A kind of technical report standardization write method based on VC |
CN110687873A (en) * | 2018-07-05 | 2020-01-14 | Juki株式会社 | Production system, management device, and recording medium for recording program |
CN110687873B (en) * | 2018-07-05 | 2024-02-06 | Juki株式会社 | Production system, management device, and recording medium for recording program |
CN109284350A (en) * | 2018-11-16 | 2019-01-29 | 天津字节跳动科技有限公司 | Retrieve update method, device, storage medium and the electronic equipment of content |
CN109284350B (en) * | 2018-11-16 | 2020-11-13 | 天津字节跳动科技有限公司 | Method and device for updating search content, storage medium and electronic equipment |
CN111309818A (en) * | 2020-01-16 | 2020-06-19 | 平安医疗健康管理股份有限公司 | Document changing method and device based on timing task, computer equipment and computer storage medium |
CN111309818B (en) * | 2020-01-16 | 2024-10-29 | 深圳平安医疗健康科技服务有限公司 | Document changing method and device based on timing task, computer equipment and computer storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102841789B (en) | A kind of method and apparatus of recording with playback that user in browser is operated | |
US10409892B2 (en) | Formatting data by example | |
CN111552627A (en) | User interface testing method and device, storage medium and computer equipment | |
Horrocks et al. | Optimised reasoning for SHIQ | |
CN107402908A (en) | Document content update method, device and equipment, computer-readable recording medium | |
KR20160114077A (en) | Scrubber to remove personally identifiable information | |
CN108427731A (en) | Processing method, device, terminal device and the medium of page code | |
TW200939052A (en) | Dynamic formulas for spreadsheet cells | |
WO2024060452A1 (en) | Method and system for automatically extracting signal path, and device and storage medium | |
CN107783766A (en) | The method and apparatus cleared up the file of application program | |
CN102054217A (en) | Entity morphing in metamodel-based tools | |
CN104813312A (en) | Stateful editing of rich content using a basic text box | |
CN105512276B (en) | Method and device for constructing junk file and electronic equipment | |
CN101641688A (en) | Definable application assistant | |
CN110688145A (en) | Android MVP code automatic generation method, device, medium and electronic equipment | |
CN104395881A (en) | Representation and conversion of dynamically-typed arrays | |
CN104537012B (en) | Data processing method and device | |
US9361210B2 (en) | Capturing domain validations and domain element initializations | |
CN108563476A (en) | application program operation method, device, storage medium and electronic equipment | |
CN112948264A (en) | Test task execution method, device, system, storage medium and electronic device | |
CN111858339A (en) | Memory analysis method, device and system, computing device and computer-readable storage medium | |
CN112182115A (en) | Relationship display method and device, storage medium and electronic device | |
CN111459547B (en) | Method and device for displaying function call link | |
CN103326892A (en) | Web interface operation method and device | |
CN114546410A (en) | Code optimization method based on design mode and related equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171128 |
|
RJ01 | Rejection of invention patent application after publication |