CN107391773A - A kind of online text managemant method and apparatus - Google Patents

A kind of online text managemant method and apparatus Download PDF

Info

Publication number
CN107391773A
CN107391773A CN201710833171.6A CN201710833171A CN107391773A CN 107391773 A CN107391773 A CN 107391773A CN 201710833171 A CN201710833171 A CN 201710833171A CN 107391773 A CN107391773 A CN 107391773A
Authority
CN
China
Prior art keywords
paging
read
text
page
read requests
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
Application number
CN201710833171.6A
Other languages
Chinese (zh)
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710833171.6A priority Critical patent/CN107391773A/en
Publication of CN107391773A publication Critical patent/CN107391773A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/986Document structures and storage, e.g. HTML extensions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of online text managemant method and apparatus.It is related to computer internet technology;Solve the problems, such as that editor is read in the long influence of big text load time.This method includes:Read requests are received, the file that request is read and the paging read are carried in the read requests;Read page configuration information, the page configuration packet Display Characters Per Frame containing single page;According to the read requests and the single page Display Characters Per Frame, the corresponding paging in corresponding text is generated, returns to front end.Technical scheme provided by the invention is applied to online text managemant, realizes quickly and easily cloud platform Reading text editor.

Description

A kind of online text managemant method and apparatus
Technical field
The present invention relates to computer internet technology, espespecially a kind of online text managemant method and apparatus.
Background technology
The application of the cloud platforms such as cloud disk is now more and more extensive, and user can upload oneself local file to cloud disk Storage.And in virtual management platform, the function of cloud disk is there has also been at present.User can preserve document of oneself etc. in cloud disk Associated documents, wherein a certain amount of text document be present, such as some configuration files, supporting paper etc..User is in some situations Under need online editing and check these texts, and some texts are bigger, for example some journal files may Tens, there are other big texts, as the time for needing to consume if this big text disposably loading It is longer, it is very inconvenient for reading.
The content of the invention
In order to solve the above-mentioned technical problem, the invention provides a kind of online text managemant method and apparatus, paging is passed through Mode text is divided, user can extract part text and be read or edit operation, reduce required for operation from The data volume remotely obtained, the online Reading text load time is shortened, improves Consumer's Experience, solved big text and add Carry the problem of overlong time influences to read editor.
In order to reach the object of the invention, the invention provides a kind of online text managemant method, including:
Read page configuration information, the page configuration packet Display Characters Per Frame containing single page;
Read requests are received, the file that request is read and the paging read are carried in the read requests;
According to the read requests and the single page Display Characters Per Frame, the corresponding paging in corresponding text is generated, is returned to Front end.
Preferably, the read requests at least one paging are included in the read requests.
Preferably, this method also includes:
The page configuration information is set.
Preferably, according to the read requests and the single page Display Characters Per Frame, the corresponding paging in corresponding text is generated, The step of returning to front end includes:
Since the latter character of (N-1) * single page Display Characters Per Frames in the file, the word of page Display Characters Per Frame is intercepted Symbol, the character that interception is obtained generate paging, and N is the paging page number of request.
Preferably, according to the read requests, extract the corresponding paging in corresponding text, the step of returning to front end it Afterwards, in addition to:
The flourishing amended paging of receiving front-end;
The amended paging is replaced to the appropriate section in described.
Present invention also offers a kind of online text managemant device, including:
Read module is configured, for reading page configuration information, the page configuration packet Display Characters Per Frame containing single page;
Request receiving module, for receiving read requests, file and reading that request is read are carried in the read requests The paging taken;
Paging extraction module, for according to the read requests and the single page Display Characters Per Frame, generating in corresponding text Corresponding paging, return to front end.
Preferably, the device also includes:
Setup module, for setting the page configuration information.
Preferably, the paging extraction module, specifically for from after (N-1) * single page Display Characters Per Frames in the file One character starts, and intercepts the character of page Display Characters Per Frame, and the character that interception is obtained generates paging, and N is the paging page number of request.
Preferably, the device also includes:
Text update module, the amended paging flourishing for receiving front-end, institute is replaced into the amended paging State the appropriate section in this.
The invention provides a kind of online text managemant method and apparatus, page configuration information, the page are read first Configuration information includes single page Display Characters Per Frame, and after read requests are received, word is shown according to the read requests and the single page Number is accorded with, the corresponding paging in corresponding text is generated, returns to front end.Text is divided by way of paging, Yong Huke Extraction unit single cent is originally read or edit operation, reduces required for operating from the data volume remotely obtained, shortens online The Reading text load time, Consumer's Experience is improved, solve the long influence of big text load time and read asking for editor Topic.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by specification, rights Specifically noted structure is realized and obtained in claim and accompanying drawing.
Brief description of the drawings
Accompanying drawing is used for providing further understanding technical solution of the present invention, and a part for constitution instruction, with this The embodiment of application is used to explain technical scheme together, does not form the limitation to technical solution of the present invention.
Fig. 1 is a kind of schematic flow sheet for online text managemant method that embodiments of the invention one provide;
Fig. 2 is the realization principle schematic diagram that step 104 extracts paging in embodiments of the invention one;
Fig. 3 is the realization principle schematic diagram that step 105 replaces paging in embodiments of the invention one;
Fig. 4 is a kind of structural representation for online text managemant device that embodiments of the invention two provide.
Embodiment
For the object, technical solutions and advantages of the present invention are more clearly understood, below in conjunction with accompanying drawing to the present invention Embodiment be described in detail.It should be noted that in the case where not conflicting, in the embodiment and embodiment in the application Feature can mutually be combined.
Can be in the computer system of such as one group computer executable instructions the flow of accompanying drawing illustrates the step of Perform.Also, although logical order is shown in flow charts, in some cases, can be with suitable different from herein Sequence performs shown or described step.
User can preserve the associated documents such as the document of oneself in cloud disk, wherein a certain amount of text document be present, such as Some configuration files, supporting paper etc..User needs online editing and checks these texts in some cases, and has Text is again bigger, for example, some journal files may tens, also have other big texts, as this big Text disposably needs time for consuming longer if loading, is very inconvenient for reading.
In order to solve the above problems, the embodiment provides a kind of online text managemant method and apparatus, pass through The mode of paging divides to text, and the extractable part text of user is read or edit operation, reduces needed for operation The online Reading text load time is shortened, improves Consumer's Experience from the data volume remotely obtained, solve big text text Part load time long the problem of influenceing to read editor.
First with reference to accompanying drawing, embodiments of the invention one are illustrated.
The embodiments of the invention provide a kind of online text managemant method, user being capable of paging is checked in Dropbox online text This document content, and the file of current page and preservation can be edited.Read the stream of management online using this method completion text Journey as shown in figure 1, including:
Step 101, page configuration information is set;
The page configuration packet Display Characters Per Frame containing single page.
It setting to the single page Display Characters Per Frame, can be inputted by front end, backstage, backstage are then transmitted to by front end This single page Display Characters Per Frame is preserved to database.A default value can also be set on backstage, in not further page During the configuration information of face, paging is carried out to text according to the default value.
Step 102, receive read requests;
For reading specific paging text data, it is the read requests that backstage receiving front-end transmits, is taken in read requests The file read with request and the paging read.
Step 103, read page configuration information;
In this step, newest page configuration information is read.When the page configuration information of no renewal, matched somebody with somebody using acquiescence Put.
Step 104, according to the read requests and the single page Display Characters Per Frame, generate corresponding point in corresponding text Page, returns to front end;
In this step, specifically, since the latter character of (N-1) * single page Display Characters Per Frames in the file, interception The character of page Display Characters Per Frame, the character that interception is obtained generate paging, and N is the paging page number of request.
For example, the correspondence in file stream is read in backstage according to current number of pages and the number of characters of the every page of display set Content., it is necessary to skip during reading:(number of pages -1) * single page Display Characters Per Frame characters, it is several then to read every page of character again Character, as shown in Figure 2.
The flourishing amended paging of step 105, receiving front-end, the amended paging is replaced the phase in described Answer part;
In this step, work as user in front-end edit and the current paging content of text of preservation, front end in receiving editor After preceding paging, amended paging is sent to backstage, the content of text edited is substituted into original from the background.Compiled Page text after volume replaces corresponding page content in original, as shown in Figure 3.
Below in conjunction with the accompanying drawings, embodiments of the invention two are illustrated.
The embodiments of the invention provide a kind of online text managemant device, the structure of the device as shown in figure 4, including:
Request receiving module 401, for receiving read requests, carried in the read requests request read file and The paging of reading;
Read module 402 is configured, for reading page configuration information, the page configuration packet shows character containing single page Number;
Paging extraction module 403, for according to the read requests and the single page Display Characters Per Frame, generating corresponding text In corresponding paging, return to front end.
Preferably, the device also includes:
Setup module 404, for setting the page configuration information.
Preferably, the paging extraction module 403, specifically for showing character from (N-1) * single pages in the file The latter character of number starts, and intercepts the character of page Display Characters Per Frame, and the character that interception is obtained generates paging, and N is the paging of request The page number.
Preferably, the device also includes:
Text update module 405, the amended paging flourishing for receiving front-end, the amended paging is replaced Appropriate section in described.
The embodiment provides a kind of online text managemant method and apparatus, page configuration information is read first, The page configuration packet Display Characters Per Frame containing single page, after read requests are received, according to the read requests and the list Page Display Characters Per Frame, generates the corresponding paging in corresponding text, returns to front end.Text is drawn by way of paging Point, the extractable part text of user is read or edit operation, and it is required from the data volume remotely obtained, contracting to reduce operation The short online Reading text load time, Consumer's Experience is improved, solving the big text load time long influences to read The problem of editor.
Although disclosed herein embodiment as above, described content be only readily appreciate the present invention and use Embodiment, it is not limited to the present invention.Technical staff in any art of the present invention, taken off not departing from the present invention On the premise of the spirit and scope of dew, any modification and change, but the present invention can be carried out in the form and details of implementation Scope of patent protection, still should be subject to the scope of the claims as defined in the appended claims.

Claims (9)

  1. A kind of 1. online text managemant method, it is characterised in that including:
    Read requests are received, the file that request is read and the paging read are carried in the read requests;
    Read page configuration information, the page configuration packet Display Characters Per Frame containing single page;
    According to the read requests and the single page Display Characters Per Frame, the corresponding paging in corresponding text is generated, returns to front end.
  2. 2. online text managemant method according to claim 1, it is characterised in that included in the read requests at least The read requests of one paging.
  3. 3. online text managemant method according to claim 1, it is characterised in that this method also includes:
    The page configuration information is set.
  4. 4. online text managemant method according to claim 3, it is characterised in that according to the read requests and the list Page Display Characters Per Frame, the step of generating the corresponding paging in corresponding text, returning to front end, include:
    Since the latter character of (N-1) * single page Display Characters Per Frames in the file, the character of page Display Characters Per Frame is intercepted, will Obtained character generation paging is intercepted, N is the paging page number of request.
  5. 5. online text managemant method according to claim 1, it is characterised in that according to the read requests, extract phase The corresponding paging in text is answered, after the step of returning to front end, in addition to:
    The flourishing amended paging of receiving front-end;
    The amended paging is replaced to the appropriate section in described.
  6. A kind of 6. online text managemant device, it is characterised in that including:
    Request receiving module, for receiving read requests, file and reading that request is read are carried in the read requests Paging;
    Read module is configured, for reading page configuration information, the page configuration packet Display Characters Per Frame containing single page;
    Paging extraction module, for according to the read requests and the single page Display Characters Per Frame, generating the phase in corresponding text Paging is answered, returns to front end.
  7. 7. online text managemant device according to claim 6, it is characterised in that the device also includes:
    Setup module, for setting the page configuration information.
  8. 8. online text managemant device according to claim 7, it is characterised in that
    The paging extraction module, specifically for since the latter character of (N-1) * single page Display Characters Per Frames in the file, The character of page Display Characters Per Frame is intercepted, the character that interception is obtained generates paging, and N is the paging page number of request.
  9. 9. online text managemant device according to claim 6, it is characterised in that the device also includes:
    Text update module, the amended paging flourishing for receiving front-end, described is replaced by the amended paging In appropriate section.
CN201710833171.6A 2017-09-15 2017-09-15 A kind of online text managemant method and apparatus Pending CN107391773A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710833171.6A CN107391773A (en) 2017-09-15 2017-09-15 A kind of online text managemant method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710833171.6A CN107391773A (en) 2017-09-15 2017-09-15 A kind of online text managemant method and apparatus

Publications (1)

Publication Number Publication Date
CN107391773A true CN107391773A (en) 2017-11-24

Family

ID=60350160

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710833171.6A Pending CN107391773A (en) 2017-09-15 2017-09-15 A kind of online text managemant method and apparatus

Country Status (1)

Country Link
CN (1) CN107391773A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111523066A (en) * 2019-02-02 2020-08-11 阿里巴巴集团控股有限公司 Data acquisition method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929846A (en) * 2012-10-26 2013-02-13 北京小米科技有限责任公司 Method and device for processing long text
US20130335428A1 (en) * 2012-06-18 2013-12-19 Yingqida Information Co., Ltd. Method for automatic display of spread in ebook
CN104572870A (en) * 2014-12-22 2015-04-29 北京京东尚科信息技术有限公司 Method, device and system supporting document online reading
CN106599183A (en) * 2016-12-13 2017-04-26 北京致远互联软件股份有限公司 Document online previewing method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130335428A1 (en) * 2012-06-18 2013-12-19 Yingqida Information Co., Ltd. Method for automatic display of spread in ebook
CN102929846A (en) * 2012-10-26 2013-02-13 北京小米科技有限责任公司 Method and device for processing long text
CN104572870A (en) * 2014-12-22 2015-04-29 北京京东尚科信息技术有限公司 Method, device and system supporting document online reading
CN106599183A (en) * 2016-12-13 2017-04-26 北京致远互联软件股份有限公司 Document online previewing method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111523066A (en) * 2019-02-02 2020-08-11 阿里巴巴集团控股有限公司 Data acquisition method and device
CN111523066B (en) * 2019-02-02 2023-06-30 阿里巴巴集团控股有限公司 Data acquisition method and device

Similar Documents

Publication Publication Date Title
US8910036B1 (en) Web based copy protection
CN109388766B (en) Page loading method and device
CN104346322A (en) Document format processing device and document format processing method
US20030158969A1 (en) Authoring of media content and dissemination via an information technology network
US20090094324A1 (en) Methods, apparatus, and systems for providing local and online data services
KR20120011332A (en) Maintaining undo and redo capability across metadata merges
CN103853806A (en) Method and device for converting table
CN104156207A (en) File display method and device
CN105843800A (en) DOI-based language information display method and device
CN111159594A (en) Information processing method, information processing device and terminal equipment
CN112016290A (en) Automatic document typesetting method, device, equipment and storage medium
CN109783130A (en) A kind of packaging method and server of front end project
US8930808B2 (en) Processing rich text data for storing as legacy data records in a data storage system
CN107391773A (en) A kind of online text managemant method and apparatus
CN102193789B (en) Method and equipment for realizing configurable skip link
US8161023B2 (en) Inserting a PDF shared resource back into a PDF statement
CN112433995A (en) File format conversion method, system, computer equipment and storage medium
KR100680034B1 (en) Context cognizance enhancing message transform system, and method for the same
US9817913B2 (en) Method and apparatus for collecting, merging and presenting content
CN108228179A (en) The international processing method of the page, device, computer and storage medium
CN114357350A (en) Webpage visual editing method and related device
US20100017708A1 (en) Information output apparatus, information output method, and recording medium
CN107506344A (en) A kind of file online editing method and apparatus
CN110647352B (en) Data migration method, terminal and storage medium
CN101937457A (en) Version management method and system based on HTML (Hypertext Markup Language)

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20171124