Loading method, device, electronic device and computer storage medium

By obtaining the first chapter or first frame identifier of the target object on the smart terminal device, first loading the first chapter or first frame content, and gradually loading other content, the problem of the long time spent on the first loading of large data objects by smart terminal devices is solved. , improves user experience and loading efficiency.

CN112861039BActive Publication Date: 2024-12-10ALIBABA GROUP HOLDING LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN201911182452.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-11-27
Publication Date
2024-12-10
Estimated Expiration
2039-11-27

AI Technical Summary

Technical Problem

Smart terminal devices take a long time to load large data objects for the first time, resulting in long wait times for users and reducing user experience.

Method used

By obtaining the first chapter identification or first frame screen group identification of the target object from the upper page of the current page, first load the first chapter content or first frame content, and obtain other chapters or screen group identification after the loading is completed, and gradually load other content.

Benefits of technology

It shortens the time from the start of loading to the reading or playback state, improves the user experience, and facilitates users to switch subsequent content.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112861039B_ABST
    Figure CN112861039B_ABST
Patent Text Reader

Abstract

The embodiments of the present application provide a loading method, device, electronic device and computer storage medium. One of the loading methods includes: if it is determined that the reading object is loaded for the first time, then obtaining the first chapter identifier of the reading object from the parent page corresponding to the current page used to display the content of the reading object; after determining that the loading of the first chapter content corresponding to the first chapter identifier has been completed, obtaining the chapter identifiers of other chapters of the reading object except the first chapter, and loading the chapter content of other chapters except the first chapter according to the chapter identifiers of the other chapters. The solution of the embodiments of the present application can shorten the time from starting to load to entering the reading state, and improve the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of data processing technology, and in particular to a loading method, device, electronic device and computer storage medium. Background Art

[0002] With the development of communication technology, smart terminal devices such as mobile phones and tablet computers are used more and more frequently in people's daily lives, which has gradually changed users' usage habits. More and more users receive information through smart terminal devices, such as reading through the readers of smart terminal devices, or watching videos through the players of smart terminal devices.

[0003] However, when a user receives information, if the smart terminal device loads a target object with a large amount of data for the first time, such as an e-book or video, it cannot be fully loaded in a short time. Since the smart terminal device needs a certain amount of time to load the content of the target object, it takes a long time to display the target object to the user when the target object is loaded for the first time, causing the user to wait for a long time, which greatly reduces the user experience. Summary of the invention

[0004] In view of this, one of the technical problems solved by the embodiments of the present application is to provide a loading method, device, electronic device and computer storage medium to overcome the defect of the prior art that the first loading takes a long time.

[0005] According to the first aspect of the embodiment of the present application, a loading method is provided, which includes: if it is determined that a reading object is loaded for the first time, obtaining the first chapter identifier of the reading object from the parent page corresponding to the current page used to display the content of the reading object; after determining that the loading of the first chapter content corresponding to the first chapter identifier has been completed, obtaining the chapter identifiers of other chapters of the reading object except the first chapter, and loading the chapter contents of other chapters except the first chapter according to the chapter identifiers of the other chapters.

[0006] According to a second aspect of an embodiment of the present application, a loading device is provided, which includes: a chapter identification acquisition module, which is used to obtain the first chapter identification of the reading object from the parent page corresponding to the current page used to display the content of the reading object if it is determined that the reading object is loaded for the first time; a chapter loading module, which is used to obtain the chapter identification of other chapters of the reading object except the first chapter after determining that the loading of the first chapter content corresponding to the first chapter identification has been completed, and load the chapter content of other chapters except the first chapter according to the chapter identification of the other chapters.

[0007] According to a third aspect of an embodiment of the present application, a loading method is provided, comprising: if it is determined that a video object is loaded for the first time, obtaining a picture group identifier corresponding to a picture group where a first frame of the video object is located from a parent page corresponding to a current page used to play the video object; after determining that loading of the picture group where the first frame of the video object is located has been completed according to the obtained picture group identifier, obtaining other picture group identifiers in the video object except the picture group where the first frame is located, and loading the corresponding picture group according to the other picture group identifiers.

[0008] According to a fourth aspect of an embodiment of the present application, a loading device is provided, comprising: a picture group identifier acquisition module, for obtaining, if it is determined that a video object is loaded for the first time, a picture group identifier corresponding to a picture group where a first frame of the video object is located from a parent page corresponding to a current page used to play the video object; a picture group loading module, for obtaining, after determining that loading of the picture group where the first frame of the video object is located has been completed according to the obtained picture group identifier, other picture group identifiers in the video object except for the picture group where the first frame is located, and loading the corresponding picture group according to the other picture group identifiers.

[0009] According to the fifth aspect of the embodiments of the present application, there is provided an electronic device, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other through the communication bus; the memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform operations corresponding to the loading method described in the first aspect or the third aspect above.

[0010] According to a sixth aspect of an embodiment of the present application, a computer storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the loading method described in the first aspect or the third aspect is implemented.

[0011] The solution provided in this embodiment, if it is determined that the target object such as a reading object or a video object is loaded for the first time, then the content identifier of the target object to be displayed first, such as the first chapter identifier or the identifier of the picture group where the first frame is located, is obtained from the parent page corresponding to the current page used to display the content of the target object. Therefore, when the target object is loaded for the first time, the corresponding content in the target object, such as the first chapter content or the first picture group content, can be loaded first directly according to the content identifier to be displayed first. After it is determined that the loading is complete, the corresponding content can be displayed through the current page, thereby shortening the time from starting to load to entering the corresponding reading state or viewing state, so that the user does not have to wait for a long time to read or watch the corresponding content; and after it is determined that the loading of the content to be displayed first has been completed, the identifier and content of other parts of the target object can be obtained, which is convenient for users to switch content and further improves the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Hereinafter, some specific embodiments of the present application will be described in detail in an exemplary and non-limiting manner with reference to the accompanying drawings. The same reference numerals in the accompanying drawings indicate the same or similar components or parts. It should be understood by those skilled in the art that these drawings are not necessarily drawn to scale. In the accompanying drawings:

[0013] Figure 1a This is a flowchart of a loading method according to the first embodiment of the present application;

[0014] Figure 1b A schematic diagram of a usage scenario of the first embodiment of the present application;

[0015] Figure 2a This is a flowchart of a loading method according to the second embodiment of the present application;

[0016] Figure 2b This is a schematic diagram of the first usage scenario of the second embodiment of the present application;

[0017] Figure 2c This is a schematic diagram of a second usage scenario of Embodiment 2 of the present application;

[0018] Figure 2d This is a schematic diagram of the third usage scenario of the second embodiment of the present application;

[0019] Figure 2e This is a schematic diagram of the fourth usage scenario of the second embodiment of the present application;

[0020] Figure 3 This is a flowchart of a loading method according to Embodiment 3 of the present application;

[0021] Figure 4 This is a schematic diagram of the structure of the loading device in the fourth embodiment of the present application;

[0022] Figure 5 This is a flowchart of a loading method according to Embodiment 5 of the present application;

[0023] Figure 6 This is a schematic diagram of the structure of the loading device in Example 6 of the present application;

[0024] Figure 7 This is a schematic diagram of the structure of the electronic device in Example 7 of the present application. DETAILED DESCRIPTION

[0025] The implementation of any technical solution of the embodiments of the present application does not necessarily require achieving all of the above advantages at the same time.

[0026] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the embodiments of the present application should fall within the scope of protection of the embodiments of the present application.

[0027] The specific implementation of the embodiment of the present application is further explained below in conjunction with the accompanying drawings of the embodiment of the present application.

[0028] Embodiment 1

[0029] Reference Figure 1a , shows a flow chart of steps of a loading method according to Embodiment 1 of the present application. The loading method of this embodiment is applicable to loading a reading object, that is, it is a method for loading a reading object.

[0030] like Figure 1a As shown, the method for loading a reading object in this embodiment includes:

[0031] S102: If it is determined that the reading object is loaded for the first time, obtaining a first chapter identifier of the reading object from a parent page corresponding to a current page for displaying content of the reading object.

[0032] The reading objects may include but are not limited to published books, comics, courseware, etc., which are not limited in this embodiment.

[0033] The situation where a reading object is loaded for the first time may include: a user opens the reading object for the first time through a reader; after the related records of a reading object are deleted, the reading object is opened again, etc.

[0034] Based on this, whether the reading object is loaded for the first time can be determined by whether there is chapter content related to the reading object in the cache space corresponding to the reader. For example, if there is no chapter content corresponding to the reading object in the cache space, it is determined that the reading object is loaded for the first time; if there is chapter content corresponding to the reading object in the cache space, it is determined that the reading object is not loaded for the first time. In addition, it is also possible to determine whether the reading object is loaded for the first time based on the reading objects that have been opened recorded by the reader.

[0035] The current page is the page where the reader displays the content of the reading object. The parent page of the current page includes but is not limited to at least one parent page of the current page. The parent page may include the bookstore page, book details page, book search page, etc. displayed by the reading APP or browser.

[0036] The parent page generally displays relevant content of the reading object, such as the name of the reading object, an introduction to the reading object, etc. The user can determine whether to open the reading object through the reader based on the relevant content displayed in the parent page. If determined to open it, the user can trigger the parent page to instruct the opening operation of the reading object, thereby starting to execute this step S102.

[0037] For example, when a user reads a novel through a browser, the novel introduction and / or part of the content can be displayed through the browser's web page first. If the user's opening operation is obtained, it is determined whether the novel is loaded for the first time. If it is loaded for the first time, the first chapter identifier of the novel can be obtained from the web page used to display the novel (i.e., the parent page).

[0038] The first chapter identifier of the reading object may be the chapter identifier corresponding to the first chapter displayed in the current page of the reading object. The chapter identifier may be a unique identifier corresponding to the chapter of the reading object, and the corresponding chapter content may be loaded according to the chapter identifier. The present application does not limit the specific chapter corresponding to the first chapter identifier. For example, if the parent page displays the cover, introduction, and other content of a published book, when the published book is loaded for the first time, the first chapter identifier obtained may be the chapter identifier corresponding to the first chapter of the published book; if the content displayed on the parent page is the third chapter of a published book, the first chapter identifier obtained from the parent page may be the chapter identifier corresponding to the third chapter of the published book.

[0039] The first chapter identifier of the reading object is obtained from the parent page corresponding to the current page for displaying the content of the reading object, that is, the first chapter identifier is transmitted to the reader by the parent page. The parent page can transmit the first chapter identifier through the relevant page value transmission method, or in other ways, which is not limited in this embodiment.

[0040] In an optional manner, the chapter content of the reading object can be stored in the cloud, and each chapter of the reading object can correspond to a chapter identifier, and the storage address of the chapter content can be directly determined from the cloud according to the chapter identifier. Of course, the chapter content of the reading object can also be stored in other locations, which is not limited in this embodiment.

[0041] The following is an example of the cloud for illustrative explanation. In the related art, when loading the chapter content of the reading object, the reader needs to first obtain the chapter identifier of the reading object from the cloud, and then obtain the chapter content corresponding to the chapter identifier from the cloud according to the chapter identifier. In this embodiment, by obtaining the first chapter identifier from the parent page, the reader can directly load the first chapter content according to the obtained first chapter identifier, without having to request the chapter identifier of the reading object from the cloud separately, which simplifies the operation process and shortens the time to enter the reading state.

[0042] S104, after determining that the loading of the first chapter content corresponding to the first chapter identifier has been completed, obtaining chapter identifiers of other chapters of the reading object except the first chapter, and loading the chapter contents of other chapters except the first chapter according to the chapter identifiers of the other chapters.

[0043] After obtaining the first chapter identifier from the parent page, the first chapter content can be loaded according to the first chapter identifier. When loading the first chapter content, a first chapter loading request can be generated according to the first chapter identifier, and the first chapter loading request can be sent to the cloud. Then, the first chapter content returned by the cloud can be obtained, and the first chapter content can be stored in the cache space, thereby completing the loading of the first chapter content.

[0044] In actual use, a monitoring process can be used to monitor the loading progress of the first chapter content, so as to timely determine whether the first chapter content corresponding to the first chapter identifier has been loaded, and according to the result of the monitoring process, determine to start obtaining the chapter identifiers of other chapters of the reading object except the first chapter. The method of loading the chapter content of other chapters except the first chapter is similar to the method of loading the first chapter content through the first chapter identifier, which will not be repeated here.

[0045] A scenario of the above process is as follows Figure 1b As shown, the interface 1 of the terminal shows a display interface of a bookstore page, in which icons of book names 1-8 are displayed. Taking the user clicking the icon of "Book Name 1" as an example, when the user clicks the icon of "Book Name 1", it is necessary to display the content page corresponding to "Book Name 1" through a new page. At this time, it is first necessary to determine whether the book corresponding to "Book Name 1" is loaded for the first time. If it is determined that it is loaded for the first time, the first chapter mark of "Book Name 1" can be obtained from the bookstore page. Then, according to the first chapter mark, a corresponding first chapter loading request is generated and sent to the cloud, and the cloud returns the corresponding first chapter content. When it is determined that the loading of the first chapter content corresponding to the first chapter mark has been completed, the terminal can display the first chapter content to the user through interface 2, and can continue to obtain the chapter marks of other chapters of "Book Name 1" except the first chapter, generate corresponding chapter loading requests according to the chapter marks of the other chapters and send them to the cloud, and then obtain the chapter contents of other chapters except the first chapter returned by the cloud, so as to load the chapter contents of other chapters except the first chapter, and the terminal can display the chapter titles corresponding to the loaded and unloaded chapter contents to the user through interface 3.

[0046] By completing the loading of the first chapter content corresponding to the first chapter identifier, the acquisition of chapter identifiers of other chapters is triggered, so that the reader can first complete the loading of the first chapter content corresponding to the first chapter identifier, and then load the chapter contents of other chapters. After the first chapter content is loaded, the reading state can be entered, and the first chapter content can be displayed through the current page. The user can read the first chapter content displayed on the current page, thereby shortening the time from starting to load to entering the reading state, improving the user experience, and completing the loading of chapter contents of other chapters except the first chapter without affecting the speed of entering the reading state, so as to facilitate users to switch between browsing chapters when browsing.

[0047] The solution provided in this embodiment, if it is determined that the reading object is loaded for the first time, obtains the first chapter identifier of the reading object from the parent page corresponding to the current page used to display the content of the reading object, so that when the reading object is loaded for the first time, the first chapter content of the reading object can be directly loaded first according to the first chapter identifier, and after it is determined that the loading of the first chapter content is completed, the first chapter content can be displayed through the current page for the user to read, thereby shortening the time from starting to load to entering the reading state, and after it is determined that the loading of the first chapter content corresponding to the first chapter identifier has been completed, the chapter identifiers of other chapters of the reading object except the first chapter can be obtained, and the chapter content of other chapters except the first chapter can be loaded according to the chapter identifiers of the other chapters, so that the user can switch the content to read other chapters later, thereby improving the user experience.

[0048] The reading object loading method of this embodiment can be executed by any appropriate mobile terminal with data processing capability, including but not limited to: mobile phone, iPad, PC, cloud, etc.

[0049] Embodiment 2

[0050] The reading object loading method of this embodiment can be applied to a reader, which can be a reader set inside an application, such as a reader set inside a browser, or a reader directly installed on a smart terminal, such as various novel reading APPs.

[0051] Reference Figure 2a , shows a step flow chart of a loading method according to embodiment 2 of the present application.

[0052] like Figure 2a As shown, the method for loading a reading object in this embodiment includes:

[0053] S202: Obtain the user's opening operation on the reading object.

[0054] The opening operation is used to instruct to open a certain reading object through the reader. The page on which the user performs the opening operation is the page before entering the reader (i.e., the upper-level page in the subsequent step S206a), and the page before entering the reader may include but is not limited to: a bookstore page, a book details page, a book search result page, etc.

[0055] S204: Determine whether the reading object is loaded for the first time.

[0056] If it is the first time to be loaded, execute step S206a; if it is not the first time to be loaded, execute step S206b.

[0057] In an optional manner, it can be determined whether the reading object is loaded for the first time by determining whether there is content corresponding to the reading object in the cache space. If there is no content corresponding to the reading object in the cache space, it is determined that the reading object is loaded for the first time; otherwise, it is not loaded for the first time. It can be determined whether the reading object is loaded for the first time by determining whether there is content corresponding to the reading object in the cache space. If there is content corresponding to the reading object in the cache space, the reading object can be directly loaded from the cache space and displayed through step S206b without performing other operations, thereby shortening the time from obtaining the opening operation to entering the reading state.

[0058] Of course, other methods may also be used to determine whether the reading object is loaded for the first time, such as through the reader's history records, to determine whether the reading object has been opened by the reader, thereby determining whether the reading object is loaded for the first time. This embodiment does not limit the specific judgment method, and technicians in this field can flexibly select it according to the specific reader.

[0059] S206a: Determine whether the first chapter identifier of the reading object is successfully obtained from the parent page corresponding to the current page for displaying the content of the reading object.

[0060] If the first chapter identifier is successfully obtained, step S208a is executed; if it is not successfully obtained, step S208b is executed.

[0061] In an optional manner, obtaining the first chapter identifier of the reading object from the parent page corresponding to the current page for displaying the content of the reading object may specifically include: obtaining the first chapter identifier of the reading object transmitted by the parent page corresponding to the current page.

[0062] Transparent transmission refers to transparent transmission, that is, during the transmission process, only the transmitted content is transmitted from the sending end to the receiving end, but the transmitted content is not modified. By obtaining the first chapter mark of the parent page corresponding to the current page, the accuracy of the first chapter mark can be guaranteed to the greatest extent, avoiding the first chapter mark error caused by problems in the transmission process, so as to ensure the accuracy of the first chapter content loaded according to the first chapter mark.

[0063] The transparent transmission method is mainly applicable to the case where the parent page and the reader belong to the same application. For example, the parent page is a bookstore page in a reading APP. When a user opens a book in the bookstore page, the bookstore page can directly determine the first chapter mark of the book and transparently transmit the first chapter mark to the reader in the reading APP. Of course, the above is only an exemplary description, and this embodiment does not limit this.

[0064] In another optional method, obtaining the first chapter identifier of the reading object from the parent page corresponding to the current page used to display the content of the reading object may specifically include: sending a call instruction to a reader through the parent page corresponding to the current page, wherein the call instruction carries the first chapter identifier of the reading object; and obtaining the first chapter identifier carried in the call instruction through the reader.

[0065] When a calling instruction is generated through the parent page, the first chapter identifier can be added to the calling instruction as a field. According to the calling instruction, the reader can be opened, and the data carried in the calling instruction can be passed into the reader. After the reader is opened, the first chapter identifier carried in the calling instruction can be obtained according to the passed in data without performing any other operations, thereby shortening the time for the reader to obtain the first chapter identifier, thereby further shortening the time from obtaining the user's opening operation to entering the reading state, and improving the user experience.

[0066] S208a, loading the first chapter content corresponding to the first chapter identifier.

[0067] After the first chapter content is loaded through step S208a, step S210 and step S212 are executed in parallel.

[0068] S210, displaying the first chapter content that has been loaded.

[0069] In this embodiment, the first page of the first chapter content may be displayed first, and then according to the user's page turning operation, the contents of other pages of the first chapter content may continue to be displayed.

[0070] S212, obtaining chapter identifiers of other chapters of the reading object except the first chapter, and loading corresponding chapter contents according to the chapter identifiers of other chapters, completing this process.

[0071] Possibly, a scenario of this process is as follows Figure 2b As shown, Figure 2b In the example, the terminal displays interface 1 as the book details page. When the user clicks the "Read full text for free" button on the book details page to open it, the application APP corresponding to the book details page determines that the book corresponding to "Book Name 1" is loaded for the first time, obtains the first chapter mark of the book corresponding to "Book Name 1", obtains the chapter content corresponding to the first chapter mark from the cloud, and loads and displays it. After the first chapter content is loaded, the page is as follows Figure 2b Further, after the first chapter content is loaded, the corresponding chapter content is loaded according to the obtained chapter identification of other chapters. The loaded chapter content can be identified on the page, and the page can be as shown in FIG. Figure 2b As shown in interface 3 in . It can be seen that after only the first chapter content is loaded, the reading state can be entered and the first chapter content can be displayed to the user, so as to reduce the time consumed from obtaining the opening operation to entering the reading state, and in the process of displaying the first chapter content, the chapter content of other chapters except the first chapter can be loaded according to the chapter identifiers of the other chapters, so as to utilize the time when the user reads the first chapter content to load part or all of the chapter content of other chapters except the first chapter.

[0072] In this step S212 or the subsequent step S214, when loading chapter contents of other chapters except the first chapter, a preset number of chapter contents may be loaded each time, for example, 50 chapter contents may be loaded each time, so as to reduce the load on the cloud for providing chapter contents by loading all chapter contents multiple times.

[0073] S208b, obtaining multiple chapter marks corresponding to the reading object from the cloud, and identifying the first chapter mark from the multiple chapter marks.

[0074] If the first chapter mark of the reading object is not successfully obtained, then step S208b is executed. After step S208b is completed, step S214 is executed.

[0075] In other optional methods, if the first chapter identifier is not successfully obtained, multiple chapter identifiers corresponding to the reading object can be directly obtained from the cloud, and the reading object can be fully loaded according to the obtained chapter identifiers, that is, all chapter contents corresponding to the obtained multiple chapter identifiers are loaded; or an error prompt can be directly displayed to the user, etc., which is not limited to this in this embodiment.

[0076] S214, when it is determined that the loading of the first chapter content corresponding to the first chapter identifier has been completed, loading the chapter contents of other chapters except the first chapter according to other chapter identifiers except the first chapter identifier among the multiple chapter identifiers, and completing this process.

[0077] For example, in Figure 2c In the scenario shown, interface 1 of the terminal displays a book details page. After the user clicks the "Read full text for free" button in the book details page to open it, if the application APP corresponding to the book details page determines that the book corresponding to "Book Name 1" is loaded for the first time, it can obtain the first chapter identifier of the book corresponding to "Book Name 1". If the acquisition fails, multiple chapter identifiers corresponding to "Book Name 1" will be obtained from the cloud, and the first chapter identifier will be determined therefrom; then the chapter content corresponding to the first chapter identifier is obtained and loaded for display, and the terminal can display the first chapter content through interface 2; while displaying the first chapter content, the corresponding chapter content can be loaded according to other chapter identifiers, and the terminal can display the chapter titles corresponding to the loaded and unloaded chapter contents through interface 3.

[0078] The specific method of loading the content of the first chapter and the method of loading the content of other chapters except the first chapter can refer to the above-mentioned embodiment 1, and this embodiment will not be repeated here.

[0079] If the loading of the first chapter content is completed according to the identified first chapter identifier, the reading state can be entered, and the first chapter content in the reading object can be displayed. While displaying, the chapter contents of other chapters except the first chapter can be loaded according to other chapter identifiers except the first chapter identifier among the multiple chapter identifiers. This ensures that even if the first chapter identifier is not successfully obtained from the parent page of the current page, the first chapter content corresponding to the first chapter identifier can still be loaded first, thereby shortening the time consumed in entering the reading state from the acquisition and opening operation, and improving the user experience.

[0080] S206b, reading the chapter content corresponding to the reading object from the cache space, and displaying the reading object through the current page according to the read chapter content. This process is completed.

[0081] If it is determined that the reading object is not loaded for the first time, it can be determined that the chapter content of the reading object exists in the cache space, and then the chapter content of the reading object can be read from the cache in step S206, and the read chapter content can be displayed on the current page.

[0082] For example, in Figure 2d In the example, interface 1 of the terminal is a bookstore page. When the user clicks on a book icon in the bookstore page, such as the icon corresponding to "Book Name 1", the application APP corresponding to the bookstore page will directly read and display the chapter content from the cache space if it determines that the chapter content corresponding to the first chapter identifier of "Book Name 1" exists in the cache space. The terminal can display the read chapter content through interface 2.

[0083] Optionally, in this embodiment, after steps S212, S214, and S206b, the reading object loading method in this embodiment may further include the following steps a) and b):

[0084] a) Acquire and parse the chapter switching instruction input by the user to determine the target chapter information carried in the chapter switching instruction.

[0085] Specifically, the directory of the reading object may be displayed to the user through the current page, and the user may select a target chapter in the directory to input a chapter switching instruction.

[0086] The target chapter information carried in the determined chapter switching instruction may be the chapter number of the directory object, for example, the chapter number of the third chapter may be 03.

[0087] b) According to the target chapter information, determine the target chapter content corresponding to the target chapter information from the chapter contents of other chapters except the first chapter, and switch the content displayed in the current page to the target chapter content.

[0088] According to the target chapter information, such as chapter number 03, etc., the target chapter content corresponding to the target chapter information can be determined from the chapter contents of other chapters except the first chapter. For example, the chapter content corresponding to the third chapter of the reading object is determined according to the target chapter information, and the content of the displayed reading object is switched to the chapter content of the third chapter.

[0089] An example scenario of the above process is as follows Figure 2e As shown, Figure 2e In the example, interface 1 of the terminal is a book search page. When the user clicks on the icon of "Book Name 1" in the book search page to open it, the application APP corresponding to the book search page obtains the first chapter identifier of the book corresponding to "Book Name 1" when it determines that the book corresponding to "Book Name 1" is loaded for the first time, obtains the first chapter content corresponding to the first chapter identifier from the cloud and loads and displays it, and the terminal can display the first chapter content through interface 2. After completing the loading of the first chapter content, the corresponding chapter content is loaded according to the obtained chapter identifiers of other chapters, and the terminal can display the chapter titles corresponding to the loaded and unloaded chapter content through interface 3. When the user clicks on "Chapter 3" shown in interface 3, the interface displayed by the terminal switches to interface 4, and the chapter content displayed in the interface switches to the chapter content corresponding to "Chapter 3".

[0090] By acquiring and parsing the chapter switching instructions input by the user, the target chapter information can be obtained, and the target chapter content corresponding to the target chapter information can be determined from the chapter contents of other chapters except the first chapter, so that the chapter content of the reading object can be displayed according to the user's needs, thereby improving the user experience.

[0091] The solution provided in this embodiment determines whether the reading object is loaded for the first time by determining whether there is content corresponding to the reading object in the cache space. If there is content corresponding to the reading object in the cache space, it can be directly read from the cache space without performing other loading operations, thereby shortening the time from obtaining the opening operation to entering the reading state; in addition, if there is no content corresponding to the reading object in the cache space, it can be determined that the reading object is loaded for the first time. At this time, the first chapter identifier can be obtained from the parent page corresponding to the current page used to display the reading object, and the first chapter content of the reading object can be loaded according to the first chapter identifier; after the first chapter content is loaded, the first chapter content can be displayed to the user for the user to read, and at the same time, the chapter identifiers of other chapters of the reading object except the first chapter are obtained, and the chapter content of other chapters except the first chapter is loaded according to the chapter identifiers of the other chapters. After loading part or all of the chapter content of other chapters, the displayed chapter content can be switched according to the chapter switching instruction input by the user, thereby improving the user experience.

[0092] Through experiments, it is known that if the reading object is a novella, then through the existing solution, when the reading object is loaded for the first time, the time consumed from obtaining the opening operation to entering the reading state may be 6s-8s; and when other factors affecting the time consumption are the same or similar, through the solution provided in this embodiment, when the reading object is loaded for the first time, the time consumed from obtaining the opening operation to entering the reading state may be shortened to less than 600ms, achieving the effect of opening in seconds, improving the user experience, and reducing the user loss from obtaining the opening operation to entering the reading state.

[0093] The loading method of this embodiment can be executed by any appropriate mobile terminal with data processing capabilities, including but not limited to: mobile phones, iPads, PCs, clouds, etc.

[0094] Embodiment 3

[0095] Reference Figure 3 , shows a flow chart of steps of a loading method according to Embodiment 3 of the present application. In this embodiment, the above-mentioned loading method is applied to paid viewing reading objects.

[0096] like Figure 3 As shown, the method for loading a reading object in this embodiment includes:

[0097] S302: Obtaining an opening operation input by the user for instructing to open a reading object through the displayed reading object information page.

[0098] In this embodiment, the reading object information page is a bookstore page, which is the parent page corresponding to the current page for displaying the content of the reading object, and the reading object operated by the user is reading object A. This is taken as an example for exemplary description and is not a limitation of this application.

[0099] S304: Determine, based on the opening operation, that the reading object is loaded for the first time, and obtain a first chapter identifier of the reading object from a parent page corresponding to a current page for displaying content of the reading object.

[0100] For example, if it is determined that the reading object A is loaded for the first time, the first chapter identifier of the reading object A is obtained from the bookstore interface.

[0101] S306: Display a payment page corresponding to the reading object.

[0102] For example, after obtaining the first chapter identifier of the reading object A from the bookstore page, the payment page corresponding to the reading object A is displayed. The payment page may provide appropriate payment options, including but not limited to: payment options based on the entire reading object, payment options for the first chapter of the reading object, payment options corresponding to each chapter of the reading object, etc.

[0103] S308: receiving a payment operation of the user through the payment page, and after determining that the payment operation is successful, loading the first chapter content corresponding to the first chapter identifier of the reading object.

[0104] After confirming that the payment operation is successful, the first chapter content corresponding to the first chapter identifier of the reading object A can be loaded. If the user has only paid for the first chapter content, the payment page needs to be displayed again before the subsequent chapter content is displayed to make payment for the corresponding chapter; if the user has paid the entire fee for the reading object, the other chapters can be displayed directly afterwards; if the user has paid for multiple chapters in the reading object, the corresponding chapter can be displayed directly, and for the chapters for which the fee has not been paid, the payment page can be provided again before the corresponding chapter content is displayed for the user to make payment.

[0105] S310: Display the first chapter content that has been loaded, obtain chapter identifiers of other chapters of the reading object except the first chapter, and load corresponding chapter content according to the chapter identifiers of the other chapters.

[0106] In this embodiment, if the reading object includes chapter content that requires payment to watch, including but not limited to the chapter content of the first chapter, a payment function can be provided through the corresponding payment page to enable the reading object to pay for reading and meet the needs of different platforms or reading objects.

[0107] The loading method of this embodiment can be executed by any appropriate mobile terminal with data processing capabilities, including but not limited to: mobile phones, iPads, PCs, clouds, etc.

[0108] Figure 4 Schematic diagram of the structure of the loading device in the fourth embodiment of the present application; the loading device of this embodiment is suitable for loading reading objects, that is, it is a loading device for reading objects.

[0109] like Figure 4 As shown, it includes: a first chapter identification acquisition module 402 and a chapter loading module 404.

[0110] The first chapter identification acquisition module 402 is used to acquire the first chapter identification of the reading object from the parent page corresponding to the current page for displaying the content of the reading object if it is determined that the reading object is loaded for the first time.

[0111] The chapter loading module 404 is used to obtain the chapter identifiers of other chapters of the reading object except the first chapter after determining that the loading of the first chapter content corresponding to the first chapter identifier has been completed, and load the chapter content of other chapters except the first chapter according to the chapter identifiers of the other chapters.

[0112] Optionally, the first chapter identification acquisition module 402 includes: a transmission module, used to obtain the first chapter identification of the reading object transmitted by the parent page corresponding to the current page; or, an instruction module, used to send a call instruction to the reader through the parent page corresponding to the current page, wherein the call instruction carries the first chapter identification of the reading object; and used to parse the call instruction through the reader to obtain the first chapter identification carried in the call instruction.

[0113] Optionally, the first chapter identification acquisition module 402 is further used to obtain multiple chapter identifications corresponding to the reading object from the cloud if the acquisition of the first chapter identification of the reading object fails, and identify the first chapter identification from the multiple chapter identifications; the chapter loading module is further used to load chapter contents of other chapters except the first chapter according to other chapter identifications among the multiple chapter identifications except the first chapter identification if it is determined that the loading of the first chapter content corresponding to the first chapter identification has been completed.

[0114] Optionally, the device also includes: a switching instruction acquisition module, used to acquire and parse the chapter switching instruction input by the user to determine the target chapter information carried in the chapter switching instruction; a content switching module, used to determine the target chapter content corresponding to the target chapter information from the chapter contents of other chapters except the first chapter according to the target chapter information, and switch the content displayed in the current page to the target chapter content.

[0115] Optionally, the device further comprises: a cache reading module, configured to read the content of the reading object from the cache space if it is determined that the reading object is not loaded for the first time, and display the read content of the reading object through the current page.

[0116] Optionally, the device also includes: a payment page display module, used to display the payment page corresponding to the reading object; a chapter loading module, also used to receive the user's payment operation through the payment page, and after determining that the payment operation is successful, load the first chapter content corresponding to the first chapter identifier.

[0117] The solution provided in this embodiment, if it is determined that the reading object is loaded for the first time, obtains the first chapter identifier of the reading object from the parent page corresponding to the current page used to display the content of the reading object, so that when the reading object is loaded for the first time, the first chapter content of the reading object can be directly loaded first according to the first chapter identifier, and after it is determined that the loading of the first chapter content is completed, the first chapter content can be displayed through the current page for the user to read, thereby shortening the time from starting to load to entering the reading state, and after it is determined that the loading of the first chapter content corresponding to the first chapter identifier has been completed, the chapter identifiers of other chapters of the reading object except the first chapter can be obtained, and the chapter content of other chapters except the first chapter can be loaded according to the chapter identifiers of the other chapters, so that the user can switch the content to read other chapters later, thereby improving the user experience.

[0118] The loading device of this embodiment can be any appropriate mobile terminal with data processing capabilities, including but not limited to: mobile phone, iPad, PC, cloud, etc.

[0119] Embodiment 5

[0120] Reference Figure 5 , shows a flow chart of steps of a loading method according to Embodiment 5 of the present application. The loading method of this embodiment is applicable to loading of video objects, that is, it is a method for loading video objects.

[0121] like Figure 5 As shown, the method for loading a video object in this embodiment includes:

[0122] S502: If it is determined that the video object is loaded for the first time, a picture group identifier corresponding to the picture group where the first frame of the video object is located is obtained from the parent page corresponding to the current page used to play the video object.

[0123] The situation where a video object is loaded for the first time may include: a user opens the video object for the first time through a player, etc. Based on this, whether the video object is loaded for the first time can be determined by whether there is video content corresponding to the video object in the cache space corresponding to the player. For example, if there is no video content corresponding to the video object in the cache space, it is determined that the video object is loaded for the first time; if there is video content corresponding to the video object in the cache space, it is determined that the video object is not loaded for the first time.

[0124] The current page is the page where the player displays the content of the video object. The parent page of the current page includes but is not limited to at least one parent page of the current page. The parent page may include the home page of the official website of the video APP or the video APP displayed by the browser, the video details page, the video search page, etc.

[0125] In this embodiment, the video object can be stored in the cloud, and the video object can be stored as multiple picture groups. A picture group (Group of Pictures, GOP) is a group of continuous pictures. When the video object is stored as a picture group, a picture group can include multiple continuous video frames in the video object. A picture group can correspond to a picture group identifier, and the corresponding picture group can be directly loaded from the cloud according to the picture group identifier.

[0126] Generally speaking, a picture group may include three types of video frames, namely, I frame (Intra-coded picture), P frame (Predictive-coded picture), and B frame (Bidirectionally predicted picture). Video playback can be performed by parsing the video frames in the picture group. The first frame of a video object may be the first I frame displayed to the user when the video object is played.

[0127] In this embodiment, the method of obtaining the picture group identifier corresponding to the picture group where the first frame of the video object is located from the upper page is similar to the method of obtaining the first frame identifier from the upper page in the above embodiment, and will not be repeated in this embodiment.

[0128] Optionally, in an embodiment of the present application, the method for obtaining the picture group identifier corresponding to the picture group where the first frame of the video object is located may include: obtaining the picture group identifier corresponding to the picture group where the first frame of the video object is located, which is transmitted by the parent page corresponding to the current page; or, sending a call instruction to a player through the parent page corresponding to the current page, wherein the call instruction carries the picture group identifier corresponding to the picture group where the first frame of the video object is located; and obtaining the picture group identifier carried in the call instruction through the player.

[0129] Optionally, in the embodiment of the present application, the method further includes: if it is determined that the video object is not loaded for the first time, reading the video content of the video object from the cache space, and displaying the read content of the video object through the current page.

[0130] S504: after determining that the loading of the picture group where the first frame of the video object is located has been completed according to the obtained picture group identifier, obtain other picture group identifiers in the video object except the picture group where the first frame is located, and load the corresponding picture groups according to the other picture group identifiers.

[0131] In this embodiment, after the loading of the picture group where the first frame of the video object is located is completed according to the obtained picture group identifier, the video frames in the loaded picture group can be displayed to the user. While displaying, other picture group identifiers except the picture group where the first frame is located can be loaded, and the corresponding picture groups can be loaded according to the other picture group identifiers.

[0132] Optionally, in an embodiment of the present application, the method further includes: if it fails to obtain the picture group identifier corresponding to the picture group where the first frame of the video object is located, obtaining multiple picture group identifiers corresponding to the video object from the cloud, and identifying the picture group identifier corresponding to the picture group where the first frame of the video object is located from the multiple picture group identifiers; after determining that the loading of the picture group where the first frame of the video object is located has been completed according to the obtained picture group identifier, loading the corresponding picture group according to other picture group identifiers among the multiple picture group identifiers except the picture group identifier of the picture group where the first frame is located.

[0133] Optionally, in an embodiment of the present application, after obtaining the picture group identifier corresponding to the picture group where the first frame of the video object is located, the method may further include: displaying a payment page corresponding to the video object; receiving a user's payment operation through the payment page, and after determining that the payment operation is successful, loading the picture group where the first frame of the video object is located.

[0134] The solution provided in this embodiment is that if it is determined that the video object is loaded for the first time, the picture group identifier corresponding to the picture group where the first frame of the video object is located is obtained from the upper-level page corresponding to the current page used to play the video object, so that when the video object is loaded for the first time, the picture group where the first frame is located can be directly loaded according to the picture group identifier corresponding to the picture group where the first frame of the video object is located, and after the loading is completed, the video can be played according to the video frames in the loaded picture group, thereby improving the second opening rate of the video object, that is, improving the time from the user inputting the opening operation to the start of video playback, and after determining that the loading of the picture group where the first frame of the video object is located has been completed according to the obtained picture group identifier, other picture group identifiers other than the picture group where the first frame is located in the video object can continue to be obtained, and the corresponding picture groups can be loaded according to the other picture group identifiers, so that after playing according to the video frame of the picture group where the first frame is located, it can continue to play according to the video frames in other picture groups, thereby ensuring the smoothness of video playback and improving user experience.

[0135] The loading method of this embodiment can be executed by any appropriate mobile terminal with data processing capabilities, including but not limited to: mobile phones, iPads, PCs, clouds, etc.

[0136] Figure 6 This is a schematic diagram of the structure of the loading device in the sixth embodiment of the present application; the loading device in this embodiment is suitable for loading video objects, that is, it is a loading device for video objects.

[0137] like Figure 6 As shown, it includes: a picture group identification acquisition module 602 and a picture group loading module 604.

[0138] The picture group identification acquisition module 602 is used to acquire the picture group identification corresponding to the picture group where the first frame of the video object is located from the parent page corresponding to the current page used to play the video object if it is determined that the video object is loaded for the first time.

[0139] The picture group loading module 604 is used to obtain other picture group identifiers in the video object except the picture group where the first frame is located, and load the corresponding picture group according to the other picture group identifiers after determining that the loading of the picture group where the first frame of the video object is located has been completed according to the obtained picture group identifier.

[0140] Optionally, the picture group identifier acquisition module 602 includes: a transparent transmission module, used to obtain the picture group identifier corresponding to the picture group where the first frame of the video object is located, which is transparently transmitted by the upper-level page corresponding to the current page; or, an instruction module, used to send a calling instruction to the player through the upper-level page corresponding to the current page, wherein the calling instruction carries the picture group identifier corresponding to the picture group where the first frame of the video object is located; and obtain the picture group identifier carried in the calling instruction through the player.

[0141] Optionally, the device further comprises: a cache reading module, configured to read the video content of the video object from the cache space if it is determined that the video object is not loaded for the first time, and display the read content of the video object through the current page.

[0142] Optionally, the picture group identifier acquisition module 602 is further used to obtain multiple picture group identifiers corresponding to the video object from the cloud if the picture group identifier corresponding to the picture group where the first frame of the video object is located fails, and identify the picture group identifier corresponding to the picture group where the first frame of the video object is located from the multiple picture group identifiers; the picture group loading module 604 is further used to load the corresponding picture group according to other picture group identifiers among the multiple picture group identifiers except the picture group identifier of the picture group where the first frame of the video object is located after determining that the loading of the picture group where the first frame of the video object is located has been completed according to the obtained picture group identifier.

[0143] Optionally, the device also includes: a payment page display module, used to display the payment page corresponding to the video object; a picture group loading module 604, also used to receive the user's payment operation through the payment page, and after determining that the payment operation is successful, load the picture group where the first frame of the video object is located.

[0144] The solution provided in this embodiment is that if it is determined that the video object is loaded for the first time, the picture group identifier corresponding to the picture group where the first frame of the video object is located is obtained from the upper-level page corresponding to the current page used to play the video object, so that when the video object is loaded for the first time, the picture group where the first frame is located can be directly loaded according to the picture group identifier corresponding to the picture group where the first frame of the video object is located, and after the loading is completed, the video can be played according to the video frames in the loaded picture group, thereby improving the second opening rate of the video object, that is, improving the time from the user inputting the opening operation to the start of video playback, and after determining that the loading of the picture group where the first frame of the video object is located has been completed according to the obtained picture group identifier, other picture group identifiers other than the picture group where the first frame is located in the video object can continue to be obtained, and the corresponding picture groups can be loaded according to the other picture group identifiers, so that after playing according to the video frame of the picture group where the first frame is located, it can continue to play according to the video frames in other picture groups, thereby ensuring the smoothness of video playback and improving user experience.

[0145] The loading device of this embodiment can be any appropriate mobile terminal with data processing capabilities, including but not limited to: mobile phone, iPad, PC, cloud, etc.

[0146] Embodiment 7

[0147] Figure 7 It is a schematic diagram of the hardware structure of some electronic devices that execute the loading method of this application. Figure 7 As shown, the device includes:

[0148] Processor (processor) 702 , communication interface (Communications Interface) 704 , memory (memory) 706 , and communication bus 708 .

[0149] in:

[0150] The processor 702 , the communication interface 704 , and the memory 706 communicate with each other via a communication bus 708 .

[0151] The communication interface 704 is used to communicate with other terminal devices or servers.

[0152] The processor 702 is used to execute the program 710, and specifically can execute the relevant steps in the above-mentioned multi-instance task execution method embodiment.

[0153] Specifically, the program 710 may include program codes, which include computer operation instructions.

[0154] The processor 702 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention; the processor may also be a field programmable gate array (FPGA), a graphics processor (GPU), an embedded neural network processor (NPU), etc. The one or more processors included in the terminal device may be processors of the same type, such as one or more CPUs; or they may be processors of different types, such as one or more CPUs and one or more ASICs.

[0155] The memory 706 is used to store the program 710. The memory 706 may include a high-speed RAM memory, and may also include a non-volatile memory, such as at least one disk memory. The above-mentioned product can execute the method provided in the embodiment of the present application, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not described in detail in this embodiment, please refer to the method provided in the embodiment of the present application.

[0156] The electronic devices of the embodiments of the present application exist in various forms, including but not limited to:

[0157] (1) Mobile communication devices: These devices are characterized by their mobile communication functions and their main purpose is to provide voice and data communications. These terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.

[0158] (2) Ultra-mobile personal computer devices: These devices fall into the category of personal computers, have computing and processing capabilities, and generally also have mobile Internet access features. These terminals include: PDA, MID and UMPC devices, such as iPad.

[0159] (3) Portable entertainment devices: These devices can display and play multimedia content. They include audio and video players (such as iPods), handheld game consoles, e-books, as well as smart toys and portable car navigation devices.

[0160] (4) Other portable electronic devices with data interaction functions.

[0161] Thus far, specific embodiments of the subject matter have been described. Other embodiments are within the scope of the appended claims. In some cases, the actions recited in the claims may be performed in a different order and still achieve the desired results. Additionally, the processes depicted in the accompanying drawings do not necessarily require the specific order or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing may be advantageous.

[0162] In the 1990s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the method flow). However, with the development of technology, many improvements to the method flow today can be regarded as direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages ​​and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.

[0163] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.

[0164] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0165] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0166] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0167] The present application is described with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, and the combination of the process and / or box in the flowchart and / or block diagram can be realized by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for realizing the function specified in one process or multiple processes in the flowchart and / or one box or multiple boxes in the block diagram.

[0168] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0169] These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0170] In a typical configuration, a computing device includes one or more processors, input / output interfaces, network interfaces, and memory.

[0171] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0172] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0173] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0174] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0175] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific transactions or implement specific abstract data types. The present application may also be practiced in distributed computing environments where transactions are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0176] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0177] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A loading method, characterized in that: include: If it is determined that the reading object is loaded for the first time, obtaining the first chapter identifier of the reading object from the parent page corresponding to the current page for displaying the content of the reading object; After determining that the loading of the first chapter content corresponding to the first chapter identifier has been completed, the chapter identifiers of other chapters of the reading object except the first chapter are obtained, and the chapter contents of other chapters except the first chapter are loaded according to the chapter identifiers of the other chapters.

2. The method according to claim 1, characterized in that The step of obtaining the first chapter identifier of the reading object from the parent page corresponding to the current page for displaying the content of the reading object includes: Obtaining the first chapter identifier of the reading object transmitted from the parent page corresponding to the current page; or, A calling instruction is sent to a reader through an upper-level page corresponding to the current page, wherein the calling instruction carries a first chapter identifier of the reading object; and the reader obtains the first chapter identifier carried in the calling instruction.

3. The method according to claim 1, characterized in that The method further comprises: If the first chapter identifier of the reading object fails to be obtained, multiple chapter identifiers corresponding to the reading object are obtained from the cloud, and the first chapter identifier is identified from the multiple chapter identifiers; If it is determined that the loading of the first chapter content corresponding to the first chapter identifier has been completed, then the chapter contents of other chapters except the first chapter are loaded according to other chapter identifiers except the first chapter identifier among the multiple chapter identifiers.

4. The method according to any one of claims 1 to 3, characterized in that After loading the contents of the other chapters except the first chapter, the method further includes: Acquire and parse the chapter switching instruction input by the user to determine the target chapter information carried in the chapter switching instruction; According to the target chapter information, target chapter content corresponding to the target chapter information is determined from the chapter contents of other chapters except the first chapter, and the content displayed in the current page is switched to the target chapter content.

5. The method according to any one of claims 1 to 3, characterized in that The method further comprises: If it is determined that the reading object is not loaded for the first time, the content of the reading object is read from the cache space, and the read content of the reading object is displayed through the current page.

6. The method according to any one of claims 1 to 3, characterized in that After obtaining the first chapter identifier of the reading object, the method further includes: Displaying the payment page corresponding to the reading object; The user's payment operation is received through the payment page, and after determining that the payment operation is successful, the first chapter content corresponding to the first chapter identifier is loaded.

7. A loading device, characterized in that: include: A first chapter identification acquisition module is used to acquire the first chapter identification of the reading object from the parent page corresponding to the current page for displaying the content of the reading object if it is determined that the reading object is loaded for the first time; The chapter loading module is used to obtain the chapter identifiers of other chapters of the reading object except the first chapter after determining that the loading of the first chapter content corresponding to the first chapter identifier has been completed, and load the chapter content of other chapters except the first chapter according to the chapter identifiers of the other chapters.

8. A loading method, characterized in that: include: If it is determined that the video object is loaded for the first time, obtaining a picture group identifier corresponding to the picture group where the first frame of the video object is located from the parent page corresponding to the current page used to play the video object; After determining that the loading of the picture group where the first frame of the video object is located has been completed according to the obtained picture group identifier, obtain other picture group identifiers in the video object except the picture group where the first frame is located, and load the corresponding picture groups according to the other picture group identifiers.

9. A loading device, characterized in that: include: A picture group identifier acquisition module is used to acquire a picture group identifier corresponding to the picture group where the first frame of the video object is located from a parent page corresponding to a current page used to play the video object if it is determined that the video object is loaded for the first time; The picture group loading module is used to obtain other picture group identifiers in the video object except the picture group where the first frame is located, after determining that the loading of the picture group where the first frame of the video object is located has been completed according to the obtained picture group identifier, and load the corresponding picture groups according to the other picture group identifiers.

10. An electronic device comprising: A processor, a memory, a communication interface, and a communication bus, wherein the processor, the memory, and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute an operation corresponding to the loading method according to any one of claims 1 to 6 and claim 8.

11. A computer storage medium storing a computer program, wherein when the program is executed by a processor, the loading method according to any one of claims 1 to 6 and claim 8 is implemented.

Citation Information

Patent Citations

  • Loading method and loading device of EPub electronic book

    CN102521280A

  • Wireless txt reader and reading method

    CN107807955A