CN114201137A - Audio sharing method corresponding to text content, computing device and storage medium - Google Patents

Audio sharing method corresponding to text content, computing device and storage medium Download PDF

Info

Publication number
CN114201137A
CN114201137A CN202111493628.6A CN202111493628A CN114201137A CN 114201137 A CN114201137 A CN 114201137A CN 202111493628 A CN202111493628 A CN 202111493628A CN 114201137 A CN114201137 A CN 114201137A
Authority
CN
China
Prior art keywords
shared
text content
user
sharing
audio
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
CN202111493628.6A
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 CN202111493628.6A priority Critical patent/CN114201137A/en
Publication of CN114201137A publication Critical patent/CN114201137A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • 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]
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L13/00Speech synthesis; Text to speech systems
    • G10L13/08Text analysis or generation of parameters for speech synthesis out of text, e.g. grapheme to phoneme translation, prosody generation or stress or intonation determination

Abstract

The invention discloses an audio sharing method, a computing device and a storage medium corresponding to text contents, wherein the method comprises the following steps: receiving an access operation of a second user to the sharing link; the sharing link is generated according to the related information of the text content to be shared marked by the first user; detecting whether a target application terminal is installed locally; when the target application terminal is detected to be locally installed, calling the target application terminal to present a first audio playing page; and acquiring the text content to be shared according to the sharing link, and performing audio playing processing on the text content to be shared. By the method, the audio sharing based on the text content is realized, the user operation can be simplified, the problem that the audio file occupies the local memory of the user equipment can be avoided, and the consumption of network resources in the sharing process can be reduced.

Description

Audio sharing method corresponding to text content, computing device and storage medium
Technical Field
The invention relates to the technical field of internet, in particular to an audio sharing method, a computing device and a storage medium corresponding to text content.
Background
At present, people can read at any time and any place through various content applications, and users can wish to share the read content to other people in an audio mode in the reading process. In the related technology, firstly, the text content marked by the sharing user needs to be acquired, then the text content is imported into an audio conversion tool to convert the text content into an audio file, then the audio file is stored locally, and finally the audio file to be shared is found in local resources and is shared to other users.
However, the inventor finds that the related art has at least the following disadvantages in the process of realizing the invention: firstly, the audio sharing mode of firstly converting, then storing and then sharing is complex in operation, and user operation is not convenient to share; secondly, the sharing user can share the audio file only by saving the audio file to the local, and accordingly, the shared user can play the audio file only after downloading the audio file, so that local storage resources of terminal equipment of the users at both sides are occupied, and a large amount of network resources are consumed in the file transmission process.
Disclosure of Invention
In view of the above, the present invention has been made to provide an audio sharing method, a computing device and a storage medium corresponding to text content that overcome or at least partially solve the above-mentioned problems.
According to one aspect of the present invention, an audio sharing method corresponding to text content is provided, including:
receiving an access operation of a second user to the sharing link; the sharing link is generated according to the related information of the text content to be shared marked by the first user; detecting whether a target application terminal is installed locally; when the target application terminal is detected to be locally installed, calling the target application terminal to present a first audio playing page; and acquiring the text content to be shared according to the sharing link, and performing audio playing processing on the text content to be shared.
According to another aspect of the present invention, an audio sharing method corresponding to text content is provided, including:
determining text content to be shared according to sharing triggering operation of a first user; generating a sharing link according to the related information of the text content to be shared; according to the access operation of the second user to the sharing link, if the terminal equipment of the second user is provided with the target application end, a first operation instruction is issued to the terminal equipment of the second user, so that the terminal equipment of the second user calls the target application end to present a first audio playing page, the text content to be shared is obtained according to the sharing link, and audio playing processing is carried out on the text content to be shared.
According to still another aspect of the present invention, there is provided an electronic apparatus including: 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:
receiving an access operation of a second user to the sharing link; the sharing link is generated according to the related information of the text content to be shared marked by the first user; detecting whether a target application terminal is installed locally; when the target application terminal is detected to be locally installed, calling the target application terminal to present a first audio playing page; and acquiring the text content to be shared according to the sharing link, and performing audio playing processing on the text content to be shared.
According to yet another aspect of the present invention, there is provided 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:
determining text content to be shared according to sharing triggering operation of a first user; generating a sharing link according to the related information of the text content to be shared; according to the access operation of the second user to the sharing link, if the terminal equipment of the second user is provided with the target application end, a first operation instruction is issued to the terminal equipment of the second user, so that the terminal equipment of the second user calls the target application end to present a first audio playing page, the text content to be shared is obtained according to the sharing link, and audio playing processing is carried out on the text content to be shared.
According to yet another aspect of the present invention, there is provided a computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to:
receiving an access operation of a second user to the sharing link; the sharing link is generated according to the related information of the text content to be shared marked by the first user; detecting whether a target application terminal is installed locally; when the target application terminal is detected to be locally installed, calling the target application terminal to present a first audio playing page; and acquiring the text content to be shared according to the sharing link, and performing audio playing processing on the text content to be shared.
According to yet another aspect of the present invention, there is provided a computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to:
determining text content to be shared according to sharing triggering operation of a first user; generating a sharing link according to the related information of the text content to be shared; according to the access operation of the second user to the sharing link, if the terminal equipment of the second user is provided with the target application end, a first operation instruction is issued to the terminal equipment of the second user, so that the terminal equipment of the second user calls the target application end to present a first audio playing page, the text content to be shared is obtained according to the sharing link, and audio playing processing is carried out on the text content to be shared.
According to the audio sharing method, the computing device and the storage medium corresponding to the text content, the method comprises the following steps: receiving an access operation of a second user to the sharing link; the sharing link is generated according to the related information of the text content to be shared marked by the first user; detecting whether a target application terminal is installed locally; when the target application terminal is detected to be locally installed, calling the target application terminal to present a first audio playing page; and acquiring the text content to be shared according to the sharing link, and performing audio playing processing on the text content to be shared. By the method, the audio sharing based on the text content is realized, the user operation can be simplified, the problem that the audio file occupies the local memory of the user equipment can be avoided, and the consumption of network resources in the sharing process can be reduced.
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 shows a flowchart of an audio sharing method corresponding to text content according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating an audio sharing method corresponding to text content according to another embodiment of the present invention;
FIG. 3 is a diagram showing an application interface in the related art;
fig. 4 is a flowchart illustrating an audio sharing method corresponding to text content according to another embodiment of the present invention;
fig. 5 is a flowchart illustrating an audio sharing method corresponding to text content according to another embodiment of the present invention;
fig. 6 is a flowchart illustrating an audio sharing method corresponding to text content according to another embodiment of the present invention;
fig. 7 is a flowchart illustrating an audio sharing method corresponding to text content according to another embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device provided in an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a computing device provided in an embodiment of the present 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 shows a flowchart of an audio sharing method corresponding to text content according to an embodiment of the present invention, where the method of this embodiment is applied to a terminal device of a second user, and as shown in fig. 1, the method includes the following steps:
step S110, receiving an access operation of the second user to the sharing link. The sharing link is generated according to the related information of the text content to be shared marked by the first user.
The method comprises the steps that a first user marks text content to be shared in a target application end, and executes audio sharing triggering operation aiming at the text content to be shared, for example, the user long presses a selected section of text, and clicks an audio sharing button in a popped-up toolbar; the network side generates a sharing link according to the related information of the text content to be shared marked by the first user; and then, the sharing link is shared with the second user, which may be directly issued to the second user by the network after being generated, or shared with the second user by the first user after obtaining the sharing link.
The sharing link may be in various forms, for example, the sharing link may be in the form of a URL link, that is, the related information of the text content to be shared is carried in the URL link as a special character, or the sharing link may be in the form of an identification code, such as a two-dimensional code, a barcode, or the like, that is, the identification code is generated according to the related information of the text content to be shared. The access operation of the second user to the shared link is a click operation on a link of the URL or an operation of scanning the identification code.
And step S120, detecting whether a target application end is installed locally.
Whether a target application end is installed or not is detected, the target application end is an application end used by a first user for initiating text-based audio sharing, for example, the first user selects a middle text in a book APP and initiates audio sharing of the text, and when a second user accesses a sharing link, terminal equipment of the second user detects whether the book APP is installed locally or not.
Step S130, when the target application terminal is detected to be locally installed, the target application terminal is called to present a first audio playing page. And if the target application end is locally installed, calling the target application end and displaying a first audio playing page of the target application end.
Step S140, obtaining the text content to be shared according to the sharing link, and performing audio playing processing on the text content to be shared.
Meanwhile, the text content to be shared is acquired according to the sharing link, and audio playing processing is realized on the text content to be shared through an audio conversion tool, for example, a TTS engine of the target application end is used for realizing voice output on the text content to be shared.
Fig. 3 shows a schematic diagram of an application interface in the related art, as shown in fig. 3, an interface 301 includes a text content area 302, a reading start button 303 and an audio conversion button 304, a user selects 5 news from a network, imports the reading software, displays the 5 news in the text content area 302, and when the user clicks the reading start button 303, the reading software reads voice data corresponding to each character of the news from a1 st news, and reads the voice data word by word and bar by bar from a voice database; when a user listens to a book, which considers news as meaningful and wants to be stored as an audio file shared with friends, the reading software starts to audio-convert the news in the text content area 302 according to the content of the paragraphs, that is, each paragraph is converted into an audio file, and stores the converted audio file by clicking the audio conversion button 304. And then, the user can find the saved audio file from the local storage space, share and send the audio file to friends. As can be seen, in an implementation manner of audio sharing based on text content in the related art, a sharing user needs to perform multiple complex operations, and an audio file may be stored in a local storage space of a terminal device of the sharing user, and may occupy a device storage space of the sharing user.
In the audio sharing method corresponding to the text content, when a sharing user marks the text content to be shared in the process of using a target application terminal and carries out audio sharing, the system generates a sharing link according to the text content to be shared; then, when the shared user accesses the sharing link, if the terminal device of the shared user is provided with a target application end, the user jumps to an audio playing page of the target application end, and acquires the text content to be shared according to the sharing link, and performs audio playing processing on the text content to be shared, so that the sharing user only needs to execute simple operations in the whole process, and does not need to execute operations for converting the text content to be shared into an audio file, saving the audio file to the local, searching the audio file from the local resource and sending the audio file to other users, and the like, thereby simplifying the operations of the sharing user, the audio file does not need to be saved in the local memory of the sharing user, the shared user does not need to download the audio file for playing, and the problem that the audio file occupies the storage resources of the terminal devices of the users at both sides is avoided, meanwhile, the audio file is not directly transmitted in the sharing process, so that the consumption of network resources in the data transmission process can be reduced.
Fig. 2 shows a flowchart of an audio sharing method corresponding to text content according to another embodiment of the present invention, where the method of this embodiment is applied to a terminal device of a second user, and as shown in fig. 2, the method includes the following steps:
step S210, receiving an access operation of the second user to the sharing link. The sharing link is generated according to the related information of the text content to be shared marked by the first user.
Step S220, detecting whether a target application is installed locally.
If yes, go to step S230; if not, go to step S240.
Step S230, calling the target application end to present the first audio playing page, analyzing the sharing link to obtain the text content to be shared, and performing audio playing processing on the text content to be shared.
If the target application terminal is locally installed, the target application terminal is called to present a first audio playing page, meanwhile, the text content to be shared is directly obtained through analyzing the sharing link, and then audio playing processing is carried out on the text content to be shared.
The method comprises the steps that a local audio conversion tool or an online audio conversion tool of a target application end is utilized to realize that text content to be shared is subjected to audio playing processing, and for example, the audio conversion tool is a TTS engine; in a mode of adopting a local audio conversion tool, audio can be played quickly; in the mode of adopting the online audio conversion tool of the network end, rich audio conversion strategies are convenient to configure, and the audio playing effect is favorably improved. In specific implementation, whether a local audio conversion tool or an online audio conversion tool is specifically utilized is determined according to actual requirements, for example, when a shared user has a special timbre and sonic requirement, and the local audio conversion tool cannot synthesize audio according to the requirement, the online audio conversion tool is adopted, so that the requirement of the user is better met. If the local audio conversion tool can meet the requirements, the local audio conversion tool is preferentially adopted to output the text as voice, and the speed of playing the audio is increased.
Step S240, invoking the browser to present a second audio playing page, requesting the network terminal for an audio file corresponding to the text content to be shared, and playing the audio file fed back by the network terminal.
And if the terminal equipment of the second user is not provided with the target application end, calling the browser to present an H5 page, requesting the network end for an audio file corresponding to the text content to be shared, and playing the audio file fed back by the network end.
In an optional manner, an audio file corresponding to the text content to be shared is stored in the network, and specifically, the network determines the text content to be shared according to a sharing trigger operation of the first user, generates and stores the audio file corresponding to the text content to be shared. The sharing user only needs to execute simple audio sharing triggering operation, and the network terminal can generate the audio file corresponding to the text marked by the sharing user, so that the operation of the sharing user is simplified.
In this way, the step of requesting the network terminal for the audio file corresponding to the text content to be shared includes the following implementation modes:
the first embodiment is as follows: analyzing the sharing link to obtain the text content to be shared; according to the text content to be shared, requesting an audio file corresponding to the stored text content to be shared from a network terminal; in the method, the network terminal generates a sharing link according to the text content to be shared, if the terminal equipment of the second user is not provided with the target application terminal, the sharing link is analyzed to obtain the text content, and the text content is used as an index to request the stored audio file from the network terminal. In this way, only the text content to be shared needs to be carried in the sharing link, and audio sharing processing of the specified text can be realized both when the terminal device of the second user is installed and when the target application terminal is not installed.
The second embodiment is as follows: and analyzing the sharing link to obtain the saved address information, and sending the saved address information to the network terminal so that the network terminal can obtain the saved audio file according to the saved address information and feed back the saved audio file to the terminal equipment of the second user. In the method, the network terminal generates and stores the audio file corresponding to the text content to be shared, and generates the sharing link according to the text content to be shared and the storage address information of the audio file corresponding to the text content to be shared. If the terminal equipment of the second user is not provided with the target application terminal, the sharing link is analyzed to obtain the saved address information, the saved address information is provided for the network terminal, and the network terminal obtains the audio file stored in the saved address and feeds the audio file back to the terminal equipment of the second user. By the method, the storage address information of the audio file is carried in the sharing link, and under the condition that the terminal of the shared user is not provided with the target application terminal, the storage address information is provided for the network terminal, so that the network terminal can obtain the audio file from the storage address, and the efficiency of searching the audio file by the network terminal can be improved.
In another optional manner, the network does not store the audio file corresponding to the text content to be shared, but performs text-to-audio conversion processing when the second user requests to acquire the audio file, specifically, a specific implementation manner of requesting the network for the audio file corresponding to the text content to be shared is as follows: analyzing the sharing link to obtain source position information of the text content to be shared; sending source position information of the text content to be shared to a network end, so that the network end can search in a resource library according to the source position information of the text content to be shared to obtain the text content to be shared and generate an audio file corresponding to the text content to be shared; and receiving an audio file corresponding to the text content to be shared fed back by the network terminal. In this way, the network side generates the sharing link according to the text content to be shared and the source location information of the text content to be shared, where the source location information is used to locate the text content to be shared, for example, if the text content to be shared is a text content in a book, the source location information is information indicating which book, which chapter, and which paragraph the text content to be shared is located in.
In the method, if the terminal of the second user is not provided with the target application terminal, the sharing link is analyzed to obtain the source position information of the text content to be shared and provided for the network terminal, the network terminal searches the text content to be shared according to the source position information of the text content to be shared, converts the text content to be shared into an audio file, and feeds the audio file back to the terminal equipment of the second user. Therefore, only under the condition that the shared user has the playing requirement, the text content to be shared is converted into the audio to be provided for the shared user, and the storage resource of the network end can be saved.
In addition, if a text viewing operation of a second user in a second audio playing page is received, the text content to be shared obtained through analysis is displayed in the second audio playing page, for example, the text content to be shared is displayed in a pop-up window form, so that the requirement of the user for viewing the text content is met.
According to the audio sharing method corresponding to the text content provided by the embodiment, the sharing link is enabled to carry the relevant information of the text content to be shared marked by the sharing user, when the shared user accesses the sharing link, whether the terminal device of the shared user is provided with the target application end is judged, if yes, the sharing link is analyzed to obtain the text content to be shared, and audio playing processing is carried out on the text content to be shared; on the other hand, if the terminal of the shared user is not provided with the target application terminal, the audio file is requested from the network terminal, so that the operation of the shared user can be simplified, and the equipment storage space of the shared user is saved.
Fig. 4 shows a flowchart of an audio sharing method corresponding to text content according to another embodiment of the present invention, where the method of this embodiment is applied to a terminal device of a second user, and as shown in fig. 4, the method includes the following steps:
step S410, receiving an access operation of the second user to the sharing link.
The sharing link is generated according to the related information of the text content to be shared marked by the user, in this embodiment, the related information of the text content to be shared specifically refers to source position information of the text content to be shared, and the source position information is used for positioning the text content to be shared.
Step S420, detecting whether the target application is installed locally.
Step S430, when it is detected that the target application terminal is locally installed, the target application terminal is called to present the first audio playing page.
Step S440, the sharing link is analyzed to obtain the source location information of the text content to be shared.
And analyzing the sharing link, and extracting the source position information of the text content to be shared.
Step S450, sending the source location information of the text content to be shared to the network end, so that the network end searches for a corresponding resource file according to the source location information of the text content to be shared.
And sending the analyzed source position information of the text content to be shared to a network terminal, searching a complete resource file corresponding to the text content to be shared by the network terminal according to the source position information of the text content to be shared, and feeding back the searched resource file to the terminal equipment of the second user.
Step S460, receiving the resource file fed back by the network, searching in the resource file according to the source location information of the text content to be shared, obtaining the text content to be shared, and performing audio playing processing on the text content to be shared.
The terminal equipment of the second user receives the resource file fed back by the network terminal, searches the text content to be shared in the resource file according to the source position information of the text content to be shared, and then carries out audio playing processing on the text content to be shared, so that audio sharing based on the specified text content is achieved.
Step S470, receiving a text viewing operation of a second user on the first audio playing page; according to the source position information of the text content to be shared, searching page data of a page containing the text content to be shared in the resource file, and displaying the searched page data.
If the second user is interested in the text content corresponding to the played audio and wants to view the text content, the text viewing operation can be executed in the first audio playing page, when the text viewing operation of the second user on the first audio playing page is detected, the data of the page to be displayed is found in the resource file according to the source position information of the text content to be shared, the found data is rendered and displayed, and then the original page containing the text content to be shared is presented.
The target application end can be a book application end, the first audio playing page presented by the calling book application end is a book listening page of the book application end, and the original page containing the text content to be shared is a book page where the text content to be shared is located. That is, in the process of reading by using the book application end, the first user marks a section of text and initiates audio sharing for the text, after the second user clicks the corresponding sharing link, if the book application end is installed on the terminal of the second user, the book listening page in the book application end is jumped to be displayed, and if the second user wants to view the text content, the text viewing button in the book listening page is clicked, and the book page where the text content to be shared is located is jumped to.
Accordingly, the source location information of the text content to be shared includes: book ID information corresponding to the text content to be shared and offset position information of the text content to be shared in the book. Book ID information corresponding to the text content to be shared is used for searching book resource files in a book library, and offset position information of the text content to be shared in the book is used for searching the text content to be shared in the book resource files. The network end searches a book resource file according to book ID information corresponding to the text content to be shared, the terminal device of the second user receives the book resource file fed back by the network end, searches the text content to be shared in the book resource file according to offset position information of the text content to be shared in the book, the terminal device of the second user searches page data of a book page containing the text content to be shared in the book resource file according to the offset position information of the text content to be shared in the book, the searched book data is rendered and displayed, and the book page containing the text content to be shared is displayed.
In addition, if the target application terminal is not installed locally, the browser is called to present a second audio playing page, an audio file corresponding to the text content to be shared is requested from the network terminal, and the audio file returned by the network terminal is played. The specific implementation manner of requesting the network terminal for the audio file corresponding to the text content to be shared is as follows: the sharing link is analyzed to obtain source position information of the text content to be shared, the source position information of the text content to be shared is sent to the network terminal, so that the network terminal can search the text content to be shared according to the source position information of the text content to be shared, an audio file is obtained according to the text content to be shared (an audio file is generated by adopting an audio conversion tool or the audio file stored in the network terminal is searched according to the text content to be shared), and the audio file is returned to the terminal equipment of the second user.
According to the audio sharing method corresponding to the text content provided by the embodiment, a sharing link is generated according to source position information of the text content to be shared marked by a first user, when a second user accesses the sharing link, whether a target application terminal is installed on terminal equipment of the second user is detected, if yes, the sharing link is analyzed to obtain the source position information of the text content to be shared and is provided for a network terminal, so that the network terminal searches a corresponding resource file according to the source position information and returns the resource file to the terminal equipment of the second user, the terminal equipment of the second user locally uses the source position information to retrieve the text content to be shared and page data corresponding to the text content to be shared, and therefore audio playing processing of the text content to be shared and skip display of a page where the text content to be shared is located are achieved. In the mode of the embodiment, the sharing link only carries the source position information of the text content to be shared, and the text marked by the sharing user and the original page where the text is located are obtained through the source position information, so that the information carried by the sharing link is simpler, and the analysis efficiency of the sharing link can be improved; meanwhile, the operation of the sharing user is simplified, the equipment storage of the sharing user is saved, the audio of the text content can be played by the shared user through simple access operation, the audio file is prevented from occupying the equipment storage of the shared user, meanwhile, the audio file is not directly transmitted in the sharing process, and the consumption of network resources in the data transmission process can be reduced.
Fig. 5 is a flowchart illustrating an audio sharing method corresponding to text content according to another embodiment of the present invention, where the method of this embodiment is applied to a network side, and as shown in fig. 5, the method includes the following steps:
step S510, determining a text content to be shared according to a sharing trigger operation of the first user.
The sharing triggering operation of the first user refers to: the sharing triggering operation is an operation used for indicating that the specified text content is shared in an audio mode, for example, the first user performs an operation of marking the text content and then performs a triggering operation on a sharing entry in a page presented by the target application installed on the terminal device of the first user. And determining the text content between the starting point and the end point in the page according to the starting point and the end point of the marked text content, namely determining the text content to be shared.
Step S520, a sharing link is generated according to the related information of the text content to be shared.
The information related to the text content to be shared may be the text content to be shared itself, or may be information that can indirectly acquire the text content to be shared, and the sharing link may be in various forms, for example, in a URL link form or in an identification code form.
Step S530, according to an access operation of the second user to the sharing link, if the terminal device of the second user has the target application, issuing a first operation instruction to the terminal device of the second user, so that the terminal device of the second user calls the target application to present the first audio playing page, obtains the text content to be shared according to the sharing link, and performs audio playing processing on the text content to be shared.
According to the access operation of the second user to the sharing link, if the terminal equipment of the second user is provided with the same target application end, a first operation instruction is issued to the terminal equipment of the second user, so that the terminal equipment of the second user executes the following operations: and calling the target application terminal to display the first audio playing page, simultaneously acquiring the text content to be shared according to the sharing link, and realizing voice output of the text content to be shared.
In the audio sharing method corresponding to the text content, when a sharing user marks the text content to be shared in the process of using a target application terminal and carries out audio sharing, a network terminal generates a sharing link according to the text content to be shared; and then, when the shared user accesses the sharing link, jumping to a first audio playing page of a target application end in the terminal equipment of the shared user, acquiring the text content to be shared according to the sharing link, and performing audio playing processing on the text content to be shared. By adopting the mode, the sharing user only needs to execute simple operation in the whole process, and does not need to execute the operation for converting the text content to be shared into the audio file, the operation for storing the audio file to the local, the operation for searching the audio file from the local resource and sending the audio file to other users, and the like, so that the operation of the sharing user is simplified; in addition, the audio file does not need to be stored in a local memory of the sharing user, the shared user does not need to download the audio file for playing, the problem that the audio file occupies storage resources of terminal equipment of the sharing users is avoided, meanwhile, the audio file is not directly transmitted in the sharing process, and consumption of network resources in the data transmission process can be reduced.
Fig. 6 is a flowchart illustrating an audio sharing method corresponding to text content according to another embodiment of the present invention, where the method is applied to a network, and as shown in fig. 6, the method includes the following steps:
step S610, determining a text content to be shared according to a sharing trigger operation of the first user.
Step S620, generating a sharing link according to the related information of the text content to be shared.
Step S630, determining whether the terminal device of the second user installs the target application according to the access operation of the second user on the sharing link.
If the terminal device of the second user is installed with the target application terminal, step S640 is executed; if the terminal device of the second user does not have the target application installed, step S650 is executed.
Step S640, issuing a first operation instruction to the terminal device of the second user, so that the terminal device of the second user calls the target application to present the first audio playing page, obtains the text content to be shared according to the sharing link, and performs audio playing processing on the text content to be shared.
The specific implementation mode that the terminal device of the second user acquires the text content to be shared according to the sharing link is as follows: and the terminal equipment of the second user analyzes the sharing link to obtain the text content to be shared.
Step S650, issuing a second operation instruction to the terminal device of the second user, so that the terminal device of the second user invokes the browser to present a second audio playing page, obtains an audio file corresponding to the text content to be shared through the second audio playing page, and plays the audio file.
The specific implementation modes of the terminal device of the second user acquiring the audio file of the text content to be shared include the following steps:
the first mode is as follows: analyzing the sharing link to obtain the text content to be shared; and requesting an audio file corresponding to the saved text content to be shared from the network terminal according to the text content to be shared.
The second mode is as follows: and analyzing the sharing link to obtain the saved address information, and sending the saved address information to the network terminal so that the network terminal can obtain the saved audio file according to the saved address information and feed back the saved audio file to the terminal equipment of the second user.
The third mode is as follows: analyzing the sharing link to obtain source position information of the text content to be shared; sending source position information of the text content to be shared to a network end, so that the network end can search in a resource library according to the source position information of the text content to be shared to obtain the text content to be shared and generate an audio file corresponding to the text content to be shared; and receiving an audio file corresponding to the text content to be shared fed back by the network terminal.
According to the audio sharing method corresponding to the text content, the operation of the sharing user is simplified, the equipment storage of the sharing user is saved, the audio of the text content can be played by the shared user through simple access operation, the audio file is prevented from occupying the equipment storage of the shared user, meanwhile, the audio file is not directly transmitted in the sharing process, and the consumption of network resources in the data transmission process can be reduced; on the other hand, if the terminal of the shared user is not provided with the target application terminal, the audio file is requested from the network terminal, so that the operation of the shared user can be simplified, and the equipment storage space of the shared user is saved.
Fig. 7 is a flowchart illustrating an audio sharing method corresponding to text content according to another embodiment of the present invention, and as shown in fig. 7, the method includes the following steps:
step S710, determining a text content to be shared according to a sharing trigger operation of the first user.
Step S720, a sharing link is generated according to the related information of the text content to be shared.
In this embodiment, the sharing link is generated according to the source location information of the text content to be shared.
Step S730, according to an access operation of the second user on the sharing link, if the terminal device of the second user has the target application, issuing a first operation instruction to the terminal device of the second user, so that the terminal device of the second user calls the target application to present the first audio playing page, obtains the text content to be shared according to the sharing link, and performs audio playing processing on the text content to be shared.
The implementation method for the terminal device of the second user to acquire the text content to be shared is as follows:
analyzing the sharing link to obtain source position information of the text content to be shared; sending source position information of the text content to be shared to a network terminal, so that the network terminal searches a corresponding resource file according to the source position information of the text content to be shared; and receiving the resource file fed back by the network terminal, and searching in the resource file according to the source position information of the text content to be shared to obtain the text content to be shared.
Step S740, according to the text viewing operation of the second user on the first audio playing page, issuing a third operation instruction to the terminal device of the second user, so that the target application end skips to display the page containing the text content to be shared.
The implementation mode of skipping to display the page containing the text content to be shared is as follows: inquiring page data to be displayed in the resource file according to the source position information of the text content to be shared, and displaying the page data to be displayed, wherein the displayed page is the page containing the text content to be shared.
The target application end can be a book application end, the first audio playing page is a book listening page of the book application end, and the page containing the text content to be shared is a book page; accordingly, the source location information of the text content to be shared includes: book ID information corresponding to the text content to be shared and offset position information of the text content to be shared in the book; the book ID information corresponding to the text content to be shared is used for searching a book resource file in a book library, and the offset position information of the text content to be shared in the book is used for searching the text content to be shared and page data of a book page containing the text content to be shared in the book resource file.
By adopting the mode, the sharing user only needs to execute simple operation in the whole process, and does not need to execute the operation for converting the text content to be shared into the audio file, the operation for storing the audio file to the local, the operation for searching the audio file from the local resource and sending the audio file to other users, and the like, so that the operation of the sharing user is simplified; in addition, the audio file does not need to be stored in a local memory of the sharing user, the shared user does not need to download the audio file for playing, the problem that the audio file occupies storage resources of terminal equipment of the sharing users is avoided, meanwhile, the audio file is not directly transmitted in the sharing process, and consumption of network resources in the data transmission process can be reduced.
The embodiment of the invention provides a nonvolatile computer storage medium, wherein at least one executable instruction is stored in the computer storage medium, and the computer executable instruction can execute an audio sharing method corresponding to text content in any method embodiment.
The executable instructions may be specifically configured to cause the processor to:
receiving an access operation of a second user to the sharing link;
the sharing link is generated according to the related information of the text content to be shared marked by the first user;
detecting whether a target application terminal is installed locally;
when the target application terminal is detected to be locally installed, calling the target application terminal to present a first audio playing page;
and acquiring the text content to be shared according to the sharing link, and performing audio playing processing on the text content to be shared.
In an alternative manner, the information related to the text content to be shared includes: and the source position information of the text content to be shared and/or the text content to be shared.
In an alternative, the executable instructions cause the processor to: and analyzing the sharing link to obtain the text content to be shared.
In an alternative, the executable instructions cause the processor to: analyzing the sharing link to obtain source position information of the text content to be shared;
sending source position information of the text content to be shared to a network terminal, so that the network terminal searches a corresponding resource file according to the source position information of the text content to be shared;
and receiving the resource file fed back by the network terminal, and searching in the resource file according to the source position information of the text content to be shared to obtain the text content to be shared.
In an alternative, the executable instructions cause the processor to: receiving a text viewing operation of a second user on a first audio playing page;
according to the source position information of the text content to be shared, searching page data of a page containing the text content to be shared in the resource file, and displaying the searched page data.
In an alternative, the executable instructions cause the processor to:
and when detecting that the target application terminal is not installed locally, calling the browser to present a second audio playing page, requesting an audio file corresponding to the text content to be shared from the network terminal, and playing the audio file fed back by the network terminal.
In an alternative, the executable instructions cause the processor to: analyzing the sharing link to obtain source position information of the text content to be shared; sending source position information of the text content to be shared to a network end, so that the network end can search in a resource library according to the source position information of the text content to be shared to obtain the text content to be shared and generate an audio file corresponding to the text content to be shared; and receiving an audio file corresponding to the text content to be shared fed back by the network terminal.
In an alternative, the executable instructions cause the processor to: analyzing the sharing link to obtain the text content to be shared; and requesting an audio file corresponding to the saved text content to be shared from the network terminal according to the text content to be shared.
In an alternative mode, the target application end is a book application end, the first audio playing page is a listening page of the book application end, and the page containing the text content to be shared is a book page.
In an alternative, the executable instructions cause the processor to: the source position information of the text content to be shared comprises: book ID information corresponding to the text content to be shared and offset position information of the text content to be shared in the book; the book ID information corresponding to the text content to be shared is used for searching a book resource file in a book library, and the offset position information of the text content to be shared in the book is used for searching the text content to be shared and page data of a book page containing the text content to be shared in the book resource file.
The embodiment of the invention provides a nonvolatile computer storage medium, wherein at least one executable instruction is stored in the computer storage medium, and the computer executable instruction can execute an audio sharing method corresponding to text content in any method embodiment.
The executable instructions may be specifically configured to cause the processor to:
determining text content to be shared according to sharing triggering operation of a first user;
generating a sharing link according to the related information of the text content to be shared;
according to the access operation of the second user to the sharing link, if the terminal equipment of the second user is provided with the target application end, a first operation instruction is issued to the terminal equipment of the second user, so that the terminal equipment of the second user calls the target application end to present a first audio playing page, the text content to be shared is obtained according to the sharing link, and audio playing processing is carried out on the text content to be shared.
In an alternative manner, the information related to the text content to be shared includes: and the source position information of the text content to be shared and/or the text content to be shared.
In an alternative, the executable instructions cause the processor to:
and if the terminal equipment of the second user is not provided with the target application end, issuing a second operation instruction to the terminal equipment of the second user so that the terminal equipment of the second user calls the browser to present a second audio playing page, acquiring an audio file corresponding to the text content to be shared through the second audio playing page, and playing the audio file.
In an alternative, the executable instructions cause the processor to: and generating an audio file according to the text content to be shared, and storing the audio file in a network terminal.
In an alternative, the executable instructions cause the processor to: and issuing a third operation instruction to the terminal equipment of the second user according to the text viewing operation of the second user on the first audio playing page so as to enable the target application end to jump and display the page containing the text content to be shared.
In an alternative mode, the target application end is a book application end, the first audio playing page is a listening page of the book application end, and the page containing the text content to be shared is a book page.
In an alternative manner, the source location information of the text content to be shared includes: book ID information corresponding to the text content to be shared and offset position information of the text content to be shared in the book; the book ID information corresponding to the text content to be shared is used for searching a book resource file in a book library, and the offset position information of the text content to be shared in the book is used for searching the text content to be shared and page data of a book page containing the text content to be shared in the book resource file.
Fig. 8 is a schematic structural diagram of an electronic 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 electronic device.
As shown in fig. 8, the electronic device may include: a processor (processor)802, a Communications Interface 804, a memory 806, and a communication bus 808.
Wherein: the processor 802, communication interface 804, and memory 806 communicate with one another via a communication bus 808. A communication interface 804 for communicating with network elements of other devices, such as clients or other servers. The processor 802 is configured to execute the program 810, and may specifically execute the relevant steps in the embodiment of the audio sharing method corresponding to the text content for the computing device.
In particular, the program 810 may include program code comprising computer operating instructions.
The processor 802 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement embodiments 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.
The memory 806 stores a program 810. The memory 806 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 810 may be specifically configured to cause the processor 802 to perform the following operations:
receiving an access operation of a second user to the sharing link; the sharing link is generated according to the related information of the text content to be shared marked by the first user; detecting whether a target application terminal is installed locally; when the target application terminal is detected to be locally installed, calling the target application terminal to present a first audio playing page; and acquiring the text content to be shared according to the sharing link, and performing audio playing processing on the text content to be shared.
In an alternative manner, the information related to the text content to be shared includes: and the source position information of the text content to be shared and/or the text content to be shared.
In an alternative, the program 810 causes the processor 802 to: and analyzing the sharing link to obtain the text content to be shared.
In an alternative, the program 810 causes the processor 802 to: analyzing the sharing link to obtain source position information of the text content to be shared; sending source position information of the text content to be shared to a network terminal, so that the network terminal searches a corresponding resource file according to the source position information of the text content to be shared; and receiving the resource file fed back by the network terminal, and searching in the resource file according to the source position information of the text content to be shared to obtain the text content to be shared.
In an alternative, the program 810 causes the processor 802 to: receiving a text viewing operation of a second user on a first audio playing page; according to the source position information of the text content to be shared, searching page data of a page containing the text content to be shared in the resource file, and displaying the searched page data.
In an alternative, the program 810 causes the processor 802 to: and when detecting that the target application terminal is not installed locally, calling the browser to present a second audio playing page, requesting an audio file corresponding to the text content to be shared from the network terminal, and playing the audio file fed back by the network terminal.
In an alternative, the program 810 causes the processor 802 to: analyzing the sharing link to obtain source position information of the text content to be shared; sending source position information of the text content to be shared to a network end, so that the network end can search in a resource library according to the source position information of the text content to be shared to obtain the text content to be shared and generate an audio file corresponding to the text content to be shared; and receiving an audio file corresponding to the text content to be shared fed back by the network terminal.
In an alternative, the program 810 causes the processor 802 to: analyzing the sharing link to obtain the text content to be shared; and requesting an audio file corresponding to the saved text content to be shared from the network terminal according to the text content to be shared.
In an alternative mode, the target application end is a book application end, the first audio playing page is a listening page of the book application end, and the page containing the text content to be shared is a book page.
In an alternative manner, the source location information of the text content to be shared includes: book ID information corresponding to the text content to be shared and offset position information of the text content to be shared in the book; the book ID information corresponding to the text content to be shared is used for searching a book resource file in a book library, and the offset position information of the text content to be shared in the book is used for searching the text content to be shared and page data of a book page containing the text content to be shared in the book resource file.
Fig. 9 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. 9, the computing device may include: a processor (processor)902, a communication Interface 904, a memory 906, and a communication bus 908.
Wherein: the processor 902, communication interface 904, and memory 906 communicate with one another via a communication bus 908. A communication interface 904 for communicating with network elements of other devices, such as clients or other servers. The processor 902 is configured to execute the program 910, and may specifically execute the relevant steps in the embodiment of the audio sharing method corresponding to the text content for the computing device.
In particular, the program 910 may include program code that includes computer operating instructions.
The processor 902 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 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.
A memory 906 for storing a program 910. The memory 906 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 910 may specifically be configured to cause the processor 902 to perform the following operations:
determining text content to be shared according to sharing triggering operation of a first user;
generating a sharing link according to the related information of the text content to be shared;
according to the access operation of the second user to the sharing link, if the terminal equipment of the second user is provided with the target application end, a first operation instruction is issued to the terminal equipment of the second user, so that the terminal equipment of the second user calls the target application end to present a first audio playing page, the text content to be shared is obtained according to the sharing link, and audio playing processing is carried out on the text content to be shared.
In an alternative manner, the information related to the text content to be shared includes: and the source position information of the text content to be shared and/or the text content to be shared.
In an alternative, the program 910 causes the processor 902 to:
and if the terminal equipment of the second user is not provided with the target application end, issuing a second operation instruction to the terminal equipment of the second user so that the terminal equipment of the second user calls the browser to present a second audio playing page, acquiring an audio file corresponding to the text content to be shared through the second audio playing page, and playing the audio file.
In an alternative, the program 910 causes the processor 902 to: and generating an audio file according to the text content to be shared, and storing the audio file in a network terminal.
In an alternative, the program 910 causes the processor 902 to: and issuing a third operation instruction to the terminal equipment of the second user according to the text viewing operation of the second user on the first audio playing page so as to enable the target application end to jump and display the page containing the text content to be shared.
In an alternative mode, the target application end is a book application end, the first audio playing page is a listening page of the book application end, and the page containing the text content to be shared is a book page.
In an alternative manner, the source location information of the text content to be shared includes: book ID information corresponding to the text content to be shared and offset position information of the text content to be shared in the book; the book ID information corresponding to the text content to be shared is used for searching a book resource file in a book library, and the offset position information of the text content to be shared in the book is used for searching the text content to be shared and page data of a book page containing the text content to be shared in the book resource file.
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. an audio sharing method corresponding to text content comprises the following steps:
receiving an access operation of a second user to the sharing link; the sharing link is generated according to the related information of the text content to be shared marked by the first user; detecting whether a target application terminal is installed locally; when a target application terminal is locally installed, calling the target application terminal to present a first audio playing page; and acquiring the text content to be shared according to the sharing link, and performing audio playing processing on the text content to be shared.
A2. The method according to a1, wherein the information related to the text content to be shared includes: the text content to be shared and/or the source position information of the text content to be shared.
A3. The method according to a2, wherein the obtaining the text content to be shared according to the sharing link further includes: and analyzing the sharing link to obtain the text content to be shared.
A4. The method according to a2, wherein the obtaining the text content to be shared according to the sharing link further includes: analyzing the sharing link to obtain source position information of the text content to be shared; sending source position information of the text content to be shared to a network terminal, so that the network terminal searches a corresponding resource file according to the source position information of the text content to be shared; and receiving the resource file fed back by the network terminal, and searching in the resource file according to the source position information of the text content to be shared to obtain the text content to be shared.
A5. The method of a4, wherein the method further comprises: receiving a text viewing operation of a second user on the first audio playing page; and searching page data of a page containing the text content to be shared in the resource file according to the source position information of the text content to be shared, and displaying the searched page data.
A6. The method of any one of a1-a5, wherein the method further comprises: and when detecting that the target application terminal is not installed locally, calling a browser to present a second audio playing page, requesting an audio file corresponding to the text content to be shared from the network terminal, and playing the audio file fed back by the network terminal.
A7. The method according to a6, wherein the requesting, from the network side, the audio file corresponding to the text content to be shared further includes: analyzing the sharing link to obtain source position information of the text content to be shared; sending source position information of the text content to be shared to a network end, so that the network end can search in a resource library according to the source position information of the text content to be shared to obtain the text content to be shared and generate an audio file corresponding to the text content to be shared; and receiving an audio file corresponding to the text content to be shared fed back by the network terminal.
A8. The method according to a6, wherein the storing, by the network, the audio file corresponding to the text content to be shared, and the requesting, by the network, the audio file corresponding to the text content to be shared further includes: analyzing the sharing link to obtain the text content to be shared; and requesting a stored audio file corresponding to the text content to be shared from a network terminal according to the text content to be shared.
A9. The method according to a5, wherein the target application end is a book application end, the first audio playing page is a listening page of the book application end, and the page containing the text content to be shared is a book page.
A10. The method according to a9, wherein the source location information of the text content to be shared includes: book ID information corresponding to the text content to be shared and offset position information of the text content to be shared in the book; the book ID information corresponding to the text content to be shared is used for searching a book resource file in a book library, and the offset position information of the text content to be shared in the book is used for searching the text content to be shared and page data of a book page containing the text content to be shared in the book resource file.
B11. An audio sharing method corresponding to text content comprises the following steps:
determining text content to be shared according to sharing triggering operation of a first user; generating a sharing link according to the related information of the text content to be shared; according to the access operation of a second user to the sharing link, if the terminal equipment of the second user is provided with a target application end, a first operation instruction is issued to the terminal equipment of the second user so that the terminal equipment of the second user calls the target application end to present a first audio playing page, the text content to be shared is obtained according to the sharing link, and audio playing processing is carried out on the text content to be shared.
B12. The method according to B11, wherein the information related to the text content to be shared includes: the text content to be shared and/or the source position information of the text content to be shared.
B13. The method of B11 or B12, wherein the method further comprises: and if the terminal equipment of the second user is not provided with the target application end, issuing a second operation instruction to the terminal equipment of the second user so as to enable the terminal equipment of the second user to call a browser to present a second audio playing page, acquiring an audio file corresponding to the text content to be shared through the second audio playing page, and playing the audio file.
B14. The method of B11, wherein after determining the textual content to share, the method further comprises: and generating an audio file according to the text content to be shared, and storing the audio file in a network terminal.
B15. The method of B12, wherein the method further comprises: and issuing a third operation instruction to the terminal equipment of a second user according to the text viewing operation of the second user on the first audio playing page so as to enable the target application end to jump and display the page containing the text content to be shared.
B16. The method according to B15, wherein the target application end is a book application end, the first audio playback page is a listening page of the book application end, and the page containing the text content to be shared is a book page.
B17. The method according to B16, wherein the source location information of the text content to be shared includes: book ID information corresponding to the text content to be shared and offset position information of the text content to be shared in the book; the book ID information corresponding to the text content to be shared is used for searching a book resource file in a book library, and the offset position information of the text content to be shared in the book is used for searching the text content to be shared and page data of a book page containing the text content to be shared in the book resource file.
C18. An electronic 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: receiving an access operation of a second user to the sharing link; the sharing link is generated according to the related information of the text content to be shared marked by the first user; detecting whether a target application terminal is installed locally; when a target application terminal is locally installed, calling the target application terminal to present a first audio playing page; and acquiring the text content to be shared according to the sharing link, and performing audio playing processing on the text content to be shared.
C19. The electronic device according to C18, wherein the information related to the text content to be shared includes: the text content to be shared and/or the source position information of the text content to be shared.
C20. The electronic device of C19, the executable instructions further cause the processor to: and analyzing the sharing link to obtain the text content to be shared.
C21. The electronic device of C19, the executable instructions further cause the processor to: analyzing the sharing link to obtain source position information of the text content to be shared; sending source position information of the text content to be shared to a network terminal, so that the network terminal searches a corresponding resource file according to the source position information of the text content to be shared; and receiving the resource file fed back by the network terminal, and searching in the resource file according to the source position information of the text content to be shared to obtain the text content to be shared.
C22. The electronic device of C21, the executable instructions further cause the processor to: receiving a text viewing operation of a second user on the first audio playing page; and searching page data of a page containing the text content to be shared in the resource file according to the source position information of the text content to be shared, and displaying the searched page data.
C23. The electronic device of any of C18-C22, the executable instructions further cause the processor to: and when detecting that the target application terminal is not installed locally, calling a browser to present a second audio playing page, requesting an audio file corresponding to the text content to be shared from the network terminal, and playing the audio file fed back by the network terminal.
C24. The electronic device of C23, the executable instructions further cause the processor to: analyzing the sharing link to obtain source position information of the text content to be shared; sending source position information of the text content to be shared to a network end, so that the network end can search in a resource library according to the source position information of the text content to be shared to obtain the text content to be shared and generate an audio file corresponding to the text content to be shared; and receiving an audio file corresponding to the text content to be shared fed back by the network terminal.
C25. The electronic device of C23, the executable instructions further cause the processor to: analyzing the sharing link to obtain the text content to be shared; and requesting a stored audio file corresponding to the text content to be shared from a network terminal according to the text content to be shared.
C26. The electronic device according to C23, wherein the target application end is a book application end, the first audio playback page is a listening page of the book application end, and the page containing the text content to be shared is a book page.
C27. The electronic device according to C26, wherein the source location information of the text content to be shared includes: book ID information corresponding to the text content to be shared and offset position information of the text content to be shared in the book; the book ID information corresponding to the text content to be shared is used for searching a book resource file in a book library, and the offset position information of the text content to be shared in the book is used for searching the text content to be shared and page data of a book page containing the text content to be shared in the book resource file.
D28. A computer storage medium having stored therein at least one executable instruction that causes a processor to perform operations corresponding to an audio sharing method corresponding to text content as described in any one of a1-a 10.
E29. 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: determining text content to be shared according to sharing triggering operation of a first user; generating a sharing link according to the related information of the text content to be shared; according to the access operation of a second user to the sharing link, if the terminal equipment of the second user is provided with a target application end, a first operation instruction is issued to the terminal equipment of the second user so that the terminal equipment of the second user calls the target application end to present a first audio playing page, the text content to be shared is obtained according to the sharing link, and audio playing processing is carried out on the text content to be shared.
E30. The computing device of E29, wherein the information related to the textual content to be shared includes: the text content to be shared and/or the source position information of the text content to be shared. E31. The computing device of E29 or E30, the executable instructions further cause the processor to: and if the terminal equipment of the second user is not provided with the target application end, issuing a second operation instruction to the terminal equipment of the second user so as to enable the terminal equipment of the second user to call a browser to present a second audio playing page, acquiring an audio file corresponding to the text content to be shared through the second audio playing page, and playing the audio file.
E32. The computing device of E29, the executable instructions further cause the processor to: and generating an audio file according to the text content to be shared, and storing the audio file in a network terminal.
E33. The computing device of E31, the executable instructions further cause the processor to: and issuing a third operation instruction to the terminal equipment of a second user according to the text viewing operation of the second user on the first audio playing page so as to enable the target application end to jump and display the page containing the text content to be shared.
E34. The computing device according to E33, wherein the target application end is a book application end, the first audio playback page is a listening page of the book application end, and the page containing the text content to be shared is a book page.
E35. The computing device of E34, wherein the source location information of the textual content to be shared includes: book ID information corresponding to the text content to be shared and offset position information of the text content to be shared in the book; the book ID information corresponding to the text content to be shared is used for searching a book resource file in a book library, and the offset position information of the text content to be shared in the book is used for searching the text content to be shared and page data of a book page containing the text content to be shared in the book resource file. F36. A computer storage medium having stored therein at least one executable instruction for causing a processor to perform an operation corresponding to an audio sharing method corresponding to text content as described in any one of B11-B17.

Claims (10)

1. An audio sharing method corresponding to text content comprises the following steps:
receiving an access operation of a second user to the sharing link;
the sharing link is generated according to the related information of the text content to be shared marked by the first user;
detecting whether a target application terminal is installed locally;
when a target application terminal is locally installed, calling the target application terminal to present a first audio playing page;
and acquiring the text content to be shared according to the sharing link, and performing audio playing processing on the text content to be shared.
2. The method of claim 1, wherein the information related to the textual content to be shared comprises: the text content to be shared and/or the source position information of the text content to be shared.
3. The method of claim 2, wherein the obtaining the textual content to be shared according to the sharing link further comprises:
and analyzing the sharing link to obtain the text content to be shared.
4. The method of claim 2, wherein the obtaining the textual content to be shared according to the sharing link further comprises:
analyzing the sharing link to obtain source position information of the text content to be shared;
sending source position information of the text content to be shared to a network terminal, so that the network terminal searches a corresponding resource file according to the source position information of the text content to be shared;
and receiving the resource file fed back by the network terminal, and searching in the resource file according to the source position information of the text content to be shared to obtain the text content to be shared.
5. An audio sharing method corresponding to text content comprises the following steps:
determining text content to be shared according to sharing triggering operation of a first user;
generating a sharing link according to the related information of the text content to be shared;
according to the access operation of a second user to the sharing link, if the terminal equipment of the second user is provided with a target application end, a first operation instruction is issued to the terminal equipment of the second user so that the terminal equipment of the second user calls the target application end to present a first audio playing page, the text content to be shared is obtained according to the sharing link, and audio playing processing is carried out on the text content to be shared.
6. The method of claim 5, wherein the information related to the textual content to be shared comprises: the text content to be shared and/or the source position information of the text content to be shared.
7. An electronic 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:
receiving an access operation of a second user to the sharing link;
the sharing link is generated according to the related information of the text content to be shared marked by the first user;
detecting whether a target application terminal is installed locally;
when a target application terminal is locally installed, calling the target application terminal to present a first audio playing page;
and acquiring the text content to be shared according to the sharing link, and performing audio playing processing on the text content to be shared.
8. A computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to perform operations corresponding to the audio sharing method corresponding to the text content according to any one of claims 1-4.
9. A computing device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is configured to store at least one executable instruction that causes the processor to:
determining text content to be shared according to sharing triggering operation of a first user;
generating a sharing link according to the related information of the text content to be shared;
according to the access operation of a second user to the sharing link, if the terminal equipment of the second user is provided with a target application end, a first operation instruction is issued to the terminal equipment of the second user so that the terminal equipment of the second user calls the target application end to present a first audio playing page, the text content to be shared is obtained according to the sharing link, and audio playing processing is carried out on the text content to be shared.
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 audio sharing method corresponding to the text content according to claim 5 or 6.
CN202111493628.6A 2021-12-08 2021-12-08 Audio sharing method corresponding to text content, computing device and storage medium Pending CN114201137A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111493628.6A CN114201137A (en) 2021-12-08 2021-12-08 Audio sharing method corresponding to text content, computing device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111493628.6A CN114201137A (en) 2021-12-08 2021-12-08 Audio sharing method corresponding to text content, computing device and storage medium

Publications (1)

Publication Number Publication Date
CN114201137A true CN114201137A (en) 2022-03-18

Family

ID=80651382

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111493628.6A Pending CN114201137A (en) 2021-12-08 2021-12-08 Audio sharing method corresponding to text content, computing device and storage medium

Country Status (1)

Country Link
CN (1) CN114201137A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107517323A (en) * 2017-09-08 2017-12-26 咪咕数字传媒有限公司 A kind of information sharing method, device and storage medium
CN108874266A (en) * 2018-06-27 2018-11-23 北京微播视界科技有限公司 Text playback method, client, terminal and storage medium
CN109634700A (en) * 2018-11-26 2019-04-16 维沃移动通信有限公司 A kind of the content of text display methods and terminal device of audio
CN113360704A (en) * 2021-06-30 2021-09-07 北京字跳网络技术有限公司 Voice playing method and device and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107517323A (en) * 2017-09-08 2017-12-26 咪咕数字传媒有限公司 A kind of information sharing method, device and storage medium
CN108874266A (en) * 2018-06-27 2018-11-23 北京微播视界科技有限公司 Text playback method, client, terminal and storage medium
CN109634700A (en) * 2018-11-26 2019-04-16 维沃移动通信有限公司 A kind of the content of text display methods and terminal device of audio
CN113360704A (en) * 2021-06-30 2021-09-07 北京字跳网络技术有限公司 Voice playing method and device and electronic equipment

Similar Documents

Publication Publication Date Title
US9390434B2 (en) Systems and methods for searching cloud-based databases
US9135339B2 (en) Invoking an audio hyperlink
US20140359491A1 (en) Pre-fetching of network page content
AU2018200561A1 (en) Launching applications from webpages
CN107945796B (en) Speech recognition method, device, equipment and computer readable medium
CN110750741A (en) Webpage link skipping processing method, computer device and storage medium
JP2005501302A (en) Integrated extraction system from media objects
CN104090887A (en) Music search method and device
WO2008137510A1 (en) Tag-sharing and tag-sharing application program interface
CN107105336B (en) Data processing method and data processing device
CN112162806B (en) Popup display method, terminal and computer storage medium
CN111324330B (en) Electronic book playing processing method, computing device and computer storage medium
CN113722535B (en) Method for generating book recommendation video, electronic device and computer storage medium
RU2399090C2 (en) System and method for real time internet search of multimedia content
CN111651231A (en) Work generation method and device, vehicle end and mobile terminal
CN113010814A (en) Webpage content processing method, computing device and computer storage medium
CN114201137A (en) Audio sharing method corresponding to text content, computing device and storage medium
CN111506747B (en) File analysis method, device, electronic equipment and storage medium
CN109299314B (en) Music retrieval and recommendation method, device, storage medium and terminal equipment
CN1620053A (en) Method and apparatus for marking of web pages
CN100341273C (en) Data processing method, data processing apparatus
US20120059909A1 (en) Information processing apparatus, communication control method, and computer-readable recording medium storing communication control program
CN111563153A (en) Recommendation method and terminal based on clipboard information sharing
CN113779403A (en) Book information acquisition method, book information display method, server and user terminal
CN111259181A (en) Method and equipment for displaying information and providing information

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