CN107423267A - The transmission of modification file, merging method and system based on cursor positioning - Google Patents

The transmission of modification file, merging method and system based on cursor positioning Download PDF

Info

Publication number
CN107423267A
CN107423267A CN201710166960.9A CN201710166960A CN107423267A CN 107423267 A CN107423267 A CN 107423267A CN 201710166960 A CN201710166960 A CN 201710166960A CN 107423267 A CN107423267 A CN 107423267A
Authority
CN
China
Prior art keywords
file
modification
original document
cursor
differential
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
CN201710166960.9A
Other languages
Chinese (zh)
Other versions
CN107423267B (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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Shiyuan Electronics Thecnology Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201710166960.9A priority Critical patent/CN107423267B/en
Publication of CN107423267A publication Critical patent/CN107423267A/en
Application granted granted Critical
Publication of CN107423267B publication Critical patent/CN107423267B/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/194Calculation of difference between files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present embodiments relate to a kind of transmission method of the modification file based on cursor positioning, including modification file cursor positioning position information is obtained in real time;For the cursor positioning position information of the modification file currently obtained, corresponding file extraction content is extracted from modification file, judges whether the file extraction content for changing file is changed compared with the related content of original document;If the file extraction content of modification file is changed compared with related content in the paragraph of original document, the differential file record of each acquired cursor position location of client generation modification file, store in array;After original document completes modification, client generates and transmits differential file, for being merged with original document.The embodiment of the present invention also provides Transmission system, merging method and the combination system of the modification file based on cursor positioning.The present invention only transmits differential file, has saved system resource without carrying out overall comparison to file.

Description

The transmission of modification file, merging method and system based on cursor positioning
Technical field
The present invention relates to a kind of file storage technology, and in particular to a kind of transmission of the modification file based on cursor positioning, merges Method and system.
Background technology
With the continuous development of network technology, people more and more store file in the server, are easy to call at any time.When When needing to modify to the file that server has stored, currently used method has two kinds, and one kind is by amended original text On part is directly uploaded onto the server from client, original is covered on the server, and another kind is contrast original and modification text The difference of part, finds out variance data, and variance data is uploaded onto the server and preserved, and enters when needing with original document Row merges, and described " merging " is exactly to carry out simple replace in original using variance data to change.
However, original, which is directly uploaded, can take larger bandwidth, suitable for the upload of small documents, occur for big file micro- Small modifications/variation can take more network bandwidth resources for carrying out overall file upload.
Original and modification file are contrasted in a manner of variance data to be provided and is preserved again, net can be saved to a certain extent Network bandwidth, but contrasted in full if to do, in the big data epoch, this mode needs to consume more internal memories and cpu resource, Also it is inadvisable.
Therefore, existing solution is feasible for the processing of small documents, but for the upload process of big file, or it is more Or it is few can all occur on network I/O, CPU and internal memory take resource it is more the problem of.
The content of the invention
Taken for the ease of carrying out big file uploading and reducing the system resource in file upload procedure, the embodiment of the present invention provides A kind of transmission method of the modification file based on cursor positioning, comprises the following steps:
Step 1:Modification file cursor positioning position information is obtained in real time;
Step 2:For the cursor positioning position information of the modification file currently obtained, corresponding file is extracted from modification file Content is extracted, judges whether the file extraction content for changing file is become compared with the related content of original document Change;
Step 3:If change file the file extract content compared with related content in the paragraph of original document there occurs Change, the differential file record of each acquired cursor position location of generation modification file, is stored in array;
Step 4:Judge whether to complete the modification of original document, if not completing the modification of original document, return to step 1;
Step 5:After original document completes modification, determined according to each acquired cursor of the modification file stored in the array The differential file record generation differential file of bit positions;
Step 6:The differential file of generation is transmitted, so as to which differential file to be used to merge with original document.
Further, the modification file cursor location information includes the paragraph at cursor dwell.
Further, the modification file cursor location information also includes the bebinning character sequence number stopped in cursor paragraph.
Further, in step 2, since change acquired cursor position location is extracted in file the text that terminates to place paragraph Part extracts content, judges whether the file extraction content for changing file is sent out compared with related content in the paragraph of original document Change is given birth to.
Further, differential file record includes changing file cursor positioning position information, operational attribute, the movement of bebinning character sequence number The file extraction content of number and modification file.
Further, in step 3, original text corresponding with changing bebinning character sequence number of the cursor position location of file in paragraph Bebinning character sequence number of the part in the paragraph is identified below:Modification file bebinning character sequence number subtract the bebinning character sequence number it The preceding increased character ordinal number of modification moves number and plus the character ordinal number movement number of reduction before the bebinning character sequence number;
The file for changing file extracts content compared with the related content of original document, and the number of characters of change subtracts modification text The cursor position location of part increased character ordinal number movement number and adds the banner word after the bebinning character sequence number in paragraph The character ordinal number movement number of reduction after symbol sequence number, the absolute value of income value is at the cursor position location of current modification file Character ordinal number moves number, and income value is that positive number represents operational attribute increase, and income value is that negative number representation operational attribute is deletion.
The embodiment of the present invention also provides a kind of merging method of the modification file based on cursor positioning, comprises the following steps:
Step 21:Server end receives the differential file transmitted using above-mentioned transmission method from client;
Step 22:Server end merges differential file and original document.
The embodiment of the present invention also provides a kind of Transmission system of the modification file based on cursor positioning, including cursor sprocket bit confidence Breath acquisition device, file extraction content judge that processing unit, original document modification complete judgment means, differential file generating means With differential file transmitting device, wherein,
Cursor positioning position information acquisition device is used to obtain the cursor positioning position information for changing file in real time;
File extraction content judges that processing unit is used to be directed to the cursor positioning position information for changing file that currently obtains, from repairing Change and corresponding file extraction content is extracted in file, judge that the file extraction content for changing file is related to original document Content compared to whether is changed, if modification file the file extraction content with the paragraph of original document mutually inside the Pass Hold compared to being changed, then relevant difference file record information is stored in array;
Original document modification completes judgment means and is used to judge whether to complete the modification of original document;
Differential file generating means are used for after original document completes modification, according to the every of the modification file stored in the array Differential file record generation differential file at individual acquired cursor position location;
Differential file transmitting device is used for the differential file for transmitting generation.
Further, the differential file note of the last time of the same cursor position location of modification file is only preserved in the array Record.
The embodiment of the present invention also provides a kind of combination system of the modification file based on cursor positioning, includes the difference of server end File reception device and differential file merge device,
Differential file reception device is used to receive differential file from the above-mentioned Transmission system of client;
Differential file merges device and is used to merge differential file and original document.
The technical scheme of the embodiment of the present invention is aided in by using browser technology, is carried out in the text component browsed File is browsed and changed, then by positioning line information of the user to file modification, obtains the row content of modification;With original text Part is contrasted;Transmit difference content;Paragraph and bebinning character sequence number and difference content are formed into a differential file, led to Cross on network uploads onto the server.Server by reverse combination variance file, forms final file again.
Thus, the technical scheme of the embodiment of the present invention to full piece file without being compared, it is only necessary to which the interior of part is changed in contrast Hold, reduce the amount of calculation of system, reduce to CPU and memory source occupancy;Also, due to only uploading the content of modification part And the positional information of file, reduce the occupancy to network I/O.
Brief description of the drawings
Fig. 1 is the transmission method flow chart of the modification file based on cursor positioning of the embodiment of the present invention;
Fig. 2 is the merging method flow chart of the modification file based on cursor positioning of the embodiment of the present invention;
Fig. 3 is the Transmission system of modification file and the system block diagram of combination system based on cursor positioning of the embodiment of the present invention.
Embodiment
For the object, technical solutions and advantages of the present invention are more clearly understood, below in conjunction with specific embodiment, and with reference to attached Figure, the present invention is described in more detail.But those skilled in the art know, the invention is not limited in accompanying drawing and following implementation Example.
As shown in figure 1, the transmission method of the modification file based on cursor positioning of the embodiment of the present invention comprises the following steps:
Step 1:Client obtains modification file cursor positioning position information in real time.
When user modifies to original document on a web browser, can click or double click button by way of, by cursor Move and be docked to location revision and deleted, added, changed (number of characters is constant) operation, browser component passes through Cursor positioning position information of the JavaScript user in real on modification file.
JavaScript is a kind of literal translation formula script, is a kind of regime type, weak type, the language based on prototype, built-in Support type.Its interpreter is referred to as JavaScript engine, is a part for browser, is widely used in the script of client Language, for increasing dynamic function to html web page, browser can be detected.
The modification file cursor location information stops banner word including the paragraph at cursor dwell and cursor in the paragraph Accord with sequence number.
For example, the original document that user changes on a web browser is as follows:
“……
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with specific embodiment, and with reference to attached Figure, the present invention is described in more detail.But those skilled in the art know, the invention is not limited in Figure of description and with Lower embodiment.
... ",
Original document it is amended modification file 1 be:
“……
For the object, technical solutions and advantages of the present invention are more clearly understood, below in conjunction with specific embodiment, and reference Accompanying drawing, the present invention is described in more detail.But those skilled in the art know, the invention is not limited in Figure of description and Following examples.
... ",
That is, after user moves the cursor to " clear " using mouse, a mouse click positioning cursor position, in the character ordinal number position Put insertion " clear ", then in changing file on the word in the bebinning character serial number " clear " of increased character " clear " Accord with the character ordinal number 27 of " bright " in paragraph 22.
Or the amended modification file 2 of original document is:
“……
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with specific embodiment, and with reference to attached Figure, the present invention is described in more detail.But those skilled in the art know, the invention is not limited in Figure of description and with Lower embodiment.
... ",
That is, user is moved the cursor to after " being not limited to " or before " accompanying drawing and following examples " using mouse, a mouse click Position cursor position, " specification " deleted with Delete keys or Backspace keys, then on deletion " specification " banner word Accord with bebinning character sequence number 75 of the character " attached " of serial number " accompanying drawing " in paragraph 22.
Step 2:Client is directed to the cursor positioning position information of the modification file currently obtained, is extracted from modification file corresponding File extraction content, judge change file the file extraction content whether occur compared with the related content of original document Change.If the file of modification file extracts content compared with related content in the paragraph of original document without becoming Change, then do not generate record;If the file for changing file extracts content compared with related content in the paragraph of original document Changed, into step 3.
Preferably, in step 2, client is just judged after the scheduled time, and the moment occurs in next cursor locating events Complete.The reason is that to ensure to complete modification at this cursor position location, without being influenceed by subsequent modification.
Specific determination methods are preferably:To place paragraph knot since being changed the cursor position location acquired in being extracted in file The file extraction content of beam, judges that the file for changing file extracts content compared with related content in the paragraph of original document Whether changed.
Step 3:If change file the file extract content compared with related content in the paragraph of original document there occurs Change, the differential file record of each acquired cursor position location of client generation modification file, storage to number In group.
Differential file record includes changing file cursor positioning position information, operational attribute, bebinning character sequence number movement number and repaiied Change the file extraction content of file.Wherein, operational attribute includes insertion, deletes and change, and shows user to related content Which kind of operation is carried out, " insertion " represents to add character compared with original document, and " deletion " represents to subtract compared with original document Character is lacked, " modification " represents that number of characters does not change compared with original document, but word content is changed.
Character ordinal number movement number represents what is increased or delete relative to original document in specific light demarcation bit positions modification file Character quantity, for example ,+3 represent to increase on the current cursor position location of modification file or delete 3 characters, it is increase Or the operational attribute for deleting thus bar differential file record determines.The character ordinal number movement number of modification operation is zero.
Preferably, also the relevant paragraph content of the original document corresponding with the file extraction content for changing file is stored In array.
Specifically, as it was previously stated, the amended modification file 1 of original document is:
“……
To make the object, technical solutions and advantages of the present invention clearerUnderstand, below in conjunction with specific embodiment, and reference Accompanying drawing, the present invention is described in more detail.But those skilled in the art know, the invention is not limited in Figure of description and Following examples.
... ",
The differential file then generated is recorded as:
Wherein, original document and modification each comfortable 22 sections of words terminated since bebinning character sequence number 27 to paragraph of file are compared Content, it is determined that adding 2 characters, so operational attribute is "+", character ordinal number movement number is " 2 ".
Further, as it was previously stated, the amended modification file 2 of original document is:
“……
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with specific embodiment, and with reference to attached Figure, the present invention is described in more detail.But those skilled in the art know, the invention is not limited inAccompanying drawing and with Lower embodiment.
... ",
The differential file then generated is recorded as:
Wherein, original document and modification each comfortable 22 sections of words terminated since bebinning character sequence number 75 to paragraph of file are compared Content, it is determined that deleting 3 characters, so operational attribute is "-", character ordinal number movement number is " 3 ".
Further, with reference to above-mentioned two change file, when modification file same paragraph in there are multiple cursor position locations During information, exemplified by two, illustrate the process for generating differential file record.
First, increase by 2 characters " clear " at the bebinning character sequence number 27 of paragraph 22, then generate that original document is amended repaiies Changing file 1 is:
“……
To make the object, technical solutions and advantages of the present invention clearerUnderstand, below in conjunction with specific embodiment, and reference Accompanying drawing, the present invention is described in more detail.But those skilled in the art know, the invention is not limited in Figure of description and Following examples.
... ",
The differential file being then stored in array is recorded as:
Hereafter, " specification " is deleted, the amended modification file 3 of generation original document is:
“……
To make the object, technical solutions and advantages of the present invention clearerUnderstand, below in conjunction with specific embodiment, and reference Accompanying drawing, the present invention is described in more detail.But those skilled in the art know, the invention is not limited inAccompanying drawing and Following examples.
... ",
The differential file being then stored in array is recorded as:
Wherein, will modification file in 22 sections of word contents terminated since bebinning character sequence number 77 to paragraph, with original document 22 sections from bebinning character sequence number 75 (modification file bebinning character sequence number 77 subtract above change when increased two number of characters) Start the word content terminated to paragraph, it is determined that deleting 3 characters, operational attribute is "-", and character ordinal number movement number is " 3 ".
In another example, " specification " first is deleted, in increase " clear ".After deleting " specification ", after original document modification Modification file 2 be:
“……
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with specific embodiment, and with reference to attached Figure, the present invention is described in more detail.But those skilled in the art know, the invention is not limited inAccompanying drawing and with Lower embodiment.
... ",
The differential file being then stored in array is recorded as:
Hereafter, " clear " is increased, the amended modification file 3 of generation original document is:
“……
To make the object, technical solutions and advantages of the present invention clearerUnderstand, below in conjunction with specific embodiment, and reference Accompanying drawing, the present invention is described in more detail.But those skilled in the art know, the invention is not limited inAccompanying drawing and Following examples.
... ",
The differential file being then stored in array is recorded as:
Wherein, will modification file in 22 sections of word contents terminated since bebinning character sequence number 27 to paragraph, with original document 22 sections of word contents terminated since bebinning character sequence number 27 to paragraph are compared, and have lacked 1 character, due to deleting 3 before Individual character, so add 2 characters at bebinning character sequence number 27 at 22 sections in modification file, operational attribute is "+", character Sequence number movement number is " 2 ".
Thus, when occurring multiple effective modification file cursor positioning position informations in same paragraph, the light with changing file It is true as follows to mark bebinning character sequence number of the original document in the paragraph corresponding to bebinning character sequence number of the position location in paragraph It is fixed:The bebinning character sequence number of modification file is changed increased character ordinal number movement number and added before subtracting the bebinning character sequence number The character ordinal number movement number of reduction before the bebinning character sequence number.Change the file extraction content and original document of file Related content is compared, and the cursor that the number of characters of change subtracts (containing sign, positive to represent increase, negative indication is reduced) modification file is determined Increased character ordinal number moves number and plus after the bebinning character sequence number after bebinning character sequence number of the position position in paragraph The character ordinal number movement number of reduction, the absolute value of income value are the character ordinal number at the cursor position location of current modification file Mobile number, income value are that positive number represents operational attribute increase, and income value is that negative number representation operational attribute is deletion.
In addition, when user modifies to the same cursor position location for changing file again, the cursor is preserved in array Differential file record behind position location once, previous differential file record is deleted, is avoided to same cursor sprocket bit Put and carry out multiple replacement operation.
Step 4:Client judges whether to complete the modification of original document, if not completing the modification of original document, returned Return step 1;If completing the modification of original document, step 5 is carried out.
Client judges that the modification for completing original document can be that " modification is completed " button is clicked, or detects original document It is closed.
Step 5:After original document completes modification, client is according to each acquired of the modification file stored in the array Differential file record generation differential file at cursor position location.
Step 6:The differential file of client transmissions generation, can be merged with original document.
In another embodiment of the present invention, the paragraph at the cursor location information storage cursor dwell of file is changed.It will repair Change the paragraph content of this in file section compared with this section of paragraph content of original document, generation differential file is transmitted.
As shown in Fig. 2 the merging method of the modification file based on cursor positioning of the embodiment of the present invention comprises the following steps:
Step 21:Server end receives differential file from client.
Step 22:Server end merges differential file and original document.According to every differential file note in differential file Record, finds relevant position in original document, the file extraction content pair of the modification file in being recorded using differential file Paragraph content in original document after relevant position is replaced.On how according to modification file cursor positioning position information (paragraph, bebinning character sequence number) finds the position of corresponding original document, illustrates above, no longer superfluous herein State.
The embodiment of the present invention also provides a kind of Transmission system of the modification file based on cursor positioning, including cursor sprocket bit confidence Breath acquisition device, file extraction content judge that processing unit, original document modification complete judgment means, differential file generating means With differential file transmitting device, wherein:
Cursor positioning position information acquisition device is used to obtain the cursor positioning position information for changing file in real time.
When user modifies to original document on a web browser, location revision can be moved the cursor to and deleted, added, repaiied Change operation, the component of browser obtains cursor positioning position information of the user on modification file by JavaScript.
The cursor location information comprises at least the paragraph that cursor dwell is crossed, and can also be stopped including cursor in the paragraph Beginning character ordinal number.
File extraction content judges that processing unit is used to be directed to the cursor positioning position information for changing file that currently obtains, from repairing Change and corresponding file extraction content is extracted in file, judge that the file extraction content for changing file is related to original document Whether content is compared is changed.If change file the file extraction content with the paragraph of original document mutually inside the Pass Hold compared to not changing, then do not generate record;If change the file extraction content of file and the section of original document Fall middle related content compared to being changed, then relevant difference file record information is stored in array.
Original document modification completes judgment means and is used to judge whether to complete the modification of original document.
Differential file generating means are used for after original document completes modification, according to the every of the modification file stored in the array Differential file record generation differential file at individual acquired cursor position location.
Wherein, operational attribute includes insertion, deletes and change, and shows which kind of operation user has carried out to related content.
Preferably, also the relevant paragraph content of the original document corresponding with the file extraction content for changing file is stored In differential file.
Differential file transmitting device is used for the differential file for transmitting generation.
The embodiment of the present invention also provides a kind of combination system of the modification file based on cursor positioning, including differential file receives dress Put and merge device with differential file.
Differential file reception device is used to receive differential file from client.
Differential file merges device and is used to merge differential file and original document.According to every difference text in differential file Part is recorded, and relevant position is found in original document, in the file extraction of the modification file in being recorded using differential file Appearance is replaced to the paragraph content after relevant position in original document.
More than, embodiments of the present invention are illustrated.But the present invention is not limited to above-mentioned embodiment.It is all this Within the spirit and principle of invention, any modification, equivalent substitution and improvements done etc., the protection model of the present invention should be included in Within enclosing.

Claims (10)

1. a kind of transmission method of the modification file based on cursor positioning, it is characterised in that comprise the following steps:
Step 1:Modification file cursor positioning position information is obtained in real time;
Step 2:For the cursor positioning position information of the modification file currently obtained, corresponding file is extracted from modification file Content is extracted, judges whether the file extraction content for changing file is become compared with the related content of original document Change;
Step 3:If change file the file extract content compared with related content in the paragraph of original document there occurs Change, the differential file record of each acquired cursor position location of generation modification file, is stored in array;
Step 4:Judge whether to complete the modification of original document, if not completing the modification of original document, return to step 1;
Step 5:After original document completes modification, determined according to each acquired cursor of the modification file stored in the array The differential file record generation differential file of bit positions;
Step 6:The differential file of generation is transmitted, so as to which differential file to be used to merge with original document.
2. transmission method as claimed in claim 1, it is characterised in that:The modification file cursor location information is stopped including cursor Stay the paragraph at place.
3. transmission method as claimed in claim 2, it is characterised in that:The modification file cursor location information also includes cursor The bebinning character sequence number stopped in paragraph.
4. transmission method as claimed in claim 3, it is characterised in that:In step 2, acquired light is extracted from modification file Mark position location to start to extract content to the file that place paragraph terminates, judge to change the file extraction content of file and original Whether related content is compared in the paragraph of beginning file is changed.
5. transmission method as claimed in claim 4, it is characterised in that:Differential file record includes changing file cursor sprocket bit Confidence breath, operational attribute, bebinning character sequence number movement number and the file extraction content for changing file.
6. transmission method as claimed in claim 5, it is characterised in that:In step 3, the cursor position location with changing file exists Bebinning character sequence number of the original document in the paragraph is identified below corresponding to bebinning character sequence number in paragraph:Change file Bebinning character sequence number changes increased character ordinal number movement number and adds the bebinning character sequence before subtracting the bebinning character sequence number The character ordinal number movement number of reduction before number;
The file for changing file extracts content compared with the related content of original document, and the number of characters of change subtracts modification text The cursor position location of part increased character ordinal number movement number and adds the banner word after the bebinning character sequence number in paragraph The character ordinal number movement number of reduction after symbol sequence number, the absolute value of income value is at the cursor position location of current modification file Character ordinal number moves number, and income value is that positive number represents operational attribute increase, and income value is that negative number representation operational attribute is deletion.
7. a kind of merging method of the modification file based on cursor positioning, it is characterised in that comprise the following steps:
Step 21:Server end receives the difference text of the transmission method transmission described in one of usage right requirement 1-6 from client Part;
Step 22:Server end merges differential file and original document.
A kind of 8. Transmission system of the modification file based on cursor positioning, it is characterised in that:Obtained including cursor positioning position information Device, file extraction content is taken to judge that processing unit, original document modification complete judgment means, differential file generating means and difference Different file transfer means, wherein,
Cursor positioning position information acquisition device is used to obtain the cursor positioning position information for changing file in real time;
File extraction content judges that processing unit is used to be directed to the cursor positioning position information for changing file that currently obtains, from repairing Change and corresponding file extraction content is extracted in file, judge that the file extraction content for changing file is related to original document Content compared to whether is changed, if modification file the file extraction content with the paragraph of original document mutually inside the Pass Hold compared to being changed, then relevant difference file record information is stored in array;
Original document modification completes judgment means and is used to judge whether to complete the modification of original document;
Differential file generating means are used for after original document completes modification, according to the every of the modification file stored in the array Differential file record generation differential file at individual acquired cursor position location;
Differential file transmitting device is used for the differential file for transmitting generation.
9. Transmission system as claimed in claim 8, it is characterised in that:The same light of modification file is only preserved in the array Mark the differential file record of the last time of position location.
A kind of 10. combination system of the modification file based on cursor positioning, it is characterised in that:Differential file including server end Reception device and differential file merge device,
Differential file reception device is used to receive differential file from the Transmission system as claimed in claim 8 or 9 of client;
Differential file merges device and is used to merge differential file and original document.
CN201710166960.9A 2017-03-20 2017-03-20 Method and system for transmitting and combining modified files based on cursor positioning Active CN107423267B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710166960.9A CN107423267B (en) 2017-03-20 2017-03-20 Method and system for transmitting and combining modified files based on cursor positioning

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710166960.9A CN107423267B (en) 2017-03-20 2017-03-20 Method and system for transmitting and combining modified files based on cursor positioning

Publications (2)

Publication Number Publication Date
CN107423267A true CN107423267A (en) 2017-12-01
CN107423267B CN107423267B (en) 2021-03-05

Family

ID=60424068

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710166960.9A Active CN107423267B (en) 2017-03-20 2017-03-20 Method and system for transmitting and combining modified files based on cursor positioning

Country Status (1)

Country Link
CN (1) CN107423267B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111967227A (en) * 2020-07-23 2020-11-20 珠海格力电器股份有限公司 Method, device, equipment and storage medium for collaboratively modifying specification
CN112667141A (en) * 2020-12-28 2021-04-16 平安普惠企业管理有限公司 Input revocation method, device, electronic equipment and computer-readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101178733A (en) * 2007-12-07 2008-05-14 彭海杰 Index, search, storage and display control information systems for associated data
CN104156344A (en) * 2014-07-21 2014-11-19 小米科技有限责任公司 Text editing method and text editing device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101178733A (en) * 2007-12-07 2008-05-14 彭海杰 Index, search, storage and display control information systems for associated data
CN104156344A (en) * 2014-07-21 2014-11-19 小米科技有限责任公司 Text editing method and text editing device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111967227A (en) * 2020-07-23 2020-11-20 珠海格力电器股份有限公司 Method, device, equipment and storage medium for collaboratively modifying specification
CN111967227B (en) * 2020-07-23 2023-12-08 珠海格力电器股份有限公司 Method, device, equipment and storage medium for collaborative modification of instruction book
CN112667141A (en) * 2020-12-28 2021-04-16 平安普惠企业管理有限公司 Input revocation method, device, electronic equipment and computer-readable storage medium

Also Published As

Publication number Publication date
CN107423267B (en) 2021-03-05

Similar Documents

Publication Publication Date Title
US11514234B2 (en) Method and system for annotation and connection of electronic documents
CN106708480B (en) Management platform implementation method and device
CN103051684B (en) Convert website into the mthods, systems and devices that Web App are shown
US8201076B2 (en) Capturing symbolic information from documents upon printing
CN102663023B (en) Implementation method for extracting web content
CA2817554A1 (en) Mobile content management system
JP2004527041A (en) System and method for content delivery over a wireless communication medium to a portable computing device
CN101313353A (en) System and method for image processing
CN103399693B (en) Single-page entirety refreshes rear menu re-positioning method and system
CN102760170A (en) Electronic book note-taking method based on screenshot
CN103473289A (en) Device and method for completing communication addresses
CN105843786A (en) Layout file displaying method and device
CN104765715A (en) Cloud font service system
CN101561725B (en) Method and system of fast handwriting input
CN103870583A (en) Relational-database-based online and controllable browsing method for PDF document
CN106384388A (en) Method and system for try-on of Internet glasses in real time based on HTML5 and augmented reality technology
CN105045864A (en) Personalized recommendation method of digital resources
CN112929437A (en) Data transmission system, method and device based on Internet of things MQTT technical framework
CN107423267A (en) The transmission of modification file, merging method and system based on cursor positioning
CN104268163A (en) Method and system for acquiring network management network element configuration interface
US20180107633A1 (en) Comparing, And Generating Revision Markings With Respect To, An Arbitrary Number of Text Segments
JP6095487B2 (en) Question answering apparatus and question answering method
CN112000322A (en) Processing system based on business scene template
CN110162301B (en) Form rendering method, form rendering device and storage medium
CN102087653B (en) Method and device for issuing website information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant