CN113672330A - E-book-based media resource page display method and computing equipment - Google Patents
E-book-based media resource page display method and computing equipment Download PDFInfo
- Publication number
- CN113672330A CN113672330A CN202110961302.5A CN202110961302A CN113672330A CN 113672330 A CN113672330 A CN 113672330A CN 202110961302 A CN202110961302 A CN 202110961302A CN 113672330 A CN113672330 A CN 113672330A
- Authority
- CN
- China
- Prior art keywords
- resource
- container
- page
- media
- media resource
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a media resource page display method based on an electronic book and computing equipment. The method comprises the following steps: creating a media resource page, and adding a plurality of resource containers in the media resource page; requesting container configuration information corresponding to each resource container from a server; sending a media resource acquisition request to a corresponding media resource platform according to the container configuration information; and loading the media resources returned by the media resource platform responding to the media resource acquisition request through the resource container added in the media resource page, and displaying the media resource page on the e-book reading interface. According to the scheme, the exposure of the media resources is greatly increased by adding the plurality of resource containers in the media resource page, so that the occurrence frequency of the media resource page can be effectively reduced under the condition that the exposure of the media resources is enough, a user can turn pages to the media resource page as few as possible when reading an electronic book, and the reading experience of the user is improved.
Description
Technical Field
The invention relates to the technical field of computers, in particular to a media resource page display method and computing equipment based on an electronic book.
Background
In recent years, due to the rapid development of digital technology, digital electronic books have become the target of the future development of publishers, and the habit of reading electronic books is promoted to meet the trend of environmental protection.
At present, a media resource page is displayed on an electronic book reading interface when a user reads an electronic book, a resource container is arranged on the media resource page of the electronic book, a client requests a media resource when the user reads the electronic book to turn pages, the media resource is loaded into the resource container after the media resource request is successful, so that the media resource is required to be frequently requested, and in order to meet the exposure requirement of the corresponding media resource, the media resource page is required to be frequently displayed during the reading of the electronic book by the user, so that the reading experience of the user is reduced, and the retention rate of the user can be influenced.
Disclosure of Invention
In view of the above, the present invention is proposed to provide a method and a computing device for presenting pages of media assets based on electronic books that overcome or at least partially solve the above problems.
According to one aspect of the invention, a method for displaying media resource pages based on electronic books is provided, which comprises the following steps:
creating a media resource page, and adding a plurality of resource containers in the media resource page;
requesting container configuration information corresponding to each resource container from a server;
sending a media resource acquisition request to a corresponding media resource platform according to the container configuration information;
and loading the media resources returned by the media resource platform responding to the media resource acquisition request through the resource container added in the media resource page, and displaying the media resource page on the e-book reading interface.
According to another aspect of the present invention, there is provided a computing device comprising: the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the following operations:
creating a media resource page, and adding a plurality of resource containers in the media resource page;
requesting container configuration information corresponding to each resource container from a server;
sending a media resource acquisition request to a corresponding media resource platform according to the container configuration information;
and loading the media resources returned by the media resource platform responding to the media resource acquisition request through the resource container added in the media resource page, and displaying the media resource page on the e-book reading interface.
According to another aspect of the present invention, a computer storage medium is provided, where at least one executable instruction is stored in the storage medium, and the executable instruction causes a processor to perform operations corresponding to the method for presenting pages of media resources based on electronic books as described above.
According to the scheme provided by the invention, the exposure of the media resources is greatly increased by adding the plurality of resource containers in the media resource page, so that the occurrence frequency of the media resource page can be effectively reduced under the condition of ensuring that the exposure of the media resources is enough, a user can turn pages to the media resource page as few as possible when reading an electronic book, and the reading experience of the user is improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flowchart illustrating a method for presenting pages of a media asset based on an electronic book according to an embodiment of the present invention;
FIG. 2A is a flowchart illustrating a method for presenting pages of electronic book-based media assets according to another embodiment of the invention;
FIG. 2B is a diagram of a media asset page when loading of a portion of the media asset fails;
FIG. 2C is a diagram illustrating a media resource page when a plurality of media resources are loaded successfully;
FIG. 3 shows a schematic structural diagram of a computing device according to one embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
Fig. 1 is a flowchart illustrating a method for presenting a media resource page based on an electronic book according to an embodiment of the present invention. As shown in fig. 1, the method comprises the steps of:
step S101, a media resource page is created, and a plurality of resource containers are added to the media resource page.
The method for displaying media resource pages based on electronic books provided by the embodiment can be executed by a client, and the client supports electronic book reading.
Specifically, when a user wants to read an electronic book, the user may log in the client and enter an electronic book reading interface to read the electronic book, and in the process of reading the electronic book, the client may show media resources to the user, specifically, the client needs to create a media resource page, add a plurality of resource containers in the media resource page, and show more media resources to the user by adding the plurality of resource containers in the media resource page, where the resource containers are used to load the media resources, and the resource containers are a frame structure for realizing media resource display. Here, a media asset may be used to present various types of media information, such as advertisements, pictures, videos, texts, etc., or may represent various types of interfaces for accessing the media information.
Step S102, the server is requested for the container configuration information corresponding to each resource container.
The container configuration information specifies a source of the media resource loaded by the resource container, for example, the container configuration information includes an association relationship between the resource container information and the media resource platform information, where the container configuration information of each resource container is pre-stored in the server, and therefore, before the client displays the media resource page, the client needs to acquire the container configuration information corresponding to each resource container, for example, the client may send a container configuration information acquisition request to the server, and the server returns the container configuration information corresponding to each resource container to the client after receiving the container configuration information acquisition request sent by the client.
Step S103, according to the container configuration information, sending a media resource acquisition request to the corresponding media resource platform.
The container configuration information specifies a source of the media resources loaded by the resource containers, so that after the container configuration information returned by the server is acquired, the client can send a media resource acquisition request to the corresponding media resource platform according to the container configuration information to request to determine the media resources required to be loaded by each resource container. The media resource platform is mainly a platform for providing media resources, and different resource containers have different media resources to be loaded, so that the media resource platform may send a media resource acquisition request to different media resource platforms, or may send a media resource acquisition request to the same media resource platform.
And step S104, loading the media resources returned by the media resource platform responding to the media resource acquisition request through the resource container added in the media resource page, and displaying the media resource page on the e-book reading interface.
After receiving the media resources returned by the media resource platform in response to the media resource acquisition request, the client can load the acquired media resources through the resource containers added in the media resource page, finally generate a media resource page containing the media resources through loading the media resources through the resource containers, and display the media resource page on the e-book reading interface, so that the exposure of the media resources is realized, and a user can view more media resources through the media resource page displayed on the e-book reading interface.
According to the scheme provided by the embodiment of the invention, the exposure of the media resources is greatly increased by adding the plurality of resource containers in the media resource page, so that the occurrence frequency of the media resource page can be effectively reduced under the condition of ensuring that the exposure of the media resources is enough, a user can turn pages to the media resource page as few as possible when reading an electronic book, and the reading experience of the user is improved; in addition, the times of requesting the media resources by the client are reduced, and the pressure of the server is reduced.
Fig. 2A is a flowchart illustrating a method for presenting a media resource page based on an electronic book according to another embodiment of the present invention. As shown in fig. 2A, the method includes the steps of:
step S201, creating a media resource page, and adding a plurality of resource containers in the media resource page.
Specifically, when a user wants to read an electronic book, the user may log in the client and enter the electronic book reading interface to read the electronic book, after the electronic book reading interface is loaded, the user may see contents of the electronic book, during the process of reading the electronic book, the client may present media resources to the user, specifically, the client creates a media resource page, the created media resource page is not added to the electronic book reading interface, so the user cannot see the media resource page, after the media resource page is created, in order to present more media resources to the user through the media resource page, a plurality of resource containers need to be added to the media resource page, wherein each resource container is used for presenting corresponding media resources, the resource containers are frame structures for implementing presentation of the media resources, and the size of each resource container can be set according to actual needs, the plurality of resource containers may be the same size or different sizes.
Specifically, each resource container includes: the system comprises a plurality of layout containers, a plurality of View groups and a plurality of View controls, wherein the layout containers are used for controlling the display positions of the View controls, and the View controls are used for loading media resources. For example, pictures in the media resources may be loaded and displayed by ImageView, and titles in the media resources may be loaded and displayed by TextView, which is only an example, and for different contents in the media resources, there are also corresponding views loaded and displayed, for example, video contents, description information, and media resource platform logo in the media resources.
Step S202, the server is requested for the container configuration information corresponding to each resource container, and the server is requested for the page configuration information corresponding to the media resource page.
The container configuration information specifies the source of the media resource loaded by the resource container, i.e. to which media resource platform the media resource should be requested, and for example, the container configuration information includes: the container response scope and the association relationship between the resource container information and the media resource platform information, for example, resource container 1-media resource platform 1, resource container 2-media resource platform 3. The container configuration information of each resource container is pre-stored in the server, so that the client needs to obtain the container configuration information corresponding to each resource container before displaying the media resource page, for example, the client may send a container configuration information obtaining request to the server, and the server returns the container configuration information corresponding to each resource container to the client after receiving the container configuration information obtaining request sent by the client. Specifically, the server side makes the following settings to support the container configuration information corresponding to the request resource container: the server is provided with a plurality of resource bits, one resource bit corresponds to one resource container added in the media resource page, and the management end can perform corresponding configuration on each resource bit, so that the server can store container configuration information corresponding to each resource container.
In this embodiment, in order to avoid too many media resource pages being displayed to the user and affecting the reading experience of the user, the server pre-configures page configuration information for displaying the media resource pages, where the page configuration information specifies when the media resource pages are displayed on the e-book reading interface, and for example, the page configuration information is: when the number of pages turned by the e-book reaches 15 pages, a media resource page is displayed once, and the 15 pages are the preset page turning threshold, which is only an example and does not have any limiting function. Therefore, after the media resource page is created, the client needs to send a page configuration information acquisition request to the server to acquire page configuration information corresponding to the media resource page from the server, and after receiving the page configuration information acquisition request, the server queries corresponding page configuration information and returns the queried page configuration information to the client.
The container response range refers to an area range in which the resource container can respond to the page trigger operation, and is an area range available for the user to operate, and when the operation position of the page trigger operation is not in the container response range, the resource container does not respond any more. Wherein, the container response range can be flexibly configured by those skilled in the art according to actual needs, for example, the container response range of each resource container includes: the coverage area of the resource container and the blank area with the preset size on the periphery of the resource container; alternatively, the container response scope of the specified resource container of the plurality of resource containers includes: the coverage of the resource container and the blank area of the media resource page; the container response ranges for other resource containers include: coverage of resource containers.
The coverage area of the resource container is the area covered by the resource container, and the size of the coverage area of the resource container depends on the size of the resource container, and can be flexibly configured by those skilled in the art according to actual needs.
The blank area refers to an area of the media resource page except for a coverage of the resource container, in this embodiment, the blank area of the media resource page may be divided into a plurality of areas by combining the coverage of the resource container and the number of the resource containers, and a container response range of each resource container includes: when a user clicks on the blank area, it is regarded as an operation on a media resource loaded by the resource container having trigger association with the blank area, for example, when the user clicks on the blank area around the media resource a, it is regarded as clicking on the media resource a; when the user clicks the blank area around the media resource b, the media resource b is regarded as being clicked; in addition, the blank area in the media resource page may be associated with the specified resource container in a triggering manner, where the blank area in the media resource page is not divided, but the whole blank area is associated with the specified resource container, and the response range of other resource containers is the coverage range of the resource container and does not include the blank area.
Step S203, according to the container configuration information, sending a media resource acquisition request to the corresponding media resource platform.
The container configuration information specifies a source of the media resources loaded by the resource containers, so that after the container configuration information returned by the server is acquired, the client can send a media resource acquisition request to the corresponding media resource platform according to the container configuration information to request to determine the media resources required to be loaded by each resource container. The media resource platform is mainly a platform for providing media resources, and different resource containers have different media resources to be loaded, so that the media resource platform may send a media resource acquisition request to different media resource platforms, or may send a media resource acquisition request to the same media resource platform.
Step S204, media resources returned by the media resource platform responding to the media resource acquisition request are loaded through the resource container added in the media resource page.
After receiving the media resources returned by the media resource platform in response to the media resource acquisition request, the client can load the acquired media resources through the resource container added in the media resource page, and finally generate the media resource page containing the media resources by loading the media resources through the resource container.
In an optional embodiment of the present invention, it is likely that the resource container cannot successfully load the media resource returned by the media resource platform, and therefore, the method further includes: if any resource container fails to load the media resource, the resource container loads the preset media resource, fig. 2B is a schematic diagram of a media resource page when part of the media resource fails to load, in fig. 2B, the resource container 1 successfully loads the media resource 1, the resource container 3 successfully loads the media resource 3, and the resource container 2 fails to load the media resource 2, at this time, the resource container 2 may load the preset media resource, where the preset media resource may be locally stored by the client, or requested by the client from the server, and the preset media resource may be an advertisement, a picture, a video, a text, and the like.
Step S205, monitoring page turning operation of the electronic book, and judging whether the page turning number of the electronic book is greater than or equal to a preset page turning threshold value in the page configuration information; if yes, go to step S206.
The client monitors the page turning operation of the electronic book executed by a user in real time, counts the page turning number of the electronic book according to the executed page turning operation of the electronic book, compares the page turning number of the electronic book with a preset page turning threshold value in page configuration information, and if the page turning number of the electronic book is greater than or equal to the preset page turning threshold value in the page configuration information, the media resource page display condition can be determined to be met, and the media resource page can be displayed on an electronic book reading interface; if the page turning number of the electronic book is smaller than the preset page turning threshold value in the page configuration information, determining that the page display condition of the media resource page is not met, and continuously monitoring the page turning operation of the electronic book.
Step S206, displaying the media resource page on the e-book reading interface.
And under the condition that the number of the pages of the electronic book is judged to be greater than or equal to the preset page turning threshold value in the page configuration information, displaying the media resource page on the electronic book reading interface, so that the exposure of the media resource is realized, and a user can view more media resources through the media resource page displayed on the electronic book reading interface. Fig. 2C is a schematic diagram of a media resource page when all of a plurality of media resources are successfully loaded, and in fig. 2C, the media resource page successfully loads and shows three media resources, which are respectively a media resource 1, a media resource 2, and a media resource 3.
By adding the plurality of resource containers in the media resource page, the exposure of the media resources is greatly increased, so that the frequency of the media resource page can be effectively reduced under the condition of ensuring that the exposure of the media resources is enough, a user can turn pages to the media resource page as few as possible when reading an electronic book, and the reading experience of the user is improved.
For example, in the prior art, a media resource page shows a media resource, and if more media resources are required to be shown, the media resource page needs to be frequently shown on an e-book reading interface, so that a user may have one media resource page every few pages of the user, which affects reading experience. However, with the method provided in this embodiment, by adding a plurality of resource containers, for example, 3 resource containers, to one media resource page, 3 media resources can be loaded and displayed, and the exposure of the media resources can be theoretically increased by 3 times according to the occurrence frequency of the original media resources. In addition, even if a certain resource container fails to load the media resource successfully, and the media resources in the remaining resource containers are loaded successfully, the media resource is exposed correspondingly, and the benefit brought by the exposure of the media resource can be guaranteed. At the moment, even if the occurrence frequency of the media resources is reduced by one time, the exposure of the media resources can be theoretically improved by 1.5 times compared with the original exposure, and meanwhile, the user can turn to the media resource page as few as possible, so that the reading experience is improved.
After the media resource page is displayed on the e-book reading interface, a plurality of media resources displayed on the media resource page are marked as being exposed, so that the same media resources are prevented from being repeatedly exposed.
Step S207, in response to the page triggering operation with the operation position coordinates, matching the operation position coordinates with the container response ranges of the resource containers to determine the media resources corresponding to the page triggering operation.
After the e-book reading page displays the media resource page, if the user wants to further know the resource content of the media resource, the user may perform a corresponding page triggering operation on the media resource page, for example, a click operation, the client may obtain an operation position coordinate corresponding to the page triggering operation through a triggering event, in response to the page triggering operation, the client matches the operation position coordinate with a container response range of each resource container to determine which container response range of the resource container the operation position coordinate falls into, and may determine the media resource corresponding to the page triggering operation through the matching, where the media resource loaded by the resource container corresponding to the container response range in which the operation position coordinate falls is the media resource corresponding to the page triggering operation.
For example, the plurality of resource containers are resource container 1-resource container 3, respectively, and the blank area of the media resource page is associated with resource container 1, that is, the container response range of resource container 1 includes: the coverage of the resource container 1 and the blank area of the media resource page; the container response range of the resource container 2 includes: coverage of resource container 2; the container response range of the resource container 3 includes: the method comprises the steps that the resource container 3 covers a range, the resource container 1 loads a media resource 1, the resource container 2 loads a media resource 2, the resource container 3 loads a media resource 3, if a user clicks a blank area of a media resource page, a client can obtain an operation position coordinate clicked by the user, the operation position coordinate is determined to fall into the range of the blank area through a coordinate matching mode, and due to the fact that trigger correlation is set, the trigger operation of the user on the blank area is regarded as the trigger operation of the user on the media resource 1 loaded by the resource container 1.
And step S208, performing page jump processing according to the jump address corresponding to the determined media resource.
After the media resource corresponding to the page triggering operation is determined, page skipping processing can be performed according to the skipping address corresponding to the media resource, and resource content of the corresponding media resource is displayed to a user.
According to the scheme provided by the embodiment of the invention, the exposure of the media resources is greatly increased by adding the plurality of resource containers in the media resource page, so that the occurrence frequency of the media resource page can be effectively reduced under the condition of ensuring that the exposure of the media resources is enough, a user can turn pages to the media resource page as few as possible when reading an electronic book, and the reading experience of the user is improved.
The embodiment of the invention also provides a nonvolatile computer storage medium, wherein the computer storage medium stores at least one executable instruction, and the computer executable instruction can execute the method for displaying the media resource page based on the electronic book in any method embodiment.
The executable instructions may be specifically configured to cause the processor to:
creating a media resource page, and adding a plurality of resource containers in the media resource page;
requesting container configuration information corresponding to each resource container from a server;
sending a media resource acquisition request to a corresponding media resource platform according to the container configuration information;
and loading the media resources returned by the media resource platform responding to the media resource acquisition request through the resource container added in the media resource page, and displaying the media resource page on the e-book reading interface.
In an alternative embodiment, the executable instructions further cause the processor to:
requesting page configuration information corresponding to the media resource page from a server;
monitoring page turning operation of the electronic book, and judging whether the page turning number of the electronic book is greater than or equal to a preset page turning threshold value in the page configuration information;
and if so, displaying the media resource page on the e-book reading interface.
In an alternative embodiment, the container configuration information comprises: a container response range;
the executable instructions further cause the processor to: responding to the page triggering operation with the operation position coordinates, and matching the operation position coordinates with the container response ranges of all the resource containers to determine the media resources corresponding to the page triggering operation;
and performing page jump processing according to the jump address corresponding to the determined media resource.
In an alternative embodiment, the container response range for each resource container comprises: the coverage area of the resource container and a blank area with preset size at the periphery of the resource container.
In an alternative embodiment, the container response scope for a given resource container of the plurality of resource containers comprises: the coverage of the resource container and the blank area of the media resource page; the container response ranges for other resource containers include: coverage of resource containers.
In an alternative embodiment, the executable instructions further cause the processor to:
if the loading of the media resource by any resource container fails, the resource container loads a preset media resource.
In an alternative embodiment, the container configuration information further comprises: and the incidence relation between the resource container information and the media resource platform information.
In an alternative embodiment, the resource container includes: the media resource management system comprises a plurality of layout containers and a plurality of view controls, wherein the layout containers are used for controlling the display positions of the view controls, and the view controls are used for loading media resources.
Fig. 3 is a schematic structural diagram of a computing device according to an embodiment of the present invention, and the specific embodiment of the present invention does not limit the specific implementation of the computing device.
As shown in fig. 3, the computing device may include: a processor (processor)302, a communication Interface 304, a memory 306, and a communication bus 308.
Wherein: the processor 302, communication interface 304, and memory 306 communicate with each other via a communication bus 308.
A communication interface 304 for communicating with network elements of other devices, such as clients or other servers.
The processor 302 is configured to execute the program 310, and may specifically perform relevant steps in the above-described method for displaying a media resource page based on an electronic book.
In particular, program 310 may include program code comprising computer operating instructions.
The processor 302 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement an embodiment of the present invention. The computing device includes one or more processors, which may be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
And a memory 306 for storing a program 310. Memory 306 may comprise high-speed RAM memory and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 310 may specifically be configured to cause the processor 302 to perform the following operations:
creating a media resource page, and adding a plurality of resource containers in the media resource page;
requesting container configuration information corresponding to each resource container from a server;
sending a media resource acquisition request to a corresponding media resource platform according to the container configuration information;
and loading the media resources returned by the media resource platform responding to the media resource acquisition request through the resource container added in the media resource page, and displaying the media resource page on the e-book reading interface.
In an alternative embodiment, the program 310 further causes the processor 302 to:
requesting page configuration information corresponding to the media resource page from a server;
monitoring page turning operation of the electronic book, and judging whether the page turning number of the electronic book is greater than or equal to a preset page turning threshold value in the page configuration information;
and if so, displaying the media resource page on the e-book reading interface.
In an alternative embodiment, the container configuration information comprises: a container response range;
the program 310 further causes the processor 302 to: responding to the page triggering operation with the operation position coordinates, and matching the operation position coordinates with the container response ranges of all the resource containers to determine the media resources corresponding to the page triggering operation;
and performing page jump processing according to the jump address corresponding to the determined media resource.
In an alternative embodiment, the container response range for each resource container comprises: the coverage area of the resource container and a blank area with preset size at the periphery of the resource container.
In an alternative embodiment, the container response scope for a given resource container of the plurality of resource containers comprises: the coverage of the resource container and the blank area of the media resource page; the container response ranges for other resource containers include: coverage of resource containers.
In an alternative embodiment, the program 310 further causes the processor 302 to:
if the loading of the media resource by any resource container fails, the resource container loads a preset media resource.
In an alternative embodiment, the container configuration information further comprises: and the incidence relation between the resource container information and the media resource platform information.
In an alternative embodiment, the resource container includes: the media resource management system comprises a plurality of layout containers and a plurality of view controls, wherein the layout containers are used for controlling the display positions of the view controls, and the view controls are used for loading media resources.
The algorithms or displays presented herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. In addition, embodiments of the present invention are not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the embodiments of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the invention and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names. The steps in the above embodiments should not be construed as limiting the order of execution unless specified otherwise.
The invention discloses: A1. a media resource page display method based on an electronic book comprises the following steps:
creating a media resource page, and adding a plurality of resource containers in the media resource page;
requesting container configuration information corresponding to each resource container from a server;
sending a media resource acquisition request to a corresponding media resource platform according to the container configuration information;
and loading the media resources returned by the media resource platform responding to the media resource acquisition request through a resource container added in the media resource page, and displaying the media resource page on an electronic book reading interface.
A2. The method of a1, wherein the method further comprises:
requesting page configuration information corresponding to the media resource page from a server;
monitoring page turning operation of the electronic book, and judging whether the page turning number of the electronic book is greater than or equal to a preset page turning threshold value in the page configuration information;
and if so, displaying the media resource page on an electronic book reading interface.
A3. The method of a1 or a2, wherein the container configuration information includes: a container response range;
the method further comprises the following steps: responding to a page triggering operation carrying an operation position coordinate, and matching the operation position coordinate with a container response range of each resource container to determine a media resource corresponding to the page triggering operation;
and performing page jump processing according to the jump address corresponding to the determined media resource.
A4. The method of a3, wherein the container response scope for each resource container includes: the coverage area of the resource container and a blank area with preset size at the periphery of the resource container.
A5. The method of a3, wherein the container response scope for a given resource container of the plurality of resource containers comprises: the coverage of the resource container and the blank area of the media resource page; the container response ranges for other resource containers include: coverage of resource containers.
A6. The method of any one of a1-a5, wherein the method further comprises:
if the loading of the media resource by any resource container fails, the resource container loads a preset media resource.
A7. The method of any of a1-a6, wherein the container configuration information further comprises: and the incidence relation between the resource container information and the media resource platform information.
A8. The method of any of a1-a7, wherein the resource container comprises: the media resource management system comprises a plurality of layout containers and a plurality of view controls, wherein the layout containers are used for controlling the display positions of the view controls, and the view controls are used for loading media resources.
B9. A computing device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is configured to store at least one executable instruction that causes the processor to:
creating a media resource page, and adding a plurality of resource containers in the media resource page;
requesting container configuration information corresponding to each resource container from a server;
sending a media resource acquisition request to a corresponding media resource platform according to the container configuration information;
and loading the media resources returned by the media resource platform responding to the media resource acquisition request through a resource container added in the media resource page, and displaying the media resource page on an electronic book reading interface.
B10. The computing device of B9, wherein the executable instructions further cause the processor to:
requesting page configuration information corresponding to the media resource page from a server;
monitoring page turning operation of the electronic book, and judging whether the page turning number of the electronic book is greater than or equal to a preset page turning threshold value in the page configuration information;
and if so, displaying the media resource page on an electronic book reading interface.
B11. The computing device of B9 or B10, wherein the container configuration information includes: a container response range;
the executable instructions further cause the processor to: responding to a page triggering operation carrying an operation position coordinate, and matching the operation position coordinate with a container response range of each resource container to determine a media resource corresponding to the page triggering operation;
and performing page jump processing according to the jump address corresponding to the determined media resource.
B12. The computing device of B11, wherein the container response scope for each resource container includes: the coverage area of the resource container and a blank area with preset size at the periphery of the resource container.
B13. The computing device of B11, wherein the container response scope for a given resource container of the plurality of resource containers comprises: the coverage of the resource container and the blank area of the media resource page; the container response ranges for other resource containers include: coverage of resource containers.
B14. The computing device of any one of B9-B13, wherein the executable instructions further cause the processor to:
if the loading of the media resource by any resource container fails, the resource container loads a preset media resource.
B15. The computing device of any of B9-B14, wherein the container configuration information further includes: and the incidence relation between the resource container information and the media resource platform information.
B16. The computing device of any one of B9-B15, wherein the resource container includes: the media resource management system comprises a plurality of layout containers and a plurality of view controls, wherein the layout containers are used for controlling the display positions of the view controls, and the view controls are used for loading media resources.
C17. A computer storage medium having stored therein at least one executable instruction that causes a processor to perform operations corresponding to the method for presenting pages of media assets based on electronic books as described in any one of a 1-A8.
Claims (10)
1. A media resource page display method based on an electronic book comprises the following steps:
creating a media resource page, and adding a plurality of resource containers in the media resource page;
requesting container configuration information corresponding to each resource container from a server;
sending a media resource acquisition request to a corresponding media resource platform according to the container configuration information;
and loading the media resources returned by the media resource platform responding to the media resource acquisition request through a resource container added in the media resource page, and displaying the media resource page on an electronic book reading interface.
2. The method of claim 1, wherein the method further comprises:
requesting page configuration information corresponding to the media resource page from a server;
monitoring page turning operation of the electronic book, and judging whether the page turning number of the electronic book is greater than or equal to a preset page turning threshold value in the page configuration information;
and if so, displaying the media resource page on an electronic book reading interface.
3. The method according to claim 1 or 2, wherein the container configuration information comprises: a container response range;
the method further comprises the following steps: responding to a page triggering operation carrying an operation position coordinate, and matching the operation position coordinate with a container response range of each resource container to determine a media resource corresponding to the page triggering operation;
and performing page jump processing according to the jump address corresponding to the determined media resource.
4. The method of claim 3, wherein the container response scope for each resource container comprises: the coverage area of the resource container and a blank area with preset size at the periphery of the resource container.
5. The method of claim 3, wherein the container response scope for a given resource container of the plurality of resource containers comprises: the coverage of the resource container and the blank area of the media resource page; the container response ranges for other resource containers include: coverage of resource containers.
6. The method according to any one of claims 1-5, wherein the method further comprises:
if the loading of the media resource by any resource container fails, the resource container loads a preset media resource.
7. The method of any of claims 1-6, wherein the container configuration information further comprises: and the incidence relation between the resource container information and the media resource platform information.
8. The method of any of claims 1-7, wherein the resource container comprises: the media resource management system comprises a plurality of layout containers and a plurality of view controls, wherein the layout containers are used for controlling the display positions of the view controls, and the view controls are used for loading media resources.
9. A computing device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is configured to store at least one executable instruction that causes the processor to:
creating a media resource page, and adding a plurality of resource containers in the media resource page;
requesting container configuration information corresponding to each resource container from a server;
sending a media resource acquisition request to a corresponding media resource platform according to the container configuration information;
and loading the media resources returned by the media resource platform responding to the media resource acquisition request through a resource container added in the media resource page, and displaying the media resource page on an electronic book reading interface.
10. A computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to perform operations corresponding to the method for presenting pages of media assets based on electronic books according to any one of claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110961302.5A CN113672330A (en) | 2021-08-20 | 2021-08-20 | E-book-based media resource page display method and computing equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110961302.5A CN113672330A (en) | 2021-08-20 | 2021-08-20 | E-book-based media resource page display method and computing equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113672330A true CN113672330A (en) | 2021-11-19 |
Family
ID=78544576
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110961302.5A Pending CN113672330A (en) | 2021-08-20 | 2021-08-20 | E-book-based media resource page display method and computing equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113672330A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130239020A1 (en) * | 2012-03-12 | 2013-09-12 | Samsung Electronics Co., Ltd. | Electronic-book system and method for sharing additional page information thereof |
CN109725959A (en) * | 2018-05-08 | 2019-05-07 | 平安普惠企业管理有限公司 | Response method, display equipment and the computer readable storage medium of page control |
CN109858962A (en) * | 2019-01-23 | 2019-06-07 | 掌阅科技股份有限公司 | Advertisement display method and electronic equipment based on e-book |
CN111460346A (en) * | 2020-03-30 | 2020-07-28 | 网易(杭州)网络有限公司 | Content auditing method and device, electronic equipment and storage medium |
CN111611037A (en) * | 2020-05-09 | 2020-09-01 | 掌阅科技股份有限公司 | View object processing method for electronic book, electronic device and storage medium |
CN112200614A (en) * | 2020-10-16 | 2021-01-08 | 广州华多网络科技有限公司 | Advertisement text implanting and displaying method and corresponding device, equipment and medium |
CN112506399A (en) * | 2020-12-04 | 2021-03-16 | 掌阅科技股份有限公司 | Information publishing method of book reading page, computing device and storage medium |
CN112711372A (en) * | 2020-12-28 | 2021-04-27 | 掌阅科技股份有限公司 | Page response method in visual impairment mode, computing device and computer storage medium |
-
2021
- 2021-08-20 CN CN202110961302.5A patent/CN113672330A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130239020A1 (en) * | 2012-03-12 | 2013-09-12 | Samsung Electronics Co., Ltd. | Electronic-book system and method for sharing additional page information thereof |
CN109725959A (en) * | 2018-05-08 | 2019-05-07 | 平安普惠企业管理有限公司 | Response method, display equipment and the computer readable storage medium of page control |
CN109858962A (en) * | 2019-01-23 | 2019-06-07 | 掌阅科技股份有限公司 | Advertisement display method and electronic equipment based on e-book |
CN111460346A (en) * | 2020-03-30 | 2020-07-28 | 网易(杭州)网络有限公司 | Content auditing method and device, electronic equipment and storage medium |
CN111611037A (en) * | 2020-05-09 | 2020-09-01 | 掌阅科技股份有限公司 | View object processing method for electronic book, electronic device and storage medium |
CN112200614A (en) * | 2020-10-16 | 2021-01-08 | 广州华多网络科技有限公司 | Advertisement text implanting and displaying method and corresponding device, equipment and medium |
CN112506399A (en) * | 2020-12-04 | 2021-03-16 | 掌阅科技股份有限公司 | Information publishing method of book reading page, computing device and storage medium |
CN112711372A (en) * | 2020-12-28 | 2021-04-27 | 掌阅科技股份有限公司 | Page response method in visual impairment mode, computing device and computer storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9773069B2 (en) | Pre-fetching of network page content in a browser application | |
CN104036011B (en) | Webpage element display method and browser device | |
US9507480B1 (en) | Interface optimization application | |
CN104145270A (en) | Foreign language translation using product information | |
CN112711372B (en) | Page response method in visual impairment mode, computing device and computer storage medium | |
US11579902B2 (en) | User interface rendering performance | |
CN110515631B (en) | Method for generating application installation data packet, server and computer storage medium | |
US9503551B2 (en) | Hybrid native networked applications | |
CN111367518B (en) | Page layout method, page layout device, computing equipment and computer storage medium | |
US8707334B2 (en) | Computer system event detection and targeted assistance | |
CN110889073B (en) | Page request response method, server and computer storage medium | |
CN111783015A (en) | Display method of shared display elements in page, electronic equipment and storage medium | |
CN104951287A (en) | Method and device for generating webpage | |
US20170213256A1 (en) | Providing advertisements using dynamic slot-size-compatible style definitions | |
CN113377722A (en) | Resource data reading method and device and storage medium | |
CN110750744A (en) | Page presentation method and device | |
CN113722626A (en) | Material concurrent request processing method, computing device and storage medium | |
CN111444448B (en) | Data processing method, server and system | |
US10140651B1 (en) | Displaying item information relative to selection regions of an item image | |
CN113672330A (en) | E-book-based media resource page display method and computing equipment | |
CN113656549B (en) | Content searching method of electronic book, electronic device and computer storage medium | |
CN108062224B (en) | Data reading and writing method and device based on file handle and computing equipment | |
CN111445274A (en) | Configurable packaging method and device based on advertisement platform and computing equipment | |
CN113721814B (en) | Electronic book page display method, computing equipment and computer storage medium | |
US11651143B2 (en) | Information processing apparatus, system, information processing method, and computer-readable storage medium for storing programs |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |