CN114138961A - Playing processing method of audio electronic book, computing equipment and computer storage medium - Google Patents

Playing processing method of audio electronic book, computing equipment and computer storage medium Download PDF

Info

Publication number
CN114138961A
CN114138961A CN202111448509.9A CN202111448509A CN114138961A CN 114138961 A CN114138961 A CN 114138961A CN 202111448509 A CN202111448509 A CN 202111448509A CN 114138961 A CN114138961 A CN 114138961A
Authority
CN
China
Prior art keywords
playing
browser
electronic book
user
running environment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111448509.9A
Other languages
Chinese (zh)
Inventor
林要强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhangyue Technology Co Ltd
Original Assignee
Zhangyue Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhangyue Technology Co Ltd filed Critical Zhangyue Technology Co Ltd
Priority to CN202111448509.9A priority Critical patent/CN114138961A/en
Publication of CN114138961A publication Critical patent/CN114138961A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/332Query formulation
    • G06F16/3329Natural language query formulation or dialogue systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/3331Query processing
    • G06F16/334Query execution
    • G06F16/3343Query execution using phonetics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/338Presentation of query results

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Artificial Intelligence (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Acoustics & Sound (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a playing processing method of a sound electronic book, a computing device and a computer storage medium. The method comprises the following steps: collecting browser running environment information corresponding to a browser currently used by a user; matching the browser running environment information with the incompatible browser running environment information recorded in the preset incompatible configuration file; and if the audio electronic book is matched with the browser, responding to an audio electronic book playing request sent by a user through the browser, acquiring a historical playing progress, calling a playing component compatible code, operating the playing component compatible code, and playing the audio electronic book according to the historical playing progress. According to the method and the device, under the condition that the playing component is determined to be incompatible with the browser used by the user at present, the playing component compatible code is called and operated, and the audio electronic book is played according to the historical playing progress, so that the user can continue listening to the book from the position where the playing is finished at the last time without listening again from the beginning, the webpage listening experience of the user is improved, and the user loss is avoided.

Description

Playing processing method of audio electronic book, computing equipment and computer storage medium
Technical Field
The invention relates to the technical field of computers, in particular to a playing processing method of a sound electronic book, a computing device and a computer storage medium.
Background
With the development of technology, more and more electronic books are converted into audio electronic books, so that a user can acquire electronic book contents by playing the audio electronic books. Through the sound electronic book, a user can acquire contents in the book without watching or directly listening, so that the sound electronic book is more intuitive, convenient and quick.
In the prior art, in order to facilitate the user to listen to the book, a playing component suitable for the browser is provided for the user, and the developed playing component (e.g. an applet) is generally manufactured based on a specific specified browser standard, for example, a standardized android native format standard. However, many end manufacturers make adjustments to the system on board, resulting in no way for the functions of the native browser's playback component to be better suited on all browser platforms.
Specifically, when the book listening function is used on the web page of the browser, if the native playing component is directly used, there may be some problems, for example, after the user listens to the talking electronic book for a certain period of time, if the user exits from playing and then enters to continue playing the talking electronic book again, the user may need to listen again from the beginning, that is, the "progress book listening function" may not be compatible in all browsers, which may result in a reduction in the book listening experience of the web page of the user.
Disclosure of Invention
In view of the above, the present invention has been made to provide a play processing method of a talking electronic book, a computing device and a computer storage medium that overcome or at least partially solve the above problems.
According to an aspect of the present invention, there is provided a method for playing a talking electronic book, including:
collecting browser running environment information corresponding to a browser currently used by a user;
matching the browser running environment information with the incompatible browser running environment information recorded in the preset incompatible configuration file;
and if the audio electronic book is matched with the browser, responding to an audio electronic book playing request sent by a user through the browser, acquiring a historical playing progress, calling a playing component compatible code, operating the playing component compatible code, and playing the audio electronic book according to the historical playing progress.
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:
collecting browser running environment information corresponding to a browser currently used by a user;
matching the browser running environment information with the incompatible browser running environment information recorded in the preset incompatible configuration file;
and if the audio electronic book is matched with the browser, responding to an audio electronic book playing request sent by a user through the browser, acquiring a historical playing progress, calling a playing component compatible code, operating the playing component compatible code, and playing the audio electronic book according to the historical playing progress.
According to another aspect of the present invention, there is provided a computer storage medium, in which at least one executable instruction is stored, and the executable instruction causes a processor to perform operations corresponding to the playing processing method of the above-mentioned audio electronic book.
According to the scheme provided by the invention, whether the playing component is compatible with the browser currently used by the user can be accurately identified by acquiring the browser running environment information corresponding to the browser currently used by the user and matching the browser running environment information with the incompatible browser running environment information recorded in the preset incompatible configuration file, if the playing component is incompatible with the browser currently used by the user, a historical playing progress is acquired in response to a playing request of the audio electronic book sent by the user through the browser, a playing component compatible code is called, the playing component compatible code is operated, and the audio electronic book is played according to the historical playing progress, so that the user can continuously listen to the book from the position where the last playing is finished without listening again from the beginning, and the page listening experience of the user is improved, user loss is avoided.
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 playing processing method of a talking electronic book according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a playing processing method of a talking electronic book according to another embodiment of the present invention;
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 playing processing method of a talking electronic book according to an embodiment of the present invention. As shown in fig. 1, the method comprises the steps of:
step S101, collecting browser running environment information corresponding to a browser currently used by a user.
Specifically, in an actual listening book scenario, there may be a situation that some users do not want to install the listening book application due to the fact that the listening book application occupies a storage space of the terminal, and so on, and therefore, in order to meet the listening book requirements of the users and facilitate the listening book of the users, a playing component (e.g., a web page, a small program, a fast application, or the like) suitable for a browser is provided for the users, so that the users can listen book by using the browser.
However, when a user listens to a book using a browser, the problem that a playing component is incompatible with the browser may be encountered, and in order to provide a better book listening service to the user and improve the page book listening experience of the user, browser running environment information corresponding to the browser currently used by the user needs to be collected, where the browser running environment information reflects a running environment condition of the browser currently used by the user.
And step S102, matching the browser running environment information with the incompatible browser running environment information recorded in the preset incompatible configuration file.
The incompatible configuration file is used for recording browser running environment information corresponding to the browser when the playing component and the browser are incompatible, the browser running environment information is called as incompatible browser running environment information, and the incompatible browser running environment information recorded in the incompatible configuration file is collected in advance.
Specifically, after acquiring browser running environment information corresponding to a browser currently used by a user according to step S101, matching the acquired browser running environment information with incompatible browser running environment information recorded in a preset incompatible configuration file, where the matching is mainly performed to determine whether a playing component is compatible with the browser currently used by the user, and if so, considering that the playing component is incompatible with the browser currently used by the user; if not, the playing component is considered to be compatible with the browser currently used by the user.
And step S103, if the audio electronic book is matched with the playing module, responding to an audio electronic book playing request sent by a user through a browser, acquiring a historical playing progress, calling a playing module compatible code, operating the playing module compatible code, and playing the audio electronic book according to the historical playing progress.
If the matching is positive, the playing component is considered to be incompatible with the browser, and in order to provide better book listening service for the user and improve the webpage book listening experience of the user, after a request for playing the audio electronic book sent by the user through the browser is received, a historical playing progress needs to be obtained, wherein the historical playing progress reflects where the audio electronic book is played when the user listens to the book through the browser last time. In order to solve the problem of incompatibility, a play component compatible code which can satisfy the universality is developed in advance, so that the play component compatible code needs to be called and run, the audio electronic book is played according to the historical playing progress, the play component can be better compatible with the browser by running the play component compatible code, and a user can continue listening to the book from the position where the last playing is finished without listening again from the beginning.
If not, it indicates that the playing component is compatible with the browser, and the playing component can be directly used to play the audio e-book.
According to the scheme provided by the embodiment of the invention, whether the playing component is compatible with the browser currently used by the user can be accurately identified by acquiring the browser running environment information corresponding to the browser currently used by the user and matching the browser running environment information with the incompatible browser running environment information recorded in the preset incompatible configuration file, if the playing component is incompatible with the browser currently used by the user, the playing component responds to the playing request of the audio electronic book sent by the user through the browser, a historical playing progress is acquired, the playing component compatible code is called, the playing component compatible code is operated, and the audio electronic book is played according to the historical playing progress, so that the user can continuously listen to the book from the position where the last playing is finished without listening again from the beginning, and the user webpage listening experience of listening to the book is improved, user loss is avoided.
Fig. 2 is a flowchart illustrating a playing processing method of a talking electronic book according to another embodiment of the present invention. As shown in fig. 2, the method comprises the steps of:
step S201, collecting browser running environment information corresponding to a browser currently used by a user.
Specifically, a user may play an audio electronic book by using a browser, and in order to provide a better listening service to the user, it is necessary to collect browser running environment information corresponding to the browser currently used by the user. The browser running environment information reflects the running environment condition of the browser currently used by the user.
In this embodiment, the factors that affect the incompatibility of the playing component and the browser mainly include: the browser itself and the terminal system of the terminal where the browser is installed are likely to have the situation that the version of the terminal system is the same, but the playing component is incompatible with the browser due to different versions of the browser, or the browser version is the same, but the playing component is incompatible with the browser due to different versions of the terminal system, so that whether the playing component is compatible with the browser or not can be accurately determined, the browser operating environment information here may include browser version information and terminal system version information of the terminal corresponding to the browser, that is, the browser version information and the terminal system version information of the terminal corresponding to the browser are simultaneously collected.
The browser version information includes browser brand information (e.g., an IE browser, a google browser, an UC browser, an encyclopedia browser, etc.), a browser version number, etc., and the terminal system version information includes terminal type information (e.g., a mobile phone, a PAD, a PC, etc.), a terminal operating system type (e.g., an android system, an iOS system, a hong meng system, etc.), and a terminal operating system version (e.g., an iOS11, an iOS10, hong meng 1.0, hong meng 2.0, etc.).
It should be noted that the timing of collecting the browser running environment information corresponding to the browser currently used by the user may be when listening to a book is finished once, and when the user selects to quit the playing page of the audio electronic book, the timing may also be when the user listens to a book using the book listening function.
In the embodiment, when the user selects to quit the book listening function after one-time book listening is finished, the browser running environment information corresponding to the browser currently used by the user is collected, whether the playing component is compatible with the browser can be matched in advance, and the matching result is stored, so that when the user enters a playing page of the audio electronic book, the audio electronic book can be directly played without executing the matching process, and the waiting time of the user is reduced.
Step S202, the browser running environment information is matched with the incompatible browser running environment information recorded in the preset incompatible configuration file.
The incompatible configuration file is used for recording browser running environment information corresponding to the browser when the playing component and the browser are incompatible, the browser running environment information is called as incompatible browser running environment information, and the incompatible browser running environment information recorded in the incompatible configuration file is collected in advance.
Specifically, after acquiring browser running environment information corresponding to a browser currently used by a user according to step S201, matching the acquired browser running environment information with incompatible browser running environment information recorded in a preset incompatible configuration file, where the matching is mainly performed to determine whether a playing component is compatible with the browser currently used by the user, and if so, considering that the playing component is incompatible with the browser currently used by the user; if not, the playing component is considered to be compatible with the browser currently used by the user.
It is described in step S201 that the browser execution environment information includes: the version information of the browser and the version information of the terminal system of the terminal corresponding to the browser, therefore, the running environment information of the incompatible browser recorded in the preset incompatible configuration file also includes: the version information of the incompatible browser and the version information of the incompatible terminal system are recorded in the incompatible configuration file as a piece of information, for example, the running environment information of the incompatible browser recorded in the incompatible configuration file may be: "terminal system version 1 and browser version 1", "terminal system version 2 and browser version 2", "terminal system version 1 and browser version 2", "terminal system version 2 and browser version 1".
When matching is performed, the browser version information and the terminal system version information of the terminal corresponding to the browser, which are collected in step S201, are matched with one piece of incompatible browser version information and incompatible terminal system version information having a mapping relationship, which are recorded in a preset incompatible configuration file, when the browser version information and the terminal system version information are simultaneously matched with one piece of incompatible browser version information and incompatible terminal system version information having a mapping relationship, which are recorded in the incompatible configuration file, the matching is determined, and if any one of the browser version information and the terminal system version information is not matched, the matching is determined.
For example, if the version information of the browser and the version information of the terminal system corresponding to the browser collected in step S201 are the version 1 of the terminal system and the version 3 of the browser, and are not matched with the version information of the incompatible browser and the version information of the incompatible terminal system recorded in the incompatible configuration file, it may be determined that the playing component is compatible with the browser; for another example, if the version information of the browser and the version information of the terminal system corresponding to the browser collected in step S201 are the version 1 of the terminal system and the version 2 of the browser, and are matched with the version information of the incompatible browser and the version information of the incompatible terminal system recorded in the incompatible configuration file, it may be determined that the playing component is incompatible with the browser.
In an alternative embodiment of the invention, the incompatible configuration file may be constructed by: acquiring browser running environment information according to incompatible operation triggered by a user, and storing the acquired browser running environment information into an incompatible configuration file; or if the incompatible event is monitored, acquiring the running environment information of the browser, and storing the acquired running environment information of the browser into the incompatible configuration file.
Specifically, a report entry may be provided for a user, and when the user finds that the playing component is incompatible with the browser in the book listening process, the report may be actively reported, for example, an incompatible button is displayed at a preset position of a book listening page, when an incompatible condition occurs, for example, when the user cannot continue listening on the previous book listening progress, the user may trigger the incompatible button, the user triggers the incompatible button to regard that the user has triggered the incompatible operation, and when it is monitored that the user has triggered the incompatible button, the running environment information of the browser may be collected, and the collected running environment information of the browser may be stored in an incompatible configuration file.
Of course, whether an incompatible condition occurs or not can be actively monitored, the running environment information of the browser is actively collected when the incompatible condition occurs, and the collected running environment information of the browser is stored in an incompatible configuration file.
Step S203, if the matching is positive, responding to the sound electronic book playing request sent by the user through the browser, obtaining the historical playing progress, and calling the compatible code of the playing component.
If the matching is positive, the playing component and the browser are considered to be incompatible, in order to provide better listening service for the user and improve the webpage listening experience of the user, after receiving a playing request of the audio electronic book sent by the user through the browser, the historical playing progress is obtained, a playing component compatible code is called, and the playing component compatible code is a compatibility code which is developed in advance and can meet the universality.
The historical playing progress comprises the following information: the electronic book playing method comprises book identification, chapter identification, duration information and book source identification, wherein the book identification is used for identifying the audio electronic books, each audio electronic book has a unique book identification, and which audio electronic book is to be played can be determined through the book identification; the chapter mark is used for marking a certain chapter of the sound electronic book, and the content of which chapter is to be played can be determined through the chapter mark; the duration information reflects the duration of the played audio electronic book, for example, the total duration is 10 minutes, and the duration information is 4 minutes when the playing time reaches 4 minutes; the book source identification reflects a website where a user listens to a book, for example, a website a and a website B, so that a unique historical playing progress of a book can be determined through the book identification, the chapter identification, the duration information and the book source identification, and when a plurality of historical playing progresses exist, the historical playing progress can be distinguished through the book identification and the book source identification.
Optionally, the historical playing progress may be stored locally in the browser, or may be stored to the server. If a plurality of users share the same terminal, the browser locally needs to store the historical playing progress and the user identification in an associated manner, so that the user identification is carried in the sound electronic book playing request sent by the user through the browser, and after the sound electronic book playing request is received, the corresponding historical playing progress can be obtained by inquiring according to the user identification.
In general, a server stores a large amount of user data, so that the server stores historical playing progress and user identifiers in an associated manner, extracts the user identifiers from a playing request of an audio electronic book, reports the user identifiers to the server, and the server queries the historical playing progress associated with the user identifiers according to the user identifiers and returns the queried historical playing progress.
Step S204, judging whether the cache progress of the sound electronic book reaches the historical playing progress every other preset time period.
After the user selects the book listening function, the audio content is usually cached first, and therefore, it is required to determine whether the caching progress of the audio electronic book reaches the historical playing progress every other preset time period, for example, it may be monitored by a timer whether the caching progress of the current audio electronic book reaches the historical playing progress, for example, the historical playing progress is 10 minutes, and it may be determined whether the caching progress of the audio electronic book reaches 10 minutes every other preset time period (for example, every 1 second), for example, if the current caching progress is 5 minutes, it may be determined that the historical playing progress is not reached; if the current cache progress is 10 minutes, it can be determined that the historical play progress is reached.
In step S205, if yes, the play progress bar is controlled to be positioned to the play position corresponding to the historical play progress and the audio e-book is played.
And under the condition that the cache progress of the audio electronic book is judged to reach the historical playing progress, controlling the playing progress bar to be positioned to the playing position corresponding to the historical playing progress and playing the audio electronic book.
Step S206, if the fact that the playing operation of the sound electronic book is quitted is monitored, the current playing progress of the sound electronic book at the current moment is obtained, and the history playing progress of the local cache is updated based on the current playing progress and the user identification.
Specifically, when the user does not want to listen to the book continuously, the user may select to quit playing of the audio electronic book, for example, the user realizes quitting playing of the audio electronic book by triggering an "end button" in the playing page, after the operation of quitting playing of the audio electronic book is monitored, the current playing progress of the audio electronic book at the current moment is obtained, the current playing progress reflects where the user hears when the user quits the audio electronic book, then, the history playing progress cached locally is updated based on the current playing progress and the user identifier, and the history playing progress is updated to ensure that the user can continue listening to the book at the last quitted position when the user listens to the book next time. The user identification is used for identifying users, each user has a unique user identification, and when a plurality of users share the same terminal, which historical playing progress should be updated can be identified through the user identification.
In an alternative embodiment of the invention, the method further comprises: if the fact that the playing operation of the sound electronic book is quitted is monitored, the current playing progress of the sound electronic book at the current moment is obtained, the current playing progress and the user identification are reported to the server side, and the server side updates the stored historical playing progress according to the user identification and the current playing progress.
Specifically, when the user does not want to listen to the book continuously, the user may select to quit playing of the audio electronic book, for example, the user realizes quitting playing of the audio electronic book by triggering an "end button" in the playing page, after the operation of quitting playing of the audio electronic book is monitored, the current playing progress of the audio electronic book at the current moment is obtained, the current playing progress reflects where the user hears when the user quits the audio electronic book, and the current playing progress and the user identifier are reported to the server, the server performs query according to the user identifier after receiving the current playing progress and the user identifier, determines the historical playing progress associated with the user identifier, and the current playing progress updates the stored historical playing progress.
According to the scheme provided by the embodiment of the invention, whether the playing component is compatible with the browser currently used by the user can be accurately identified by acquiring the browser running environment information corresponding to the browser currently used by the user and matching the browser running environment information with the incompatible browser running environment information recorded in the preset incompatible configuration file, if the playing component is incompatible with the browser currently used by the user, the playing component responds to the playing request of the audio electronic book sent by the user through the browser, a historical playing progress is acquired, the playing component compatible code is called, the playing component compatible code is operated, and the audio electronic book is played according to the historical playing progress, so that the user can continuously listen to the book from the position where the last playing is finished without listening again from the beginning, and the user webpage listening experience of listening to the book is improved, user loss is avoided.
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 playing processing method of the sound electronic book in any method embodiment.
The executable instructions may be specifically configured to cause the processor to:
collecting browser running environment information corresponding to a browser currently used by a user;
matching the browser running environment information with the incompatible browser running environment information recorded in the preset incompatible configuration file;
and if the audio electronic book is matched with the browser, responding to an audio electronic book playing request sent by a user through the browser, acquiring a historical playing progress, calling a playing component compatible code, operating the playing component compatible code, and playing the audio electronic book according to the historical playing progress.
In an alternative implementation, the executable instructions further cause the processor to:
judging whether the cache progress of the sound electronic book reaches the historical playing progress or not at intervals of a preset time period;
and if so, controlling the playing progress bar to be positioned to a playing position corresponding to the historical playing progress and playing the audio electronic book.
In an alternative implementation, the executable instructions further cause the processor to:
and if the fact that the playing operation of the audio electronic book is quitted is monitored, the current playing progress of the audio electronic book at the current moment is obtained, and the locally cached historical playing progress is updated based on the current playing progress and the user identification.
In an alternative implementation, the executable instructions further cause the processor to:
if the fact that the playing operation of the sound electronic book is quitted is monitored, the current playing progress of the sound electronic book at the current moment is obtained, the current playing progress and the user identification are reported to the server side, and the server side updates the stored historical playing progress according to the user identification and the current playing progress.
In an alternative implementation, the executable instructions further cause the processor to:
acquiring browser running environment information according to incompatible operation triggered by a user, and storing the acquired browser running environment information into an incompatible configuration file; and/or
And if the incompatible event is monitored, acquiring the running environment information of the browser, and storing the acquired running environment information of the browser into an incompatible configuration file.
In an alternative implementation, the historical playing schedule includes the following information: book identification, chapter identification, duration information and book source identification.
In an optional implementation manner, the browser operating environment information includes browser version information and terminal system version information of a terminal corresponding to the browser.
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 execute relevant steps in the above-described playing processing method embodiment of the audio 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:
collecting browser running environment information corresponding to a browser currently used by a user;
matching the browser running environment information with the incompatible browser running environment information recorded in the preset incompatible configuration file;
and if the audio electronic book is matched with the browser, responding to an audio electronic book playing request sent by a user through the browser, acquiring a historical playing progress, calling a playing component compatible code, operating the playing component compatible code, and playing the audio electronic book according to the historical playing progress.
In an alternative implementation, program 310 further causes processor 302 to:
judging whether the cache progress of the sound electronic book reaches the historical playing progress or not at intervals of a preset time period;
and if so, controlling the playing progress bar to be positioned to a playing position corresponding to the historical playing progress and playing the audio electronic book.
In an alternative implementation, program 310 also causes processor 302 to:
and if the fact that the playing operation of the audio electronic book is quitted is monitored, the current playing progress of the audio electronic book at the current moment is obtained, and the locally cached historical playing progress is updated based on the current playing progress and the user identification.
In an alternative implementation, program 310 also causes processor 302 to:
if the fact that the playing operation of the sound electronic book is quitted is monitored, the current playing progress of the sound electronic book at the current moment is obtained, the current playing progress and the user identification are reported to the server side, and the server side updates the stored historical playing progress according to the user identification and the current playing progress.
In an alternative implementation, program 310 also causes processor 302 to:
acquiring browser running environment information according to incompatible operation triggered by a user, and storing the acquired browser running environment information into an incompatible configuration file; and/or
And if the incompatible event is monitored, acquiring the running environment information of the browser, and storing the acquired running environment information of the browser into an incompatible configuration file.
In an alternative implementation, the historical playing schedule includes the following information: book identification, chapter identification, duration information and book source identification.
In an optional implementation manner, the browser operating environment information includes browser version information and terminal system version information of a terminal corresponding to the browser.
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 playing processing method of a sound electronic book comprises the following steps:
collecting browser running environment information corresponding to a browser currently used by a user;
matching the browser running environment information with the incompatible browser running environment information recorded in a preset incompatible configuration file;
and if the audio electronic book is matched with the browser, responding to an audio electronic book playing request sent by a user through the browser, acquiring a historical playing progress, calling a playing component compatible code, operating the playing component compatible code, and playing the audio electronic book according to the historical playing progress.
A2. The method of A1, wherein the executing playback component compatibility code, the playing a talking ebook according to the historical play schedule further comprises:
judging whether the cache progress of the sound electronic book reaches the historical playing progress or not at intervals of a preset time period;
and if so, controlling the playing progress bar to be positioned to the playing position corresponding to the historical playing progress and playing the audio electronic book.
A3. The method of a1 or a2, wherein the method further comprises: and if the fact that the playing operation of the audio electronic book is quitted is monitored, the current playing progress of the audio electronic book at the current moment is obtained, and the locally cached historical playing progress is updated based on the current playing progress and the user identification.
A4. The method of a1 or a2, wherein the method further comprises: if the fact that the playing operation of the sound electronic book is quitted is monitored, the current playing progress of the sound electronic book at the current moment is obtained, the current playing progress and the user identification are reported to the server side, and the server side updates the stored historical playing progress according to the user identification and the current playing progress.
A5. The method according to any one of A1-A4, wherein the preset incompatible configuration file construction method comprises the following steps:
acquiring browser running environment information according to incompatible operation triggered by a user, and storing the acquired browser running environment information into an incompatible configuration file; and/or
And if the incompatible event is monitored, acquiring the running environment information of the browser, and storing the acquired running environment information of the browser into an incompatible configuration file.
A6. The method of any of A1-A5, wherein the historical play progress includes the following information: book identification, chapter identification, duration information and book source identification.
A7. The method according to any one of A1-A6, wherein the browser running environment information comprises browser version information and terminal system version information of a browser corresponding terminal.
B8. 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:
collecting browser running environment information corresponding to a browser currently used by a user;
matching the browser running environment information with the incompatible browser running environment information recorded in a preset incompatible configuration file;
and if the audio electronic book is matched with the browser, responding to an audio electronic book playing request sent by a user through the browser, acquiring a historical playing progress, calling a playing component compatible code, operating the playing component compatible code, and playing the audio electronic book according to the historical playing progress.
B9. The computing device of B8, wherein the executable instructions further cause the processor to:
judging whether the cache progress of the sound electronic book reaches the historical playing progress or not at intervals of a preset time period;
and if so, controlling the playing progress bar to be positioned to the playing position corresponding to the historical playing progress and playing the audio electronic book.
B10. The computing device of B8 or B9, wherein the executable instructions further cause the processor to:
and if the fact that the playing operation of the audio electronic book is quitted is monitored, the current playing progress of the audio electronic book at the current moment is obtained, and the locally cached historical playing progress is updated based on the current playing progress and the user identification.
B11. The computing device of B8 or B9, wherein the executable instructions further cause the processor to:
if the fact that the playing operation of the sound electronic book is quitted is monitored, the current playing progress of the sound electronic book at the current moment is obtained, the current playing progress and the user identification are reported to the server side, and the server side updates the stored historical playing progress according to the user identification and the current playing progress.
B12. The computing device of any one of B8-B11, wherein the executable instructions further cause the processor to:
acquiring browser running environment information according to incompatible operation triggered by a user, and storing the acquired browser running environment information into an incompatible configuration file; and/or
And if the incompatible event is monitored, acquiring the running environment information of the browser, and storing the acquired running environment information of the browser into an incompatible configuration file.
B13. The computing device of any of B8-B12, wherein the historical play progress includes the following information: book identification, chapter identification, duration information and book source identification.
B14. The computing device of any of B8-B13, wherein the browser running environment information includes browser version information and terminal system version information for a browser-corresponding terminal.
C15. A computer storage medium, wherein at least one executable instruction is stored in the storage medium, and the executable instruction causes a processor to execute an operation corresponding to the playing processing method of the sound electronic book as described in any one of a1-a 7.

Claims (10)

1. A playing processing method of a sound electronic book comprises the following steps:
collecting browser running environment information corresponding to a browser currently used by a user;
matching the browser running environment information with the incompatible browser running environment information recorded in a preset incompatible configuration file;
and if the audio electronic book is matched with the browser, responding to an audio electronic book playing request sent by a user through the browser, acquiring a historical playing progress, calling a playing component compatible code, operating the playing component compatible code, and playing the audio electronic book according to the historical playing progress.
2. The method of claim 1, wherein the executing play component compatibility code, playing a talking ebook according to the historical play schedule further comprises:
judging whether the cache progress of the sound electronic book reaches the historical playing progress or not at intervals of a preset time period;
and if so, controlling the playing progress bar to be positioned to the playing position corresponding to the historical playing progress and playing the audio electronic book.
3. The method according to claim 1 or 2, wherein the method further comprises: and if the fact that the playing operation of the audio electronic book is quitted is monitored, the current playing progress of the audio electronic book at the current moment is obtained, and the locally cached historical playing progress is updated based on the current playing progress and the user identification.
4. The method according to claim 1 or 2, wherein the method further comprises: if the fact that the playing operation of the sound electronic book is quitted is monitored, the current playing progress of the sound electronic book at the current moment is obtained, the current playing progress and the user identification are reported to the server side, and the server side updates the stored historical playing progress according to the user identification and the current playing progress.
5. The method according to any one of claims 1-4, wherein the method of constructing the pre-set incompatible profile includes:
acquiring browser running environment information according to incompatible operation triggered by a user, and storing the acquired browser running environment information into an incompatible configuration file; and/or
And if the incompatible event is monitored, acquiring the running environment information of the browser, and storing the acquired running environment information of the browser into an incompatible configuration file.
6. The method of any of claims 1-5, wherein the historical play progress includes the following information: book identification, chapter identification, duration information and book source identification.
7. The method according to any one of claims 1-6, wherein the browser running environment information includes browser version information and terminal system version information of a terminal corresponding to the browser.
8. 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:
collecting browser running environment information corresponding to a browser currently used by a user;
matching the browser running environment information with the incompatible browser running environment information recorded in a preset incompatible configuration file;
and if the audio electronic book is matched with the browser, responding to an audio electronic book playing request sent by a user through the browser, acquiring a historical playing progress, calling a playing component compatible code, operating the playing component compatible code, and playing the audio electronic book according to the historical playing progress.
9. The computing device of claim 8, wherein the executable instructions further cause the processor to:
judging whether the cache progress of the sound electronic book reaches the historical playing progress or not at intervals of a preset time period;
and if so, controlling the playing progress bar to be positioned to the playing position corresponding to the historical playing progress and playing the audio electronic book.
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 processing playback of an audio electronic book according to any one of claims 1 to 7.
CN202111448509.9A 2021-11-30 2021-11-30 Playing processing method of audio electronic book, computing equipment and computer storage medium Pending CN114138961A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111448509.9A CN114138961A (en) 2021-11-30 2021-11-30 Playing processing method of audio electronic book, computing equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111448509.9A CN114138961A (en) 2021-11-30 2021-11-30 Playing processing method of audio electronic book, computing equipment and computer storage medium

Publications (1)

Publication Number Publication Date
CN114138961A true CN114138961A (en) 2022-03-04

Family

ID=80386459

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111448509.9A Pending CN114138961A (en) 2021-11-30 2021-11-30 Playing processing method of audio electronic book, computing equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN114138961A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115086603A (en) * 2022-05-12 2022-09-20 南方电网深圳数字电网研究院有限公司 Video processing method and device based on compatible player
CN116821411A (en) * 2023-08-29 2023-09-29 北京众创众阅网络科技有限公司 Sound mode recommendation method, system and equipment for electronic books

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115086603A (en) * 2022-05-12 2022-09-20 南方电网深圳数字电网研究院有限公司 Video processing method and device based on compatible player
CN115086603B (en) * 2022-05-12 2024-05-14 南方电网数字平台科技(广东)有限公司 Video processing method and device based on compatibility player
CN116821411A (en) * 2023-08-29 2023-09-29 北京众创众阅网络科技有限公司 Sound mode recommendation method, system and equipment for electronic books

Similar Documents

Publication Publication Date Title
WO2017088405A1 (en) Method, device and system for pre-loading advertisement upon startup of application
US20170083307A1 (en) Updating Web Resources
CN114138961A (en) Playing processing method of audio electronic book, computing equipment and computer storage medium
CN106790549B (en) Data updating method and device
CN111246302B (en) Method, device and terminal for downloading data by browser
CN109871217A (en) Application program installation method and device based on application shop
CN110647739A (en) Software installation detection method, device, terminal and storage medium
CN111416844B (en) Service start-stop method, system, device and storage medium
CN110113391B (en) Client online method and device and client operation method and device
WO2016019875A1 (en) Method and device for presenting content data from network
CN113163255B (en) Video playing method, device, terminal and storage medium
CN110825600A (en) Page information processing method, server and page display device
CN111031117B (en) Multimedia file downloading method and related device
CN103354927A (en) Method and apparatus for managing content in a processing device
CN112422995A (en) System for reducing flow cost and working method
CN105610596B (en) Resource directory management method and network terminal
CN111857781A (en) Resource updating method and related equipment
CN116661920A (en) Automatic switching method, device, equipment, system and medium for internet pages
CN111050217A (en) Video playing method and device
CN110909201B (en) Content distribution method based on playing page, computing equipment and computer storage medium
CN111638896B (en) Upgrade method, upgrade device, storage medium, processor and mobile terminal
CN115061785A (en) Information issuing method and device, storage medium and server
CN111563153B (en) Recommendation method and terminal based on clipboard information sharing implementation
CN110941484B (en) Application program calling method and device
CN109446462B (en) Page-based data monitoring processing method, device, equipment and storage medium

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