WO2017028547A1 - Context progress update method and apparatus - Google Patents

Context progress update method and apparatus Download PDF

Info

Publication number
WO2017028547A1
WO2017028547A1 PCT/CN2016/078993 CN2016078993W WO2017028547A1 WO 2017028547 A1 WO2017028547 A1 WO 2017028547A1 CN 2016078993 W CN2016078993 W CN 2016078993W WO 2017028547 A1 WO2017028547 A1 WO 2017028547A1
Authority
WO
WIPO (PCT)
Prior art keywords
progress
level
content
target
level content
Prior art date
Application number
PCT/CN2016/078993
Other languages
French (fr)
Chinese (zh)
Inventor
梁捷
范文
郭清清
Original Assignee
广州市动景计算机科技有限公司
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 广州市动景计算机科技有限公司 filed Critical 广州市动景计算机科技有限公司
Publication of WO2017028547A1 publication Critical patent/WO2017028547A1/en

Links

Images

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

Definitions

  • Embodiments of the present invention relate to the field of computer mobile communication technologies, and in particular, to a method and apparatus for updating a context.
  • the user has a potential forpredicting the progress of the text currently displayed on the display interface of the mobile terminal device. For example, the user wants to know the percentage of reading the entire novel when reading the novel, so that the user needs to estimate the need. How long does it take to finish reading and plan your time?
  • online reading content such as online reading novels
  • the number of unread chapters cannot be known, that is, the novel's The total number of pages is undefined, and it is very difficult to calculate the current reading progress in this case.
  • the existing method of calculating the progress of online novel reading is usually to simply calculate the progress of each chapter, without calculating the progress of each body page in each chapter.
  • the number of chapters in the current chapter is divided by the total number of chapters to get a percentage as the reading progress ratio of each page in the current chapter. For example, suppose a novel has 10 chapters. If the user reads Chapter 5, then no matter which page of the fifth chapter the user reads, the progress displayed on the mobile terminal is the progress of Chapter 5, that is, 5/. 10.
  • the progress of reading each page cannot be known. That is to say, when the user reads different pages of the same chapter, the content is updated but the reading progress cannot be updated in real time.
  • the object of the embodiments of the present invention is to provide a method and device for updating the progress of the text, which can calculate the reading progress ratio of the content pointed to by the user-initiated text progress update command without knowing the specific data amount of the unloaded content. In order to update the reading progress in real time while updating the content of the text.
  • an embodiment of the present invention provides a method for updating a progress of a text, which is used for updating a reading progress of a text displayed on a display interface of a user terminal, where the display interface includes a reading progress for displaying a currently displayed text.
  • the context includes a plurality of consecutive first-level content, each of the first-level content includes a plurality of consecutive second-level contents
  • the method comprising: monitoring a user-triggered context progress update instruction Obtaining a progress ratio of the monitored first level content pointed to by the monitored progress update instruction in the plurality of first level contents; the monitored Calculating the current progress content in the target second level content plus all the second level content of the target first level content before the target second level content as the current progress content Determining a progress ratio in the plurality of first-level contents; comparing the progress ratio to the progress ratio as a total progress ratio, and updating the progress label according to the total progress ratio.
  • the embodiment of the present invention provides the second possible implementation manner of the first aspect, wherein the monitored Calculating the current progress content in the target second level content in the target first level content plus all the second level content belonging to the target first level content as the current progress content
  • the progress starting point value C1, N2 of the content is the total number of the plurality of second-level contents in the target first-level content.
  • the embodiment of the present invention provides a third possible implementation manner of the first aspect, wherein the acquiring the target first-level content pointed to by the monitored progress update instruction is The progress ratio in the first level content includes: determining whether the target first level content is content already loaded in the user terminal, and if not, loading the target first level content.
  • the embodiment of the present invention provides a fourth possible implementation manner of the first aspect, wherein the loading the target first level content includes: according to the inner a progress update instruction, which sends a context data acquisition instruction to the server, where the context data acquisition instruction includes an identifier of the target first level content; and receives a text corresponding to the target first level content sent by the server Data, according to the size of the display interface and the text setting, the text data corresponding to the target first level content is typeset, and the target first level content is divided into a plurality of consecutive second Level content, recording the quantity of the plurality of second level contents; loading the text data corresponding to the target first level content after the typesetting.
  • an embodiment of the present invention provides a fifth possible implementation manner of the first aspect, wherein the content includes an electronic book, and the first level content corresponds to a chapter in an electronic book, The second level content corresponds to a page in each chapter of the electronic book, the progress label is in a digital form, and the number displayed by the progress label is a total progress ratio corresponding to the currently displayed page.
  • the embodiment of the present invention provides a sixth possible implementation manner of the first aspect, wherein the content includes a webpage, and the webpage is divided into a plurality of consecutive first ones according to the display interface.
  • Level content each of the first level content is divided into a plurality of consecutive second level contents according to a text setting, the progress label is in the form of a progress bar, and the progress bar is displayed at the top of the currently displayed webpage The overall progress ratio of the second level content in the web page.
  • the embodiment of the present invention further provides a context update device, which is used to calculate a reading progress of a text displayed on a display interface of the user terminal, where the display interface includes a progress label for displaying a reading progress of the currently displayed text, the text including a plurality of consecutive first level contents, each of the first level contents including a plurality of consecutive second level contents, the device
  • the monitoring unit is configured to: monitor a user-initiated internal progress update instruction; the first processing unit is configured to obtain the monitored target first-level content pointed to by the monitored progress update instruction in the plurality of first a progress ratio in the level of content; a second processing unit, configured to add the target second level content in the target first level content pointed to by the monitored context progress update instruction to the target second level All the second-level content of the content before the content and belonging to the target first-level content is used as the current progress content, and the current progress content is calculated in the a progress ratio in the first level content; an update unit configured to compare the progress ratio to the total progress ratio as
  • the method and device for updating the progress of the text provided by the embodiment of the present invention realize real-time updating of the reading progress of the text while updating the content of the text, and on the other hand, the overall progress ratio in the solution is comprehensively considered.
  • the progress of the first-level content is compared with the progress of the second-level content. Therefore, compared with the progress ratio of the current chapter in the prior art, the overall progress ratio in the embodiment of the present invention can more accurately reflect the context. Read the progress.
  • the present application further provides a computer terminal, comprising: a display device, comprising: a progress label for displaying a reading progress of a currently displayed text, the text comprising a plurality of consecutive first level contents, each first level content
  • the processor includes a plurality of consecutive second-level content, and the processor is configured to update the reading progress of the text displayed by the display interface of the user terminal, where the processor includes: a monitoring interface, configured to monitor a user-initiated internal progress update instruction, And obtaining a progress ratio of the target first-level content pointed to by the monitored progress progress update instruction in the plurality of first-level content; and calculating means for using the first target pointed to by the monitored internal progress update instruction
  • the control device is configured to compare the progress ratio to the progress ratio as the total progress ratio, and update the
  • the present application also provides a storage medium configured to store program code for updating a reading progress of a text displayed by a display interface of a user terminal, the display interface including a reading progress for displaying a currently displayed text.
  • a progress tag the context comprising a plurality of consecutive first level content, each first level content comprising a plurality of consecutive second level content: wherein the storage medium is further arranged to store program code for performing the following steps: Monitoring a user-initiated internal progress update instruction; obtaining a progress ratio of the target first-level content pointed to by the monitored internal progress update instruction in the plurality of first-level contents; pointing the monitored internal progress update instruction
  • the target second-level content in the target first-level content plus all the second-level content belonging to the target first-level content before the target second-level content is used as the current progress content, and the current progress content is calculated in the plurality of first-level content.
  • the proportion of progress in the process the ratio of the progress ratio to the progress as the total progress ratio, according to the overall progress ratio
  • FIG. 1 is a schematic diagram of an application environment of a method and a device for updating a progress of a text according to an embodiment of the present invention
  • FIG. 2 is a structural block diagram of a user terminal according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart diagram of a text progress update method according to a first embodiment of the present invention
  • FIG. 4 is a schematic flowchart diagram of a text progress update method according to a second embodiment of the present invention.
  • FIG. 5 is a schematic flowchart diagram of a text progress update method according to a third embodiment of the present invention.
  • FIG. 6 is a schematic view showing a display interface in a third embodiment of the present invention.
  • FIG. 7 is a schematic flowchart diagram of a text progress update method according to a fourth embodiment of the present invention.
  • FIG. 8 is a schematic diagram showing a display interface in a fourth embodiment of the present invention.
  • FIG. 9 is a structural block diagram of a context update device according to a fifth embodiment of the present invention.
  • FIG. 10 is a structural block diagram of a context progress updating apparatus according to a sixth embodiment of the present invention.
  • the text progress update method and apparatus provided by the embodiments of the present invention can be applied to an application environment as shown in FIG. 1.
  • the user terminal 100 and the server 200 are located in a wireless network or a wired network 300. Through the wireless network or the wired network 300, the user terminal 100 performs data interaction with the server 200.
  • the user terminal 100 is preferably a mobile terminal device, and may include, for example, a smart phone, a tablet computer, an e-book reader, and an MP3 player (Moving Picture Experts Group Audio Layer III). ), MP4 (Moving Picture Experts Group Audio Layer IV) player, laptop portable computer, car computer, wearable mobile terminal, and the like.
  • FIG. 2 is a block diagram showing the structure of a user terminal applicable to the embodiment of the present invention.
  • the user terminal 100 includes a memory 102, a memory controller 104, one or more (only one shown) processor 106, peripheral interface 108, radio frequency module 110, audio module 112, touch screen. 114 and so on. These components communicate with one another via one or more communication bus/signal lines 116.
  • the memory 102 can be used to store software programs and modules, such as the text progress update method and the program instructions/modules corresponding to the device in the embodiment of the present invention, and the processor 106 passes The software program and the modules stored in the memory 102 are executed to perform various function applications and data processing, such as the text progress update method provided by the embodiment of the present invention.
  • Memory 102 can include high speed random access memory and can also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. Access to the memory 102 by the processor 106 and other possible components can be performed under the control of the memory controller 104.
  • non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. Access to the memory 102 by the processor 106 and other possible components can be performed under the control of the memory controller 104.
  • Peripheral interface 108 couples various input/input devices to processor 106 and memory 102.
  • peripheral interface 108, processor 106, and memory controller 104 can be implemented in a single chip. In other instances, they can be implemented by separate chips.
  • the radio frequency module 110 is configured to receive and transmit electromagnetic waves, and realize mutual conversion between electromagnetic waves and electric signals, thereby communicating with a communication network or other devices.
  • the audio module 112 provides an audio interface to the user, which may include one or more microphones, one or more speakers, and audio circuitry.
  • the touch screen 114 provides an output and input interface simultaneously between the user terminal 100 and the user. Specifically, the touch screen 114 displays video output to the user, and the content of the video output may include text, graphics, video, and any combination thereof.
  • FIG. 2 is merely illustrative, and the user terminal 100 may further include more or less components than those shown in FIG. 2, or have a different configuration from that shown in FIG. 2.
  • the components shown in Figure 2 can be implemented in hardware, software, or a combination thereof.
  • the client terminal 100 is installed with a client, and the client may be a browser or a third-party application software, and corresponds to a server (Server) to provide services for the user, such as an e-book reading service. For playing local e-books and online e-books.
  • server Server
  • the method and device for updating the context of the text according to the embodiment of the present invention are mainly used for updating the reading progress of the text displayed on the display interface of the user terminal.
  • the display interface refers to a display interface of the client in the user terminal, including an interface for actually displaying the text, and a progress label for displaying the reading progress of the currently displayed text.
  • the size of the display interface is related to the setting of the display interface by the client. If the display interface set by the client can be the full screen mode, the size of the display interface can be the same as the display area of the user terminal display (such as the touch screen 114). If the display interface set by the client is smaller than the display screen of the user terminal, the size of the display interface is the size of the display interface actually set.
  • the text displayed by the display interface may include, but is not limited to, an electronic book, a webpage, and the like.
  • electronic books may include, but are not limited to, novels, periodicals, essays, and the like.
  • FIG. 3 is a flowchart of a text progress update method according to a first embodiment of the present invention.
  • this embodiment describes a process flow of a user terminal, where the method is used to update a display of a user terminal.
  • the reading progress of the text displayed on the interface the display interface includes a progress label for displaying the reading progress of the currently displayed text
  • the context includes a plurality of consecutive first-level contents, each of the first-level contents includes a plurality of consecutive second-level contents, and the method includes:
  • Step S110 monitoring a user-initiated text progress update instruction
  • the context progress update command can be triggered by the user at the beginning of reading or by the user during the reading process.
  • the user can be considered to trigger the internal progress update instruction
  • the first level content pointed to by the internal progress update instruction is the directory chapter that the user clicks, if the user clicks in the directory.
  • the specific start page, then the start page can be considered as the second level content pointed to by the context progress update instruction. If the user refers to the chapter, the first page of the chapter can be considered as the internal progress update instruction.
  • the user may also think that the user has triggered the text progress update instruction, and the second level content pointed to by the text progress update instruction is the next page of the current page, and the first level pointed to The content is the corresponding chapter on the next page.
  • Step S120 Obtain a progress ratio of the target first-level content pointed to by the monitored internal progress update instruction in the plurality of first-level contents;
  • the target first level content is the same content as the currently displayed first level content, since the progress ratio has been calculated and stored when updating the current first level content, the above directly reads the progress ratio, if the target is The first level content is not the same content as the currently displayed first level content, and the progress ratio of the target first level content in the plurality of first level contents needs to be calculated.
  • the client monitors the progress update instruction of the text. If the next page is in the same chapter as the current page, then the target progress level instruction is directed to the first level.
  • the progress ratio of the content in the plurality of first level content is the same as the progress ratio of the current first level content in the plurality of first level contents. It is not necessary to recalculate the direct reading of the stored progress ratio; if the next page is different from the current page, the calculation can be performed according to the following steps S121 and S122.
  • Step S121 acquiring the position B1 of the target first level content in the plurality of first level contents
  • the location of the target first-level content in the plurality of first-level content may be obtained from the directory data of the above-mentioned context.
  • the client may obtain the directory data of the above-mentioned context from the server ( If the locality is available, the local data will be updated once after the acquisition succeeds.
  • the above directory data includes the total number N1 of the plurality of first-level contents included in the foregoing content, and each of the first-level contents is in the first level.
  • the total number N1 of the plurality of first-level contents included in the above content may be a fixed value or may be dynamically changed. Take reading e-fiction as an example. For example, when reading in the morning, there are a total of 100 chapters. At noon, the author just updated one chapter, so when reading in the afternoon, the total is 101 chapters.
  • Step S130 adding the second level content of the target first level content pointed to by the monitored context progress update instruction to all second parts of the target first level content before the target second level content
  • the level content is used as the current progress content, and the progress proportion C of the current progress content in the plurality of first level contents is calculated
  • step S130 includes:
  • Step S131 acquiring the position C2 of the target second level content in the target first level content
  • the target second level content belongs to the first level content currently displayed (that is, the target first level content is the current first level content), due to the currently displayed first level content It has been typeset according to the size of the above display interface and the text setting. Therefore, the position of the target second level content in the target first level content can be known; if the target second level content corresponds to the target first level content is If the client has not loaded the content, the first level content of the target needs to be loaded first, and the first level content of the target is typeset according to the size of the display interface and the text setting during loading, thereby obtaining the target second level content in the target. Position C2 in the first level of content.
  • the progress starting point value C1, N2 of each of the second level contents of the target first level content is the total number of the plurality of second level contents in the target first level content.
  • step S140 the sum of the above-mentioned progress ratio and the above-mentioned progress ratio is used as the total progress ratio, and the progress label is updated according to the total progress ratio.
  • the total progress ratio A can be reserved for two decimal places.
  • step S140 the method further includes: updating the text displayed by the display interface to a content including the target second-level content.
  • the text progress update method provided by the embodiment implements real-time updating of the reading progress of the text while updating the content of the text, and on the other hand, the first-level content is comprehensively considered due to the overall progress ratio in the solution.
  • the progress ratio is proportional to the progress of the second level content. Therefore, compared with the prior art simply considering the progress ratio of the current chapter, the overall progress ratio in the embodiment of the present invention can more accurately reflect the reading progress of the text.
  • FIG. 4 is a flow chart showing a method for updating a text progress according to a second embodiment of the present invention. Referring to FIG. 4, this embodiment describes a processing flow of a user terminal, where the foregoing method includes:
  • Step S210 monitoring a user-initiated text progress update instruction
  • step S220 it is determined whether the content of the target first level is the content that has been loaded in the user terminal; if not, step S230 and step S240 are performed, and if yes, step S240 is directly executed.
  • Step S230 loading the first level content of the target
  • step S230 may include:
  • Step S240 Obtain a progress ratio of the monitored first-level content pointed to by the monitored progress update instruction in the plurality of first-level contents.
  • Step S250 adding the second level content of the target first level content pointed to by the monitored context update instruction to the second level before the target second level content and all second parts belonging to the target first level content.
  • the level content is used as the current progress content, and the progress proportion of the current progress content in the plurality of first level contents is calculated;
  • step S260 the sum of the progress ratio and the progress ratio is used as the total progress ratio, and the progress label is updated according to the total progress ratio.
  • Steps S210, S240, S250, and S260 may refer to corresponding parts in the first embodiment, and details are not described herein again.
  • FIG. 5 is a flowchart of a method for updating a progress of a text according to a third embodiment of the present invention.
  • the internal text is an electronic novel as an example, and the processing flow of the user terminal is described.
  • the electronic novel includes a plurality of consecutive chapters (that is, first-level content), and the content of each chapter is formatted according to the size of the display interface and the text setting to form a plurality of consecutive pages (that is, Second level content).
  • the progress label is in a digital form
  • the displayed number is a total progress ratio corresponding to the currently displayed page.
  • the method in this embodiment includes:
  • Step S310 monitoring a user-triggered novel page update instruction
  • Step S320 obtaining the position B1 of the target chapter pointed to by the monitored novel page update instruction in the plurality of chapters;
  • the starting point of each chapter is 0%, 5%, 10%, 15%, 20%, ..., 90%, 95%.
  • Step S340 obtaining the position C2 of the target page pointed to by the above novel page update instruction in the target chapter;
  • Step S360 updating the text displayed on the display interface to the content including the target page, and using the sum of the progress ratio B and the progress ratio C as the total progress ratio A, and updating the progress according to the total progress ratio A. label.
  • the number displayed on the progress tab is updated according to the total progress ratio A, as shown in FIG. 6. It can be seen that compared with the prior art, the chapter progress ratio (5/22) is used to characterize the progress ratio of the fifth chapter on page 8.
  • the overall progress ratio A in this embodiment can more accurately reflect the reading of the text. Progress, and more real-time.
  • FIG. 7 is a flowchart of a text progress update method according to a fourth embodiment of the present invention.
  • the content of the webpage is taken as an example, and the processing flow of the user terminal is described.
  • the webpage is divided into a plurality of consecutive first-level contents according to the display interface, and each of the first-level contents is divided into a plurality of consecutive second-level contents according to a character setting.
  • the progress label is in the form of a progress bar, and the progress bar displays the total progress ratio of the second level content at the top of the currently displayed web page in the web page.
  • the method in this embodiment includes:
  • Step S410 monitoring a webpage update instruction triggered by the user
  • Step S420 acquiring the location B1 of the target first-level content pointed to by the monitored webpage page update instruction in the plurality of first-level content;
  • Step S440 acquiring the location C2 of the target second-level content pointed to by the webpage update instruction in the target first-level content
  • Step S460 updating the text displayed on the display interface to the content including the target second-level content, and comparing the progress ratio B with the progress ratio C as the total progress ratio A according to the total progress ratio A. Update the above progress tab.
  • the form of the progress bar in this embodiment represents the total progress ratio of the top of the webpage displayed on the current display interface in the webpage.
  • FIG. 9 is a structural block diagram of a context update device according to a fifth embodiment of the present invention.
  • the device in this embodiment can be run on a user terminal, where the device is used to calculate the user terminal.
  • Displaying the progress of the reading of the text displayed on the interface the display interface includes a progress label for displaying the reading progress of the currently displayed text
  • the text includes a plurality of consecutive first-level contents
  • each of the first-level contents includes For a plurality of consecutive second-level contents
  • the apparatus 50 in this embodiment includes:
  • the monitoring unit 51 is configured to monitor a user-initiated text progress update instruction
  • the first processing unit 52 is configured to obtain a progress ratio of the monitored first level content pointed to by the monitored progress update instruction in the plurality of first level content;
  • a second processing unit 53 configured to add the target second-level content in the target first-level content pointed to by the monitored context update command to the target second-level content and belong to the target first level All the second-level content of the content is used as the current progress content, and the progress proportion of the current progress content in the plurality of first-level content is calculated;
  • the updating unit 54 is configured to use the sum of the above-mentioned progress ratio and the above-mentioned progress as a total progress ratio, and update the progress label according to the total progress ratio.
  • the updating unit 54 is further configured to update the text displayed by the display interface to a content including the target second level content.
  • the above text may include an electronic novel, and the first level content corresponds to a plurality of chapters in the electronic novel, and the second level content corresponds to a plurality of pages in each chapter of the electronic novel.
  • the above progress label is in the form of a number, and the number displayed on the progress label is the total progress ratio corresponding to the currently displayed page.
  • the above text may include a webpage, and divide the webpage into a plurality of consecutive first-level content according to the display interface, and divide each of the first-level content into a plurality of consecutive second-level contents according to a text setting.
  • the above progress label is in the form of a progress bar, and the progress bar shows the total progress ratio of the top of the currently displayed web page in the above webpage.
  • Each unit in this embodiment may be implemented by software code.
  • each unit described above may be stored in the memory 102 of the user terminal 100.
  • the above units can also be implemented by hardware such as an integrated circuit chip.
  • the above-mentioned monitoring unit 51, the first processing unit 52, the second processing unit 53 and the updating unit 54 may be operated in a computer terminal as part of the device, and the above module may be executed by a processor in the computer terminal.
  • the computer terminal can also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, an applause computer, and a mobile Internet device (MID), a PAD, and the like.
  • FIG. 10 is a structural block diagram of a context update device according to a sixth embodiment of the present invention.
  • the device in this embodiment can be run on a user terminal, and the device is used to calculate a display interface of the user terminal.
  • the progress of the reading of the displayed text the display interface includes a progress label for displaying the reading progress of the currently displayed text
  • the internal text includes a plurality of consecutive first-level contents
  • each of the first-level contents includes a plurality of The continuous second level content
  • the device 60 in this embodiment includes:
  • the monitoring unit 61 is configured to monitor a user-initiated text progress update instruction
  • the first processing unit 62 is configured to obtain a progress ratio of the monitored first level content pointed to by the monitored progress update instruction in the plurality of first level content;
  • a second processing unit 63 configured to add the target second-level content in the target first-level content pointed to by the monitored context update command to the target second-level content and belong to the target first level All the second-level content of the content is used as the current progress content, and the progress proportion of the current progress content in the plurality of first-level content is calculated;
  • the updating unit 64 is configured to update the text displayed by the display interface to the content including the target second-level content, and use the sum of the progress ratio and the progress ratio as a total progress ratio, and update according to the total progress ratio.
  • the above progress label is
  • the above-mentioned monitoring unit 61, the first processing unit 62, the second processing unit 63 and the updating unit 64 may be operated in a computer terminal as part of the device, and the above module may be executed by a processor in the computer terminal.
  • the implemented functions, the computer terminal can also be a smart phone (such as Android mobile phone, iOS mobile phone, etc.), flat Board computers, applause computers, and mobile Internet devices (MID), PAD and other terminal devices.
  • MID mobile Internet devices
  • the first processing unit 62 includes a determining subunit 621, a first processing subunit 622, and a loading subunit 623:
  • the determining sub-unit 621 is configured to determine whether the target first-level content is content that has been loaded in the user terminal;
  • the first processing sub-unit 622 is configured to obtain, when the determining sub-unit 621 determines that the content is YES, the progress ratio of the target first-level content pointed to by the monitored content progress update instruction in the plurality of first-level contents;
  • the loading sub-unit 623 is configured to load the target first-level content when the determining sub-unit determines to be no.
  • the foregoing determining subunit 621, the first processing subunit 622, and the loading subunit 623 may be run in a computer terminal as part of the apparatus, and the functions implemented by the foregoing modules may be performed by a processor in the computer terminal.
  • the computer terminal can also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, an applause computer, and a mobile Internet device (MID), a PAD, and the like.
  • loading subunit 623 may be specifically configured to:
  • Each unit in this embodiment may be implemented by software code.
  • each unit described above may be stored in the memory 102 of the user terminal 100.
  • the above units can also be implemented by hardware such as an integrated circuit chip.
  • the method and device for updating the progress of the text realize real-time updating of the reading progress of the text while updating the content of the text, and on the other hand, due to the overall progress in the solution.
  • the overall progress ratio in the embodiment of the present invention can be more accurate than the prior art simply considering the progress ratio of the current chapter. Reflecting the progress of the reading of the text.
  • each block of the flowchart or block diagram can represent a module, a program segment, or a portion of code that includes one or more of the Execute the instruction.
  • the functions noted in the blocks may also occur in a different order than that illustrated in the drawings. For example, two consecutive blocks may be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block in the block diagram and / or flowchart, as well as the block diagram and / or process Combinations of the blocks in the figures may be implemented in a specific hardware-based system that performs the specified function or function, or in a combination of special purpose and computer.
  • the various functional modules provided by the embodiments of the present application may be run in a mobile terminal, a computer terminal, or the like, or may be stored as part of a storage medium.
  • an embodiment of the present invention may provide a computer terminal, which may be any computer terminal device in a computer terminal group.
  • the foregoing computer terminal may also be replaced with a terminal device such as a mobile terminal.
  • the computer terminal may be located in at least one network device of the plurality of network devices of the computer network.
  • the foregoing computer terminal may include:
  • the display device includes: a progress label for displaying a reading progress of the currently displayed text, the text includes a plurality of consecutive first level contents, each of the first level contents including a plurality of consecutive second levels content,
  • a processor configured to update a reading progress of the text displayed by the display interface of the user terminal
  • processor comprises:
  • a monitoring interface configured to monitor a user-initiated text progress update instruction, and obtain a progress ratio of the monitored first-level content pointed to by the monitored progress update instruction in the plurality of first-level content;
  • a computing device configured to add the target second-level content in the target first-level content pointed to by the monitored progress progress update instruction to the target second-level content and belong to the target first Calculating, as the current progress content, all the second-level contents of the level content, and calculating a progress ratio of the current progress content in the plurality of first-level contents;
  • a control device configured to use the sum of the progress ratio and the progress ratio as a total progress ratio, and update the progress label according to the total progress ratio.
  • the computer terminal can include: one or more processors, memory, and transmission means.
  • Embodiments of the embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be used to save program code executed by the method for downloading streaming media provided by the foregoing method embodiment and the device embodiment.
  • the foregoing storage medium may be located in any one of the computer terminal groups in the computer network, or in any one of the mobile terminal groups.
  • the storage medium is configured to store a program code for updating a reading progress of a text displayed by a display interface of the user terminal, where the display interface is configured to display the currently displayed a progress label of the reading progress of the text, the text includes a plurality of consecutive first-level contents, each of the first-level contents including a plurality of consecutive second-level contents: wherein the storage medium is further set for storage
  • the progress of the target progress update instruction points to the target second level content plus the target second level content and all second level content belonging to the target first level content as the current progress content, calculate the current progress
  • the proportion of the progress of the content in the plurality of first-level content; the ratio of the progress ratio to the progress ratio is taken as the total progress ratio, and the progress label is updated according to the total progress ratio
  • the computer program product provided by the embodiment of the present invention includes a computer readable storage medium storing program code, and the program code includes instructions available.
  • the program code includes instructions available.
  • the disclosed systems, devices, and methods may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some communication interface, device or unit, and may be electrical, mechanical or otherwise.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product. Based on the understanding, the technical solution of the embodiments of the present invention, or the part contributing to the prior art or the part of the technical solution, may be embodied in the form of a software product.
  • the computer software product is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

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

A context progress update method and apparatus, which are used for updating the progress of reading a context displayed on a display interface of a user terminal, and belong to the technical field of computer communications. The method comprises: monitoring a context progress update instruction triggered by a user (S110); acquiring a progress ratio of a target first level content indicated by the monitored context progress update instruction in a plurality of first level contents (S120); adding a target second level content in the target first level content indicated by the monitored context progress update instruction to all second level contents, before the target second level content and belonging to the target first level content, as a current development content, and calculating a progress proportion of the current development content in the plurality of first level contents (S130); and taking the sum of the progress ratio and the progress proportion as a total progress ratio, and updating the progress label according to the total progress ratio (S140). By means of the method and apparatus, the reading progress can be updated in real time while updating the context content.

Description

内文进度更新方法及装置Internal progress update method and device 技术领域Technical field
本发明实施例涉及计算机移动通信技术领域,具体而言,涉及一种内文进度更新方法及装置。Embodiments of the present invention relate to the field of computer mobile communication technologies, and in particular, to a method and apparatus for updating a context.
背景技术Background technique
随着移动终端技术的发展,越来越多的人依赖移动终端设备(例如手机等)来阅读网页内容以及电子书籍。在碎片化时间里进行这些阅读已成为越来越多用户的一种习惯。With the development of mobile terminal technology, more and more people rely on mobile terminal devices (such as mobile phones, etc.) to read web content and electronic books. Making these readings in fragmented time has become a habit for more and more users.
在阅读的过程中,用户对移动终端设备的显示界面当前所显示的内文的进度有潜在的预知欲望,例如用户在阅读小说时想了解阅读到整本小说的百分比,这样方便用户估算还需要多长时间能够完成阅读,规划好自己的时间。但对于在线阅读的内容,例如在线阅读小说等,由于每一章的内文数据是在阅读时才实时向服务器获取并排版的,因此,未阅读章节的页数无法获知,也就是说小说的总页码数是不确定的,在这种情况下计算当前阅读进度是存在很大难度的。During the reading process, the user has a potential forpredicting the progress of the text currently displayed on the display interface of the mobile terminal device. For example, the user wants to know the percentage of reading the entire novel when reading the novel, so that the user needs to estimate the need. How long does it take to finish reading and plan your time? However, for online reading content, such as online reading novels, since the text data of each chapter is acquired and typeset to the server in real time while reading, the number of unread chapters cannot be known, that is, the novel's The total number of pages is undefined, and it is very difficult to calculate the current reading progress in this case.
现有的计算在线小说阅读进度的方法通常是单纯计算每一章的进度,而不计算每一章中每一正文页的进度。用户阅读到第几章,就用当前章的章数除以总章数得到一个百分比,作为当前章中每一页的阅读进度比。例如,假设一本小说有10章内容,用户阅读到第5章,那么无论用户阅读到第5章的哪一页,移动终端上显示出来的进度都是第5章的进度,也就是5/10,用户在阅读第5章的不同页时,无法获知每一页的阅读进度,也就是说用户在阅读同一章节的不同页时,内容虽然更新了但是阅读进度无法做到实时更新。 The existing method of calculating the progress of online novel reading is usually to simply calculate the progress of each chapter, without calculating the progress of each body page in each chapter. When the user reads the first chapter, the number of chapters in the current chapter is divided by the total number of chapters to get a percentage as the reading progress ratio of each page in the current chapter. For example, suppose a novel has 10 chapters. If the user reads Chapter 5, then no matter which page of the fifth chapter the user reads, the progress displayed on the mobile terminal is the progress of Chapter 5, that is, 5/. 10. When the user reads the different pages of Chapter 5, the progress of reading each page cannot be known. That is to say, when the user reads different pages of the same chapter, the content is updated but the reading progress cannot be updated in real time.
发明内容Summary of the invention
本发明实施例的目的在于提供一种内文进度更新方法及装置,可以在不知道未加载内容的具体数据量的情况下,计算用户触发的内文进度更新指令所指向的内容的阅读进度比,从而在更新内文内容的同时实时更新阅读进度。The object of the embodiments of the present invention is to provide a method and device for updating the progress of the text, which can calculate the reading progress ratio of the content pointed to by the user-initiated text progress update command without knowing the specific data amount of the unloaded content. In order to update the reading progress in real time while updating the content of the text.
为了实现上述目的,本发明实施例采用的技术方案如下:In order to achieve the above object, the technical solution adopted by the embodiment of the present invention is as follows:
第一方面,本发明实施例提供了一种内文进度更新方法,用于更新用户终端的显示界面所显示内文的阅读进度,所述显示界面包括用于显示当前所显示内文的阅读进度的进度标签,所述内文包括多个连续的第一级内容,每个所述第一级内容包括多个连续的第二级内容,所述方法包括:监测用户触发的内文进度更新指令;获取监测到的所述内文进度更新指令所指向的目标第一级内容在所述多个第一级内容中的进度比;将监测到的所述内文进度更新指令所指向的所述目标第一级内容中的目标第二级内容加上所述目标第二级内容之前且属于所述目标第一级内容的所有第二级内容作为当前进展内容,计算所述当前进展内容在所述多个第一级内容中的进度占比;将所述进度比与所述进度占比的和作为总进度比,根据所述总进度比更新所述进度标签。In a first aspect, an embodiment of the present invention provides a method for updating a progress of a text, which is used for updating a reading progress of a text displayed on a display interface of a user terminal, where the display interface includes a reading progress for displaying a currently displayed text. a progress tag, the context includes a plurality of consecutive first-level content, each of the first-level content includes a plurality of consecutive second-level contents, the method comprising: monitoring a user-triggered context progress update instruction Obtaining a progress ratio of the monitored first level content pointed to by the monitored progress update instruction in the plurality of first level contents; the monitored Calculating the current progress content in the target second level content plus all the second level content of the target first level content before the target second level content as the current progress content Determining a progress ratio in the plurality of first-level contents; comparing the progress ratio to the progress ratio as a total progress ratio, and updating the progress label according to the total progress ratio.
结合第一方面,本发明实施例提供了第一方面的第一种可能的实施方式,其中,所述获取监测到的所述内文进度更新指令所指向的目标第一级内容在所述多个第一级内容中的进度比,包括:获取所述目标第一级内容在所述多个第一级内容中的位置B1;通过公式B=(B1-1)*A1计算并存储所述目标第一级内容在所述多个第一级内容中的进度比B,其中,A1为根据公式A1=(1/N1)*100%计算并存 储的每个所述第一级内容的进度起点值,N1为所述内文的多个第一级内容的总数量。With reference to the first aspect, the embodiment of the present invention provides a first possible implementation manner of the first aspect, wherein the acquiring the target first-level content pointed to by the monitored progress progress update instruction is a progress ratio in the first level of content, comprising: obtaining a position B1 of the target first level content in the plurality of first level contents; calculating and storing the formula by using formula B=(B1-1)*A1 a progress ratio B of the target first level content in the plurality of first level contents, wherein A1 is calculated and coexisted according to the formula A1=(1/N1)*100% a progress start value of each of the first level contents stored, and N1 is a total number of the plurality of first level contents of the context.
结合第一方面的第一种可能的实施方式,本发明实施例提供了第一方面的第二种可能的实施方式,其中,所述将监测到的所述内文进度更新指令所指向的所述目标第一级内容中的目标第二级内容加上所述目标第二级内容之前且属于所述目标第一级内容的所有第二级内容作为当前进展内容,计算所述当前进展内容在所述多个第一级内容中的进度占比,包括:获取所述目标第二级内容在所述目标第一级内容中的位置C2;通过公式C=(C2-1)*C1计算并存储所述当前进展内容在所述多个第一级内容中的进度占比C,其中,C1为通过公式C1=A1/N2计算并存储的所述目标第一级内容中每个第二级内容的进度起点值C1,N2为所述目标第一级内容中所述多个第二级内容的总数量。With reference to the first possible implementation manner of the first aspect, the embodiment of the present invention provides the second possible implementation manner of the first aspect, wherein the monitored Calculating the current progress content in the target second level content in the target first level content plus all the second level content belonging to the target first level content as the current progress content The ratio of progress in the plurality of first-level contents includes: obtaining a position C2 of the target second-level content in the target first-level content; calculating by a formula C=(C2-1)*C1 Storing a progress ratio C of the current progress content in the plurality of first level content, wherein C1 is each second level of the target first level content calculated and stored by a formula C1=A1/N2 The progress starting point value C1, N2 of the content is the total number of the plurality of second-level contents in the target first-level content.
结合第一方面,本发明实施例提供了第一方面的第三种可能的实施方式,其中,所述获取监测到的所述内文进度更新指令所指向的目标第一级内容在所述多个第一级内容中的进度比之前,包括:判断所述目标第一级内容是否是已加载在所述用户终端中的内容,如果不是,则加载所述目标第一级内容。With reference to the first aspect, the embodiment of the present invention provides a third possible implementation manner of the first aspect, wherein the acquiring the target first-level content pointed to by the monitored progress update instruction is The progress ratio in the first level content includes: determining whether the target first level content is content already loaded in the user terminal, and if not, loading the target first level content.
结合第一方面的第三种可能的实施方式,本发明实施例提供了第一方面的第四种可能的实施方式,其中,所述加载所述目标第一级内容,包括:根据所述内文进度更新指令,向服务器发送内文数据获取指令,所述内文数据获取指令包括所述目标第一级内容的标识;接收所述服务器发送的与所述目标第一级内容对应的内文数据,根据所述显示界面的大小以及文字设定对所述目标第一级内容对应的内文数据进行排版,将所述目标第一级内容分为多个连续的第二 级内容,记录所述多个第二级内容的数量;加载排版后的所述目标第一级内容所对应的内文数据。With reference to the third possible implementation manner of the first aspect, the embodiment of the present invention provides a fourth possible implementation manner of the first aspect, wherein the loading the target first level content includes: according to the inner a progress update instruction, which sends a context data acquisition instruction to the server, where the context data acquisition instruction includes an identifier of the target first level content; and receives a text corresponding to the target first level content sent by the server Data, according to the size of the display interface and the text setting, the text data corresponding to the target first level content is typeset, and the target first level content is divided into a plurality of consecutive second Level content, recording the quantity of the plurality of second level contents; loading the text data corresponding to the target first level content after the typesetting.
结合第一方面,本发明实施例提供了第一方面的第五种可能的实施方式,其中,所述内文包括电子书籍,所述第一级内容对应的是电子书籍中的章节,所述第二级内容对应的是电子书籍每一章节中的页,所述进度标签为数字形式,所述进度标签所显示的数字是与当前所显示的页对应的总进度比。With reference to the first aspect, an embodiment of the present invention provides a fifth possible implementation manner of the first aspect, wherein the content includes an electronic book, and the first level content corresponds to a chapter in an electronic book, The second level content corresponds to a page in each chapter of the electronic book, the progress label is in a digital form, and the number displayed by the progress label is a total progress ratio corresponding to the currently displayed page.
结合第一方面,本发明实施例提供了第一方面的第六种可能的实施方式,其中,所述内文包括网页,将所述网页中根据所述显示界面划分为多个连续的第一级内容,将每个所述第一级内容根据文字设定划分为多个连续的第二级内容,所述进度标签为进度条形式,所述进度条显示的是位于当前所显示的网页顶部的第二级内容在所述网页中的总进度比。With reference to the first aspect, the embodiment of the present invention provides a sixth possible implementation manner of the first aspect, wherein the content includes a webpage, and the webpage is divided into a plurality of consecutive first ones according to the display interface. Level content, each of the first level content is divided into a plurality of consecutive second level contents according to a text setting, the progress label is in the form of a progress bar, and the progress bar is displayed at the top of the currently displayed webpage The overall progress ratio of the second level content in the web page.
第二方面,本发明实施例还提供了一种内文进度更新装置,运行于用户终端,所述装置用于计算所述用户终端的显示界面所显示内文的阅读进度,所述显示界面包括用于显示当前所显示内文的阅读进度的进度标签,所述内文包括多个连续的第一级内容,每个所述第一级内容包括多个连续的第二级内容,所述装置包括:监测单元,用于监测用户触发的内文进度更新指令;第一处理单元,用于获取监测到的所述内文进度更新指令所指向的目标第一级内容在所述多个第一级内容中的进度比;第二处理单元,用于将监测到的所述内文进度更新指令所指向的所述目标第一级内容中的目标第二级内容加上所述目标第二级内容之前且属于所述目标第一级内容的所有第二级内容作为当前进展内容,计算所述当前进展内容在所述多 个第一级内容中的进度占比;更新单元,用于将所述进度比与所述进度占比的和作为总进度比,根据所述总进度比更新所述进度标签。In a second aspect, the embodiment of the present invention further provides a context update device, which is used to calculate a reading progress of a text displayed on a display interface of the user terminal, where the display interface includes a progress label for displaying a reading progress of the currently displayed text, the text including a plurality of consecutive first level contents, each of the first level contents including a plurality of consecutive second level contents, the device The monitoring unit is configured to: monitor a user-initiated internal progress update instruction; the first processing unit is configured to obtain the monitored target first-level content pointed to by the monitored progress update instruction in the plurality of first a progress ratio in the level of content; a second processing unit, configured to add the target second level content in the target first level content pointed to by the monitored context progress update instruction to the target second level All the second-level content of the content before the content and belonging to the target first-level content is used as the current progress content, and the current progress content is calculated in the a progress ratio in the first level content; an update unit configured to compare the progress ratio to the total progress ratio as a total progress ratio, and update the progress label according to the total progress ratio.
本发明实施例提供的内文进度更新方法及装置一方面实现了在更新内文内容的同时,对内文的阅读进度的实时更新,另一方面,由于方案中的总进度比综合考虑了第一级内容的进度比与第二级内容的进度占比,因此,相较于现有技术中单纯考虑当前章节的进度比,本发明实施例中的总进度比能够更加准确的反映内文的阅读进度。The method and device for updating the progress of the text provided by the embodiment of the present invention realize real-time updating of the reading progress of the text while updating the content of the text, and on the other hand, the overall progress ratio in the solution is comprehensively considered. The progress of the first-level content is compared with the progress of the second-level content. Therefore, compared with the progress ratio of the current chapter in the prior art, the overall progress ratio in the embodiment of the present invention can more accurately reflect the context. Read the progress.
本申请还提供了一种计算机终端,包括:显示装置,包括:用于显示当前所显示内文的阅读进度的进度标签,内文包括多个连续的第一级内容,每个第一级内容包括多个连续的第二级内容;处理器,用于更新用户终端的显示界面所显示内文的阅读进度;其中,处理器包括:监测接口,用于监测用户触发的内文进度更新指令,并获取监测到的内文进度更新指令所指向的目标第一级内容在多个第一级内容中的进度比;计算装置,用于将监测到的内文进度更新指令所指向的目标第一级内容中的目标第二级内容加上目标第二级内容之前且属于目标第一级内容的所有第二级内容作为当前进展内容,计算当前进展内容在多个第一级内容中的进度占比;控制装置,用于将进度比与进度占比的和作为总进度比,根据总进度比更新进度标签。The present application further provides a computer terminal, comprising: a display device, comprising: a progress label for displaying a reading progress of a currently displayed text, the text comprising a plurality of consecutive first level contents, each first level content The processor includes a plurality of consecutive second-level content, and the processor is configured to update the reading progress of the text displayed by the display interface of the user terminal, where the processor includes: a monitoring interface, configured to monitor a user-initiated internal progress update instruction, And obtaining a progress ratio of the target first-level content pointed to by the monitored progress progress update instruction in the plurality of first-level content; and calculating means for using the first target pointed to by the monitored internal progress update instruction The target second-level content in the level content plus all the second-level content of the target first-level content and the target first-level content as the current progress content, calculating the progress of the current progress content in the plurality of first-level content The control device is configured to compare the progress ratio to the progress ratio as the total progress ratio, and update the progress label according to the total progress ratio.
本申请还提供了一种存储介质,存储介质被设置为存储用于更新用户终端的显示界面所显示内文的阅读进度的程序代码,显示界面包括用于显示当前所显示内文的阅读进度的进度标签,内文包括多个连续的第一级内容,每个第一级内容包括多个连续的第二级内容:其中,存储介质还被设置为存储用于执行以下步骤的程序代码: 监测用户触发的内文进度更新指令;获取监测到的内文进度更新指令所指向的目标第一级内容在多个第一级内容中的进度比;将监测到的内文进度更新指令所指向的目标第一级内容中的目标第二级内容加上目标第二级内容之前且属于目标第一级内容的所有第二级内容作为当前进展内容,计算当前进展内容在多个第一级内容中的进度占比;将进度比与进度占比的和作为总进度比,根据总进度比更新进度标签。The present application also provides a storage medium configured to store program code for updating a reading progress of a text displayed by a display interface of a user terminal, the display interface including a reading progress for displaying a currently displayed text. a progress tag, the context comprising a plurality of consecutive first level content, each first level content comprising a plurality of consecutive second level content: wherein the storage medium is further arranged to store program code for performing the following steps: Monitoring a user-initiated internal progress update instruction; obtaining a progress ratio of the target first-level content pointed to by the monitored internal progress update instruction in the plurality of first-level contents; pointing the monitored internal progress update instruction The target second-level content in the target first-level content plus all the second-level content belonging to the target first-level content before the target second-level content is used as the current progress content, and the current progress content is calculated in the plurality of first-level content. The proportion of progress in the process; the ratio of the progress ratio to the progress as the total progress ratio, according to the overall progress ratio update schedule label.
为使本发明实施例的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下。The above described objects, features, and advantages of the embodiments of the present invention will become more apparent from the description of the appended claims.
附图说明DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本发明实施例的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following drawings will be briefly described, and the following drawings illustrate only certain embodiments of the embodiments of the present invention. Therefore, it should not be seen as limiting the scope, and those skilled in the art can obtain other related drawings according to the drawings without any creative work.
图1示出了本发明实施例提供的内文进度更新方法及装置的应用环境示意图;1 is a schematic diagram of an application environment of a method and a device for updating a progress of a text according to an embodiment of the present invention;
图2示出了本发明实施例提供的用户终端的结构框图;FIG. 2 is a structural block diagram of a user terminal according to an embodiment of the present invention;
图3示出了本发明第一实施例提供的一种内文进度更新方法的流程示意图;FIG. 3 is a schematic flowchart diagram of a text progress update method according to a first embodiment of the present invention;
图4示出了本发明第二实施例提供的一种内文进度更新方法的流程示意图;FIG. 4 is a schematic flowchart diagram of a text progress update method according to a second embodiment of the present invention;
图5示出了本发明第三实施例提供的一种内文进度更新方法的流程示意图;FIG. 5 is a schematic flowchart diagram of a text progress update method according to a third embodiment of the present invention;
图6示出了本发明第三实施例中的显示界面示意图; FIG. 6 is a schematic view showing a display interface in a third embodiment of the present invention; FIG.
图7示出了本发明第四实施例提供的一种内文进度更新方法的流程示意图;FIG. 7 is a schematic flowchart diagram of a text progress update method according to a fourth embodiment of the present invention;
图8示出了本发明第四实施例中的显示界面示意图;FIG. 8 is a schematic diagram showing a display interface in a fourth embodiment of the present invention; FIG.
图9示出了本发明第五实施例提供的一种内文进度更新装置的结构框图;FIG. 9 is a structural block diagram of a context update device according to a fifth embodiment of the present invention;
图10示出了本发明第六实施例提供的一种内文进度更新装置的结构框图。FIG. 10 is a structural block diagram of a context progress updating apparatus according to a sixth embodiment of the present invention.
具体实施方式detailed description
本发明实施例所提供的内文进度更新方法及装置可应用于如图1所示的应用环境中。如图1所示,用户终端100、服务器200位于无线网络或有线网络300中,通过该无线网络或有线网络300,用户终端100与服务器200进行数据交互。The text progress update method and apparatus provided by the embodiments of the present invention can be applied to an application environment as shown in FIG. 1. As shown in FIG. 1, the user terminal 100 and the server 200 are located in a wireless network or a wired network 300. Through the wireless network or the wired network 300, the user terminal 100 performs data interaction with the server 200.
于本发明实施例中,用户终端100优选为移动终端设备,例如可以包括智能手机、平板电脑、电子书阅读器、MP3播放器(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、膝上型便携计算机、车载电脑、穿戴式移动终端等等。In the embodiment of the present invention, the user terminal 100 is preferably a mobile terminal device, and may include, for example, a smart phone, a tablet computer, an e-book reader, and an MP3 player (Moving Picture Experts Group Audio Layer III). ), MP4 (Moving Picture Experts Group Audio Layer IV) player, laptop portable computer, car computer, wearable mobile terminal, and the like.
图2示出了一种可应用于本发明实施例中的用户终端的结构框图。如图2所示,用户终端100包括存储器102、存储控制器104,一个或多个(图中仅示出一个)处理器106、外设接口108、射频模块110、音频模块112、触控屏幕114等。这些组件通过一条或多条通讯总线/信号线116相互通讯。FIG. 2 is a block diagram showing the structure of a user terminal applicable to the embodiment of the present invention. As shown in FIG. 2, the user terminal 100 includes a memory 102, a memory controller 104, one or more (only one shown) processor 106, peripheral interface 108, radio frequency module 110, audio module 112, touch screen. 114 and so on. These components communicate with one another via one or more communication bus/signal lines 116.
存储器102可用于存储软件程序以及模块,如本发明实施例中的内文进度更新方法及装置对应的程序指令/模块,处理器106通过 运行存储在存储器102内的软件程序以及模块,从而执行各种功能应用以及数据处理,如本发明实施例提供的内文进度更新方法。The memory 102 can be used to store software programs and modules, such as the text progress update method and the program instructions/modules corresponding to the device in the embodiment of the present invention, and the processor 106 passes The software program and the modules stored in the memory 102 are executed to perform various function applications and data processing, such as the text progress update method provided by the embodiment of the present invention.
存储器102可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。处理器106以及其他可能的组件对存储器102的访问可在存储控制器104的控制下进行。 Memory 102 can include high speed random access memory and can also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. Access to the memory 102 by the processor 106 and other possible components can be performed under the control of the memory controller 104.
外设接口108将各种输入/输入装置耦合至处理器106以及存储器102。在一些实施例中,外设接口108,处理器106以及存储控制器104可以在单个芯片中实现。在其他一些实例中,他们可以分别由独立的芯片实现。 Peripheral interface 108 couples various input/input devices to processor 106 and memory 102. In some embodiments, peripheral interface 108, processor 106, and memory controller 104 can be implemented in a single chip. In other instances, they can be implemented by separate chips.
射频模块110用于接收以及发送电磁波,实现电磁波与电信号的相互转换,从而与通讯网络或者其他设备进行通讯。The radio frequency module 110 is configured to receive and transmit electromagnetic waves, and realize mutual conversion between electromagnetic waves and electric signals, thereby communicating with a communication network or other devices.
音频模块112向用户提供音频接口,其可包括一个或多个麦克风、一个或者多个扬声器以及音频电路。The audio module 112 provides an audio interface to the user, which may include one or more microphones, one or more speakers, and audio circuitry.
触控屏幕114在用户终端100与用户之间同时提供一个输出及输入界面。具体地,触控屏幕114向用户显示视频输出,这些视频输出的内容可包括文字、图形、视频及其任意组合。The touch screen 114 provides an output and input interface simultaneously between the user terminal 100 and the user. Specifically, the touch screen 114 displays video output to the user, and the content of the video output may include text, graphics, video, and any combination thereof.
可以理解,图2所示的结构仅为示意,用户终端100还可包括比图2中所示更多或者更少的组件,或者具有与图2所示不同的配置。图2中所示的各组件可以采用硬件、软件或其组合实现。It can be understood that the structure shown in FIG. 2 is merely illustrative, and the user terminal 100 may further include more or less components than those shown in FIG. 2, or have a different configuration from that shown in FIG. 2. The components shown in Figure 2 can be implemented in hardware, software, or a combination thereof.
于本发明实施例中,用户终端100中安装有客户端,该客户端可以是浏览器也可以是第三方应用软件,与服务器(Server)端相对应,为用户提供服务,例如电子书阅读服务,用于播放本地电子书及在线电子书。 In the embodiment of the present invention, the client terminal 100 is installed with a client, and the client may be a browser or a third-party application software, and corresponds to a server (Server) to provide services for the user, such as an e-book reading service. For playing local e-books and online e-books.
本发明实施例提出的内文进度更新方法和装置,主要是用于更新用户终端的显示界面所显示内文的阅读进度。The method and device for updating the context of the text according to the embodiment of the present invention are mainly used for updating the reading progress of the text displayed on the display interface of the user terminal.
于本发明实施例中,显示界面指的是用户终端中的客户端的显示界面,包括实际显示内文的界面,以及用于显示当前所显示内文的阅读进度的进度标签。显示界面的大小与客户端对显示界面的设置有关,如果客户端设置的显示界面可以是全屏模式,那么显示界面的大小与用户终端显示屏(如触控屏幕114)的显示区域大小可以相同,如果客户端设置的显示界面小于用户终端的显示屏,那么显示界面的大小就是实际所设置的显示界面的大小。In the embodiment of the present invention, the display interface refers to a display interface of the client in the user terminal, including an interface for actually displaying the text, and a progress label for displaying the reading progress of the currently displayed text. The size of the display interface is related to the setting of the display interface by the client. If the display interface set by the client can be the full screen mode, the size of the display interface can be the same as the display area of the user terminal display (such as the touch screen 114). If the display interface set by the client is smaller than the display screen of the user terminal, the size of the display interface is the size of the display interface actually set.
于本发明实施例中,显示界面所显示的内文可以包括但不限于电子书籍、网页等内容。其中,电子书籍可以包括但不限于小说、期刊、论文等。In the embodiment of the present invention, the text displayed by the display interface may include, but is not limited to, an electronic book, a webpage, and the like. Among them, electronic books may include, but are not limited to, novels, periodicals, essays, and the like.
下面将结合本发明实施例中附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本发明实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本发明的实施例的详细描述并非旨在限制要求保护的本发明实施例的范围,而是仅仅表示本发明的选定实施例。基于本发明的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本发明实施例保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of the embodiments of the invention, which are generally described and illustrated in the figures herein, may be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the invention in the claims All other embodiments obtained by a person skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the embodiments of the present invention.
第一实施例First embodiment
图3示出了本发明第一实施例提供的一种内文进度更新方法的流程图,请参阅图3,本实施例描述的是用户终端的处理流程,上述方法用于更新用户终端的显示界面所显示内文的阅读进度,上述显示界面包括用于显示当前所显示内文的阅读进度的进度标签,上 述内文包括多个连续的第一级内容,每个上述第一级内容包括多个连续的第二级内容,上述方法包括:FIG. 3 is a flowchart of a text progress update method according to a first embodiment of the present invention. Referring to FIG. 3, this embodiment describes a process flow of a user terminal, where the method is used to update a display of a user terminal. The reading progress of the text displayed on the interface, the display interface includes a progress label for displaying the reading progress of the currently displayed text, The context includes a plurality of consecutive first-level contents, each of the first-level contents includes a plurality of consecutive second-level contents, and the method includes:
步骤S110,监测用户触发的内文进度更新指令;Step S110, monitoring a user-initiated text progress update instruction;
内文进度更新指令可以在刚开始阅读时由用户触发也可以在阅读过程中由用户触发。例如用户在打开电子小说,点击电子小说目录时,可以认为用户触发了内文进度更新指令,该内文进度更新指令所指向的第一级内容就是用户点击的目录章节,如果用户在目录中点击了具体的开始页,那么可以认为该开始页为该内文进度更新指令所指向的第二级内容,如果用户指点击了章节,那么可以认为该章节的第一页为该内文进度更新指令所指向的第二级内容。用户在阅读过程中进行翻页操作时,也可以认为用户触发了内文进度更新指令,该内文进度更新指令所指向的第二级内容就是当前页的下一页,所指向的第一级内容就是下一页对应的章节。The context progress update command can be triggered by the user at the beginning of reading or by the user during the reading process. For example, when the user opens the electronic novel and clicks on the electronic novel directory, the user can be considered to trigger the internal progress update instruction, and the first level content pointed to by the internal progress update instruction is the directory chapter that the user clicks, if the user clicks in the directory. The specific start page, then the start page can be considered as the second level content pointed to by the context progress update instruction. If the user refers to the chapter, the first page of the chapter can be considered as the internal progress update instruction. The second level of content pointed to. When the user performs the page turning operation during the reading process, the user may also think that the user has triggered the text progress update instruction, and the second level content pointed to by the text progress update instruction is the next page of the current page, and the first level pointed to The content is the corresponding chapter on the next page.
步骤S120,获取监测到的上述内文进度更新指令所指向的目标第一级内容在上述多个第一级内容中的进度比;Step S120: Obtain a progress ratio of the target first-level content pointed to by the monitored internal progress update instruction in the plurality of first-level contents;
如果目标第一级内容与当前显示的第一级内容是同一个内容,那么由于在更新当前第一级内容时已经计算并存储过进度比,上述直接读取该进度比即可,如果目标第一级内容与当前显示的第一级内容不是同一内容,则需要计算目标第一级内容在上述多个第一级内容中的进度比。If the target first level content is the same content as the currently displayed first level content, since the progress ratio has been calculated and stored when updating the current first level content, the above directly reads the progress ratio, if the target is The first level content is not the same content as the currently displayed first level content, and the progress ratio of the target first level content in the plurality of first level contents needs to be calculated.
以阅读电子小说为例,当用户进行翻页操作时,客户端监测到内文进度更新指令,如果下一页与当前页在同一章,那么内文进度更新指令所指向的目标第一级内容在上述多个第一级内容中的进度比与当前第一级内容在上述多个第一级内容中的进度比是一样的, 不需要重新计算直接读取已存储的进度比即可;如果下一页与当前页在不同章,那么可以根据以下步骤S121及步骤S122进行计算。Taking electronic fiction as an example, when the user performs a page turning operation, the client monitors the progress update instruction of the text. If the next page is in the same chapter as the current page, then the target progress level instruction is directed to the first level. The progress ratio of the content in the plurality of first level content is the same as the progress ratio of the current first level content in the plurality of first level contents. It is not necessary to recalculate the direct reading of the stored progress ratio; if the next page is different from the current page, the calculation can be performed according to the following steps S121 and S122.
步骤S121,获取上述目标第一级内容在上述多个第一级内容中的位置B1;Step S121, acquiring the position B1 of the target first level content in the plurality of first level contents;
目标第一级内容在多个第一级内容中的位置可以由上述内文的目录数据中获得,当用户最初开始阅读上述内文时,客户端会向服务器获取依次上述内文的目录数据(如果本地已有,则获取成功后将更新本地数据一次),上述目录数据中包括上述内文所包括的多个第一级内容的总数量N1以及每个第一级内容在多个第一级内容中的位置。另外,上述内文所包括的多个第一级内容的总数量N1可以是固定值,也可以是动态变化的。以阅读电子小说为例,譬如上午阅读时,总共有100章,中午作者刚好更新了1章,那么下午阅读时,总共就是101章了。The location of the target first-level content in the plurality of first-level content may be obtained from the directory data of the above-mentioned context. When the user initially starts to read the above-mentioned context, the client may obtain the directory data of the above-mentioned context from the server ( If the locality is available, the local data will be updated once after the acquisition succeeds. The above directory data includes the total number N1 of the plurality of first-level contents included in the foregoing content, and each of the first-level contents is in the first level. The location in the content. In addition, the total number N1 of the plurality of first-level contents included in the above content may be a fixed value or may be dynamically changed. Take reading e-fiction as an example. For example, when reading in the morning, there are a total of 100 chapters. At noon, the author just updated one chapter, so when reading in the afternoon, the total is 101 chapters.
步骤S122,通过公式B=(B1-1)*A1计算并存储上述目标第一级内容在上述多个第一级内容中的进度比B,其中,A1为根据公式A1=(1/N1)*100%计算并存储的每个上述第一级内容的进度起点值。Step S122, calculating and storing, by the formula B=(B1-1)*A1, a progress ratio B of the above-mentioned target first-level content in the plurality of first-level contents, wherein A1 is according to the formula A1=(1/N1) * 100% of the progress start value of each of the above first level contents calculated and stored.
步骤S130,将监测到的上述内文进度更新指令所指向的上述目标第一级内容中的目标第二级内容加上上述目标第二级内容之前且属于上述目标第一级内容的所有第二级内容作为当前进展内容,计算上述当前进展内容在上述多个第一级内容中的进度占比C;Step S130, adding the second level content of the target first level content pointed to by the monitored context progress update instruction to all second parts of the target first level content before the target second level content The level content is used as the current progress content, and the progress proportion C of the current progress content in the plurality of first level contents is calculated;
进一步的,步骤S130包括:Further, step S130 includes:
步骤S131,获取上述目标第二级内容在上述目标第一级内容中的位置C2;Step S131, acquiring the position C2 of the target second level content in the target first level content;
如果目标第二级内容属于当前显示的第一级内容(也就是说目标第一级内容就是当前的第一级内容),由于当前显示的第一级内容 是已经根据上述显示界面的大小以及文字设定进行了排版的,因此,可以获知目标第二级内容在目标第一级内容中的位置;如果目标第二级内容对应的目标第一级内容是客户端还未加载过的内容,则需要先加载目标第一级内容,在加载时根据上述显示界面的大小以及文字设定对目标第一级内容进行排版,从而获得目标第二级内容在目标第一级内容中的位置C2。If the target second level content belongs to the first level content currently displayed (that is, the target first level content is the current first level content), due to the currently displayed first level content It has been typeset according to the size of the above display interface and the text setting. Therefore, the position of the target second level content in the target first level content can be known; if the target second level content corresponds to the target first level content is If the client has not loaded the content, the first level content of the target needs to be loaded first, and the first level content of the target is typeset according to the size of the display interface and the text setting during loading, thereby obtaining the target second level content in the target. Position C2 in the first level of content.
步骤S132,通过公式C=(C2-1)*C1计算并存储上述当前进展内容在上述多个第一级内容中的进度占比C,其中,C1为通过公式C1=A1/N2计算并存储的上述目标第一级内容中每个第二级内容的进度起点值C1,N2为上述目标第一级内容中上述多个第二级内容的总数量。Step S132, calculating and storing, by the formula C=(C2-1)*C1, the progress ratio C of the current progress content in the plurality of first-level contents, wherein C1 is calculated and stored by the formula C1=A1/N2 The progress starting point value C1, N2 of each of the second level contents of the target first level content is the total number of the plurality of second level contents in the target first level content.
步骤S140,将上述进度比与上述进度占比的和作为总进度比,根据上述总进度比更新上述进度标签。In step S140, the sum of the above-mentioned progress ratio and the above-mentioned progress ratio is used as the total progress ratio, and the progress label is updated according to the total progress ratio.
将步骤S120中得到的进度比B与步骤S130中得到的进度占比C相加得到总进度比A,即A=B+C。优选的,总进度比A可以保留小数点后两位。The progress ratio B obtained in step S120 is added to the progress ratio C obtained in step S130 to obtain the total progress ratio A, that is, A=B+C. Preferably, the total progress ratio A can be reserved for two decimal places.
进一步,在步骤S140中,还可以包括:将上述显示界面所显示的内文更新为包含上述目标第二级内容的内文。Further, in step S140, the method further includes: updating the text displayed by the display interface to a content including the target second-level content.
本实施例提供的内文进度更新方法一方面实现了在更新内文内容的同时,对内文的阅读进度的实时更新,另一方面,由于方案中的总进度比综合考虑了第一级内容的进度比与第二级内容的进度占比,因此,相较于现有技术中单纯考虑当前章节的进度比,本发明实施例中的总进度比能够更加准确的反映内文的阅读进度。The text progress update method provided by the embodiment implements real-time updating of the reading progress of the text while updating the content of the text, and on the other hand, the first-level content is comprehensively considered due to the overall progress ratio in the solution. The progress ratio is proportional to the progress of the second level content. Therefore, compared with the prior art simply considering the progress ratio of the current chapter, the overall progress ratio in the embodiment of the present invention can more accurately reflect the reading progress of the text.
第二实施例 Second embodiment
图4示出了本发明第二实施例提供的一种内文进度更新方法的流程图。请参阅图4,本实施例描述的是用户终端的处理流程,上述方法包括:FIG. 4 is a flow chart showing a method for updating a text progress according to a second embodiment of the present invention. Referring to FIG. 4, this embodiment describes a processing flow of a user terminal, where the foregoing method includes:
步骤S210,监测用户触发的内文进度更新指令;Step S210, monitoring a user-initiated text progress update instruction;
步骤S220,判断上述目标第一级内容是否是已加载在上述用户终端中的内容;如果不是,执行步骤S230及步骤S240,如果是,则直接执行步骤S240。In step S220, it is determined whether the content of the target first level is the content that has been loaded in the user terminal; if not, step S230 and step S240 are performed, and if yes, step S240 is directly executed.
步骤S230,加载上述目标第一级内容;Step S230, loading the first level content of the target;
进一步的,步骤S230可以包括:Further, step S230 may include:
根据上述内文进度更新指令,向服务器发送内文数据获取指令,上述内文数据获取指令包括上述目标第一级内容的标识;And sending, according to the foregoing progress update instruction, a context data acquisition instruction to the server, where the context data acquisition instruction includes an identifier of the target first level content;
接收上述服务器发送的与上述目标第一级内容对应的内文数据,根据上述显示界面的大小以及文字设定对上述目标第一级内容对应的内文数据进行排版,将上述目标第一级内容分为多个连续的第二级内容,记录上述多个第二级内容的数量;Receiving the text data corresponding to the target first level content sent by the server, and formatting the text data corresponding to the target first level content according to the size of the display interface and the text setting, and setting the target first level content Dividing into a plurality of consecutive second-level contents, recording the number of the plurality of second-level contents;
加载排版后的上述目标第一级内容所对应的内文数据。Loading the text data corresponding to the first-level content of the target after the typesetting.
步骤S240,获取监测到的上述内文进度更新指令所指向的目标第一级内容在上述多个第一级内容中的进度比;Step S240: Obtain a progress ratio of the monitored first-level content pointed to by the monitored progress update instruction in the plurality of first-level contents.
步骤S250,将监测到的上述内文进度更新指令所指向的上述目标第一级内容中的目标第二级内容加上上述目标第二级内容之前且属于上述目标第一级内容的所有第二级内容作为当前进展内容,计算上述当前进展内容在上述多个第一级内容中的进度占比;Step S250, adding the second level content of the target first level content pointed to by the monitored context update instruction to the second level before the target second level content and all second parts belonging to the target first level content. The level content is used as the current progress content, and the progress proportion of the current progress content in the plurality of first level contents is calculated;
步骤S260,将上述进度比与上述进度占比的和作为总进度比,根据上述总进度比更新上述进度标签。 In step S260, the sum of the progress ratio and the progress ratio is used as the total progress ratio, and the progress label is updated according to the total progress ratio.
步骤S210,S240、S250及S260可以参考第一实施例中的对应部分,这里不再赘述。Steps S210, S240, S250, and S260 may refer to corresponding parts in the first embodiment, and details are not described herein again.
第三实施例Third embodiment
图5示出了本发明第三实施例提供的一种内文进度更新方法的流程图,请参阅图5,本实施例以内文为电子小说为例,描述的是用户终端的处理流程,于本实施例中,上述电子小说包括多个连续的章节(也就是第一级内容),每一章节的内容根据显示界面的大小以及文字设定进行排版后形成多个连续的页(也就是第二级内容)。本实施例中,上述进度标签为数字形式,所显示的数字是与当前所显示的页对应的总进度比。具体的,本实施例中的方法包括:FIG. 5 is a flowchart of a method for updating a progress of a text according to a third embodiment of the present invention. Referring to FIG. 5, the internal text is an electronic novel as an example, and the processing flow of the user terminal is described. In this embodiment, the electronic novel includes a plurality of consecutive chapters (that is, first-level content), and the content of each chapter is formatted according to the size of the display interface and the text setting to form a plurality of consecutive pages (that is, Second level content). In this embodiment, the progress label is in a digital form, and the displayed number is a total progress ratio corresponding to the currently displayed page. Specifically, the method in this embodiment includes:
步骤S310,监测用户触发的小说页面更新指令;Step S310, monitoring a user-triggered novel page update instruction;
步骤S320,获取监测到的小说页面更新指令所指向的目标章节在上述多个章节中的位置B1;Step S320, obtaining the position B1 of the target chapter pointed to by the monitored novel page update instruction in the plurality of chapters;
步骤S330,通过公式B=(B1-1)*A1计算并存储上述目标章节在上述多个章节中的进度比B;Step S330, calculating and storing the progress ratio B of the above target chapter in the plurality of chapters by the formula B=(B1-1)*A1;
其中,A1为事先根据公式A1=(1/N1)*100%计算并存储的每个上述章节的进度起点值,N1为上述小说的章节的总数量。Wherein, A1 is a progress starting point value of each of the above chapters calculated and stored in advance according to the formula A1=(1/N1)*100%, and N1 is the total number of chapters of the above novel.
例如,假设电子小说总共有20章,那么每一章进度起点值为0%、5%、10%、15%、20%....、90%、95%。For example, assuming that there are a total of 20 chapters in an electronic novel, the starting point of each chapter is 0%, 5%, 10%, 15%, 20%, ..., 90%, 95%.
步骤S340,获取上述小说页面更新指令所指向的目标页在上述目标章节中的位置C2;Step S340, obtaining the position C2 of the target page pointed to by the above novel page update instruction in the target chapter;
步骤S350,通过公式C=(C2-1)*C1计算并存储上述目标页加上上述目标章节中位于上述目标页之前的所有页,在上述多个章节中的进度占比C; Step S350, calculating and storing the target page plus all the pages in the target chapter before the target page in the above target chapter by the formula C=(C2-1)*C1, the progress ratio C in the plurality of chapters;
其中,C1为通过公式C1=A1/N2计算并存储的上述目标章节中每页的进度起点值C1,N2为上述目标章节中上述多个页的总数量。Wherein C1 is the progress starting point value C1 of each page in the above target chapter calculated and stored by the formula C1=A1/N2, and N2 is the total number of the plurality of pages in the target chapter.
对于已加载的目标章节,上述目标章节中的每一页加上上述目标章节中位于该页之前的所有页在上述多个章节中的进度占比C都可以根据C=(C2-1)*C1计算出来。例如,假设电子小说总有10章,第二章有10页,那么第二章的每一页加上第二章中位于该页之前的所有页在第二章中的进度占比C为0%、1%、2%、3%、4%、5%、6%、7%、8%、9%。对于未加载的章节,C可以视为0。For the loaded target chapter, each page in the above target chapter plus all the pages in the above target chapter before the page in the above-mentioned plurality of chapters can be based on C=(C2-1)* C1 is calculated. For example, suppose that there are always 10 chapters in an electronic novel and 10 pages in a second chapter. Then each page in the second chapter plus all pages in the second chapter before the page has a progress ratio C of 0 in the second chapter. %, 1%, 2%, 3%, 4%, 5%, 6%, 7%, 8%, 9%. For an unloaded chapter, C can be considered as 0.
步骤S360,将上述显示界面所显示的内文更新为包含上述目标页的内文,将上述进度比B与上述进度占比C的和作为总进度比A,根据上述总进度比A更新上述进度标签。Step S360, updating the text displayed on the display interface to the content including the target page, and using the sum of the progress ratio B and the progress ratio C as the total progress ratio A, and updating the progress according to the total progress ratio A. label.
基于本实施例中的方法,假设一本电子小说有22章,目标章节为第5章第8页,第5章总共有15页,那么总进度比A计算过程如下:Based on the method in this embodiment, assuming that an electronic novel has 22 chapters, the target chapter is Chapter 5 on page 8, and Chapter 5 has a total of 15 pages, then the overall progress ratio A calculation process is as follows:
A1=(1/22)*100%=4.55%;A1=(1/22)*100%=4.55%;
C1=A1/15=0.30%;C1=A1/15=0.30%;
B=(5-1)*A1=18.18%;B=(5-1)*A1=18.18%;
C=(8-1)*C1=2.10%;C=(8-1)*C1=2.10%;
A=B+C=20.28%。A = B + C = 20.28%.
最后根据总进度比A更新进度标签所显示的数字,如图6所示。可以看出,相较于现有技术单纯用章节进度比(5/22)来表征第5章第8页的进度比,本实施例中的总进度比A能够更加准确的反映内文的阅读进度,而且更具有实时性。Finally, the number displayed on the progress tab is updated according to the total progress ratio A, as shown in FIG. 6. It can be seen that compared with the prior art, the chapter progress ratio (5/22) is used to characterize the progress ratio of the fifth chapter on page 8. The overall progress ratio A in this embodiment can more accurately reflect the reading of the text. Progress, and more real-time.
第四实施例 Fourth embodiment
图7示出了本发明第四实施例提供的一种内文进度更新方法的流程图,请参阅图7,本实施例以内文为网页内容为例,描述的是用户终端的处理流程,于本实施例中,将上述网页中根据上述显示界面划分为多个连续的第一级内容,将每个上述第一级内容根据文字设定划分为多个连续的第二级内容。上述进度标签为进度条形式,上述进度条显示的是位于当前所显示的网页顶部的第二级内容在上述网页中的总进度比。FIG. 7 is a flowchart of a text progress update method according to a fourth embodiment of the present invention. Referring to FIG. 7, the content of the webpage is taken as an example, and the processing flow of the user terminal is described. In this embodiment, the webpage is divided into a plurality of consecutive first-level contents according to the display interface, and each of the first-level contents is divided into a plurality of consecutive second-level contents according to a character setting. The progress label is in the form of a progress bar, and the progress bar displays the total progress ratio of the second level content at the top of the currently displayed web page in the web page.
具体的,本实施例中的方法包括:Specifically, the method in this embodiment includes:
步骤S410,监测用户触发的网页更新指令;Step S410, monitoring a webpage update instruction triggered by the user;
步骤S420,获取监测到的网页页面更新指令所指向的目标第一级内容在上述多个第一级内容中的位置B1;Step S420, acquiring the location B1 of the target first-level content pointed to by the monitored webpage page update instruction in the plurality of first-level content;
步骤S430,通过公式B=(B1-1)*A1计算并存储上述目标第一级内容在上述多个第一级内容中的进度比B;Step S430, calculating and storing the progress ratio B of the above-mentioned target first-level content in the plurality of first-level contents by the formula B=(B1-1)*A1;
其中,A1为事先根据公式A1=(1/N1)*100%计算并存储的每个上述第一级内容的进度起点值,N1为上述网页的第一级内容的总数量。Wherein, A1 is a progress starting value of each of the above-mentioned first-level contents calculated and stored in advance according to the formula A1=(1/N1)*100%, and N1 is the total number of the first-level contents of the webpage.
步骤S440,获取上述网页更新指令所指向的目标第二级内容在上述目标第一级内容中的位置C2;Step S440, acquiring the location C2 of the target second-level content pointed to by the webpage update instruction in the target first-level content;
步骤S450,通过公式C=(C2-1)*C1计算并存储上述目标第二级内容加上上述目标第一级内容中位于上述目标第二级内容之前的所有第二级内容,在上述多个第一级内容中的进度占比C;Step S450, calculating and storing the above-mentioned target second-level content plus all the second-level contents of the target first-level content before the target second-level content by the formula C=(C2-1)*C1, in the above The proportion of progress in the first level of content is C;
其中,C1为通过公式C1=A1/N2计算并存储的上述目标第一级内容中每个第二级内容的进度起点值C1,N2为上述目标第一级内容中上述多个第二级内容的总数量。 Wherein C1 is a progress starting point value C1 of each second-level content in the target first-level content calculated and stored by the formula C1=A1/N2, and N2 is the plurality of second-level contents in the target first-level content. The total number.
步骤S460,将上述显示界面所显示的内文更新为包含上述目标第二级内容的内文,将上述进度比B与上述进度占比C的和作为总进度比A,根据上述总进度比A更新上述进度标签。Step S460, updating the text displayed on the display interface to the content including the target second-level content, and comparing the progress ratio B with the progress ratio C as the total progress ratio A according to the total progress ratio A. Update the above progress tab.
请参照图8,本实施例中已进度条的形式表示当前显示界面所显示的网页顶部在上述网页中的总进度比。Referring to FIG. 8, the form of the progress bar in this embodiment represents the total progress ratio of the top of the webpage displayed on the current display interface in the webpage.
第五实施例Fifth embodiment
图9示出了本发明第五实施例提供的一种内文进度更新装置的结构框图,请参阅图9,本实施例中的装置可运行于用户终端,上述装置用于计算上述用户终端的显示界面所显示内文的阅读进度,上述显示界面包括用于显示当前所显示内文的阅读进度的进度标签,上述内文包括多个连续的第一级内容,上述每个第一级内容包括多个连续的第二级内容,本实施例中的装置50包括:FIG. 9 is a structural block diagram of a context update device according to a fifth embodiment of the present invention. Referring to FIG. 9, the device in this embodiment can be run on a user terminal, where the device is used to calculate the user terminal. Displaying the progress of the reading of the text displayed on the interface, the display interface includes a progress label for displaying the reading progress of the currently displayed text, the text includes a plurality of consecutive first-level contents, and each of the first-level contents includes For a plurality of consecutive second-level contents, the apparatus 50 in this embodiment includes:
监测单元51,用于监测用户触发的内文进度更新指令;The monitoring unit 51 is configured to monitor a user-initiated text progress update instruction;
第一处理单元52,用于获取监测到的上述内文进度更新指令所指向的目标第一级内容在上述多个第一级内容中的进度比;The first processing unit 52 is configured to obtain a progress ratio of the monitored first level content pointed to by the monitored progress update instruction in the plurality of first level content;
第二处理单元53,用于将监测到的上述内文进度更新指令所指向的上述目标第一级内容中的目标第二级内容加上上述目标第二级内容之前且属于上述目标第一级内容的所有第二级内容作为当前进展内容,计算上述当前进展内容在上述多个第一级内容中的进度占比;a second processing unit 53, configured to add the target second-level content in the target first-level content pointed to by the monitored context update command to the target second-level content and belong to the target first level All the second-level content of the content is used as the current progress content, and the progress proportion of the current progress content in the plurality of first-level content is calculated;
更新单元54,用于将上述进度比与上述进度占比的和作为总进度比,根据上述总进度比更新上述进度标签。The updating unit 54 is configured to use the sum of the above-mentioned progress ratio and the above-mentioned progress as a total progress ratio, and update the progress label according to the total progress ratio.
进一步的,上述第一处理单元52具体用于获取上述目标第一级内容在上述多个第一级内容中的位置B1;通过公式B=(B1-1)*A1计算并存储上述目标第一级内容在上述多个第一级内容中的进度比 B,其中,A1为根据公式A1=(1/N1)*100%计算并存储的每个上述第一级内容的进度起点值,N1为上述内文的多个第一级内容的总数量。Further, the first processing unit 52 is specifically configured to acquire the location B1 of the target first-level content in the plurality of first-level content, and calculate and store the target first by using the formula B=(B1-1)*A1. Progress ratio of level content in the above multiple levels of content B, where A1 is a progress start value of each of the above-described first-level contents calculated and stored according to the formula A1=(1/N1)*100%, and N1 is the total number of the plurality of first-level contents of the above-mentioned context.
上述第二处理单元53具体用于获取上述目标第二级内容在上述目标第一级内容中的位置C2;通过公式C=(C2-1)*C1计算并存储上述当前进展内容在上述多个第一级内容中的进度占比C,其中,C1为通过公式C1=A1/N2计算并存储的上述目标第一级内容中每个第二级内容的进度起点值C1,N2为上述目标第一级内容中上述多个第二级内容的总数量。The second processing unit 53 is specifically configured to acquire the location C2 of the target second-level content in the target first-level content; calculate and store the current progress content by using the formula C=(C2-1)*C1. The progress ratio C in the first level content, where C1 is the progress starting point value C1 of each second level content in the above-mentioned target first level content calculated and stored by the formula C1=A1/N2, and N2 is the above target number The total number of the above multiple levels of content in the first level content.
进一步的,上述更新单元54还用于将上述显示界面所显示的内文更新为包含上述目标第二级内容的内文。Further, the updating unit 54 is further configured to update the text displayed by the display interface to a content including the target second level content.
上述内文可以包括电子小说,上述第一级内容对应的是电子小说中的多个章,上述第二级内容对应的是电子小说每一章中的多个页。上述进度标签为数字形式,上述进度标签所显示的数字是与当前所显示的页对应的总进度比。The above text may include an electronic novel, and the first level content corresponds to a plurality of chapters in the electronic novel, and the second level content corresponds to a plurality of pages in each chapter of the electronic novel. The above progress label is in the form of a number, and the number displayed on the progress label is the total progress ratio corresponding to the currently displayed page.
上述内文可以包括网页,将上述网页中根据上述显示界面划分为多个连续的第一级内容,将每个上述第一级内容根据文字设定划分为多个连续的第二级内容。上述进度标签为进度条形式,上述进度条显示的是当前所显示的网页顶部在上述网页中的总进度比。The above text may include a webpage, and divide the webpage into a plurality of consecutive first-level content according to the display interface, and divide each of the first-level content into a plurality of consecutive second-level contents according to a text setting. The above progress label is in the form of a progress bar, and the progress bar shows the total progress ratio of the top of the currently displayed web page in the above webpage.
本实施例中的各单元可以是由软件代码实现,此时,上述的各单元可存储于用户终端100的存储器102内。以上各单元同样可以由硬件例如集成电路芯片实现。Each unit in this embodiment may be implemented by software code. In this case, each unit described above may be stored in the memory 102 of the user terminal 100. The above units can also be implemented by hardware such as an integrated circuit chip.
此处需要说明的是,上述监测单元51、第一处理单元52、第二处理单元53和更新单元54可以作为装置的一部分运行在计算机终端中,可以通过计算机终端中的处理器来执行上述模块实现的功能, 计算机终端也可以是智能手机(如Android手机、iOS手机等)、平板电脑、掌声电脑以及移动互联网设备(Mobile Internet Devices,MID)、PAD等终端设备。It should be noted that the above-mentioned monitoring unit 51, the first processing unit 52, the second processing unit 53 and the updating unit 54 may be operated in a computer terminal as part of the device, and the above module may be executed by a processor in the computer terminal. Implemented functionality, The computer terminal can also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, an applause computer, and a mobile Internet device (MID), a PAD, and the like.
第六实施例Sixth embodiment
图10示出了本发明第六实施例提供的内文进度更新装置的结构框图,请参照图10,本实施例中的装置可运行于用户终端,上述装置用于计算上述用户终端的显示界面所显示内文的阅读进度,上述显示界面包括用于显示当前所显示内文的阅读进度的进度标签,上述内文包括多个连续的第一级内容,上述每个第一级内容包括多个连续的第二级内容,本实施例中的装置60包括:FIG. 10 is a structural block diagram of a context update device according to a sixth embodiment of the present invention. Referring to FIG. 10, the device in this embodiment can be run on a user terminal, and the device is used to calculate a display interface of the user terminal. The progress of the reading of the displayed text, the display interface includes a progress label for displaying the reading progress of the currently displayed text, the internal text includes a plurality of consecutive first-level contents, and each of the first-level contents includes a plurality of The continuous second level content, the device 60 in this embodiment includes:
监测单元61,用于监测用户触发的内文进度更新指令;The monitoring unit 61 is configured to monitor a user-initiated text progress update instruction;
第一处理单元62,用于获取监测到的上述内文进度更新指令所指向的目标第一级内容在上述多个第一级内容中的进度比;The first processing unit 62 is configured to obtain a progress ratio of the monitored first level content pointed to by the monitored progress update instruction in the plurality of first level content;
第二处理单元63,用于将监测到的上述内文进度更新指令所指向的上述目标第一级内容中的目标第二级内容加上上述目标第二级内容之前且属于上述目标第一级内容的所有第二级内容作为当前进展内容,计算上述当前进展内容在上述多个第一级内容中的进度占比;a second processing unit 63, configured to add the target second-level content in the target first-level content pointed to by the monitored context update command to the target second-level content and belong to the target first level All the second-level content of the content is used as the current progress content, and the progress proportion of the current progress content in the plurality of first-level content is calculated;
更新单元64,用于将上述显示界面所显示的内文更新为包含上述目标第二级内容的内文,将上述进度比与上述进度占比的和作为总进度比,根据上述总进度比更新上述进度标签。The updating unit 64 is configured to update the text displayed by the display interface to the content including the target second-level content, and use the sum of the progress ratio and the progress ratio as a total progress ratio, and update according to the total progress ratio. The above progress label.
此处需要说明的是,上述监测单元61、第一处理单元62、第二处理单元63和更新单元64可以作为装置的一部分运行在计算机终端中,可以通过计算机终端中的处理器来执行上述模块实现的功能,计算机终端也可以是智能手机(如Android手机、iOS手机等)、平 板电脑、掌声电脑以及移动互联网设备(Mobile Internet Devices,MID)、PAD等终端设备。It should be noted that the above-mentioned monitoring unit 61, the first processing unit 62, the second processing unit 63 and the updating unit 64 may be operated in a computer terminal as part of the device, and the above module may be executed by a processor in the computer terminal. The implemented functions, the computer terminal can also be a smart phone (such as Android mobile phone, iOS mobile phone, etc.), flat Board computers, applause computers, and mobile Internet devices (MID), PAD and other terminal devices.
于本实施例中,上述第一处理单元62包括判断子单元621、第一处理子单元622、加载子单元623:In this embodiment, the first processing unit 62 includes a determining subunit 621, a first processing subunit 622, and a loading subunit 623:
上述判断子单元621,用于判断上述目标第一级内容是否是已加载在上述用户终端中的内容;The determining sub-unit 621 is configured to determine whether the target first-level content is content that has been loaded in the user terminal;
上述第一处理子单元622用于在上述判断子单元621判断为是时获取监测到的上述内文进度更新指令所指向的目标第一级内容在上述多个第一级内容中的进度比;The first processing sub-unit 622 is configured to obtain, when the determining sub-unit 621 determines that the content is YES, the progress ratio of the target first-level content pointed to by the monitored content progress update instruction in the plurality of first-level contents;
上述加载子单元623用于在上述判断子单元判断为否时,加载上述目标第一级内容。The loading sub-unit 623 is configured to load the target first-level content when the determining sub-unit determines to be no.
此处需要说明的是,上述判断子单元621、第一处理子单元622、加载子单元623可以作为装置的一部分运行在计算机终端中,可以通过计算机终端中的处理器来执行上述模块实现的功能,计算机终端也可以是智能手机(如Android手机、iOS手机等)、平板电脑、掌声电脑以及移动互联网设备(Mobile Internet Devices,MID)、PAD等终端设备。It should be noted that the foregoing determining subunit 621, the first processing subunit 622, and the loading subunit 623 may be run in a computer terminal as part of the apparatus, and the functions implemented by the foregoing modules may be performed by a processor in the computer terminal. The computer terminal can also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, an applause computer, and a mobile Internet device (MID), a PAD, and the like.
进一步的,上述加载子单元623具体可以用于:Further, the loading subunit 623 may be specifically configured to:
根据上述内文进度更新指令,向服务器发送内文数据获取指令,上述内文数据获取指令包括上述目标第一级内容的标识;And sending, according to the foregoing progress update instruction, a context data acquisition instruction to the server, where the context data acquisition instruction includes an identifier of the target first level content;
接收上述服务器发送的与上述目标第一级内容对应的内文数据,根据上述显示界面的大小以及文字设定对上述目标第一级内容对应的内文数据进行排版,将上述目标第一级内容分为多个连续的第二级内容,记录上述多个第二级内容的数量;Receiving the text data corresponding to the target first level content sent by the server, and formatting the text data corresponding to the target first level content according to the size of the display interface and the text setting, and setting the target first level content Dividing into a plurality of consecutive second-level contents, recording the number of the plurality of second-level contents;
加载排版后的上述目标第一级内容所对应的内文数据。 Loading the text data corresponding to the first-level content of the target after the typesetting.
本实施例中的各单元可以是由软件代码实现,此时,上述的各单元可存储于用户终端100的存储器102内。以上各单元同样可以由硬件例如集成电路芯片实现。Each unit in this embodiment may be implemented by software code. In this case, each unit described above may be stored in the memory 102 of the user terminal 100. The above units can also be implemented by hardware such as an integrated circuit chip.
综上所述,本发明实施例提供的内文进度更新方法及装置一方面实现了在更新内文内容的同时,对内文的阅读进度的实时更新,另一方面,由于方案中的总进度比综合考虑了第一级内容的进度比与第二级内容的进度占比,因此,相较于现有技术中单纯考虑当前章节的进度比,本发明实施例中的总进度比能够更加准确的反映内文的阅读进度。In summary, the method and device for updating the progress of the text provided by the embodiment of the present invention realize real-time updating of the reading progress of the text while updating the content of the text, and on the other hand, due to the overall progress in the solution. Compared with the progress ratio of the first level content and the progress of the second level content, the overall progress ratio in the embodiment of the present invention can be more accurate than the prior art simply considering the progress ratio of the current chapter. Reflecting the progress of the reading of the text.
需要说明的是,本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。It should be noted that each embodiment in the specification is described in a progressive manner, and each embodiment focuses on differences from other embodiments, and the same similar parts between the embodiments are referred to each other. can.
本发明实施例所提供的内文进度更新装置及***,其实现原理及产生的技术效果和前述方法实施例相同,为简要描述,装置实施例部分未提及之处,可参考前述方法实施例中相应内容。The implementation principle and the technical effects of the text progress update device and system provided by the embodiments of the present invention are the same as those of the foregoing method embodiments. For a brief description, where the device embodiment is not mentioned, reference may be made to the foregoing method embodiments. The corresponding content.
另外,附图中的流程图和框图显示了根据本发明的多个实施例的***、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,上述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程 图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的***来实现,或者可以用专用硬件与计算机指令的组合来实现。In addition, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block of the flowchart or block diagram can represent a module, a program segment, or a portion of code that includes one or more of the Execute the instruction. It should also be noted that in some alternative implementations, the functions noted in the blocks may also occur in a different order than that illustrated in the drawings. For example, two consecutive blocks may be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending upon the functionality involved. Also note that each block in the block diagram and / or flowchart, as well as the block diagram and / or process Combinations of the blocks in the figures may be implemented in a specific hardware-based system that performs the specified function or function, or in a combination of special purpose and computer.
本申请实施例所提供的各个功能模块可以在移动终端、计算机终端或者类似的运算装置中运行,也可以作为存储介质的一部分进行存储。The various functional modules provided by the embodiments of the present application may be run in a mobile terminal, a computer terminal, or the like, or may be stored as part of a storage medium.
由此,本发明实施例的实施例可以提供一种计算机终端,该计算机终端可以是计算机终端群中的任意一个计算机终端设备。可选地,在本实施例中,上述计算机终端也可以替换为移动终端等终端设备。Thus, an embodiment of the present invention may provide a computer terminal, which may be any computer terminal device in a computer terminal group. Optionally, in this embodiment, the foregoing computer terminal may also be replaced with a terminal device such as a mobile terminal.
可选地,在本实施例中,上述计算机终端可以位于计算机网络的多个网络设备中的至少一个网络设备。Optionally, in this embodiment, the computer terminal may be located in at least one network device of the plurality of network devices of the computer network.
在本发明实施例中,上述计算机终端可以包括:In the embodiment of the present invention, the foregoing computer terminal may include:
显示装置,包括:用于显示当前所显示内文的阅读进度的进度标签,所述内文包括多个连续的第一级内容,每个所述第一级内容包括多个连续的第二级内容,The display device includes: a progress label for displaying a reading progress of the currently displayed text, the text includes a plurality of consecutive first level contents, each of the first level contents including a plurality of consecutive second levels content,
处理器,用于更新用户终端的显示界面所显示内文的阅读进度;a processor, configured to update a reading progress of the text displayed by the display interface of the user terminal;
其中,所述处理器包括:Wherein the processor comprises:
监测接口,用于监测用户触发的内文进度更新指令,并获取监测到的所述内文进度更新指令所指向的目标第一级内容在所述多个第一级内容中的进度比;a monitoring interface, configured to monitor a user-initiated text progress update instruction, and obtain a progress ratio of the monitored first-level content pointed to by the monitored progress update instruction in the plurality of first-level content;
计算装置,用于将监测到的所述内文进度更新指令所指向的所述目标第一级内容中的目标第二级内容加上所述目标第二级内容之前且属于所述目标第一级内容的所有第二级内容作为当前进展内容,计算所述当前进展内容在所述多个第一级内容中的进度占比; a computing device, configured to add the target second-level content in the target first-level content pointed to by the monitored progress progress update instruction to the target second-level content and belong to the target first Calculating, as the current progress content, all the second-level contents of the level content, and calculating a progress ratio of the current progress content in the plurality of first-level contents;
控制装置,用于将所述进度比与所述进度占比的和作为总进度比,根据所述总进度比更新所述进度标签。And a control device, configured to use the sum of the progress ratio and the progress ratio as a total progress ratio, and update the progress label according to the total progress ratio.
可选地,该计算机终端可以包括:一个或多个处理器、存储器、以及传输装置。Optionally, the computer terminal can include: one or more processors, memory, and transmission means.
本发明实施例的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以用于保存上述方法实施例和装置实施例所提供的下载流媒体的方法所执行的程序代码。Embodiments of the embodiments of the present invention also provide a storage medium. Optionally, in this embodiment, the foregoing storage medium may be used to save program code executed by the method for downloading streaming media provided by the foregoing method embodiment and the device embodiment.
可选地,在本实施例中,上述存储介质可以位于计算机网络中计算机终端群中的任意一个计算机终端中,或者位于移动终端群中的任意一个移动终端中。Optionally, in this embodiment, the foregoing storage medium may be located in any one of the computer terminal groups in the computer network, or in any one of the mobile terminal groups.
可选地,在本发明实施例中,所述存储介质被设置为存储用于更新用户终端的显示界面所显示内文的阅读进度的程序代码,所述显示界面包括用于显示当前所显示内文的阅读进度的进度标签,所述内文包括多个连续的第一级内容,每个所述第一级内容包括多个连续的第二级内容:其中,存储介质还被设置为存储用于执行以下步骤的程序代码:监测用户触发的内文进度更新指令;获取监测到的内文进度更新指令所指向的目标第一级内容在多个第一级内容中的进度比;将监测到的内文进度更新指令所指向的目标第一级内容中的目标第二级内容加上目标第二级内容之前且属于目标第一级内容的所有第二级内容作为当前进展内容,计算当前进展内容在多个第一级内容中的进度占比;将进度比与进度占比的和作为总进度比,根据总进度比更新进度标签。Optionally, in the embodiment of the present invention, the storage medium is configured to store a program code for updating a reading progress of a text displayed by a display interface of the user terminal, where the display interface is configured to display the currently displayed a progress label of the reading progress of the text, the text includes a plurality of consecutive first-level contents, each of the first-level contents including a plurality of consecutive second-level contents: wherein the storage medium is further set for storage The program code for performing the following steps: monitoring a user-initiated internal progress update instruction; obtaining a progress ratio of the target first-level content pointed to by the monitored internal progress update instruction in the plurality of first-level contents; The progress of the target progress update instruction points to the target second level content plus the target second level content and all second level content belonging to the target first level content as the current progress content, calculate the current progress The proportion of the progress of the content in the plurality of first-level content; the ratio of the progress ratio to the progress ratio is taken as the total progress ratio, and the progress label is updated according to the total progress ratio.
由上可知,本发明实施例所提供的计算机程序产品,包括存储了程序代码的计算机可读存储介质,所述程序代码包括的指令可用 于执行前面方法实施例中所述的方法,具体实现可参见方法实施例,在此不再赘述。It can be seen that the computer program product provided by the embodiment of the present invention includes a computer readable storage medium storing program code, and the program code includes instructions available. For the implementation of the method in the foregoing method embodiment, refer to the method embodiment, and details are not described herein again.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的***、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的***、装置和方法,可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,又例如,多个单元或组件可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些通信接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. The device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some communication interface, device or unit, and may be electrical, mechanical or otherwise.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来, 该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product. Based on the understanding, the technical solution of the embodiments of the present invention, or the part contributing to the prior art or the part of the technical solution, may be embodied in the form of a software product. The computer software product is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this context, relational terms such as first and second are used merely to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply such entities or operations. There is any such actual relationship or order between them. Furthermore, the term "comprises" or "comprises" or "comprises" or any other variations thereof is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device that comprises a plurality of elements includes not only those elements but also Other elements, or elements that are inherent to such a process, method, item, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明实施例,对于本领域的技术人员来说,本发明实施例可以有各种更改和变化。凡在本发明实施例的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明实施例的保护范围之内。应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。 The above is only the preferred embodiment of the present invention, and is not intended to limit the embodiments of the present invention. Various modifications and changes can be made to the embodiments of the present invention. Any modifications, equivalent substitutions, improvements, etc. within the spirit and scope of the present invention are intended to be included within the scope of the present invention. It should be noted that similar reference numerals and letters indicate similar items in the following figures, and therefore, once an item is defined in a drawing, it is not necessary to further define and explain it in the subsequent drawings.

Claims (16)

  1. 一种内文进度更新方法,用于更新用户终端的显示界面所显示内文的阅读进度,所述显示界面包括用于显示当前所显示内文的阅读进度的进度标签,所述内文包括多个连续的第一级内容,每个所述第一级内容包括多个连续的第二级内容,所述方法包括:A text progress update method, configured to update a reading progress of a text displayed by a display interface of a user terminal, where the display interface includes a progress label for displaying a reading progress of the currently displayed text, the text includes a plurality of a continuous first level of content, each of the first level of content comprising a plurality of consecutive second level of content, the method comprising:
    监测用户触发的内文进度更新指令;Monitoring user-initiated text progress update instructions;
    获取监测到的所述内文进度更新指令所指向的目标第一级内容在所述多个第一级内容中的进度比;Obtaining a progress ratio of the monitored first level content pointed to by the monitored progress update instruction in the plurality of first level content;
    将监测到的所述内文进度更新指令所指向的所述目标第一级内容中的目标第二级内容加上所述目标第二级内容之前且属于所述目标第一级内容的所有第二级内容作为当前进展内容,计算所述当前进展内容在所述多个第一级内容中的进度占比;Adding to the target second level content in the target first level content pointed to by the monitored progress progress update instruction, adding all the parts of the target first level content before the target second level content The secondary content is used as the current progress content, and the progress ratio of the current progress content in the plurality of first level content is calculated;
    将所述进度比与所述进度占比的和作为总进度比,根据所述总进度比更新所述进度标签。The sum of the progress ratio and the progress ratio is used as a total progress ratio, and the progress label is updated according to the total progress ratio.
  2. 如权利要求1所述的方法,其中,所述获取监测到的所述内文进度更新指令所指向的目标第一级内容在所述多个第一级内容中的进度比,包括:The method of claim 1, wherein the obtaining a progress ratio of the target first level content pointed to by the monitored progress progress update instruction in the plurality of first level contents comprises:
    获取所述目标第一级内容在所述多个第一级内容中的位置B1;Obtaining a location B1 of the target first level content in the plurality of first level content;
    通过公式B=(B1-1)*A1计算并存储所述目标第一级内容在所述多个第一级内容中的进度比B,其中,A1为根据公式A1=(1/N1)*100%计算并存储的每个所述第一级内容的进度起点值,N1为所述内文的多个第一级内容的总数量。 Calculating and storing a progress ratio B of the target first level content in the plurality of first level contents by a formula B=(B1-1)*A1, wherein A1 is according to the formula A1=(1/N1)* 100% of the progress start value of each of the first level content calculated and stored, and N1 is the total number of the plurality of first level contents of the context.
  3. 如权利要求2所述的方法,其中,所述计算将监测到的所述内文进度更新指令所指向的所述目标第一级内容中的目标第二级内容加上在所述目标第一级内容中所述目标第二级内容之前的所有第二级内容作为当前进展内容,计算所述当前进展内容在所述多个第一级内容中的进度占比,包括:The method of claim 2, wherein the calculating adds the target second level content in the target first level content pointed to by the monitored context progress update instruction to the target first All the second-level content of the target second-level content in the level content is used as the current progress content, and the progress proportion of the current progress content in the plurality of first-level content is calculated, including:
    获取所述内文进度更新指令所指向的所述目标第一级内容中的目标第二级内容在所述目标第一级内容中的位置C2;Obtaining a location C2 of the target second level content in the target first level content pointed to by the context progress update instruction in the target first level content;
    将所述目标第二级内容以及位置在C2之前且属于所述目标第一级内容的所有第二级内容作为当前进度内容,通过公式C=(C2-1)*C1计算并存储所述当前进展内容在所述多个第一级内容中的进度占比C,其中,C1为通过公式C1=A1/N2计算并存储的所述目标第一级内容中每个第二级内容的进度起点值C1,N2为所述目标第一级内容中所述多个第二级内容的总数量。The target second level content and all second level content of the position before the C2 and belonging to the target first level content are taken as the current progress content, and the current calculation is calculated and stored by the formula C=(C2-1)*C1 Progress ratio C of progress content in the plurality of first level content, wherein C1 is a progress start point of each second level content of the target first level content calculated and stored by the formula C1=A1/N2 The values C1, N2 are the total number of the plurality of second-level contents in the target first-level content.
  4. 如权利要求1所述的方法,其中,所述获取监测到的所述内文进度更新指令所指向的目标第一级内容在所述多个第一级内容中的进度比之前,包括:The method of claim 1, wherein the obtaining, before the progress ratio of the target first level content pointed to by the monitored progress progress update instruction in the plurality of first level contents, comprises:
    判断所述目标第一级内容是否是已加载在所述用户终端中的内容,如果不是,则加载所述目标第一级内容。Determining whether the target first level content is content already loaded in the user terminal, and if not, loading the target first level content.
  5. 如权利要求4所述的方法,其中,所述加载所述目标第一级内容,包括:The method of claim 4 wherein said loading said target first level content comprises:
    根据所述内文进度更新指令,向服务器发送内文数据获取指令,所述内文数据获取指令包括所述目标第一级内容的标识; And sending, according to the context progress update instruction, a context data acquisition instruction to the server, where the context data acquisition instruction includes an identifier of the target first level content;
    接收所述服务器发送的与所述目标第一级内容对应的内文数据,根据所述显示界面的大小以及文字设定对所述目标第一级内容对应的内文数据进行排版,将所述目标第一级内容分为多个连续的第二级内容,记录所述多个第二级内容的数量;Receiving, by the server, the text data corresponding to the target first-level content, and formatting the text data corresponding to the target first-level content according to the size of the display interface and the text setting, The target first level content is divided into a plurality of consecutive second level contents, and the quantity of the plurality of second level contents is recorded;
    加载排版后的所述目标第一级内容所对应的内文数据。Loading the text data corresponding to the target first level content after the typesetting.
  6. 如权利要求1至5任意一项所述的方法,其中,所述内文包括电子书籍,所述第一级内容对应的是电子书籍中的章节,所述第二级内容对应的是电子书籍每一章节中的页,所述进度标签为数字形式,所述进度标签所显示的数字是与当前所显示的页对应的总进度比。The method according to any one of claims 1 to 5, wherein the text includes an electronic book, the first level content corresponds to a chapter in an electronic book, and the second level content corresponds to an electronic book In the page in each chapter, the progress label is in the form of a number, and the number displayed by the progress label is the total progress ratio corresponding to the currently displayed page.
  7. 如权利要求1至5任意一项所述的方法,其中,所述内文包括网页,将所述网页中根据所述显示界面划分为多个连续的第一级内容,将每个所述第一级内容根据文字设定划分为多个连续的第二级内容,所述进度标签为进度条形式,所述进度条显示的是位于当前所显示的网页顶部的第二级内容在所述网页中的总进度比。The method according to any one of claims 1 to 5, wherein the text includes a webpage, and the webpage is divided into a plurality of consecutive first-level contents according to the display interface, and each of the The first level content is divided into a plurality of consecutive second level contents according to the text setting, the progress label is in the form of a progress bar, and the progress bar displays the second level content located at the top of the currently displayed web page on the webpage. The overall progress ratio.
  8. 如权利要求1所述的方法,其中,所述将所述进度比与所述进度占比的和作为总进度比,根据所述总进度比更新所述进度标签,还包括:将所述显示界面所显示的内文更新为包含所述目标第二级内容的内文。The method of claim 1, wherein the sum of the progress ratio and the progress ratio as a total progress ratio, updating the progress label according to the total progress ratio, further comprising: displaying the The text displayed by the interface is updated to include the text of the target second level content.
  9. 一种内文进度更新装置,运行于用户终端,所述装置用于计算所述用户终端的显示界面所显示内文的阅读进度,所述显示界面包括用于显示当前所显示内文的阅读进度的进度标签,所述内文包 括多个连续的第一级内容,每个所述第一级内容包括多个连续的第二级内容,所述装置包括:A text progress update device is run on a user terminal, and the device is configured to calculate a reading progress of a text displayed by a display interface of the user terminal, where the display interface includes a reading progress for displaying a currently displayed text. Progress label, the text package Include a plurality of consecutive first-level contents, each of the first-level contents including a plurality of consecutive second-level contents, the device comprising:
    监测单元,用于监测用户触发的内文进度更新指令;a monitoring unit, configured to monitor a user-initiated text progress update instruction;
    第一处理单元,用于获取监测到的所述内文进度更新指令所指向的目标第一级内容在所述多个第一级内容中的进度比;a first processing unit, configured to acquire a progress ratio of the target first-level content pointed to by the monitored progress progress update instruction in the plurality of first-level content;
    第二处理单元,用于将监测到的所述内文进度更新指令所指向的所述目标第一级内容中的目标第二级内容加上所述目标第二级内容之前且属于所述目标第一级内容的所有第二级内容作为当前进展内容,计算所述当前进展内容在所述多个第一级内容中的进度占比;a second processing unit, configured to add the target second-level content in the target first-level content pointed to by the monitored progress progress update instruction to the target second-level content and belong to the target Calculating, as the current progress content, all the second-level contents of the first-level content, and calculating a progress ratio of the current progress content in the plurality of first-level contents;
    更新单元,用于将所述进度比与所述进度占比的和作为总进度比,根据所述总进度比更新所述进度标签。And an update unit, configured to use the sum of the progress ratio and the progress as a total progress ratio, and update the progress label according to the total progress ratio.
  10. 如权利要求9所述的装置,其中,所述第一处理单元具体用于获取所述目标第一级内容在所述多个第一级内容中的位置B1;通过公式B=(B1-1)*A1计算并存储所述目标第一级内容在所述多个第一级内容中的进度比B,其中,A1为根据公式A1=(1/N1)*100%计算并存储的每个所述第一级内容的进度起点值,N1为所述内文的多个第一级内容的总数量。The apparatus according to claim 9, wherein the first processing unit is specifically configured to acquire a position B1 of the target first level content in the plurality of first level contents; by formula B=(B1-1 *A1 calculates and stores a progress ratio B of the target first level content in the plurality of first level contents, wherein A1 is each calculated and stored according to the formula A1=(1/N1)*100% a progress starting point value of the first level content, and N1 is a total number of the plurality of first level contents of the content.
  11. 如权利要求10所述的装置,其中,所述第二处理单元具体用于获取所述目标第二级内容在所述目标第一级内容中的位置C2;通过公式C=(C2-1)*C1计算并存储所述当前进展内容在所述多个第一级内容中的进度占比C,其中,C1为通过公式C1=A1/N2计算并 存储的所述目标第一级内容中每个第二级内容的进度起点值C1,N2为所述目标第一级内容中所述多个第二级内容的总数量。The apparatus according to claim 10, wherein said second processing unit is specifically configured to acquire a position C2 of said target second level content in said target first level content; by formula C = (C2-1) *C1 calculates and stores a progress ratio C of the current progress content in the plurality of first level contents, wherein C1 is calculated by the formula C1=A1/N2 The progress starting point values C1, N2 of each of the stored second-level contents of the target first-level content are the total number of the plurality of second-level contents in the target first-level content.
  12. 如权利要求10所述的装置,其中,所述第一处理单元包括判断子单元、第一处理子单元、加载子单元:The apparatus of claim 10, wherein the first processing unit comprises a determining subunit, a first processing subunit, and a loading subunit:
    所述判断子单元,用于判断所述目标第一级内容是否是已加载在所述用户终端中的内容;The determining subunit is configured to determine whether the target first level content is content that has been loaded in the user terminal;
    所述第一处理子单元用于在所述判断子单元判断为是时获取监测到的所述内文进度更新指令所指向的目标第一级内容在所述多个第一级内容中的进度比;The first processing sub-unit is configured to acquire, when the determining sub-unit determines to be YES, the progress of the monitored first-level content pointed to by the monitored progress update instruction in the plurality of first-level contents. ratio;
    所述加载子单元用于在所述判断子单元判断为否时,加载所述目标第一级内容。The loading subunit is configured to load the target first level content when the determining subunit determines to be no.
  13. 如权利要求12所述的装置,其中,所述加载子单元具体用于:The apparatus of claim 12, wherein the loading subunit is specifically configured to:
    根据所述内文进度更新指令,向服务器发送内文数据获取指令,所述内文数据获取指令包括所述目标第一级内容的标识;And sending, according to the context progress update instruction, a context data acquisition instruction to the server, where the context data acquisition instruction includes an identifier of the target first level content;
    接收所述服务器发送的与所述目标第一级内容对应的内文数据,根据所述显示界面的大小以及文字设定对所述目标第一级内容对应的内文数据进行排版,将所述目标第一级内容分为多个连续的第二级内容,记录所述多个第二级内容的数量;Receiving, by the server, the text data corresponding to the target first-level content, and formatting the text data corresponding to the target first-level content according to the size of the display interface and the text setting, The target first level content is divided into a plurality of consecutive second level contents, and the quantity of the plurality of second level contents is recorded;
    加载排版后的所述目标第一级内容所对应的内文数据。 Loading the text data corresponding to the target first level content after the typesetting.
  14. 如权利要求13所述的装置,其中,所述更新单元还用于将所述显示界面所显示的内文更新为包含所述目标第二级内容的内文。The apparatus according to claim 13, wherein said updating unit is further configured to update the text displayed by said display interface to a text containing said target second level content.
  15. 一种计算机终端,包括:A computer terminal comprising:
    显示装置,包括:用于显示当前所显示内文的阅读进度的进度标签,所述内文包括多个连续的第一级内容,每个所述第一级内容包括多个连续的第二级内容;The display device includes: a progress label for displaying a reading progress of the currently displayed text, the text includes a plurality of consecutive first level contents, each of the first level contents including a plurality of consecutive second levels content;
    处理器,用于更新用户终端的显示界面所显示内文的阅读进度;a processor, configured to update a reading progress of the text displayed by the display interface of the user terminal;
    其中,所述处理器包括:Wherein the processor comprises:
    监测接口,用于监测用户触发的内文进度更新指令,并获取监测到的所述内文进度更新指令所指向的目标第一级内容在所述多个第一级内容中的进度比;a monitoring interface, configured to monitor a user-initiated text progress update instruction, and obtain a progress ratio of the monitored first-level content pointed to by the monitored progress update instruction in the plurality of first-level content;
    计算装置,用于将监测到的所述内文进度更新指令所指向的所述目标第一级内容中的目标第二级内容加上所述目标第二级内容之前且属于所述目标第一级内容的所有第二级内容作为当前进展内容,计算所述当前进展内容在所述多个第一级内容中的进度占比;a computing device, configured to add the target second-level content in the target first-level content pointed to by the monitored progress progress update instruction to the target second-level content and belong to the target first Calculating, as the current progress content, all the second-level contents of the level content, and calculating a progress ratio of the current progress content in the plurality of first-level contents;
    控制装置,用于将所述进度比与所述进度占比的和作为总进度比,根据所述总进度比更新所述进度标签。And a control device, configured to use the sum of the progress ratio and the progress ratio as a total progress ratio, and update the progress label according to the total progress ratio.
  16. 一种存储介质,所述存储介质被设置为存储用于更新用户终端的显示界面所显示内文的阅读进度的程序代码,所述显示界面包括用于显示当前所显示内文的阅读进度的进度标签,所述内文包 括多个连续的第一级内容,每个所述第一级内容包括多个连续的第二级内容:其中,A storage medium configured to store program code for updating a reading progress of a text displayed by a display interface of a user terminal, the display interface including a progress for displaying a reading progress of a currently displayed text Label, the inner packet Include a plurality of consecutive first-level contents, each of the first-level contents including a plurality of consecutive second-level contents: wherein
    所述存储介质还被设置为存储用于执行以下步骤的程序代码:监测用户触发的内文进度更新指令;获取监测到的内文进度更新指令所指向的目标第一级内容在多个第一级内容中的进度比;将监测到的内文进度更新指令所指向的目标第一级内容中的目标第二级内容加上目标第二级内容之前且属于目标第一级内容的所有第二级内容作为当前进展内容,计算当前进展内容在多个第一级内容中的进度占比;将进度比与进度占比的和作为总进度比,根据总进度比更新进度标签。 The storage medium is further configured to store program code for performing the following steps: monitoring a user-triggered context progress update instruction; obtaining a target first-level content pointed to by the monitored context progress update instruction in a plurality of first The progress ratio in the level content; the second level content in the target first level content pointed to by the monitored progress progress update instruction plus all second parts of the target first level content before the target second level content The level content is used as the current progress content, and the progress proportion of the current progress content in the plurality of first level contents is calculated; the sum of the progress ratio and the progress ratio is taken as the total progress ratio, and the progress label is updated according to the total progress ratio.
PCT/CN2016/078993 2015-08-14 2016-04-11 Context progress update method and apparatus WO2017028547A1 (en)

Applications Claiming Priority (2)

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

Publications (1)

Publication Number Publication Date
WO2017028547A1 true WO2017028547A1 (en) 2017-02-23

Family

ID=58051089

Family Applications (1)

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

Country Status (2)

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

Families Citing this family (1)

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

Citations (4)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521280B (en) * 2011-11-26 2014-07-09 华为技术有限公司 Loading method and loading device of EPub electronic book

Patent Citations (4)

* 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
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

Also Published As

Publication number Publication date
CN106469067A (en) 2017-03-01

Similar Documents

Publication Publication Date Title
JP6470735B2 (en) Estimating the visibility of content items
CN106649543B (en) Method, device and terminal for recording reading progress
WO2016107325A1 (en) Page resource loading method and device based on mobile terminal
US9697562B2 (en) Resource provisioning for electronic books
JP6775510B2 (en) Terminals, terminal control methods, and programs
WO2017107833A1 (en) Method and apparatus for switching page in browser label
WO2017219524A1 (en) Page saving method and electronic device
CN103067480A (en) Synchronized method and system of network disk
US20150039369A1 (en) Automated earpiece cache management
WO2017032079A1 (en) Information browsing method and mobile terminal
US20190107929A1 (en) Method and device for loading content of page, and electronic device
WO2020151548A1 (en) Method and device for sorting followed pages
CN108366091A (en) Network request processing method, terminal and computer-readable medium
US20180095707A1 (en) Degree of interest evaluation device
US11366868B1 (en) Notification of change of value in stale content
CN112069116B (en) Method and equipment for generating reading page configuration information
WO2017028547A1 (en) Context progress update method and apparatus
US10846328B2 (en) Digital asset association with search query data
CN110188297B (en) Resource information display method, computing device and computer storage medium
CN108469938B (en) Electronic book reading reminding method and device and terminal equipment
CN111193804A (en) Distributed storage method and device, network node and storage medium
CN110088750B (en) Method and system for providing context function in static webpage
US20150142444A1 (en) Audio rendering order for text sources
WO2017028728A1 (en) Determining method and device for click through rate (ctr)
US20160274766A1 (en) Electronic device and method of processing information in electronic device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16836412

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16836412

Country of ref document: EP

Kind code of ref document: A1