CN106777369B - System and method for adding bookmark to audio book - Google Patents

System and method for adding bookmark to audio book Download PDF

Info

Publication number
CN106777369B
CN106777369B CN201710055209.1A CN201710055209A CN106777369B CN 106777369 B CN106777369 B CN 106777369B CN 201710055209 A CN201710055209 A CN 201710055209A CN 106777369 B CN106777369 B CN 106777369B
Authority
CN
China
Prior art keywords
bookmark
module
time point
audio
chapter
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.)
Active
Application number
CN201710055209.1A
Other languages
Chinese (zh)
Other versions
CN106777369A (en
Inventor
敖青
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Longrun Digital Media Technology Co ltd
Original Assignee
Guangzhou Longrun Digital Media Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Longrun Digital Media Technology Co ltd filed Critical Guangzhou Longrun Digital Media Technology Co ltd
Priority to CN201710055209.1A priority Critical patent/CN106777369B/en
Publication of CN106777369A publication Critical patent/CN106777369A/en
Application granted granted Critical
Publication of CN106777369B publication Critical patent/CN106777369B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9562Bookmark management

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a system for adding bookmarks to an audio book, which comprises a server and a client communicating with the server; the server comprises an account management module, a book management module, a data management module and an account association module; the client comprises a network interaction module, a player module, a display module and a bookmark list acquisition module, after the system receives a bookmark adding instruction, whether chapter information corresponding to the position time point is consistent or not is judged according to the position time point stored by the system, if the position time point is always compared, the bookmark is automatically generated, the position time point is re-recorded according to the comparison result, the added bookmark and the position time point are recorded, good connection with audio played before can be achieved, and the accuracy of recording the position time point is guaranteed.

Description

System and method for adding bookmark to audio book
Technical Field
The invention belongs to the field of electric digital data processing, and particularly relates to a system and a method for adding bookmarks to an audio book.
Background
The audio book is a book form which converts the content in the paper book into audio to be read and listened by a reader; with the development of the mobile internet technology, the audio book has increasingly wide application due to the characteristics of large storage capacity, high updating speed, convenience in carrying and the like, and the frequency of use of people in the life and learning process is higher and higher. The audio books have many chapters, each chapter has thousands of pieces of content, the user cannot listen to the audio books at one time, when the user listens to the audio books again, the user needs to fast forward to the last listening position, the user needs to find the position of the listened content for a long time, and the positioning is not necessarily accurate; in order to solve the above technical problems, the prior art discloses some methods for adding a label to an audio book or an electronic book, for example: CN102411622 discloses a method for setting electronic tags for a portable audio player, which mainly divides the played audio into sentences, and during playing, if tags are added, presses an electronic bookmark setting button, records the insertion time point of an electronic bookmark, and when playing the electronic bookmark, starts playing from the starting time point of the sentence where the insertion time point of the electronic bookmark is located. The prior art mainly solves the problems that the starting time of the next playing is recorded according to the insertion time point of the electronic tag, the detailed chapter information corresponding to the insertion time point is not checked in the whole bookmark adding process, the recorded time point is inaccurate, and the next playing cannot be linked.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a system for adding a bookmark to an audio book, which judges whether chapter information corresponding to position time points is consistent or not according to the position time points stored by the system after receiving a command of adding the bookmark, automatically generates the bookmark if the position time points are always compared, and re-records the position time points according to a comparison result, so that the added bookmark and the position time points can be well linked with the audio played before, and the accuracy of recording the position time points is ensured.
The specific technical scheme of the invention is as follows:
a system for adding a bookmark to a vocal book comprises a server and a client communicated with the server; the server comprises an account management module, a book management module, a data management module and an account association module; the client comprises a network interaction module, a player module, a display module and a bookmark list acquisition module;
the player module is used for providing a bookmark adding interface for a user, wherein the interface is provided with an adding button, and when a bookmark adding instruction of the user is received, the position stamp data of the currently played audio book is stored; the system is also used for reading position stamp data associated with a bookmark when a receiving user clicks the bookmark, fast forwarding the playing progress bar to a corresponding position time point, and playing, wherein the position stamp data comprises the ID and the position time point of the current chapter;
the network interaction module is used for transmitting the position stamp data stored by the player module to the data management module; the bookmark storage module is also used for receiving information that the bookmark is successfully stored and sent by the account association module;
the bookmark list acquisition module is used for sending a request for acquiring all bookmark record data corresponding to the account to the data management module after the network interaction module receives the information that the bookmarks are successfully stored;
the display module is used for displaying the received bookmark recording data in a bookmark list, providing a click button, and jumping to the player module when the display module is used for clicking a certain bookmark;
the data management module is used for receiving the position stamp data sent by the network interaction module and a request sent by the bookmark list acquisition module for acquiring all bookmark record data corresponding to the played vocal book;
the account management module is used for inquiring the account information corresponding to the sending position stamp data and sending an instruction to the book management module after the inquiry;
the book management module is used for comparing the detailed chapter data corresponding to the chapter ID, generating a bookmark record according to the comparison result, associating the bookmark record with the corresponding chapter ID and recording the position time point;
and the account association module is used for associating the generated bookmark record and the position time point with the account information and sending the information that the bookmark is successfully stored to the client.
In a further improvement, the server further comprises a storage module, and the storage module is used for storing chapter detailed information of the audio book and the starting time and the ending time of each sentence of the audio book.
The book management module comprises a chapter comparison submodule, a judgment submodule and an audio processing submodule, wherein the chapter comparison submodule is used for comparing chapter IDs stored by the player module with chapter detailed information stored by the storage module, comparing the chapter IDs with the chapter detailed information, sending an instruction to the judgment submodule and the audio processing submodule, comparing the chapter IDs with the chapter detailed information, and sending a bookmark adding error prompt signal.
The audio processing sub-module comprises an audio frame extracting unit, an audio frame judging unit and a first recording unit;
the audio frame extraction unit is used for extracting the audio frame corresponding to the position time point stored by the player module;
the audio frame judging unit is used for decoding the extracted audio frame and judging whether the audio frame is a blank frame, if so, continuously judging whether the previous audio frame is the blank frame until finding an audio frame which is not the blank frame;
and the first recording unit is used for recording the playing time corresponding to the audio frame which is judged by the audio frame and is not the blank frame as the position time point.
The judgment submodule comprises a sentence position judgment unit, a paragraph position judgment unit and a second recording unit, wherein the sentence position judgment unit is used for finding the position W1 of the sentence corresponding to the position time point T stored in the player module in the paragraph corresponding to the sentence, judging the relation between W1 and the preset position W, and sending a recording instruction to the second recording unit if W1 is less than W, otherwise sending an instruction to the paragraph position judgment unit;
the paragraph position judging unit is used for judging whether the paragraph corresponding to the position time point T appears in the tail section of the chapter, and if so, sending an instruction to the second recording unit;
and the second recording unit is used for recording the start time of the paragraph corresponding to the position time point T as the position time point.
In a further improvement, the determining submodule further includes a position and time point determining unit, a third recording unit and a fourth recording unit, when the paragraph position determining unit determines that the paragraph corresponding to the position and time point T does not appear in the end paragraph of the chapter, the position and time point determining unit is configured to determine a relationship between the position and time point T and an ending time T2 of the sentence corresponding to the position and time point T stored in the storage module, if T appears before T2 or T2, send an instruction to the third recording unit, and if T appears after T2, send a recording instruction to the fourth recording unit;
a third recording unit, configured to record a start time of a sentence corresponding to the position time point T as a position time point;
and a fourth recording unit, configured to record the start time of the next sentence corresponding to the position time point T as the position time point.
The judgment submodule further comprises a time difference calculation unit, a time difference judgment unit and a position time point deletion unit, wherein the time difference calculation unit is used for calculating the time difference S between the time corresponding to the user clicking the adding button and the time corresponding to the next time clicking the button; and the time difference judging unit is used for judging the size of the time difference S and a preset time difference threshold value S1, if S is less than S1, the time difference judging unit sends an instruction to the label moving unit, and the position and time point deleting unit is used for deleting the position and time points recorded by the first recording unit, the third recording unit and the fourth recording unit and sending a recording instruction to the second recording unit.
In a further improvement, the book management module further comprises an audio capture submodule and a tag generation submodule, wherein the audio capture submodule is used for capturing audio frames corresponding to the position stored by the player module N seconds before and N seconds after the position stored by the player module, and analyzing the audio frames to obtain character information; and the label generation submodule is used for generating the audio label from the acquired text information.
The label generation submodule comprises a weight value acquisition unit and a bookmark acquisition unit, wherein the weight value acquisition unit is used for endowing each character in the character information with a weight value; and the bookmark acquisition unit is used for calculating bookmark weights according to the text weights and generating the audio bookmark according to the corresponding relation between the bookmark weights stored by the storage module and the audio bookmark.
Another aspect of the present invention provides a method for bookmarking an audio book, the method comprising the steps of:
s1: providing an interface for adding a bookmark for a user, wherein the interface is provided with an adding button, when a bookmark adding instruction of the user is received, the position stamp data of the currently played audio book is stored, when the user clicks a certain bookmark, the position stamp data associated with the bookmark is read, the playing progress bar is fast forwarded to the corresponding position point, the playing is carried out, and the position stamp data comprises the ID and the position point of the current chapter;
s2: the server is used for transmitting the position stamp data saved in the step S1 to the server and receiving the information that the bookmark sent by the server is successfully saved;
s3: receiving the information that the bookmark transmitted in the step S2 is successfully saved, and sending a request for acquiring all bookmark recording data corresponding to the account to the server;
s4: displaying the received bookmark recording data in a bookmark list, providing a click button, and performing step S1 when the click button is used for clicking a certain bookmark;
s5: receiving position stamp data sent by a client and a request for acquiring all bookmark recording data corresponding to a played vocal book;
s6: the account information corresponding to the sending position stamp data is inquired, and the step S7 is inquired;
s7: comparing the detailed chapter data corresponding to the chapter ID, generating a bookmark record according to the comparison result, associating the bookmark record with the corresponding chapter ID, and recording the position time point;
s8: and associating the generated bookmark record and the position time point with account information, and sending the information that the bookmark is successfully stored to the client.
The invention has the following beneficial effects:
the system and the method for adding the bookmark to the audio book provided by the invention can judge whether chapter information corresponding to the position time point is consistent or not according to the position time point stored by the system after receiving the instruction for adding the bookmark, automatically generate the bookmark if the comparison is constant, and re-record the position time point according to the comparison result, so that the added bookmark and the position time point can be well linked with the audio played before, and the accuracy of recording the position time point is ensured.
Drawings
FIG. 1 is a block diagram showing the structure of a system for bookmarking an audio book according to embodiment 1;
fig. 2 is a block diagram of a book management module according to embodiment 2;
FIG. 3 is a block diagram showing the structure of an audio processing submodule according to embodiment 3;
fig. 4 is a block diagram of a judgment sub-module according to embodiment 4;
fig. 5 is a block diagram of a judgment sub-module according to embodiment 5;
fig. 6 is a block diagram showing a structure of a book management module according to embodiment 6;
FIG. 7 is a flowchart of a method of bookmarking an audio book of embodiment 7.
Detailed Description
The present invention will be described in further detail with reference to the following examples and drawings.
Example 1
Embodiment 1 of the present invention provides a system for adding bookmarks to an audio book, as shown in fig. 1, the system includes a server 1, and a client 2 in communication with the server 1; the server 1 comprises an account management module 10, a book management module 20, a data management module 30 and an account association module 40; the client 2 comprises a network interaction module 50, a player module 60, a display module 70 and a bookmark list acquisition module 80;
the player module 60 is configured to provide an interface for adding a bookmark for a user, where the interface has an add button, and when receiving a bookmark adding instruction from the user, the player module stores position stamp data of a currently played audio book; the system is also used for reading position stamp data associated with a bookmark when a receiving user clicks the bookmark, fast forwarding the playing progress bar to a corresponding position time point, and playing, wherein the position stamp data comprises the ID and the position time point of the current chapter; the ID of the chapter includes a chapter title and a chapter number,
a network interaction module 50 for transmitting the position stamp data stored by the player module 60 to the data management module 30; the bookmark storage module is also used for receiving information that the bookmark sent by the account association module 40 is successfully stored;
the bookmark list obtaining module 80 is configured to send a request for obtaining all bookmark record data corresponding to the account to the data management module 30 after the network interaction module 50 receives the information that the bookmark is successfully stored;
a display module 70 for displaying the received bookmark recording data in a bookmark list, providing a click button, and jumping to the player module 60 when clicking a certain bookmark;
the data management module 30 is configured to receive the position stamp data sent by the network interaction module 50 and a request sent by the bookmark list acquisition module 80 to acquire all bookmark record data corresponding to the played vocal book;
the account management module 10 is configured to query account information corresponding to the sending location stamp data, and send an instruction to the book management module 20 after the query is received;
the book management module 20 is configured to compare the chapter detailed data corresponding to the chapter ID, generate a bookmark record according to the comparison result, associate the bookmark record with the corresponding chapter ID, and record a position time point; the chapter detailed data comprises chapter titles, chapter serial numbers, chapter introductions, audio files related to chapters, audio file duration, audio file sizes and the like;
and the account association module 40 is configured to associate the generated bookmark record and the location time point with account information, and send information that the bookmark is successfully stored to the client 2.
The specific operation flow of the system for adding the bookmark to the audio book, which is disclosed by the invention, is as follows: firstly, providing a bookmark adding interface for a user at a client, wherein an adding button is arranged on the interface and is used for the user to click; when a user plays audio, clicking a 'bookmark adding' button, and storing position stamp data of the current audio by a player module of a client, wherein the position stamp data comprises an ID (identity) and a position time of the current chapter, the chapter ID is used for identifying the information of the currently played chapter, and the position time point is used for identifying the number of seconds played by the current chapter; after the position stamp data is stored, a network interaction module of the client starts to send the position stamp data to the server; after a data management module of the server receives a data request, the corresponding account information is inquired through the account management module, then the detailed chapter data corresponding to the chapter id is inquired through the book management module, the chapter is ensured to be correct, then a bookmark record is generated, the bookmark record is associated with the chapter, and the position time point is recorded; the bookmark record is associated to a user account, and a message that the bookmark is successfully stored is returned to the client; after receiving the message that the bookmark is successfully stored, the network interaction module of the client starts to update the complete bookmark list, and the method also comprises the steps of sending a request to the data management module of the server to acquire all bookmark record data corresponding to the account; and the client displays all the acquired bookmark record data in a bookmark list page in detail for the user to select and click. After clicking a certain bookmark, reading the position stamp data stored by the user, taking out the chapter id and the position time point, and transferring the chapter id and the position time point to a player module of a client; the player module opens corresponding chapter audio based on the chapter id, and then fast forwards the playing progress bar to a corresponding second position according to the position time point, and continues playing. The system for adding the bookmark to the audio book firstly sends a request for adding the bookmark to the server according to the position time point and the chapter ID stored by the client, the server compares the chapter ID, and then records the position time point according to the comparison result, so that the accuracy of the bookmark adding position is improved, the continuity of the subsequently played audio and the previously played audio is ensured, and the technical problem that the next played audio cannot be well connected in the prior art is solved.
Example 2
An embodiment 2 of the present invention provides a system for adding bookmarks to an audio book, which is substantially the same as that in embodiment 1, except that, as shown in fig. 2, the server 1 further includes a storage module 90, where the storage module 90 is configured to store chapter detailed information of the audio book, start time and end time corresponding to each paragraph, start time and end time corresponding to each sentence, and a one-to-one correspondence relationship between a bookmark weight and an audio bookmark. The storage module further provided by the invention can be used for storing a large amount of data and providing reference data for subsequent comparison processing.
As shown in fig. 2, the book management module 20 includes a chapter comparison sub-module 210, a judgment sub-module 220, and an audio processing sub-module 230, where the chapter comparison sub-module 210 is configured to compare the chapter ID stored in the player module 60 with the chapter detail information stored in the storage module 90, and send an instruction to the judgment sub-module 220 and the audio processing sub-module 230, and send out a bookmark adding error prompt signal if the comparison is not consistent. According to the bookmark adding method and device, the chapter information is compared, the accuracy of the chapter information corresponding to the added bookmark can be guaranteed, and the accuracy of bookmark adding is guaranteed.
Example 3
Embodiment 3 of the present invention provides a system for adding bookmarks to an audio book, which is substantially the same as that in embodiment 2, except that, as shown in fig. 3, the audio processing sub-module 230 includes an audio frame extracting unit 231, an audio frame determining unit 232, and a first recording unit 233;
an audio frame extracting unit 231, configured to extract an audio frame corresponding to the position time point saved by the player module 60;
an audio frame determining unit 232, configured to decode the extracted audio frame, determine whether the audio frame is a blank frame, and if the audio frame is a blank frame, continue to determine whether a previous audio frame is a blank frame until an audio frame that is not a blank frame is found;
the first recording unit 233 is configured to record, as the position time point, the playing time corresponding to the audio frame determined by the audio frame determination to be not the blank frame.
In the prior art, when audio is played, a timestamp is in a moving state, but no voice information exists, so that when a bookmark is added, when a position time point is recorded, the audio corresponding to the position time point is not corresponding to the position time point corresponding to the audio, namely the stored position time point is recorded as the next playing time, and the technical problem that the audio played next time is not connected with the audio played last time exists.
Example 4
Embodiment 4 of the present invention provides a system for adding bookmarks to an audio book, which is substantially the same as embodiment 3, except that, as shown in fig. 4, the determining submodule 220 includes a sentence position determining unit 221, a paragraph position determining unit 222, a second recording unit 223, a position and time point determining unit 224, a third recording unit 225, and a fourth recording unit 226, where the sentence position determining unit 221 is configured to find a position W1 where a sentence corresponding to a position and time point T stored in the player module 60 appears in a paragraph corresponding to the sentence, and determine a relationship between W1 and a preset position W, and send a recording instruction to the second recording unit 223 if W1 is less than W, otherwise send an instruction to the paragraph position determining unit 222;
a paragraph position judging unit 222, configured to judge whether the paragraph corresponding to the position time point T appears in the end of the chapter, and if yes, send an instruction to the second recording unit 223;
a second recording unit 223, configured to record the start time of the paragraph corresponding to the position time point T as the position time point;
the determining submodule 220 further includes a position and time point determining unit 224, when the paragraph position determining unit 222 determines that the paragraph corresponding to the position and time point T does not appear in the end of the chapter, configured to determine a relationship between the position and time point T and an end time T2 of the sentence corresponding to the position and time point T stored in the storage module 90 module, if T appears before T2 or T2, send a command to the third recording unit 225, and if T appears after T2, send a recording command to the fourth recording unit 226;
a third recording unit 225, configured to record the start time of the sentence corresponding to the position time point T as the position time point;
the fourth recording unit 226 is configured to record the start time of the next sentence corresponding to the position time T as the position time.
In a further improvement, the sentence indicated by the present invention is defined as a sentence counted by characters between two commas or between a comma and a period.
The invention further defines the judgment sub-module, preferably the invention judges the position of the sentence corresponding to the position time point in the segment, if the position of the sentence is less than the preset value, for example, the position of the sentence in the segment is 2, the preset position is 3, then 2 is less than 3, therefore, the invention automatically records the start time of the segment as the position time point, if the position of the sentence in the segment is 4, the invention further judges the paragraph corresponding to the sentence, if the segment is the tail end, the start time of the segment is recorded as the position time point, because the general tail end is a summary segment, if the paragraph is heard separately, the comprehension of the segment can be influenced, so the invention automatically marks the position time point to the start time of the segment, if the segment is not the tail end, the invention further judges the second number of the segment of the audio corresponding to the position time point, if the time of the position time point is 5:05, the end time of the sentence corresponding to the position time point is 5:04, the start time corresponding to the sentence is marked as the position time point before the end time, and if the end time is 5:06, the position time point appears after the end time, the start time of the next sentence is recorded as the position time point.
Example 5
Embodiment 5 of the present invention provides a system for adding a bookmark to an audio book, which is substantially the same as that in embodiment 4, except that, as shown in fig. 5, the determining submodule 220 further includes a time difference calculating unit 227, a time difference determining unit 228, a position time point deleting unit 229, and a time difference calculating unit 227, which are configured to calculate a time difference S between a time when a user clicks an add button and a time when a user clicks a next click button; a time difference judging unit 228 for judging the magnitude of the time difference S and a preset time difference threshold S1, and if S < S1, transmitting an instruction to the position time point deleting unit 229, and the position time point deleting unit 229 for deleting the position time points recorded by the first recording unit 233, the third recording unit 225, and the fourth recording unit 226, and transmitting a recording instruction to the second recording unit 223.
The invention is further improved and can be used for judging the time for playing the audio next time by the user, if the time exceeds the preset time, the preset time can be preset to be more than 1 month, and because the user does not listen to the audio for a long time, and after the pause is carried out in the middle of the segment, sentences before the segment can be forgotten, the invention automatically deletes the time point added to the middle position, and starts playing from the initial time of the segment, thereby achieving the purposes of hooking the user to recall and contacting with listening to the audio.
Example 6
Embodiment 6 of the present invention provides a system for adding a bookmark to an audio book, which is substantially the same as that in embodiment 5, except that, as shown in fig. 6, the book management module 20 further includes an audio capture submodule 240 and a tag generation submodule 250, where the audio capture submodule 240 is configured to capture audio frames corresponding to N seconds before and N seconds after a position point saved by the player module 60, and analyze the audio frames to obtain text information; the tag generation submodule 250 is used for generating an audio tag from the acquired text information; the tag generation sub-module 250 includes a weight value obtaining unit 251 and a bookmark obtaining unit 252, the weight value obtaining unit 251 is used for giving a weight value to each character in the character information; the bookmark obtaining unit 252 is configured to calculate a bookmark weight according to each text weight, and generate an audio bookmark according to a corresponding relationship between the bookmark weight stored in the storage module 90 and the audio bookmark. The method solves the problem that the audio frequencies of N seconds before and N seconds after the position time point can be 1, then the audio frequencies can be analyzed to obtain character information, each character can be trained through a convolutional neural network, so that the weight corresponding to each character is obtained, then the bookmark weight is calculated according to a weighted average algorithm, then the audio bookmark is selected from a storage module, and further the audio bookmark is added, so that the diversity of the bookmark is increased.
Example 7
Embodiment 7 of the present invention provides a method for adding a bookmark to a vocal book, including the steps of:
s1: providing an interface for adding a bookmark for a user, wherein the interface is provided with an adding button, when a bookmark adding instruction of the user is received, the position stamp data of the currently played audio book is stored, when the user clicks a certain bookmark, the position stamp data associated with the bookmark is read, the playing progress bar is fast forwarded to the corresponding position point, the playing is carried out, and the position stamp data comprises the ID and the position point of the current chapter;
s2: for transmitting the location stamp data saved in step S1 to the server 1, and receiving the information that the bookmark sent by the server 1 has been successfully saved;
s3: receiving the information that the bookmark transmitted in step S2 has been successfully saved, and sending a request for acquiring all bookmark recording data corresponding to the account to the server 1;
s4: displaying the received bookmark recording data in a bookmark list, providing a click button, and performing step S1 when the click button is used for clicking a certain bookmark;
s5: receiving position stamp data sent by a client 2 and a request for acquiring all bookmark recording data corresponding to a played vocal book;
s6: the account information corresponding to the sending position stamp data is inquired, and the step S7 is inquired;
s7: comparing the detailed chapter data corresponding to the chapter ID, generating a bookmark record according to the comparison result, associating the bookmark record with the corresponding chapter ID, and recording the position time point;
s8: and associating the generated bookmark record and the position time point with account information, and sending the information that the bookmark is successfully stored to the client 2.
The method provided by the invention comprises the steps that firstly, an interface for adding the bookmark is provided for a user at a client side, and an adding button is arranged on the interface and is used for the user to click; when a user plays audio, clicking a 'bookmark adding' button, and storing position stamp data of the current audio by a player module of a client, wherein the position stamp data comprises an ID (identity) and a position time of the current chapter, the chapter ID is used for identifying the information of the currently played chapter, and the position time point is used for identifying the number of seconds played by the current chapter; after the position stamp data is stored, a network interaction module of the client starts to send the position stamp data to the server; after a data management module of the server receives a data request, the corresponding account information is inquired through the account management module, then the detailed chapter data corresponding to the chapter id is inquired through the book management module, the chapter is ensured to be correct, then a bookmark record is generated, the bookmark record is associated with the chapter, and the position time point is recorded; the bookmark record is associated to a user account, and a message that the bookmark is successfully stored is returned to the client; after receiving the message that the bookmark is successfully stored, the network interaction module of the client starts to update the complete bookmark list, and the method also comprises the steps of sending a request to the data management module of the server to acquire all bookmark record data corresponding to the account; and the client displays all the acquired bookmark record data in a bookmark list page in detail for the user to select and click. After clicking a certain bookmark, reading the position stamp data stored by the user, taking out the chapter id and the position time point, and transferring the chapter id and the position time point to a player module of a client; the player module opens corresponding chapter audio based on the chapter id, and then fast forwards the playing progress bar to a corresponding second position according to the position time point, and continues playing. The system for adding the bookmark to the audio book firstly sends a request for adding the bookmark to the server according to the position time point and the chapter ID stored by the client, the server compares the chapter ID, and then records the position time point according to the comparison result, so that the accuracy of the bookmark adding position is improved, the continuity of the subsequently played audio and the previously played audio is ensured, and the technical problem that the next played audio cannot be well connected in the prior art is solved.
The present invention is not limited to the above-mentioned preferred embodiments, and any other products in various forms can be obtained by anyone in the light of the present invention, but any changes in the shape or structure thereof, which have the same or similar technical solutions as those of the present application, fall within the protection scope of the present invention.

Claims (9)

1. A system for bookmarking an audio book, comprising a server (1), a client (2) in communication with the server (1); the server (1) comprises an account management module (10), a book management module (20), a data management module (30) and an account association module (40); the client (2) comprises a network interaction module (50), a player module (60), a display module (70) and a bookmark list acquisition module (80);
the player module (60) is used for providing a bookmark adding interface for a user, wherein the interface is provided with an adding button, and when a bookmark adding instruction of the user is received, the position stamp data of the currently played audio book is stored; the system is also used for reading position stamp data associated with a bookmark when a receiving user clicks the bookmark, fast forwarding the playing progress bar to a corresponding position time point, and playing, wherein the position stamp data comprises the ID and the position time point of the current chapter;
the network interaction module (50) is used for transmitting the position stamp data stored by the player module (60) to the data management module (30); the bookmark storage module is also used for receiving information that the bookmark sent by the account association module (40) is successfully stored;
the bookmark list acquisition module (80) is used for sending a request for acquiring all bookmark record data corresponding to an account to the data management module (30) after the network interaction module (50) receives the information that the bookmarks are successfully stored;
the display module (70) is used for displaying the received bookmark record data in a bookmark list, providing a click button, and jumping to the player module (60) when the display module is used for clicking a certain bookmark;
the data management module (30) is used for receiving the position stamp data sent by the network interaction module (50) and a request sent by the bookmark list acquisition module (80) for acquiring all bookmark record data corresponding to the played vocal book;
the account management module (10) is used for inquiring the account information corresponding to the position stamp data and sending an instruction to the book management module (20) after the account information is inquired;
the book management module (20) is used for comparing the chapter detailed data corresponding to the chapter ID, generating a bookmark record according to the comparison result, associating the bookmark record with the corresponding chapter ID, and recording the position and time point;
the book management module (20) comprises an audio processing submodule (230), wherein the audio processing submodule (230) comprises an audio frame extraction unit (231), an audio frame judgment unit (232) and a first recording unit (233);
the audio frame extracting unit (231) is used for extracting the audio frame corresponding to the position time point stored by the player module (60);
the audio frame judging unit (232) is used for decoding the extracted audio frame and judging whether the audio frame is a blank frame, if so, continuously judging whether the previous audio frame is the blank frame until finding an audio frame which is not the blank frame;
the first recording unit (233) is configured to record, as a position time point, a playing time corresponding to the audio frame determined by the audio frame judgment and not the blank frame;
and the account association module (40) is used for associating the generated bookmark record and the position time point with account information and sending the information that the bookmark is successfully stored to the client (2).
2. The system for adding bookmarks to an audio book according to claim 1, wherein the server (1) further comprises a storage module (90), and the storage module (90) is configured to store chapter details of the audio book, a start time and an end time corresponding to each chapter, a start time and an end time corresponding to each sentence, and a one-to-one correspondence relationship between bookmark weights and audio bookmarks.
3. The system for adding a bookmark to an audio book according to claim 2, wherein the book management module (20) further comprises a chapter comparison sub-module (210) and a judgment sub-module (220), the chapter comparison sub-module (210) is used for comparing the chapter ID stored in the player module (60) with the chapter detail information stored in the storage module (90) to obtain a comparison result, sending an instruction to the judgment sub-module (220) and the audio processing sub-module (230), and sending a bookmark addition error prompt signal if the comparison result is not consistent.
4. The system according to claim 3, wherein the sub-module (220) comprises a sentence position judging unit (221), a paragraph position judging unit (222) and a second recording unit (223), the sentence position judging unit (221) is configured to find a position W1 where a sentence corresponding to the position time point T stored in the player module (60) appears in a paragraph corresponding to the sentence position T, judge the relationship between W1 and the preset position W, and send a recording instruction to the second recording unit (223) if W1 < W, otherwise send an instruction to the paragraph position judging unit (222);
the paragraph position judging unit (222) is used for judging whether the paragraph corresponding to the position time point T appears in the tail paragraph of the chapter, if so, an instruction is sent to the second recording unit (223);
the second recording unit (223) is configured to record the start time of the paragraph corresponding to the position time point T as the position time point.
5. The system according to claim 4, wherein the sub-module (220) further comprises a position time point judging unit (224), a third recording unit (225) and a fourth recording unit (226), when the paragraph position judging unit (222) judges that the paragraph corresponding to the position time point T does not appear in the end of the chapter, the position time point judging unit (224) is configured to judge the relationship between the position time point T and the end time T2 of the sentence corresponding to the position time point T stored in the storage module (90), if T appears before T2 or T2, send an instruction to the third recording unit (225), and if T appears after T2, send a recording instruction to the fourth recording unit (226);
the third recording unit (225) is configured to record a start time of a sentence corresponding to the position time point T as the position time point;
the fourth recording unit (226) is configured to record the start time of the next sentence corresponding to the position time point T as the position time point.
6. The system for adding a bookmark to an audio book according to claim 5, wherein the determining sub-module (220) further comprises a time difference calculating unit (227), a time difference determining unit (228) and a position time point deleting unit (229), the time difference calculating unit (227) is used for calculating a time difference S between a time corresponding to the user clicking the adding button and a time corresponding to the next clicking button; the time difference judging unit (228) is used for judging the size of the time difference S and a preset time difference threshold value S1, if S is less than S1, the time difference judging unit sends an instruction to the position time point deleting unit (229), and the position time point deleting unit (229) is used for deleting the position time points recorded by the first recording unit (233), the third recording unit (225) and the fourth recording unit (226) and sending a recording instruction to the second recording unit (223).
7. The system for adding bookmarks to an audio book according to claim 1, wherein the book management module (20) further comprises an audio capture sub-module (240) and a tag generation sub-module (250), the audio capture sub-module (240) is configured to capture audio frames corresponding to N seconds before and N seconds after a position and time point saved by the player module (60), and parse the audio frames to obtain text information; and the label generation submodule (250) is used for generating an audio label from the acquired text information.
8. The system for adding bookmarks to an audio book according to claim 7, wherein the tag generation submodule (250) includes a weight value obtaining unit (251) and a bookmark obtaining unit (252), the weight value obtaining unit (251) is configured to assign a weight value to each text in the text information; and the bookmark acquisition unit (252) is used for calculating bookmark weights according to the text weights and generating audio bookmarks according to the corresponding relation between the bookmark weights stored in the storage module (90) and the audio bookmarks.
9. A method of bookmarking an audio book, the method comprising the steps of:
s1: providing an interface for adding a bookmark for a user, wherein the interface is provided with an adding button, when a bookmark adding instruction of the user is received, the position stamp data of the currently played audio book is stored, when the user clicks a certain bookmark, the position stamp data associated with the bookmark is read, the playing progress bar is fast forwarded to the corresponding position point, and the playing is carried out, and the position stamp data comprises the ID and the position point of the current chapter;
s2: the server (1) is used for transmitting the position stamp data saved in the step S1 and receiving the information that the bookmark sent by the server (1) is successfully saved;
s3: receiving the information that the bookmark transmitted in the step S2 is successfully stored, and sending a request for acquiring all bookmark record data corresponding to the account to the server (1);
s4: displaying the received bookmark recording data in a bookmark list, providing a click button, and performing step S1 when the click button is used for clicking a certain bookmark;
s5: receiving position stamp data sent by a client (2) and a request for acquiring all bookmark record data corresponding to the played vocal book;
s6: the account information corresponding to the sending position stamp data is inquired, and the step S7 is inquired;
s7: comparing the detailed chapter data corresponding to the chapter ID, generating a bookmark record according to the comparison result, associating the bookmark record with the corresponding chapter ID, and recording the position time point;
s8: and associating the generated bookmark record and the position time point with account information, and sending the information that the bookmark is successfully stored to the client (2).
CN201710055209.1A 2017-01-24 2017-01-24 System and method for adding bookmark to audio book Active CN106777369B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710055209.1A CN106777369B (en) 2017-01-24 2017-01-24 System and method for adding bookmark to audio book

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710055209.1A CN106777369B (en) 2017-01-24 2017-01-24 System and method for adding bookmark to audio book

Publications (2)

Publication Number Publication Date
CN106777369A CN106777369A (en) 2017-05-31
CN106777369B true CN106777369B (en) 2020-10-16

Family

ID=58941966

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710055209.1A Active CN106777369B (en) 2017-01-24 2017-01-24 System and method for adding bookmark to audio book

Country Status (1)

Country Link
CN (1) CN106777369B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109634501B (en) * 2018-12-20 2020-01-21 掌阅科技股份有限公司 Electronic book annotation adding method, electronic equipment and computer storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090251440A1 (en) * 2008-04-03 2009-10-08 Livescribe, Inc. Audio Bookmarking
CN102262890A (en) * 2010-05-31 2011-11-30 鸿富锦精密工业(深圳)有限公司 Electronic device and marking method thereof
CN103377203A (en) * 2012-04-18 2013-10-30 宇龙计算机通信科技(深圳)有限公司 Terminal and sound record management method
CN104991937A (en) * 2015-07-07 2015-10-21 北京大生在线科技有限公司 Audio recording method and apparatus

Also Published As

Publication number Publication date
CN106777369A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN106971009B (en) Voice database generation method and device, storage medium and electronic equipment
US20220303644A1 (en) Method and device for obtaining video clip, server, and storage medium
EP2685450B1 (en) Device and method for recognizing content using audio signals
CN106997764B (en) Instant messaging method and instant messaging system based on voice recognition
CN110035330A (en) Video generation method, system, equipment and storage medium based on online education
CN104581351A (en) Audio/video recording method, audio/video playing method and electronic device
CN103797482A (en) Methods and systems for performing comparisons of received data and providing follow-on service based on the comparisons
CN104598502A (en) Method, device and system for obtaining background music information in played video
CN103491450A (en) Setting method of playback fragment of media stream and terminal
CN107071554B (en) Method for recognizing semantics and device
CN110677735A (en) Video positioning method and device
CN113395605B (en) Video note generation method and device
CN104867494A (en) Naming and classification method and system of sound recording files
CN107547922B (en) Information processing method, device, system and computer readable storage medium
CN108305622B (en) Voice recognition-based audio abstract text creating method and device
CN111723235B (en) Music content identification method, device and equipment
CN114598933B (en) Video content processing method, system, terminal and storage medium
CN105142018A (en) Programme identification method and programme identification device based on audio fingerprints
CN114064964A (en) Text time labeling method and device, electronic equipment and readable storage medium
CN105868424B (en) Audio file naming method and device and electronic equipment
US11016945B1 (en) Identifying and utilizing synchronized content
CN106777369B (en) System and method for adding bookmark to audio book
CN111031382A (en) Method for controlling playing progress of media file
CN110134817A (en) A kind of storage method of recording file, searching method and relevant apparatus
CN103186583B (en) A kind of information record based on mobile terminal and search method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant