CN112650467A - Voice playing method and related device - Google Patents

Voice playing method and related device Download PDF

Info

Publication number
CN112650467A
CN112650467A CN202011548990.4A CN202011548990A CN112650467A CN 112650467 A CN112650467 A CN 112650467A CN 202011548990 A CN202011548990 A CN 202011548990A CN 112650467 A CN112650467 A CN 112650467A
Authority
CN
China
Prior art keywords
information
audio
determining
playing
page
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.)
Granted
Application number
CN202011548990.4A
Other languages
Chinese (zh)
Other versions
CN112650467B (en
Inventor
冉俊雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Futu Network Technology Co Ltd
Original Assignee
Shenzhen Futu Network 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 Shenzhen Futu Network Technology Co Ltd filed Critical Shenzhen Futu Network Technology Co Ltd
Priority to CN202011548990.4A priority Critical patent/CN112650467B/en
Publication of CN112650467A publication Critical patent/CN112650467A/en
Application granted granted Critical
Publication of CN112650467B publication Critical patent/CN112650467B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/63Querying
    • G06F16/638Presentation of query results
    • G06F16/639Presentation of query results using playlists

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application provides a voice playing method and a related device, wherein the method comprises the following steps: receiving an audio playing instruction input by a user from an information detail page of a first application program; determining a target audio play list according to the audio play instruction; and playing the corresponding information according to the target audio play list, so that the convenience in information acquisition can be improved.

Description

Voice playing method and related device
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a voice playing method and a related device.
Background
With the continuous development of society, electronic devices and the like have been deeply buried in various aspects of life. In the prior art, when a user acquires information through the electronic device, the user usually clicks an information page, the information page displays corresponding information after jumping, and acquires the information by watching the information page, which results in low convenience in information acquisition.
Disclosure of Invention
The embodiment of the application provides a voice playing method and a related device, which can improve the convenience of information acquisition.
A first aspect of an embodiment of the present application provides a voice playing method, where the method includes:
receiving an audio playing instruction input by a user from an information detail page of a first application program;
determining a target audio play list according to the audio play instruction;
and playing the corresponding information according to the target audio play list.
With reference to the first aspect, in a possible implementation manner, the determining a target audio playlist according to the audio playing instruction includes:
acquiring switching information for switching to the information detail page;
and determining the target audio play list according to the switching information and the audio play instruction.
With reference to the first aspect, in a possible implementation manner, the determining the target audio playlist according to the switching information and the audio playing instruction includes:
determining a reference playlist according to the page switching information;
and if the audio identifier indicated by the audio playing instruction is in the reference playing list, determining the reference playing list as the target audio playing list.
With reference to the first aspect, in one possible implementation manner, the method further includes:
if the audio identifier indicated by the audio playing instruction is not in the reference playing list, acquiring a current audio playing list;
and adding the audio identifier to the current audio play list to obtain the target audio play list.
With reference to the first aspect, in a possible implementation manner, the determining a reference playlist according to the page switching information includes:
acquiring at least one audio identifier to be played according to the page switching information;
and determining the reference play list according to the at least one audio identifier to be played.
With reference to the first aspect, in one possible implementation manner, the playing the corresponding information according to the target audio playlist includes:
when the preset number of audio left in the target audio play list is not played, determining whether to update the target audio play list;
and if so, updating the target audio play list.
With reference to the first aspect, in one possible implementation manner, the method further includes:
acquiring currently played audio information;
determining update information according to the audio information;
and adjusting the information page according to the updating information to obtain an adjusted information page.
With reference to the first aspect, in a possible implementation manner, the adjusting the information page according to the update information to obtain an adjusted information page includes:
determining at least one area to be adjusted of the information page according to the updating information;
acquiring current display information of each area to be adjusted in the at least one area to be adjusted;
determining the adjustment priority of each area to be adjusted according to the current display information;
determining target display information of each area to be adjusted from the updated information according to the adjustment priority;
determining an adjustment strategy corresponding to each area to be adjusted according to the target display information;
and adjusting each area to be displayed according to the adjustment strategy and the target display information to obtain an adjusted information page.
A second aspect of an embodiment of the present application provides a speech playback apparatus, including:
the receiving unit is used for receiving an audio playing instruction input by a user from an information detail page of a first application program;
the determining unit is used for determining a target audio play list according to the audio play instruction;
and the playing unit is used for playing the corresponding information according to the target audio playing list.
With reference to the second aspect, in one possible implementation manner, the determining unit is configured to:
acquiring switching information for switching to the information detail page;
and determining the target audio play list according to the switching information and the audio play instruction.
With reference to the second aspect, in a possible implementation manner, the switching information includes page switching information, and in the aspect of determining the target audio playlist according to the switching information and the audio playing instruction, the determining unit is configured to:
determining a reference playlist according to the page switching information;
and if the audio identifier indicated by the audio playing instruction is in the reference playing list, determining the reference playing list as the target audio playing list.
With reference to the second aspect, in one possible implementation manner, the apparatus is further configured to:
if the audio identifier indicated by the audio playing instruction is not in the reference playing list, acquiring a current audio playing list;
and adding the audio identifier to the current audio play list to obtain the target audio play list.
With reference to the second aspect, in one possible implementation manner, in the determining a reference playlist according to the page switching information, the determining unit is configured to:
acquiring at least one audio identifier to be played according to the page switching information;
and determining the reference play list according to the at least one audio identifier to be played.
With reference to the second aspect, in one possible implementation manner, the playing unit is configured to:
when the preset number of audio left in the target audio play list is not played, determining whether to update the target audio play list;
and if so, updating the target audio play list.
With reference to the second aspect, in one possible implementation manner, the apparatus is further configured to:
acquiring currently played audio information;
determining update information according to the audio information;
and adjusting the information page according to the updating information to obtain an adjusted information page.
With reference to the second aspect, in one possible implementation manner, the apparatus is further configured to:
determining at least one area to be adjusted of the information page according to the updating information;
acquiring current display information of each area to be adjusted in the at least one area to be adjusted;
determining the adjustment priority of each area to be adjusted according to the current display information;
determining target display information of each area to be adjusted from the updated information according to the adjustment priority;
determining an adjustment strategy corresponding to each area to be adjusted according to the target display information;
and adjusting each area to be displayed according to the adjustment strategy and the target display information to obtain an adjusted information page.
A third aspect of the embodiments of the present application provides a terminal, including a processor, an input device, an output device, and a memory, where the processor, the input device, the output device, and the memory are connected to each other, where the memory is used to store a computer program, and the computer program includes program instructions, and the processor is configured to call the program instructions to execute the step instructions in the first aspect of the embodiments of the present application.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform part or all of the steps as described in the first aspect of embodiments of the present application.
A fifth aspect of embodiments of the present application provides a computer program product, wherein the computer program product comprises a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps as described in the first aspect of embodiments of the present application. The computer program product may be a software installation package.
The embodiment of the application has at least the following beneficial effects:
the method comprises the steps of receiving an audio playing instruction input by a user from an information detail page of a first application program, determining a target audio playing list according to the audio playing instruction, and playing corresponding information according to the target audio playing list, so that the audio playing list can be determined according to the audio playing instruction input by the information detail page, the corresponding information can be played, and compared with the prior art that information is obtained only by watching the information page, the method can improve the convenience of information obtaining.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a scene schematic diagram of a voice playing method provided in an embodiment of the present application;
fig. 2A is a schematic flowchart of an audio playing method according to an embodiment of the present application;
FIG. 2B is a schematic diagram of a voice playback provided in an embodiment of the present application;
fig. 2C is a schematic diagram of a status updating method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another audio playing method provided in the embodiment of the present application;
fig. 4 is a schematic structural diagram of a terminal according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a voice playing apparatus according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
In order to better understand the voice playing method provided in the embodiment of the present application, a brief description is first given below to a scenario in which the voice playing method is applied. Referring to fig. 1, fig. 1 is a scene schematic diagram of a voice playing method according to an embodiment of the present application. As shown in fig. 1, the user sends an audio playing instruction to the electronic apparatus, where the instruction may be manually input, the audio playing instruction may be input by clicking an audio identifier of the information detail page, or may be input by voice, and when the audio playing instruction is input by voice, specifically, for example, "xx content" is played, where this is merely an example, the electronic apparatus determines an audio playing list according to the audio playing instruction, and the electronic apparatus plays the information corresponding to the audio playing list. Therefore, the audio playing list can be determined according to the audio playing instruction input by the information detail page, the corresponding information can be played, and compared with the existing scheme that the information is obtained only by watching the information page, the convenience in information obtaining can be improved.
Referring to fig. 2A, fig. 2A is a schematic flowchart illustrating an audio playing method according to an embodiment of the present disclosure. As shown in fig. 2A, the method includes:
201. and receiving an audio playing instruction input by a user from the information detail page of the first application program.
The first application may be an application that includes a page of information details, such as "news flashes"; or an application program including an information page information acquisition page, and if the first application program is the application program including the information page, receiving an audio playing instruction input by a user from the information page.
The manner of receiving the audio playing instruction may include: the audio playing instruction is received through a manual input mode of a user, or the audio playing instruction of the user can be received through receiving voice information of the user and the voice information.
The manual input mode may be that the user clicks an audio identifier in the information detail page, and receives an audio playing instruction by identifying whether the audio identifier is clicked, or specifically, the user clicks the audio identifier, and then confirms the audio playing instruction input by the user. The voice information may be obtained by recognizing the voice of the user to determine whether the voice information includes an audio playing instruction, for example, if the voice information includes a playing xxx, determining the audio playing instruction according to the information.
202. And determining a target audio play list according to the audio play instruction.
The target music playlist may be determined according to the switching information and the music playing instruction for switching to the information detail page.
The switching information may include page switching information and link switching information, the page switching information may be specifically switched from the information list page to the information detail page, and the link switching information may be specifically switched to the information detail page through the information link. The user enters the information detail page from the information list page, clicks the information link, and then jumps to the information detail page. Different switching information may correspond to different methods of determining the target audio playlist.
203. And playing the corresponding information according to the target audio play list.
The information can be played according to the audio playing sequence in the target audio playing list, and when the number of the information which is not played in the audio list reaches a preset value, whether the target audio playing list is updated or not can be determined.
In this example, by receiving an audio playing instruction input by a user from an information detail page of a first application, determining a target audio playing list according to the audio playing instruction, and playing corresponding information according to the target audio playing list, the audio playing list can be determined according to the audio playing instruction input by the information detail page, and the corresponding information can be played.
In one possible implementation, a possible method for determining a target audio playlist according to the audio playing instruction includes:
a1, acquiring switching information for switching to the information detail page;
a2, determining the target audio play list according to the switching information and the audio play instruction.
The switching information may be determined according to a switching action of switching to the information detail page, for example, a previous action of the information detail page may be obtained to determine the switching information, specifically, the previous action is an information list page, the switching information is page switching information, and the previous action is an information link, the switching information is link switching information.
If the switching information is page switching information, a reference playlist can be determined according to the page switching information, and a target audio playlist can be determined according to the reference playlist and the audio identifier indicated by the audio playing instruction.
And if the switching information is the link switching information, determining an audio according to the audio playing instruction, and adding the audio to the last piece of the current audio playing list to obtain the target audio playing list.
In this example, the target audio play list is determined according to the switching information and the audio play instruction, so that the target audio play list can be accurately determined, and the accuracy is improved.
In a possible implementation manner, the switching information includes page switching information, and a possible method for determining the target audio playlist according to the switching information and the audio playing instruction includes:
b1, determining a reference playlist according to the page switching information;
b2, if the audio mark indicated by the audio playing instruction is in the reference play list, determining the reference play list as the target audio play list.
And determining the currently playable audio according to the page switching information, and determining a reference playlist according to the currently playable audio. The currently playable audio is the audio included in the information detail page, and the type of audio is determined to be playable audio.
The reference playlist includes at least one audio identifier, which may be, for example, a name of the audio.
In this example, if the audio identifier indicated by the audio playing instruction is in the reference playlist, the reference playlist is determined as the target audio playlist, so that convenience in determining the target audio playlist can be improved.
In a possible implementation manner, if the audio identifier indicated by the audio playing instruction is not in the reference playlist, the embodiment of the present application further provides the following method:
c1, if the audio identifier indicated by the audio playing instruction is not in the reference playlist, acquiring a current audio playlist;
and C2, adding the audio identifier to the current audio play list to obtain the target audio play list.
A current audio playlist may be understood as an audio playlist where audio is currently being played.
In this example, the audio identifier is added to the current audio playlist to obtain the target audio playlist, so that convenience in acquiring the target audio playlist is improved.
In a possible implementation manner, a possible method for determining a reference playlist according to the page switching information includes:
d1, acquiring at least one audio identifier to be played according to the page switching information;
d2, determining the reference playlist according to the at least one audio identifier to be played.
The method for determining the currently playable audio according to the switching information may be: and acquiring the audio included in the current page information detail page according to the page switching information so as to obtain at least one audio identifier to be played. The page switching information may accurately determine the audio of the current information detail page, and may be determined by a specific corresponding relationship, for example, determining an identifier of the current information detail page according to the page switching information, and determining the audio included in the information detail page according to the identifier.
The audio identifiers to be played can be sorted to obtain a reference playlist. The specific sorting mode can be set by empirical values or historical data. For example, the audio identifier to be played is sorted according to the corresponding playing identifier in the information detail page, specifically, the order of the playing identifier may be determined to refer to the order of the audio identifier in the playlist.
In this example, at least one to-be-played audio identifier is determined through the page switching information, and the reference playlist is obtained by sequencing the at least one to-be-played audio identifier, so that the reference playlist can be quickly determined, and the efficiency of determining the reference playlist is improved.
In one possible implementation manner, a possible method for playing corresponding information according to the target audio playlist includes:
e1, when the audio of the preset number in the target audio play list is not played, determining whether to update the target audio play list;
e2, if yes, updating the target audio play list.
The remaining number may be set by an empirical value or historical data, and may be 3, for example. The method of determining whether to update the target audio playlist may be to present the audio identification of the remaining audio, or the remaining number, on the information detail page and present an update request whether to update the target audio playlist. And receiving an update response sent by the user, and if the update response is yes, updating the target audio play list.
The target audio playlist may be updated by receiving an audio indication input by a user, determining an audio identifier based on the audio indication, and adding the audio identifier to the last piece of the audio list.
Of course, the method for updating the target audio playlist may also be to update the target audio playlist according to the audio type of the target audio playlist, and specifically includes:
f1, determining at least one reference audio type according to the target audio playlist;
f2, acquiring the number of audio identifications in the at least one reference audio type;
f3, determining a reference audio type corresponding to the maximum value of the number of the audio identifications in the at least one reference audio type as a target audio type;
f4, determining at least one audio identifier to be added according to the target audio type and the user use information;
f5, adding the audio identification to be added to the target audio list.
The reference audio type may be determined according to the audio identifier in the target audio playlist, and the audio identifier and the reference audio category have a unique corresponding relationship, for example, one reference audio type may include a plurality of audio identifiers, and one audio identifier may only correspond to one reference audio type.
The number of audio identifiers in the reference audio type can be determined according to the corresponding relation between the reference audio type audio identifiers.
The number of audio identifications in the reference audio type may reflect the current user's primary attention, with higher numbers being more attentive and lower numbers being less attentive.
The usage information of the user may be understood as usage habits of the user, and the usage habits of the user may be understood as content that the user often pays attention to may be embodied by keywords, for example, the content that the user often pays attention to is stocks or the like, a certain stock, or the like. At least one audio identifier with the addition can be determined from the target audio type according to the use habit of the user, and the audio identifier to be added is different from the current audio identifier in the target audio playlist.
The audio identifier to be added may be added after the last audio identifier of the target audio list. Specifically, the addition is performed from the end of the target audio list, and the order of addition may be fixed or unordered, and is not specifically limited herein.
In this example, according to the target audio type with the largest number of audio identifiers in the reference audio types and the use information of the user, at least one audio identifier to be added is determined, and the at least one audio identifier to be added is added to the target audio list, so that the audio identifier to be added related to the user can be accurately determined and added to the target audio list, and the accuracy of the target audio list during updating is improved.
In a possible implementation manner, the information page may be further adjusted, which specifically includes:
g1, acquiring the currently played audio information;
g2, determining updating information according to the audio information;
g3, adjusting the information page according to the updated information to obtain the adjusted information page
The audio information can be obtained according to the audio identifier of the currently played audio. The audio information may be understood as content information of audio, and may be specifically understood as audio text, and the like. Certainly, after the audio information is acquired, keyword extraction can be performed on the audio information to obtain corresponding keywords. The keyword may be a keyword of information to be characterized in the audio information. For example, if audio information is used to introduce a XX product, the keywords may be the XX product, product characteristics of the XX product, and so on.
The update information can be determined according to the keywords extracted from the audio information, different keywords correspond to different update information, and the update information can be analog information obtained by searching according to the keywords. Specifically, the method may be understood as searching according to the keyword to obtain the associated information of the keyword, and determining the associated information as the update information. For example, if the keyword is XX product, the XX product may be searched for a product associated with the XX product, for example, a product of the same category as the XX product. If the keyword is the product characteristic of the XX product, the product characteristic can be searched, so that the information of other products corresponding to the product characteristic is obtained.
The method for adjusting the information page according to the update information may be to determine an area to be adjusted of the information page, and adjust the area to be adjusted to obtain the adjusted information page.
In this example, the update information is determined according to the currently played audio information, and the information page is adjusted by using the update information, so that the information page can be intelligently adjusted, and the intelligence is improved.
In a possible implementation manner, a possible method for adjusting the information page according to the update information to obtain an adjusted information page includes:
h1, determining at least one area to be adjusted of the information page according to the updating information;
h2, acquiring the current display information of each area to be adjusted in the at least one area to be adjusted;
h3, determining the adjustment priority of each area to be adjusted according to the current display information;
h4, determining the target display information of each area to be adjusted from the updated information according to the adjustment priority;
h5, determining an adjustment strategy corresponding to each area to be adjusted according to the target display information;
h6, adjusting each area to be displayed according to the adjustment strategy and the target display information to obtain an adjusted information page.
At least one area to be adjusted may be determined according to the content size of the update information. The content size may be understood as the size of the area occupied by the update content. The area to be adjusted can be a fixed area in the information page, the information page can be divided into a plurality of fixed areas in advance, the area of the fixed area can be the same or different,
the information can be extracted and currently displayed from the display information of each area to be adjusted in the area to be adjusted recorded in the database.
The higher the degree of association between the current presentation information and the user is, the higher the adjustment priority is, and the lower the degree of association is, the lower the adjustment priority is. The relevance degree may reflect relevance between the presentation information and the user, for example, the higher the browsing times of the user and the information category where the current presentation information is located, the higher the relevance is, and the lower the browsing times is, the lower the relevance is. The higher the similarity between the current presentation information and the work and life habits of the user, the higher the relevance, and the like.
The priority of the display information can be obtained, and the adjustment priority of the area to be adjusted is determined according to the priority of the current display information. The method for acquiring the priority of the display information may be: and acquiring the association degree between the current display information and the user, and determining the priority according to the association degree. The higher the association, the higher the priority, and the lower the association, the lower the priority.
The updated information can be classified into different grades to obtain sub-updated information with different grades. The higher the level of the sub-update information is, the higher the corresponding adjustment priority is, and the lower the level of the sub-update information is, the lower the corresponding adjustment priority is.
Different target display information has different corresponding adjustment strategies, for example, display pictures, display modes, display angles, display durations and the like corresponding to the adjustment information are different. The adjustment strategies include an adjustment strategy for a display picture, an adjustment strategy for a display mode, an adjustment strategy for a display angle, an adjustment strategy for a display duration and the like. The adjustment policy for displaying the picture can be understood as an adjustment policy for displaying the picture, for example, the way for displaying the picture is to adjust static display into dynamic display, and the like.
When the adjustment is performed according to the adjustment policy, the adjustment information corresponding to the adjustment policy may be adjusted at the same time, or may be adjusted according to a preset sequence, which is not limited specifically here. The preset sequence is set by an empirical value or historical data.
In this example, the area to be adjusted is determined according to the update information, the display information of the area to be adjusted is obtained to determine the adjustment priority, the target display information is determined according to the adjustment priority, and the adjustment is performed according to the target display information and the adjustment strategy, so that the adjusted information page is obtained, and the accuracy of page adjustment is improved.
In a possible implementation manner, the user may also play the corresponding voice information through a voice playing button of the information page, which may be specifically shown in fig. 2B, and specifically includes:
the user clicks the play button, the information page calls the H5 universal module to inform the client that the user generates a voice play behavior, then calls the playlist management module, the playlist management module can subscribe the events, and the inside can call the play function of the player to realize the play of the information.
In one possible implementation, when there is an interface of the playing status after the playing has started, and the playing status needs to be updated, the playing status may be updated, as shown in fig. 2C,
firstly, the playlist management module subscribes the currently played audio of the player, and when the playlist management module receives a change (i.e. the playing source changes), the H5 is notified to call the module (the playing source is switched), the current information page is notified, and the information page performs subsequent status update.
Referring to fig. 3, fig. 3 is a flowchart illustrating another voice playing method according to an embodiment of the present application. As shown in fig. 3, the method includes:
301. receiving an audio playing instruction input by a user from an information detail page of a first application program;
302. acquiring switching information for switching to the information detail page;
303. determining a reference playlist according to the page switching information;
wherein the switching information comprises page switching information.
304. If the audio identifier indicated by the audio playing instruction is in the reference playing list, determining the reference playing list as the target audio playing list;
305. and playing the corresponding information according to the target audio play list.
In this example, if the audio identifier indicated by the audio playing instruction is in the reference playlist, the reference playlist is determined as the target audio playlist, so that convenience in determining the target audio playlist can be improved.
In accordance with the foregoing embodiments, please refer to fig. 4, where fig. 4 is a schematic structural diagram of a terminal provided in an embodiment of the present application, and as shown in the figure, the terminal includes a processor, an input device, an output device, and a memory, where the processor, the input device, the output device, and the memory are connected to each other, where the memory is used to store a computer program, the computer program includes program instructions, the processor is configured to call the program instructions, and the program includes instructions for performing the following steps;
receiving an audio playing instruction input by a user from an information detail page of a first application program;
determining a target audio play list according to the audio play instruction;
and playing the corresponding information according to the target audio play list.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the terminal includes corresponding hardware structures and/or software modules for performing the respective functions in order to implement the above-described functions. Those of skill in the art will readily appreciate that the present application is capable of hardware or a combination of hardware and computer software implementing the various illustrative elements and algorithm steps described in connection with the embodiments provided herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the terminal may be divided into the functional units according to the above method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
In accordance with the above, please refer to fig. 5, and fig. 5 is a schematic structural diagram of a voice playing apparatus according to an embodiment of the present application. As shown in fig. 5, the apparatus includes:
a receiving unit 501, configured to receive an audio playing instruction input by a user from an information detail page of a first application;
a determining unit 502, configured to determine a target audio playlist according to the audio playing instruction;
the playing unit 503 is configured to play the corresponding information according to the target audio playlist.
In one possible implementation manner, the determining unit 502 is configured to:
acquiring switching information for switching to the information detail page;
and determining the target audio play list according to the switching information and the audio play instruction.
In a possible implementation manner, the switching information includes page switching information, and in the aspect of determining the target audio playlist according to the switching information and the audio playing instruction, the determining unit 502 is configured to:
determining a reference playlist according to the page switching information;
and if the audio identifier indicated by the audio playing instruction is in the reference playing list, determining the reference playing list as the target audio playing list.
In one possible implementation, the apparatus is further configured to:
if the audio identifier indicated by the audio playing instruction is not in the reference playing list, acquiring a current audio playing list;
and adding the audio identifier to the current audio play list to obtain the target audio play list.
In a possible implementation manner, in the aspect of determining a reference playlist according to the page switching information, the determining unit 502 is configured to:
acquiring at least one audio identifier to be played according to the page switching information;
and determining the reference play list according to the at least one audio identifier to be played.
In one possible implementation manner, the playing unit 503 is configured to:
when the preset number of audio left in the target audio play list is not played, determining whether to update the target audio play list;
and if so, updating the target audio play list.
In one possible implementation, the apparatus is further configured to:
acquiring currently played audio information;
determining update information according to the audio information;
and adjusting the information page according to the updating information to obtain an adjusted information page.
In one possible implementation, the apparatus is further configured to:
determining at least one area to be adjusted of the information page according to the updating information;
acquiring current display information of each area to be adjusted in the at least one area to be adjusted;
determining the adjustment priority of each area to be adjusted according to the current display information;
determining target display information of each area to be adjusted from the updated information according to the adjustment priority;
determining an adjustment strategy corresponding to each area to be adjusted according to the target display information;
and adjusting each area to be displayed according to the adjustment strategy and the target display information to obtain an adjusted information page.
Embodiments of the present application also provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the voice playing methods described in the above method embodiments.
Embodiments of the present application also provide a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program causes a computer to execute part or all of the steps of any one of the voice playing methods described in the above method embodiments.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may be implemented in the form of a software program module.
The integrated units, if implemented in the form of software program modules and sold or used as stand-alone products, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned memory comprises: various media capable of storing program codes, such as a usb disk, a read-only memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and the like.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash memory disks, read-only memory, random access memory, magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A method for playing speech, the method comprising:
receiving an audio playing instruction input by a user from an information detail page of a first application program;
determining a target audio play list according to the audio play instruction;
and playing the corresponding information according to the target audio play list.
2. The method of claim 1, wherein determining a target audio playlist according to the audio playback instructions comprises:
acquiring switching information for switching to the information detail page;
and determining the target audio play list according to the switching information and the audio play instruction.
3. The method of claim 2, wherein the switching information comprises page switching information, and wherein determining the target audio playlist according to the switching information and the audio playback instruction comprises:
determining a reference playlist according to the page switching information;
and if the audio identifier indicated by the audio playing instruction is in the reference playing list, determining the reference playing list as the target audio playing list.
4. The method of claim 3, further comprising:
if the audio identifier indicated by the audio playing instruction is not in the reference playing list, acquiring a current audio playing list;
and adding the audio identifier to the current audio play list to obtain the target audio play list.
5. The method according to claim 3 or 4, wherein the determining a reference playlist according to the page switch information comprises:
acquiring at least one audio identifier to be played according to the page switching information;
and determining the reference play list according to the at least one audio identifier to be played.
6. The method of any of claims 1-5, wherein the playing the corresponding information according to the target audio playlist comprises:
when the preset number of audio left in the target audio play list is not played, determining whether to update the target audio play list;
and if so, updating the target audio play list.
7. The method according to any one of claims 1-6, further comprising:
acquiring currently played audio information;
determining update information according to the audio information;
and adjusting the information page according to the updating information to obtain an adjusted information page.
8. The method of claim 7, wherein the adjusting the information page according to the update information to obtain an adjusted information page comprises:
determining at least one area to be adjusted of the information page according to the updating information;
acquiring current display information of each area to be adjusted in the at least one area to be adjusted;
determining the adjustment priority of each area to be adjusted according to the current display information;
determining target display information of each area to be adjusted from the updated information according to the adjustment priority;
determining an adjustment strategy corresponding to each area to be adjusted according to the target display information;
and adjusting each area to be displayed according to the adjustment strategy and the target display information to obtain an adjusted information page.
9. A voice playback apparatus, characterized in that the apparatus comprises:
the receiving unit is used for receiving an audio playing instruction input by a user from an information detail page of a first application program;
the determining unit is used for determining a target audio play list according to the audio play instruction;
and the playing unit is used for playing the corresponding information according to the target audio playing list.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program comprising program instructions that, when executed by a processor, cause the processor to carry out the method according to any one of claims 1-8.
CN202011548990.4A 2020-12-24 2020-12-24 Voice playing method and related device Active CN112650467B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011548990.4A CN112650467B (en) 2020-12-24 2020-12-24 Voice playing method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011548990.4A CN112650467B (en) 2020-12-24 2020-12-24 Voice playing method and related device

Publications (2)

Publication Number Publication Date
CN112650467A true CN112650467A (en) 2021-04-13
CN112650467B CN112650467B (en) 2023-12-19

Family

ID=75359865

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011548990.4A Active CN112650467B (en) 2020-12-24 2020-12-24 Voice playing method and related device

Country Status (1)

Country Link
CN (1) CN112650467B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113360127A (en) * 2021-05-31 2021-09-07 富途网络科技(深圳)有限公司 Audio playing method and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1380650A (en) * 1994-07-29 2002-11-20 索尼公司 Medium capable of recording two kinds of data, method and equipment for reproducing said medium, and its recording equipment
US20030140121A1 (en) * 1999-05-20 2003-07-24 Intensifi, Inc., A California Corporation Method and apparatus for access to, and delivery of, multimedia information
CN103729439A (en) * 2013-12-30 2014-04-16 优视科技有限公司 Method and device for preloading webpage
CN107888984A (en) * 2017-11-15 2018-04-06 北京小米移动软件有限公司 Short video broadcasting method and device
CN107967110A (en) * 2017-11-30 2018-04-27 广东小天才科技有限公司 Playback method, playing device, electronic equipment and computer-readable recording medium
CN109862429A (en) * 2019-01-03 2019-06-07 百度在线网络技术(北京)有限公司 Video playing control method, device, equipment and storage medium
CN111107418A (en) * 2019-12-19 2020-05-05 北京奇艺世纪科技有限公司 Video data processing method, video data processing device, computer equipment and storage medium
CN111757161A (en) * 2020-06-19 2020-10-09 广州博冠智能科技有限公司 High-definition video playing content switching method, device, equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1380650A (en) * 1994-07-29 2002-11-20 索尼公司 Medium capable of recording two kinds of data, method and equipment for reproducing said medium, and its recording equipment
US20030140121A1 (en) * 1999-05-20 2003-07-24 Intensifi, Inc., A California Corporation Method and apparatus for access to, and delivery of, multimedia information
CN103729439A (en) * 2013-12-30 2014-04-16 优视科技有限公司 Method and device for preloading webpage
CN107888984A (en) * 2017-11-15 2018-04-06 北京小米移动软件有限公司 Short video broadcasting method and device
CN107967110A (en) * 2017-11-30 2018-04-27 广东小天才科技有限公司 Playback method, playing device, electronic equipment and computer-readable recording medium
CN109862429A (en) * 2019-01-03 2019-06-07 百度在线网络技术(北京)有限公司 Video playing control method, device, equipment and storage medium
CN111107418A (en) * 2019-12-19 2020-05-05 北京奇艺世纪科技有限公司 Video data processing method, video data processing device, computer equipment and storage medium
CN111757161A (en) * 2020-06-19 2020-10-09 广州博冠智能科技有限公司 High-definition video playing content switching method, device, equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113360127A (en) * 2021-05-31 2021-09-07 富途网络科技(深圳)有限公司 Audio playing method and electronic equipment

Also Published As

Publication number Publication date
CN112650467B (en) 2023-12-19

Similar Documents

Publication Publication Date Title
CN107729578B (en) Music recommendation method and device
CN105653572A (en) Resource processing method and apparatus
CN104750839A (en) Data recommendation method, terminal and server
CN110784768B (en) Multimedia resource playing method, storage medium and electronic equipment
US10341727B2 (en) Information processing apparatus, information processing method, and information processing program
CN101739437A (en) Implementation method for network sound-searching unit and specific device thereof
CN104916295A (en) Method and terminal for play control
JP2012103832A (en) Information processor, method, information processing system and program
CN104702986A (en) Ranking method and device of program list
US20150012556A1 (en) Method for Starting Music Application and Terminal
CN110867188A (en) Method and device for providing content service, storage medium and electronic device
CN104978377A (en) Multimedia data processing method, multimedia data processing device and terminal
CN105847320A (en) Resource obtaining method and device
CN103473361A (en) Searching method and searching device
CN104581224A (en) Play content switching method and device and terminal
CN112650467A (en) Voice playing method and related device
JP2007528531A (en) Search service system and method for providing input order of keywords by category
CN103023923A (en) Information transmission method and information transmission device
CN104866477B (en) Information processing method and electronic equipment
JP4177018B2 (en) Content distribution method and program for causing computer to perform processing in the method
CN105915653B (en) Method and device for downloading media file
CN115705378A (en) Resource recommendation method and device and electronic equipment
CN112995705A (en) Method and device for video processing and electronic equipment
CN107194004B (en) Data processing method and electronic equipment
CN113516963A (en) Audio data generation method and device, server and intelligent loudspeaker box

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 518000 floor 25, building D1, Kexing Science Park, No. 15, Keyuan Road, Science Park community, Yuehai street, Nanshan District, Shenzhen, Guangdong

Applicant after: SHENZHEN FUTU NETWORK TECHNOLOGY Co.,Ltd.

Address before: 518100 25th floor, building D1, Kexing Science Park, 15 Keyuan Road, Science Park community, Yuehai street, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: SHENZHEN FUTU NETWORK TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant