CN106469067A - Context progress update method and device - Google Patents

Context progress update method and device Download PDF

Info

Publication number
CN106469067A
CN106469067A CN201510502365.9A CN201510502365A CN106469067A CN 106469067 A CN106469067 A CN 106469067A CN 201510502365 A CN201510502365 A CN 201510502365A CN 106469067 A CN106469067 A CN 106469067A
Authority
CN
China
Prior art keywords
content
progress
target
order
order content
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
CN201510502365.9A
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.)
Guangzhou UCWeb Computer Technology Co Ltd
Guangzhou Dongjing Computer Technology Co Ltd
Original Assignee
Guangzhou Dongjing Computer 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 Guangzhou Dongjing Computer Technology Co Ltd filed Critical Guangzhou Dongjing Computer Technology Co Ltd
Priority to CN201510502365.9A priority Critical patent/CN106469067A/en
Priority to PCT/CN2016/078993 priority patent/WO2017028547A1/en
Publication of CN106469067A publication Critical patent/CN106469067A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • 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/445Program loading or initiating

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Context progress update method proposed by the present invention and device, for updating the reading progress of the interior literary composition shown by display interface of user terminal, belong to computer communication technology field.Wherein, method includes:The context progress more new command of monitoring user's triggering;Obtain progress ratio in multiple first order contents for the target first order content pointed by context progress more new command monitoring;Before target second level content in target first order content pointed by the context progress monitoring more new command is added target second level content and belong to all second level content of target first order content as Current developments content, calculate progress accounting in multiple first order contents for the Current developments content;Using progress than with progress accounting and as aggregate scheduling ratio, according to aggregate scheduling than updating described progress label.The present invention can in updating while civilian content real-time update read progress.

Description

Context progress update method and device
Technical field
The present invention relates to computer mobile communication technology field, in particular in one kind Civilian progress update method and device.
Background technology
With the development of mobile terminal technology, increasing people relies on mobile terminal device (example As mobile phone etc.) reading web page contents and e-book.Carry out these in the fragmentation time Read a kind of custom having become more and more users.
During reading, user is currently displayed to the display interface of mobile terminal device The progress of interior literary composition have potential precognition desire, when reading novel, such as user thinks that understanding is read Read the percentage ratio of entire novel, how long so facilitate user's estimation to also need to can be complete Become to read, the planning good time of oneself.But the content for online reading, such as read online Read novel etc., the interior literary composition data due to each chapter is just to obtain to server in real time when reading And typesetting, therefore, the number of pages not reading chapters and sections cannot know that is to say, that novel total Page number is uncertain, and calculating current reading progress in this case is to there is very disaster Degree.
The existing method calculating online novel reading progress typically calculates merely each chapter Progress, and do not calculate the progress of each text page in each chapter.Which chapter user reads, Just obtain a percentage ratio with the chapter number of current chapter divided by general rules number, as each in current chapter The reading progress ratio of page.For example, it is assumed that a novel has 10 chapter contents, user reads 5 chapters, then no matter user reads which page of the 5th chapter, and mobile terminal shows Progress be all the 5th chapter progress, that is, 5/10, user is reading the difference of the 5th chapter It is impossible to know the reading progress of every one page that is to say, that user is reading same chapters and sections during page Not same page when, although content have updated reading progress and cannot accomplish real-time update.
Content of the invention
It is an object of the invention to provide a kind of context progress update method and device, Ke Yi In the case of not knowing the concrete data volume of non-loading content, the interior literary composition calculating user's triggering enters The reading progress ratio of the content pointed by degree more new command, thus in updating civilian content same When real-time update read progress.
To achieve these goals, the technical scheme that the embodiment of the present invention adopts is as follows:
In a first aspect, embodiments providing a kind of context progress update method, it is used for Update the reading progress of interior literary composition shown by the display interface of user terminal, described display interface bag Include the progress label of the reading progress for showing currently displayed interior literary composition, described interior literary composition includes Multiple continuous first order contents, each described first order content includes multiple continuous second Level content, methods described includes:The context progress more new command of monitoring user's triggering;Obtain The target first order content pointed by described context progress more new command monitoring is described many Progress ratio in individual first order content;By the described context progress monitoring more new command indication To described target first order content in target second level content add the described target second level Before content and belong to all second level content of described target first order content as when advancing Exhibition content, calculates progress in the plurality of first order content for the described Current developments content and accounts for Than;Using described progress than with described progress accounting and as aggregate scheduling ratio, according to described total Progress is than the described progress label of renewal.
In conjunction with a first aspect, embodiments provide first aspect the first is possible Embodiment, wherein, pointed by the described context progress more new command that described acquisition monitors Progress ratio in the plurality of first order content for the target first order content, including:Obtain Position B1 in the plurality of first order content for the described target first order content;By formula B=(B1-1) * A1 calculates and stores described target first order content in the plurality of first order Than B, wherein, A1 is to calculate and deposit according to formula A1=(1/N1) * 100% to progress in appearance The progress threshold value of each described first order content of storage, N1 is multiple the first of described interior literary composition The total quantity of level content.
In conjunction with the first possible embodiment of first aspect, embodiments provide The possible embodiment of the second of first aspect, wherein, described described interior by monitor The target second level content in described target first order content pointed by civilian progress more new command Plus before the content of the described target second level and belong to all the of described target first order content Secondary content as Current developments content, calculates described Current developments content the plurality of the Progress accounting in one-level content, including:Obtain described target second level content in described mesh Position C2 in mark first order content;Calculated by formula C=(C2-1) * C1 and store described Progress accounting C in the plurality of first order content for the Current developments content, wherein, C1 is In the described target first order content calculating and storing by formula C1=A1/N2 each second Progress threshold value C1 of level content, N2 is multiple the described in described target first order content The total quantity of secondary content.
In conjunction with a first aspect, embodiments provide first aspect the third is possible Embodiment, wherein, pointed by the described context progress more new command that described acquisition monitors Target first order content before the progress ratio in the plurality of first order content, including: Judge whether described target first order content is the content being carried in described user terminal, If it is not, then loading described target first order content.
In conjunction with the third possible embodiment of first aspect, embodiments provide 4th kind of possible embodiment of first aspect, wherein, the described target first of described loading Level content, including:According to described context progress more new command, the civilian number into server transmission According to obtaining instruction, described interior literary composition data acquisition instruction includes the mark of described target first order content Know;Receive corresponding with the described target first order content interior literary composition data that described server sends, Size according to described display interface and word set and described target first order content are corresponded to Interior literary composition data carry out typesetting, described target first order content is divided into multiple continuous second Level content, records the quantity of the plurality of second level content;Load the described target after typesetting Interior literary composition data corresponding to first order content.
In conjunction with a first aspect, embodiments provide the 5th kind of first aspect possible Embodiment, wherein, described interior literary composition includes e-book, and described first order content is corresponding It is the chapters and sections in e-book, described second level content is corresponding to be each chapters and sections of e-book In page, described progress label is digital form, and the numeral shown by described progress label is Aggregate scheduling ratio corresponding with currently displayed page.
In conjunction with a first aspect, embodiments provide the 6th kind of first aspect possible Embodiment, wherein, described interior literary composition include webpage, by described webpage according to described display Boundary division is multiple continuous first order contents, by each described first order content according to literary composition Word sets and is divided into multiple continuous second level content, and described progress label is progress strips, Described progress bar is shown that second level content positioned at currently displayed webpage top in institute State the aggregate scheduling ratio in webpage.
Second aspect, the embodiment of the present invention additionally provides a kind of context progress updating device, fortune In user terminal, described device is used for calculating shown by the display interface of described user terminal row The reading progress of interior literary composition, described display interface is included for showing readding of currently displayed interior literary composition The progress label of reading progress, described interior literary composition includes multiple continuous first order contents, each institute State first order content and include multiple continuous second level content, described device includes:Monitoring is single Unit, for monitoring the context progress more new command of user's triggering;First processing units, are used for Obtain the target first order content pointed by described context progress more new command monitoring in institute State the progress ratio in multiple first order contents;Second processing unit, for by the institute monitoring State the target second level in the described target first order content pointed by context progress more new command Before content adds described target second level content and belong to the institute of described target first order content There is second level content as Current developments content, calculate described Current developments content described many Progress accounting in individual first order content;Updating block, for by described progress than with described Progress accounting and as aggregate scheduling ratio, according to described aggregate scheduling than updating described progress label.
Context progress update method provided in an embodiment of the present invention and device one side achieve In renewal while civilian content, the internally real-time update of the reading progress of literary composition, on the other hand, Due to the aggregate scheduling in scheme than considered the progress of first order content than with the second level in The progress accounting held, therefore, compared to the progress considering merely current chapters and sections in prior art Ratio is the aggregate scheduling in the embodiment of the present invention enter than can more accurately reflect by the reading of interior literary composition Degree.
For enabling the above objects, features and advantages of the present invention to become apparent, cited below particularly Preferred embodiment, and coordinate appended accompanying drawing, it is described in detail below.
Brief description
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below will be to embodiment In the accompanying drawing of required use be briefly described it will be appreciated that the following drawings illustrate only Certain embodiments of the present invention, is therefore not construed as the restriction to scope, for ability For the those of ordinary skill of domain, on the premise of not paying creative work, can also basis These accompanying drawings obtain other related accompanying drawings.
What Fig. 1 showed context progress update method provided in an embodiment of the present invention and device should Use environment schematic;
Fig. 2 shows the structured flowchart of user terminal provided in an embodiment of the present invention;
Fig. 3 shows a kind of context progress update method that first embodiment of the invention provides Schematic flow sheet;
Fig. 4 shows a kind of context progress update method that second embodiment of the invention provides Schematic flow sheet;
Fig. 5 shows a kind of context progress update method that third embodiment of the invention provides Schematic flow sheet;
Fig. 6 shows the display interface schematic diagram in third embodiment of the invention;
Fig. 7 shows a kind of context progress update method that fourth embodiment of the invention provides Schematic flow sheet;
Fig. 8 shows the display interface schematic diagram in fourth embodiment of the invention;
Fig. 9 shows a kind of context progress updating device that fifth embodiment of the invention provides Structured flowchart;
Figure 10 shows a kind of context progress updating device that sixth embodiment of the invention provides Structured flowchart.
Specific embodiment
The context progress update method that the embodiment of the present invention is provided and device can be applicable to as figure In applied environment shown in 1.As shown in figure 1, user terminal 100, server 200 are located at In wireless network or cable network 300, by this wireless network or cable network 300, use Family terminal 100 and server 200 carry out data interaction.
In the embodiment of the present invention, user terminal 100 is preferably mobile terminal device, for example Smart mobile phone, panel computer, E-book reader, MP3 player (Moving can be included Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio layer Face 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic shadow As expert's compression standard audio frequency aspect 4) player, pocket computer on knee, vehicle mounted electric Brain, Wearable mobile terminal etc..
Fig. 2 shows a kind of structural frames of the user terminal that can be applicable in the embodiment of the present invention Figure.As shown in Fig. 2 user terminal 100 includes memorizer 102, storage control 104, One or more (in figure only illustrates one) processor 106, Peripheral Interface 108, radio frequency mould Block 110, audio-frequency module 112, Touch Screen 114 etc..These assemblies pass through one or more Communication bus/holding wire 116 mutually communicates.
Memorizer 102 can be used for storing software program and module, such as in the embodiment of the present invention Context progress update method and the corresponding programmed instruction/module of device, processor 106 passes through Run software program and the module being stored in memorizer 102, thus executing various functions Application and data processing, such as context progress update method provided in an embodiment of the present invention.
Memorizer 102 may include high speed random access memory, may also include nonvolatile memory, As the storage of one or more magnetic storage device, flash memory or other nonvolatile solid state Device.Processor 106 and other possible assemblies can store to the access of memorizer 102 Carry out under the control of controller 104.
Various input/output devices are coupled to processor 106 and storage by Peripheral Interface 108 Device 102.In certain embodiments, Peripheral Interface 108, processor 106 and storage control Device 104 can be realized in one single chip.In some other example, they can distinguish Realized by independent chip.
Radio-frequency module 110 is used for receiving and sends electromagnetic wave, realizes electromagnetic wave and the signal of telecommunication Mutual conversion, thus being communicated with communication network or other equipment.
Audio-frequency module 112 provides a user with audio interface, and it may include one or more Mikes Wind, one or more speaker and voicefrequency circuit.
Touch Screen 114 provide between user terminal 100 and user simultaneously one output and Inputting interface.Specifically, Touch Screen 114 displays to the user that video frequency output, these videos The content of output may include word, figure, video and its combination in any.
It is appreciated that the structure shown in Fig. 2 is only illustrating, user terminal 100 may also include More or less assembly than shown in Fig. 2, or there is join different from shown in Fig. 2 Put.Each assembly shown in Fig. 2 can be realized using hardware, software or a combination thereof.
In the embodiment of the present invention, in user terminal 100, client is installed, this client Can be browser can also be third-party application software, with server (Server) hold relative Should, provide the user service, such as e-book reading service, for playing local e-book And online e-book.
Context progress update method and device that the embodiment of the present invention proposes, are mainly used for more The reading progress of interior literary composition shown by the display interface of new user terminal.
In the embodiment of the present invention, display interface refers to the aobvious of the client in user terminal Show interface, including the interface of literary composition in actual displayed, and be used for showing currently displayed interior literary composition Reading progress progress label.The size of display interface and client set to display interface It is equipped with pass, if the display interface of client setting can be screen mode toggle, then display circle The size in face is permissible with the viewing area size of user terminal displays screen (as Touch Screen 114) Identical, if the display interface of client setting is less than the display screen of user terminal, then aobvious The size showing interface is exactly the size of the display interface set by reality.
In the embodiment of the present invention, the interior literary composition shown by display interface can include but is not limited to The contents such as e-book, webpage.Wherein, e-book can include but is not limited to novel, Periodical, paper etc..
Below in conjunction with accompanying drawing in the embodiment of the present invention, to the technical side in the embodiment of the present invention Case is clearly and completely described it is clear that described embodiment is only the present invention one Section Example, rather than whole embodiments.Generally described and illustrated in accompanying drawing herein The assembly of the embodiment of the present invention can be arranged with various different configurations and design.Therefore, Hereinafter the detailed description of the embodiments of the invention providing in the accompanying drawings being not intended to limit will Seek the scope of the present invention of protection, but be merely representative of the selected embodiment of the present invention.It is based on Embodiments of the invention, those skilled in the art are not on the premise of making creative work The every other embodiment being obtained, broadly falls into the scope of protection of the invention.
First embodiment
Fig. 3 shows a kind of context progress update method that first embodiment of the invention provides Flow chart, refers to Fig. 3, and the present embodiment describes the handling process of user terminal, institute Method of stating is for updating the reading progress of the interior literary composition shown by display interface of user terminal, described Display interface includes the progress label of the reading progress for showing currently displayed interior literary composition, institute State interior literary composition and include multiple continuous first order contents, each described first order content includes multiple Continuous second level content, methods described includes:
Step S110, the context progress more new command of monitoring user's triggering;
Context progress more new command can also be able to read by user's triggering when just starting to read Triggered by user in read procedure.Such as user is opening e-novel, clicks on e-novel mesh It is believed that user triggers context progress more new command during record, this context progress updates and refers to The pointed first order content of order is exactly the catalogue chapters and sections that user clicks on, if the user while catalogue In click and specifically start page, then it is considered that this starts page updating for this context progress The pointed second level content of instruction, if user refers to click chapters and sections, then it is considered that The page 1 of this chapters and sections is the second level content pointed by this context progress more new command.User Reading process is carried out during page turn over operation it is also possible to think that user triggers context progress more New command, the second level content pointed by this context progress more new command is exactly under current page One page, pointed first order content is exactly the lower corresponding chapters and sections of one page.
Step S120, obtains the target pointed by described context progress more new command monitoring Progress ratio in the plurality of first order content for the first order content;
If target first order content and currently displaying first order content are same contents, So due to being computed and having stored progress ratio when updating current first order content, described Directly read this progress than if target first order content and the currently displaying first order Content is not same content, then need to calculate target first order content in the plurality of first order Progress ratio in content.
, when user carries out page turn over operation, client monitors arrive taking read electronic novel as a example Context progress more new command, if lower one page and current page are in same chapter, then context progress Progress in the plurality of first order content for the target first order content pointed by more new command It is more the same than being than the progress in the plurality of first order content with current first order content, Do not need to recalculate the progress ratio directly reading storage;If lower one page with current Page is in different chapters, then can be calculated according to following steps S121 and step S122.
Step S121, obtains described target first order content in the plurality of first order content Position B1;
Position in multiple first order contents for the target first order content can be by described interior literary composition Obtain in catalogue data, when user initially starts to read described interior literary composition, client can be to clothes Business device obtain described interior literary composition successively catalogue data (if locally existing, will after obtaining success Update local data once), described catalogue data includes multiple the included by described interior literary composition Total quantity N1 of one-level content and each first order content are in multiple first order contents Position.In addition, described interior literary composition included by multiple first order contents total quantity N1 permissible It is fixed value or dynamic change.Taking read electronic novel as a example, the such as morning During reading, a total of 100 chapters, noon author just have updated 1 chapter, then read in the afternoon When, it is exactly 101 chapters altogether.
Step S122, is calculated by formula B=(B1-1) * A1 and stores the described target first order Than B, wherein, A1 is according to formula to progress in the plurality of first order content for the content The progress threshold value of each described first order content that A1=(1/N1) * 100% calculates and stores.
Step S130, by the described mesh pointed by the described context progress monitoring more new command Mark first order content in target second level content add described target second level content before and The all second level content belonging to described target first order content, as Current developments content, is counted Calculate progress accounting C in the plurality of first order content for the described Current developments content;
Further, step S130 includes:
Step S131, obtains described target second level content in described target first order content Position C2;
If target second level content belongs to currently displaying first order content (that is mesh Mark first order content is exactly current first order content), due to currently displaying first order content It is that the size according to described display interface and word have been set for typesetting, therefore, Position in target first order content for the target second level content can be known;If target Secondary content corresponding target first order content is the content that client did not also load, then need Will first loaded targets first order content, when loading the size according to described display interface and Word sets and carries out typesetting to target first order content, thus obtain target second level content existing Position C2 in target first order content.
Step S132, is calculated by formula C=(C2-1) * C1 and stores in described Current developments Hold progress accounting C in the plurality of first order content, wherein, C1 is by formula Each second level content in the described target first order content that C1=A1/N2 calculates and stores Progress threshold value C1, N2 is multiple second level content described in described target first order content Total quantity.
Step S140, using described progress than with described progress accounting and as aggregate scheduling ratio, According to described aggregate scheduling than the described progress label of renewal.
By the progress obtaining in step S120 than the progress accounting obtaining in B and step S130 C is added and obtains aggregate scheduling than A, i.e. A=B+C.Preferably, aggregate scheduling can be protected than A Stay 2 significant digits.
Further, in step S140, can also include:Described display interface is shown The interior literary composition showing is updated to comprise the interior literary composition of described target second level content.
The context progress update method one side that the present embodiment provides achieves and is updating Nei Wennei While appearance, the internally real-time update of the reading progress of literary composition, on the other hand, due in scheme Aggregate scheduling account for than the progress with second level content than the progress having considered first order content Ratio is therefore, compared to the progress ratio considering merely current chapters and sections in prior art, the present invention The reading progress of the interior literary composition than can more accurately reflect of the aggregate scheduling in embodiment.
Second embodiment
Fig. 4 shows a kind of context progress update method that second embodiment of the invention provides Flow chart.Refer to Fig. 4, the present embodiment describes the handling process of user terminal, institute The method of stating includes:
Step S210, the context progress more new command of monitoring user's triggering;
Step S220, judges whether described target first order content is to be carried in described user Content in terminal;If it is not, execution step S230 and step S240, if it is, Then direct execution step S240.
Step S230, loads described target first order content;
Further, step S230 can include:
According to described context progress more new command, the civilian data acquisition instruction into server transmission, Described interior literary composition data acquisition instruction includes the mark of described target first order content;
Receive corresponding with the described target first order content interior literary composition number that described server sends Set to described target first order content according to, the size according to described display interface and word Corresponding interior literary composition data carries out typesetting, described target first order content is divided into multiple continuous Second level content, records the quantity of the plurality of second level content;
Load the interior literary composition data corresponding to the described target first order content after typesetting.
Step S240, obtains the target pointed by described context progress more new command monitoring Progress ratio in the plurality of first order content for the first order content;
Step S250, by the described mesh pointed by the described context progress monitoring more new command Mark first order content in target second level content add described target second level content before and The all second level content belonging to described target first order content, as Current developments content, is counted Calculate progress accounting in the plurality of first order content for the described Current developments content;
Step S260, using described progress than with described progress accounting and as aggregate scheduling ratio, According to described aggregate scheduling than the described progress label of renewal.
Step S210, S240, S250 and S260 may be referred to the correspondence in first embodiment Part, repeats no more here.
3rd embodiment
Fig. 5 shows a kind of context progress update method that third embodiment of the invention provides Flow chart, refers to Fig. 5, and within the present embodiment, literary composition is for, as a example e-novel, describing The handling process of user terminal, in the present embodiment, described e-novel includes multiple continuous Chapters and sections (namely first order content), the content of each chapters and sections is according to the size of display interface And word be set for typesetting after form multiple continuous pages (namely second level content). In the present embodiment, described progress label is digital form, and shown numeral is and current institute The page corresponding aggregate scheduling ratio of display.Specifically, the method in the present embodiment includes:
Step S310, the novel renewal of the page instruction of monitoring user's triggering;
Step S320, obtains the pointed target chapters and sections of the novel renewal of the page instruction monitoring Position B1 in the plurality of chapters and sections;
Step S330, is calculated and stores described target chapters and sections and exist by formula B=(B1-1) * A1 Progress in the plurality of chapters and sections compares B;
Wherein, A1 is each calculating and storing according to formula A1=(1/N1) * 100% in advance The progress threshold value of described chapters and sections, N1 is the total quantity of the chapters and sections of described novel.
For example, it is assumed that a total of 20 chapters of e-novel, then each Zhang Jindu threshold value is 0%th, 5%, 10%, 15%, 20%...., 90%, 95%.
Step S340, obtains the pointed page object of described novel renewal of the page instruction described Position C2 in target chapters and sections;
Step S350, is calculated by formula C=(C2-1) * C1 and stores described page object and add It is located at all pages before described page object, in the plurality of chapters and sections in described target chapters and sections Progress accounting C;
Wherein, C1 is in the described target chapters and sections being calculated and being stored by formula C1=A1/N2 Every page of progress threshold value C1, N2 is multiple pages described in described target chapters and sections of total quantity.
For the target chapters and sections of loading, the every one page in described target chapters and sections adds described mesh It is located at progress accounting C in the plurality of chapters and sections for this page all pages before all in mark chapters and sections Can be calculated according to C=(C2-1) * C1.For example, it is assumed that e-novel always has 10 chapters, Chapter 2, there are page 10, then every one page of chapter 2 adds in chapter 2 and is located at this page before Progress accounting C in chapter 2 for all pages be 0%, 1%, 2%, 3%, 4%, 5%, 6%th, 7%, 8%, 9%.For the chapters and sections not loaded, C can be considered as 0.
Step S360, the interior literary composition shown by described display interface is updated to comprise described target The interior literary composition of page, using described progress than B and described progress accounting C and as aggregate scheduling than A, Described progress label is updated than A according to described aggregate scheduling.
Based on the method in the present embodiment it is assumed that an e-novel has 22 chapters, target chapters and sections For the 5th chapter page 8, a total of page 15 of the 5th chapter, then aggregate scheduling is than A calculating process As follows:
A1=(1/22) * 100%=4.55%;
C1=A1/15=0.30%;
B=(5-1) * A1=18.18%;
C=(8-1) * C1=2.10%;
A=B+C=20.28%.
Finally according to aggregate scheduling than A update progress label shown by numeral, as shown in Figure 6. As can be seen that to characterize merely the 5th chapter with chapters and sections progress ratio (5/22) compared to prior art The progress ratio of page 8, the aggregate scheduling in the present embodiment can more accurately reflect interior literary composition than A Reading progress, and have more real-time.
Fourth embodiment
Fig. 7 shows a kind of context progress update method that fourth embodiment of the invention provides Flow chart, refers to Fig. 7, and within the present embodiment, literary composition is for, as a example web page contents, describing The handling process of user terminal, in the present embodiment, by described webpage according to described display Boundary division is multiple continuous first order contents, by each described first order content according to literary composition Word sets and is divided into multiple continuous second level content.Described progress label is progress strips, Described progress bar is shown that second level content positioned at currently displayed webpage top in institute State the aggregate scheduling ratio in webpage.
Specifically, the method in the present embodiment includes:
Step S410, the webpage more new command of monitoring user's triggering;
Step S420, obtains the target first pointed by Webpage more new command monitoring Level position B1 in the plurality of first order content for the content;
Step S430, is calculated by formula B=(B1-1) * A1 and stores the described target first order Progress in the plurality of first order content for the content compares B;
Wherein, A1 is each calculating and storing according to formula A1=(1/N1) * 100% in advance The progress threshold value of described first order content, N1 is the sum of the first order content of described webpage Amount.
Step S440, obtains the target second level content pointed by described webpage more new command and exists Position C2 in described target first order content;
Step S450, is calculated by formula C=(C2-1) * C1 and stores the described target second level Content adds the institute being located in described target first order content before the content of the described target second level There is second level content, progress accounting C in the plurality of first order content;
Wherein, C1 is the described target first order being calculated by formula C1=A1/N2 and storing Progress threshold value C1 of each second level content in content, N2 is in the described target first order The total quantity of multiple second level content described in appearance.
Step S460, the interior literary composition shown by described display interface is updated to comprise described target The interior literary composition of second level content, using described progress than B and described progress accounting C and as always Progress, than A, updates described progress label according to described aggregate scheduling than A.
Refer to Fig. 8, in the present embodiment, the form of progress bar represents current display interface institute Aggregate scheduling ratio in described webpage for the webpage top of display.
5th embodiment
Fig. 9 shows a kind of context progress updating device that fifth embodiment of the invention provides Structured flowchart, refers to Fig. 9, and the device in the present embodiment can run on user terminal, institute State device for calculating the reading progress of the interior literary composition shown by display interface of described user terminal, Described display interface include for show currently displayed interior literary composition reading progress enter scale Sign, described interior literary composition includes multiple continuous first order contents, each first order content bag described Include multiple continuous second level content, the device 50 in the present embodiment includes:
Monitoring means 51, for monitoring the context progress more new command of user's triggering;
First processing units 52, for obtaining the described context progress more new command institute monitoring Progress ratio in the plurality of first order content for the target first order content pointed to;
Second processing unit 53, for by the described context progress monitoring more new command indication To described target first order content in target second level content add the described target second level Before content and belong to all second level content of described target first order content as when advancing Exhibition content, calculates progress in the plurality of first order content for the described Current developments content and accounts for Than;
Updating block 54, for using described progress than with described progress accounting and as always entering Degree ratio, updates described progress label according to described aggregate scheduling ratio.
Further, described first processing units 52 are specifically for obtaining the described target first order Position B1 in the plurality of first order content for the content;By formula B=(B1-1) * A1 Calculate and store progress ratio in the plurality of first order content for the described target first order content B, wherein, A1 is described in each calculating and storing according to formula A1=(1/N1) * 100% The progress threshold value of first order content, N1 is the sum of multiple first order contents of described interior literary composition Amount.
Described second processing unit 53 is specifically for obtaining described target second level content in institute State the position C2 in target first order content;Calculate and store by formula C=(C2-1) * C1 Progress accounting C in the plurality of first order content for the described Current developments content, wherein, C1 is each in the described target first order content being calculated and being stored by formula C1=A1/N2 Progress threshold value C1 of second level content, N2 is many described in described target first order content The total quantity of individual second level content.
Further, described updating block 54 is additionally operable in shown by described display interface Literary composition is updated to comprise the interior literary composition of described target second level content.
Described interior literary composition can include e-novel, and described first order content is corresponding to be that electronics is little The multiple chapters being right, described second level content is corresponding to be multiple in each chapter of e-novel Page.Described progress label is digital form, and the numeral shown by described progress label is and works as The corresponding aggregate scheduling ratio of front shown page.
Described interior literary composition can include webpage, will be divided according to described display interface in described webpage For multiple continuous first order contents, each described first order content is set according to word and draws It is divided into multiple continuous second level content.Described progress label be progress strips, described enter Degree bar is shown that aggregate scheduling ratio in described webpage for the currently displayed webpage top.
Each unit in the present embodiment can be by software code realization, and now, above-mentioned is each Unit can be stored in the memorizer 102 of user terminal 100.Above each unit is equally permissible Realized by hardware such as IC chip.
Sixth embodiment
Figure 10 shows the knot of the context progress updating device that sixth embodiment of the invention provides Structure block diagram, refer to Figure 10, and the device in the present embodiment can run on user terminal, described Device is used for calculating the reading progress of the interior literary composition shown by display interface of described user terminal, institute State the progress label that display interface includes the reading progress for showing currently displayed interior literary composition, Described interior literary composition includes multiple continuous first order contents, and each first order content described includes many Individual continuous second level content, the device 60 in the present embodiment includes:
Monitoring means 61, for monitoring the context progress more new command of user's triggering;
First processing units 62, for obtaining the described context progress more new command institute monitoring Progress ratio in the plurality of first order content for the target first order content pointed to;
Second processing unit 63, for by the described context progress monitoring more new command indication To described target first order content in target second level content add the described target second level Before content and belong to all second level content of described target first order content as when advancing Exhibition content, calculates progress in the plurality of first order content for the described Current developments content and accounts for Than;
Updating block 64, for being updated to comprise institute the interior literary composition shown by described display interface State the interior literary composition of target second level content, using described progress than with described progress accounting and as Aggregate scheduling ratio, according to described aggregate scheduling than the described progress label of renewal.
In the present embodiment, described first processing units 62 include judgment sub-unit 621, One processes subelement 622, loads subelement 623:
Described judgment sub-unit 621, for judging whether described target first order content is It is carried in the content in described user terminal;
Described first process subelement 622 is used for being judged as YES in described judgment sub-unit 621 When obtain the target first order content pointed by described context progress more new command that monitors and exist Progress ratio in the plurality of first order content;
Described loading subelement 623 is used for, when described judgment sub-unit is judged as NO, loading Described target first order content.
Further, described loading subelement 623 specifically can be used for:
According to described context progress more new command, the civilian data acquisition instruction into server transmission, Described interior literary composition data acquisition instruction includes the mark of described target first order content;
Receive corresponding with the described target first order content interior literary composition number that described server sends Set to described target first order content according to, the size according to described display interface and word Corresponding interior literary composition data carries out typesetting, described target first order content is divided into multiple continuous Second level content, records the quantity of the plurality of second level content;
Load the interior literary composition data corresponding to the described target first order content after typesetting.
Each unit in the present embodiment can be by software code realization, and now, above-mentioned is each Unit can be stored in the memorizer 102 of user terminal 100.Above each unit is equally permissible Realized by hardware such as IC chip.
In sum, context progress update method provided in an embodiment of the present invention and device one side While face achieves civilian content in updating, the internally real-time update of the reading progress of literary composition, On the other hand, because the aggregate scheduling in scheme is than the progress ratio having considered first order content With the progress accounting of second level content, therefore, consider merely currently compared in prior art The progress ratio of chapters and sections, the aggregate scheduling ratio in the embodiment of the present invention can more accurately reflect interior The reading progress of literary composition.
It should be noted that each embodiment in this specification is all retouched by the way of going forward one by one State, what each embodiment stressed is the difference with other embodiment, each is real Apply between example identical similar partly mutually referring to.
Context progress updating device and system that the embodiment of the present invention is provided, it realizes principle And the technique effect of generation is identical with preceding method embodiment, for briefly describing, device is implemented Example part does not refer to part, refers to corresponding contents in preceding method embodiment.
In addition, the flow chart in accompanying drawing and block diagram show the multiple embodiments according to the present invention System, the architectural framework in the cards of method and computer program product, function and behaviour Make.At this point, each square frame in flow chart or block diagram can represent module, a journey Sequence section or a part for code, a part for described module, program segment or code comprises one Or multiple for realize regulation logic function executable instruction.It should also be noted that having In a little realizations as replacement, the function of being marked in square frame can also be with different from accompanying drawing The order being marked occurs.For example, two continuous square frames can essentially be substantially in parallel Execution, they can also execute sometimes in the opposite order, and this is depending on involved function. It is also noted that each square frame in block diagram and/or flow chart and block diagram and/or flow process The combination of the square frame of in figure, can with the function of execution regulation or action special based on hard The system of part is realizing, or can be realized with combining of computer instruction with specialized hardware.
The computer program that the embodiment of the present invention is provided, including storing program code Computer-readable recording medium, the instruction that described program code includes can be used for execution before Method described in embodiment of the method, implements and can be found in embodiment of the method, and here is no longer Repeat.
Those skilled in the art can be understood that, for convenience and simplicity of description, The specific work process of the system of foregoing description, device and unit, may be referred to preceding method Corresponding process in embodiment, will not be described here.
In several embodiments provided herein it should be understood that disclosed system, Apparatus and method, can realize by another way.Device embodiment described above It is only schematically, for example, the division of described unit, only a kind of logic function is drawn Point, actual can have other dividing mode when realizing, and for example, multiple units or assembly Can in conjunction with or be desirably integrated into another system, or some features can be ignored, or not Execution.Another, shown or discussed coupling each other or direct-coupling or communication Connection can be by some communication interfaces, the INDIRECT COUPLING of device or unit or communication connection, Can be electrical, mechanical or other forms.
The described unit that illustrates as separating component can be or may not be and physically divide Open, as the part that unit shows can be or may not be physical location, you can With positioned at a place, or can also be distributed on multiple NEs.Can be according to reality The needing of border selects the mesh to realize this embodiment scheme for some or all of unit therein 's.
In addition, each functional unit in each embodiment of the present invention can be integrated at one Reason unit in or unit be individually physically present it is also possible to two or two with Upper unit is integrated in a unit.
If described function is realized and as independent product pin using in the form of SFU software functional unit When selling or using, can be stored in a computer read/write memory medium.Based on so Understanding, the portion that technical scheme substantially contributes to prior art in other words Point or partly being embodied in the form of software product of this technical scheme, this calculating Machine software product is stored in a storage medium, including some instructions with so that one is counted Calculate machine equipment (can be personal computer, server, or network equipment etc.) and execute basis Invent all or part of step of each embodiment methods described.And aforesaid storage medium bag Include:USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory), Random access memory (RAM, Random Access Memory), magnetic disc or CD Etc. various can be with the medium of store program codes.
It should be noted that herein, such as first and second or the like relational terms It is used merely to make a distinction an entity or operation with another entity or operation, and not Necessarily require or imply exist between these entities or operation any this actual relation or Person's order.And, term " inclusion ", "comprising" or its any other variant are intended to The comprising of nonexcludability so that include a series of process of key elements, method, article or Person's equipment not only includes those key elements, but also includes other key elements being not expressly set out, Or also include for this process, method, article or the intrinsic key element of equipment.? In the case of there is no more restriction, the key element that limited by sentence "including a ...", not Exclusion also exists other in including the process of described key element, method, article or equipment Identical element.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, For a person skilled in the art, the present invention can have various modifications and variations.All Within the spirit and principles in the present invention, any modification, equivalent substitution and improvement made etc., Should be included within the scope of the present invention.It should be noted that:Similar label and letter Represent similar terms in following accompanying drawing, therefore, once being determined in a certain Xiang Yi accompanying drawing Justice, then do not need it to be defined further and explains in subsequent accompanying drawing.

Claims (14)

1. a kind of context progress update method is it is characterised in that be used for updating user terminal The reading progress of interior literary composition shown by display interface, described display interface includes current for showing The progress label of the reading progress of shown interior literary composition, described interior literary composition includes multiple continuous first Level content, each described first order content includes multiple continuous second level content, described side Method includes:
The context progress more new command of monitoring user's triggering;
Obtain the target first order content pointed by described context progress more new command monitoring Progress ratio in the plurality of first order content;
By in the described target first order pointed by the described context progress monitoring more new command Target second level content in appearance add described target second level content before and belong to described mesh All second level content of mark first order content, as Current developments content, calculates described current Progress progress accounting in the plurality of first order content for the content;
Using described progress than with described progress accounting and as aggregate scheduling ratio, according to described total Progress is than the described progress label of renewal.
2. the method for claim 1 is it is characterised in that what described acquisition monitored Target first order content pointed by described context progress more new command is in the plurality of first order Progress ratio in content, including:
Obtain position B1 in the plurality of first order content for the described target first order content;
Calculate and store described target first order content by formula B=(B1-1) * A1 described Than B, wherein, A1 is according to formula to progress in multiple first order contents The progress threshold value of each described first order content that A1=(1/N1) * 100% calculates and stores, N1 is the total quantity of multiple first order contents of described interior literary composition.
3. method as claimed in claim 2 will be it is characterised in that described calculating will monitor The described target first order content pointed by described context progress more new command in target Before secondary content adds target second level content described in described target first order content All second level content, as Current developments content, calculates described Current developments content described Progress accounting in multiple first order contents, including:
Obtain in the described target first order content pointed by described context progress more new command Position C2 in described target first order content for the target second level content;
Described target second level content and position and are belonged to described target before C2 All second level content of one-level content as current schedules content, by formula C=(C2-1) * C1 calculates and stores described Current developments content in the plurality of first order content In progress accounting C, wherein, C1 is the institute being calculated by formula C1=A1/N2 and storing State progress threshold value C1 of each second level content in target first order content, N2 is described The total quantity of multiple second level content described in target first order content.
4. the method for claim 1 is it is characterised in that what described acquisition monitored Target first order content pointed by described context progress more new command is in the plurality of first order Progress ratio in content before, including:
Judge described target first order content be whether be carried in interior in described user terminal Hold, if it is not, then loading described target first order content.
5. method as claimed in claim 4 is it is characterised in that the described target of described loading First order content, including:
According to described context progress more new command, the civilian data acquisition instruction into server transmission, Described interior literary composition data acquisition instruction includes the mark of described target first order content;
Receive corresponding with the described target first order content interior literary composition number that described server sends Set to described target first order content according to, the size according to described display interface and word Corresponding interior literary composition data carries out typesetting, described target first order content is divided into multiple continuous Second level content, records the quantity of the plurality of second level content;
Load the interior literary composition data corresponding to the described target first order content after typesetting.
6. the method as described in claim 1 to 5 any one is it is characterised in that described Interior literary composition includes e-book, and it to be chapters and sections in e-book that described first order content is corresponding, It to be page in each chapters and sections of e-book that described second level content is corresponding, described progress label For digital form, the numeral shown by described progress label is corresponding with currently displayed page Aggregate scheduling ratio.
7. the method as described in claim 1 to 5 any one is it is characterised in that described Interior literary composition includes webpage, multiple continuous by being divided into according to described display interface in described webpage First order content, each described first order content is divided into multiple continuous according to word setting Second level content, described progress label is progress strips, and described progress bar is shown that Aggregate scheduling in described webpage for the second level content positioned at currently displayed webpage top Than.
8. the method for claim 1 it is characterised in that described by described progress ratio With described progress accounting and as aggregate scheduling ratio, according to described aggregate scheduling than entering described in updating Scale label, also include:Interior literary composition shown by described display interface is updated to comprise described mesh The interior literary composition of mark second level content.
9. a kind of context progress updating device, runs on user terminal it is characterised in that institute State device for calculating the reading progress of the interior literary composition shown by display interface of described user terminal, Described display interface include for show currently displayed interior literary composition reading progress enter scale Sign, described interior literary composition includes multiple continuous first order contents, each described first order content bag Include multiple continuous second level content, described device includes:
Monitoring means, for monitoring the context progress more new command of user's triggering;
First processing units, for obtaining the described context progress more new command indication monitoring To progress ratio in the plurality of first order content for the target first order content;
Second processing unit, for by pointed by the described context progress monitoring more new command Described target first order content in target second level content add the described target second level in Before appearance and belong to all second level content of described target first order content as Current developments Content, calculates progress accounting in the plurality of first order content for the described Current developments content;
Updating block, for using described progress than with described progress accounting and as aggregate scheduling Ratio is according to described aggregate scheduling than the described progress label of renewal.
10. device as claimed in claim 9 is it is characterised in that described first processes list Unit is specifically for obtaining position in the plurality of first order content for the described target first order content Put B1;Calculate and store described target first order content to exist by formula B=(B1-1) * A1 Than B, wherein, A1 is according to formula to progress in the plurality of first order content The progress threshold value of each described first order content that A1=(1/N1) * 100% calculates and stores, N1 is the total quantity of multiple first order contents of described interior literary composition.
11. devices as claimed in claim 10 are it is characterised in that described second processing list Unit is specifically for obtaining position in described target first order content for the described target second level content Put C2;Calculate and store described Current developments content by formula C=(C2-1) * C1 described Progress accounting C in multiple first order contents, wherein, C1 is by formula C1=A1/N2 The progress threshold value of each second level content in the described target first order content calculating and storing C1, N2 are the total quantity of multiple second level content described in described target first order content.
12. devices as claimed in claim 10 are it is characterised in that described first processes list Unit includes judgment sub-unit, the first process subelement, loads subelement:
Described judgment sub-unit, for judging whether described target first order content is to have loaded Content in described user terminal;
Described first processes subelement is used for when described judgment sub-unit is judged as YES obtaining prison The target first order content pointed by described context progress more new command measuring is the plurality of Progress ratio in first order content;
Described loading subelement is used for, when described judgment sub-unit is judged as NO, loading described Target first order content.
13. devices as claimed in claim 12 are it is characterised in that described loading subelement Specifically for:
According to described context progress more new command, the civilian data acquisition instruction into server transmission, Described interior literary composition data acquisition instruction includes the mark of described target first order content;
Receive corresponding with the described target first order content interior literary composition number that described server sends Set to described target first order content according to, the size according to described display interface and word Corresponding interior literary composition data carries out typesetting, described target first order content is divided into multiple continuous Second level content, records the quantity of the plurality of second level content;
Load the interior literary composition data corresponding to the described target first order content after typesetting.
14. devices as claimed in claim 13 it is characterised in that described updating block also For the interior literary composition shown by described display interface is updated to comprise described target second level content Interior literary composition.
CN201510502365.9A 2015-08-14 2015-08-14 Context progress update method and device Pending CN106469067A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510502365.9A CN106469067A (en) 2015-08-14 2015-08-14 Context progress update method and device
PCT/CN2016/078993 WO2017028547A1 (en) 2015-08-14 2016-04-11 Context progress update method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510502365.9A CN106469067A (en) 2015-08-14 2015-08-14 Context progress update method and device

Publications (1)

Publication Number Publication Date
CN106469067A true CN106469067A (en) 2017-03-01

Family

ID=58051089

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510502365.9A Pending CN106469067A (en) 2015-08-14 2015-08-14 Context progress update method and device

Country Status (2)

Country Link
CN (1) CN106469067A (en)
WO (1) WO2017028547A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113792182A (en) * 2021-09-17 2021-12-14 广州博冠信息科技有限公司 Image progress prompting method and device, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070143706A1 (en) * 2005-12-16 2007-06-21 Sap Ag Variable-speed scrollbar
CN102455852A (en) * 2010-10-29 2012-05-16 汉王科技股份有限公司 Method and device for displaying progress of electronic reader
CN102521280A (en) * 2011-11-26 2012-06-27 华为技术有限公司 Loading method and loading device of EPub electronic book
CN104102419A (en) * 2013-04-09 2014-10-15 腾讯科技(深圳)有限公司 Page display method and device and terminal equipment
CN104111956A (en) * 2013-04-22 2014-10-22 腾讯科技(深圳)有限公司 Method and terminal for adding segmentation marks in web browser

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070143706A1 (en) * 2005-12-16 2007-06-21 Sap Ag Variable-speed scrollbar
CN102455852A (en) * 2010-10-29 2012-05-16 汉王科技股份有限公司 Method and device for displaying progress of electronic reader
CN102521280A (en) * 2011-11-26 2012-06-27 华为技术有限公司 Loading method and loading device of EPub electronic book
CN104102419A (en) * 2013-04-09 2014-10-15 腾讯科技(深圳)有限公司 Page display method and device and terminal equipment
CN104111956A (en) * 2013-04-22 2014-10-22 腾讯科技(深圳)有限公司 Method and terminal for adding segmentation marks in web browser

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113792182A (en) * 2021-09-17 2021-12-14 广州博冠信息科技有限公司 Image progress prompting method and device, storage medium and electronic equipment
CN113792182B (en) * 2021-09-17 2023-08-08 广州博冠信息科技有限公司 Image progress prompting method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
WO2017028547A1 (en) 2017-02-23

Similar Documents

Publication Publication Date Title
CN107220094B (en) Page loading method and device and electronic equipment
US20160004574A1 (en) Method and apparatus for accelerating system running
CN103593333B (en) A kind of processing method, terminal and the electronic equipment of e-book document
CN107330768A (en) Personalized material displaying control method, device and system
CN103098001B (en) A kind of disposal route of user interface and electronic equipment
CN104834731A (en) Recommendation method and device for self-media information
CN105989144A (en) Notification message management method, apparatus and system as well as terminal device
CN103684969A (en) Message handling method and message handling system
US8495555B2 (en) Computer aided design system and method
CN106611366A (en) Method and device for automatically selecting article
CN103248705A (en) Server, client and video treatment method
CN102957949A (en) Device and method for recommending video to user
CN107959965A (en) Frame dropping method, device, mobile terminal and the readable storage medium storing program for executing of application program
CN107666435A (en) A kind of method and device for shielding message
CN107395594A (en) A kind of automatic identifying method for pulling identifying code
CN106708478B (en) Scroll view display method and apparatus
CN103731737B (en) A kind of video information update method and electronic equipment
CN106598379A (en) Method and device for managing application program
CN107317860A (en) Preloading method and device for theme detail page and electronic equipment
CN104102662A (en) Method and device for determining interest and preference similarity of users
CN105095004A (en) Message processing method and electronic device
CN108874875A (en) The asynchronous loading method of web page contents, device, readable storage medium storing program for executing and terminal
CN108604232A (en) Improve information source by modeling rolling behavior
CN105988709A (en) Information processing method and device
CN106469067A (en) Context progress update method and device

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: 20170301

RJ01 Rejection of invention patent application after publication