CN112650467B - Voice playing method and related device - Google Patents

Voice playing method and related device Download PDF

Info

Publication number
CN112650467B
CN112650467B CN202011548990.4A CN202011548990A CN112650467B CN 112650467 B CN112650467 B CN 112650467B CN 202011548990 A CN202011548990 A CN 202011548990A CN 112650467 B CN112650467 B CN 112650467B
Authority
CN
China
Prior art keywords
information
audio
determining
play list
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011548990.4A
Other languages
Chinese (zh)
Other versions
CN112650467A (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

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 convenience in information acquisition can be improved.

Description

Voice playing method and related device
Technical Field
The present disclosure 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 advanced into various aspects of life. In the prior art, when the user acquires the information through the electronic equipment, the user usually clicks the information page, and displays corresponding information after the information page jumps, and acquires the information by looking at the information page, so that the convenience is low in information acquisition.
Disclosure of Invention
The embodiment of the application provides a voice playing method and a related device, which can improve convenience in information acquisition.
A first aspect of an embodiment of the present application provides a method for playing voice, 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 corresponding information according to the target audio play list.
With reference to the first aspect, in one possible implementation manner, the determining a target audio playlist according to the audio playing instruction includes:
acquiring switching information switched 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 one possible implementation manner, the switching information includes page switching information, and the determining the target audio play list according to the switching information and the audio play 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 play list, determining the reference play list as the target audio play 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 playlist, acquiring a current audio playlist;
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 one possible implementation manner, the determining a reference playlist according to the page switching information includes:
according to the page switching information, at least one audio identifier to be played is obtained;
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 corresponding information according to the target audio playlist includes:
when the preset number of audio is not played in the target audio play list, determining whether to update the target audio play list;
if yes, updating the target audio play list.
With reference to the first aspect, in one possible implementation manner, the method further includes:
acquiring the audio information currently played;
determining update information according to the audio information;
and adjusting the information page according to the updated information to obtain an adjusted information page.
With reference to the first aspect, in one 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 update information;
acquiring current display information of each region to be adjusted in the at least one region 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 update information according to the adjustment priority;
determining an adjustment strategy corresponding to each region 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 voice playing device, including:
the receiving unit is used for receiving an audio playing instruction input by a user from the information detail page of the first application program;
a determining unit, configured to determine 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 play list.
With reference to the second aspect, in one possible implementation manner, the determining unit is configured to:
acquiring switching information switched 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 one 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 play list, determining the reference play list as the target audio play 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 playlist, acquiring a current audio playlist;
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 aspect of determining a reference playlist according to the page switching information, the determining unit is configured to:
according to the page switching information, at least one audio identifier to be played is obtained;
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 is not played in the target audio play list, determining whether to update the target audio play list;
if yes, updating the target audio play list.
With reference to the second aspect, in one possible implementation manner, the apparatus is further configured to:
acquiring the audio information currently played;
determining update information according to the audio information;
and adjusting the information page according to the updated 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 update information;
acquiring current display information of each region to be adjusted in the at least one region 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 update information according to the adjustment priority;
determining an adjustment strategy corresponding to each region 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, comprising a processor, an input device, an output device and a memory, the processor, the input device, the output device and the memory being interconnected, wherein the memory is configured to store a computer program, the computer program comprising program instructions, the processor being configured to invoke the program instructions to execute the step instructions as in the first aspect of the embodiments of the present application.
A fourth aspect of the embodiments of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes a computer to perform part or all of the steps as described in the first aspect of the embodiments of the present application.
A fifth aspect of the 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 the embodiments of the present application. The computer program product may be a software installation package.
The implementation of 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, and the corresponding information can be played, and compared with the prior art, the method for acquiring the information by only watching the information page, the convenience in acquiring the information can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic view of a scenario of a voice playing method according to an embodiment of the present application;
fig. 2A is a schematic flow chart of an audio playing method according to an embodiment of the present application;
fig. 2B is a schematic diagram of voice playing according to 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 flowchart of another audio playing method according to an 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 device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application and in the above-described figures, are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may 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 may be included in at least one embodiment of the application. The appearances of such phrases 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. Those of skill in the art will explicitly and implicitly understand that the embodiments described herein may be combined with other embodiments.
In order to better understand a voice playing method provided in the embodiments of the present application, a scenario in which the voice playing method is applied will be briefly described below. Referring to fig. 1, fig. 1 is a schematic view of a scene 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 device, where the instruction may be manually input, and the manual input may be by clicking an audio identifier of an information detail page, or the like, or may be by voice input, and the voice input may be, for example, "play xx content" or the like, where the electronic device determines an audio playlist according to the audio playing instruction, and the electronic device plays information corresponding to the audio playlist. Therefore, the audio play list can be determined according to the audio play instruction input by the information detail page, and the corresponding information can be played, so that the convenience in information acquisition can be improved compared with the prior art that the information is acquired only by watching the information page.
Referring to fig. 2A, fig. 2A is a schematic flow chart of an audio playing method according to an embodiment of the present application. As shown in fig. 2A, the method includes:
201. an audio playback instruction input by a user is received from an information details page of a first application.
The first application may be an application including information details pages, such as "quick-messages" and the like; or an application program comprising an information page information acquisition page, and if the first application program is an application program comprising an information page, receiving an audio playing instruction input by a user from the information page.
The manner of receiving the audio play instruction may include: the audio playing instruction is received by a manual input mode of a user, or the audio playing instruction of the user can be received by 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 not, specifically, the user clicks the audio identifier, and confirms the audio playing instruction input by the user. The voice information may be obtained by identifying the voice of the user, and determining whether the voice information includes an audio playing instruction, for example, if the voice information includes 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 play list may be determined based on the switch information to the information detail page and the music play instruction.
The switching information may include page switching information, which may be specifically switched from the information list page to the information detail page, and link switching information, which may be specifically switched from the information link to the information detail page. The user enters the information details page from the information list page, clicks on the information link, and then jumps to the information details page. Different switch information may correspond to different methods of determining the target audio playlist.
203. And playing corresponding information according to the target audio play list.
The information can be played according to the audio playing sequence in the target audio play list, and when the number of unreflected audio play lists reaches a preset value, whether the target audio play list is updated or not can be determined.
In this example, the audio play instruction input by the user is received from the information detail page of the first application program, the target audio play list is determined according to the audio play instruction, and the corresponding information is played according to the target audio play list, so that the audio play list can be determined according to the audio play instruction input by the information detail page, and the corresponding information is played, and compared with the prior art, the convenience in information acquisition can be improved by only viewing the information page to acquire the information.
In one possible implementation manner, a possible method for determining a target audio play list according to the audio play instruction includes:
a1, acquiring switching information switched 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 to the information detail page, for example, a last action of the information detail page may be acquired to determine the switching information, and specifically, the last action may be the information list page, the switching information is page switching information, the last action is information link, and the switching information is link switching information.
If the switching information is page switching information, the reference playlist can be determined according to the page switching information, and the target audio playlist is determined according to the reference playlist and the audio identifier indicated by the audio playing instruction.
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 audio of the current audio playing list to obtain the target audio playing list.
In this example, if the target audio play list is determined according to the switching information and the audio play instruction, the target audio play list can be accurately determined, thereby improving accuracy.
In one possible implementation, the switching information includes page switching information, and one possible method for determining the target audio play list according to the switching information and the audio play instruction includes:
b1, the page switching information determines a reference play list;
and B2, if the audio identifier 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 current playable audio according to the page switching information, and determining a reference play list according to the current playable audio. The currently playable audio is audio included in the information detail page, which is determined to be playable audio.
The reference playlist includes at least one audio identifier, which may be, for example, the 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 to be the target audio playlist, so that convenience in determining the target audio playlist can be improved.
In one possible implementation manner, if the audio identifier indicated by the audio playing instruction is not in the reference playlist, the embodiment of the 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 is understood to be an audio playlist in which audio is currently being played.
In the example, the audio identifier is added to the current audio play list to obtain the target audio play list, so that convenience in acquiring the target audio play list is improved.
In one possible implementation manner, one 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;
and D2, determining the reference play list according to the at least one audio identifier to be played.
The method for determining the current playable audio according to the switching information can be as follows: according to the page switching information, the audio included in the detail page of the current page information is obtained, so that at least one audio identifier to be played is obtained. The page switching information can accurately determine the audio of the current information detail page and can be determined through a specific corresponding relation, for example, the identification of the current information detail page is determined according to the page switching information, and the audio included in the information detail page is determined according to the identification.
The audio identifiers to be played may be ordered to obtain a reference playlist. The specific ordering may be set by empirical or historical data. For example, the audio identifiers to be played are ranked according to the corresponding playing identifiers in the information detail page, specifically, the sequence of the playing identifiers is determined, and the sequence of the audio identifiers in the reference playlist is determined.
In this example, through the page switching information, at least one audio identifier to be played is determined, and the reference playlist is obtained after the at least one audio identifier to be played is sequenced, so that the reference playlist can be quickly determined, and efficiency in determining the reference playlist is improved.
In one possible implementation manner, a possible method for playing corresponding information according to the target audio play list includes:
e1, when a preset number of audio is not played in the target audio play list, determining whether to update the target audio play list;
and E2, if yes, updating the target audio play list.
The remaining number may be set by an empirical value or history data, for example, 3 or the like. The method for determining whether to update the target audio playlist may be to display the audio identifications of the remaining audio or the remaining number on the information detail page and display an update request of 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 method of updating the target audio playlist may be to receive an audio indication entered by the user, determine an audio identification based on the audio indication, and add the audio identification to the last piece of the audio list.
Of course, the method for updating the target audio play list may also be to update the target audio list according to the audio type of the target audio list, which specifically includes:
f1, determining at least one reference audio type according to a target audio play list;
f2, obtaining the number of audio identifiers in the at least one reference audio type;
f3, determining the 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 use information of the user;
and F5, adding the audio identifier to be added to a target audio list.
The reference audio type may be determined according to audio identifiers in the target audio playlist, where the audio identifiers have a unique correspondence with the reference audio categories, e.g., a plurality of audio identifiers may be included in one reference audio type, where one audio identifier may correspond to only one reference audio type.
The number of audio identifiers in the reference audio type may be determined according to a correspondence between audio identifiers of the reference audio category.
The number of audio identifications in the reference audio type may reflect the main attention of the current user, the higher the number, the higher the attention, the fewer the number, and the lower the attention.
The usage information of the user may be understood as a usage habit of the user, or the like, and the usage habit of the user may be understood as a content that the user frequently focuses on, which may be represented by keywords or the like, for example, a stock or the like, a certain stock or the like. At least one audio identification with an addition may be determined from the target audio type according to the usage habits of the user, the audio identification to be added being different from the current audio identification in the target audio playlist.
The audio identity to be added may be added after the last audio identity of the target audio list. It is specifically understood that the addition is performed from the end of the target audio list, and the order of addition may be fixed or unordered, which 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 accuracy of updating the target audio list is improved.
In one possible implementation manner, the adjustment can be further performed on the information page, which specifically includes:
g1, acquiring current played audio information;
g2, determining update information according to the audio information;
g3, adjusting the information page according to the updated information to obtain an adjusted information page
The audio information may be obtained based on the audio identification of the currently playing audio. Audio information may be understood as content information of audio or the like, and in particular may be understood as audio text or the like. Of course, after the audio information is obtained, the keyword extraction can be performed on the audio information to obtain the corresponding keyword. The key may be a key to information in the audio information that needs to be characterized. For example, the audio information is used to introduce the XX product, and the keywords may be the XX product, the product characteristics of the XX product, and the like.
The update information can be determined according to the keywords extracted from the audio information, and 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 can be understood as searching according to the keywords to obtain the associated information of the keywords, and determining the associated information as updated information. For example, if the keyword is a XX product, the XX product may be searched to obtain an associated product of the XX product, e.g., a product of the same class as the XX product, etc. If the keyword is the product feature of the XX product, the product feature can be searched, so that information of other products corresponding to the product feature can be obtained.
The method for adjusting the information page according to the updated information may be to determine an area to be adjusted of the information page, and adjust the area to be adjusted to obtain an adjusted information page.
In the example, the update information is determined through the currently played audio information, and the information page is adjusted by adopting the update information, so that the intelligent adjustment of the information page can be realized, and the intelligence is improved.
In one possible implementation, 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 update information;
h2, acquiring current display information of each region to be adjusted in the at least one region to be adjusted;
h3, determining the adjustment priority of each area to be adjusted according to the current display information;
h4, determining 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 region to be adjusted according to the target display information;
And H6, adjusting each area to be displayed according to the adjustment strategy and the target display information so as to obtain an adjusted information page.
At least one region to be adjusted may be determined according to the content size of the update information. The content size can be understood as the size of the area occupied by the updated content. The area to be adjusted may be a fixed area in the information page, the information page may be divided into a plurality of fixed areas in advance, the areas of the fixed areas may be the same or different,
the current display information can be extracted from the display information of each region to be adjusted in the regions to be adjusted recorded in the database.
The higher the association degree between the current display information and the user is, the higher the adjustment priority is, and the lower the association degree is, the lower the adjustment priority is. The degree of association may reflect the association between the display information and the user, for example, the higher the number of browses of the information category in which the user and the current display information are located, the higher the association, the lower the number of browses, and the lower the association. The higher the similarity between the current display information and the work and living 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 can be as follows: 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, the lower the association, and the lower the priority.
The updated information may be ranked to obtain sub-updated information of different ranks. The higher the level of the sub-update information, the higher its corresponding adjustment priority, and the lower the level of the sub-update information, the lower its corresponding adjustment priority.
Different targets show information, and the corresponding adjustment strategies are different, for example, the display pictures, the display modes, the display angles, the display time length and the like corresponding to the adjustment information are different. The adjustment strategies comprise an adjustment strategy for the display picture, an adjustment strategy for the display mode, an adjustment strategy for the display angle, an adjustment strategy for the display duration and the like. The adjustment policy of the display screen may be understood as an adjustment policy of a manner of displaying the screen, for example, a manner of displaying the screen is that static display is adjusted to dynamic display, etc.
When the adjustment is performed according to the adjustment policy, 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 particularly limited herein. The preset sequence is set by empirical values 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, the adjustment priority is determined, 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 policy, so that the adjusted information page is obtained, and the accuracy of the page adjustment is improved.
In one possible implementation manner, the user may further play the corresponding voice information through a voice play button of the information page, which may specifically be as shown in fig. 2B, and may specifically include:
the user clicks the play button, the information page calls the H5 general module to inform the client user that the voice play behavior is generated, then calls the play list management module, the play list management module subscribes to the events, and the play function of the player is called inside to play the information.
In one possible implementation, when the playing state is required to be updated after the playing has been started, the playing state may be updated, as shown in fig. 2C,
First, the play list management module subscribes to the current play audio of the player, when the play list management module receives the change (i.e. the play source is changed), the H5 call module is notified (the play source is switched), the current information page is notified, and the information page is subjected to subsequent state update.
Referring to fig. 3, fig. 3 is a flowchart of 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 switched to the information detail page;
303. determining a reference playlist according to the page switching information;
wherein the switching information includes page switching information.
304. If the audio identifier indicated by the audio playing instruction is in the reference play list, determining the reference play list as the target audio play list;
305. and playing 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 to be the target audio playlist, so that convenience in determining the target audio playlist can be improved.
In accordance with the foregoing embodiments, referring to fig. 4, fig. 4 is a schematic structural diagram of a terminal provided in an embodiment of the present application, as shown in the fig. 4, 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, and the memory is configured to store a computer program, where the computer program includes program instructions, and the processor is configured to invoke the program instructions, where 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 corresponding information according to the target audio play list.
The foregoing description of the embodiments of the present application has been presented primarily in terms of a method-side implementation. It will be appreciated that, in order to achieve the above-mentioned functions, the terminal includes corresponding hardware structures and/or software modules for performing the respective functions. Those of skill in the art will readily appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein may be embodied as hardware or a combination of hardware and computer software. Whether a function is implemented as hardware or computer software driven 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.
The embodiment of the application may divide the functional units of the terminal 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 in one processing unit. The integrated units may be implemented in hardware or in software functional units. It should be noted that, in the embodiment of the present application, the division of the units is schematic, which is merely a logic function division, and other division manners may be implemented in actual practice.
In accordance with the foregoing, referring to fig. 5, fig. 5 is a schematic structural diagram of a voice playing device 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 program;
a determining unit 502, configured to determine a target audio play list according to the audio play instruction;
and a playing unit 503, configured to play the corresponding information according to the target audio play list.
In a possible implementation manner, the determining unit 502 is configured to:
acquiring switching information switched 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 play list, determining the reference play list as the target audio play 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 playlist, acquiring a current audio playlist;
and adding the audio identifier to the current audio play list to obtain the target audio play list.
In one possible implementation manner, in the determining a reference playlist according to the page switch information, the determining unit 502 is configured to:
according to the page switching information, at least one audio identifier to be played is obtained;
And determining the reference play list according to the at least one audio identifier to be played.
In one possible implementation, the playing unit 503 is configured to:
when the preset number of audio is not played in the target audio play list, determining whether to update the target audio play list;
if yes, updating the target audio play list.
In one possible implementation, the apparatus is further configured to:
acquiring the audio information currently played;
determining update information according to the audio information;
and adjusting the information page according to the updated 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 update information;
acquiring current display information of each region to be adjusted in the at least one region 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 update information according to the adjustment priority;
determining an adjustment strategy corresponding to each region 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.
The embodiment of the present application also provides a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, where 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.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer-readable storage medium storing a computer program that causes a computer to perform some or all of the steps of any one of the voice playback methods described in the method embodiments above.
It should be noted that, for simplicity of description, the foregoing method embodiments are all expressed as a series of action combinations, but it should be understood by those skilled in the art that the present application is not limited by the order of actions described, as some steps may be performed in other order or simultaneously in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required in the present application.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, such as the division of the units, merely a logical function division, and there may be additional manners of dividing the actual implementation, such as multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, or may be in electrical or other forms.
The units described as separate units may or may not be physically separate, and units shown 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 may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present invention may be integrated in one processing unit, each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units described above may be implemented either in hardware or in software program modules.
The integrated units, if implemented in the form of software program modules, may be stored in a computer-readable memory for sale or use as a stand-alone product. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a memory, including several instructions for causing a computer device (which may be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in the embodiments of the present application. And the aforementioned memory includes: a U-disk, a read-only memory (ROM), a random access memory (random access memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Those of ordinary skill in the art will appreciate that all or a portion of the steps in the various methods of the above embodiments may be implemented by a program that instructs associated hardware, and the program may be stored in a computer readable memory, which may include: flash disk, read-only memory, random access memory, magnetic or optical disk, etc.
The foregoing has outlined rather broadly the more detailed description of embodiments of the present application, wherein specific examples are provided herein to illustrate the principles and embodiments of the present application, the above examples being provided solely to assist in the understanding of the methods of the present application and the core ideas thereof; meanwhile, as those skilled in the art will have modifications in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.

Claims (5)

1. A method of 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, including: acquiring switching information switched to the information detail page; determining the target audio play list according to the switching information and the audio play instruction;
Playing corresponding information according to the target audio play list;
acquiring the audio information currently played;
determining update information according to the audio information;
according to the updated information, adjusting the information detail page to obtain an adjusted information detail page, including: determining at least one area to be adjusted of the information detail page according to the updated information; acquiring current display information of each region to be adjusted in the at least one region to be adjusted; determining the adjustment priority of each region to be adjusted according to the current display detail information; determining target display information of each area to be adjusted from the update information according to the adjustment priority; determining an adjustment strategy corresponding to each region to be adjusted according to the target display information; according to the adjustment strategy and the target display information, adjusting each region to be displayed to obtain an adjusted information detail page;
the switching information includes page switching information, and the determining the target audio play list according to the switching information and the audio play instruction includes: determining current playable audio according to the page switching information, wherein the current playable audio is the audio included in the information detail page, and determining a reference play list according to the current playable audio; if the audio identifier indicated by the audio playing instruction is in the reference play list, determining the reference play list as the target audio play list; if the audio identifier indicated by the audio playing instruction is not in the reference playlist, acquiring a current audio playlist; and adding the audio identifier to the current audio play list to obtain the target audio play list.
2. The method of claim 1, wherein the determining a reference playlist based on the page switch information comprises:
according to the page switching information, at least one audio identifier to be played is obtained;
and determining the reference play list according to the at least one audio identifier to be played.
3. The method according to claim 1 or 2, wherein playing the corresponding information according to the target audio playlist comprises:
when the preset number of audio is not played in the target audio play list, determining whether to update the target audio play list;
if yes, updating the target audio play list.
4. A voice playing device, the device comprising:
the receiving unit is used for receiving an audio playing instruction input by a user from the information detail page of the first application program;
a determining unit, configured to determine a target audio play list according to the audio play instruction, including: acquiring switching information switched to the information detail page; determining the target audio play list according to the switching information and the audio play instruction; the switching information includes page switching information, and the determining the target audio play list according to the switching information and the audio play instruction includes: determining current playable audio according to the page switching information, wherein the current playable audio is the audio included in the information detail page, and determining a reference play list according to the current playable audio; if the audio identifier indicated by the audio playing instruction is in the reference play list, determining the reference play list as the target audio play list; if the audio identifier indicated by the audio playing instruction is not in the reference playlist, acquiring a current audio playlist; adding the audio identifier to the current audio play list to obtain the target audio play list;
The playing unit is used for playing corresponding information according to the target audio play list;
the device is also used for acquiring the audio information currently played; determining update information according to the audio information; according to the updated information, adjusting the information detail page to obtain an adjusted information detail page, including: determining at least one area to be adjusted of the information detail page according to the updated information; acquiring current display information of each region to be adjusted in the at least one region to be adjusted; determining the adjustment priority of each region to be adjusted according to the current display detail information; determining target display information of each area to be adjusted from the update information according to the adjustment priority; determining an adjustment strategy corresponding to each region 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 detail page.
5. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program comprising program instructions which, when executed by a processor, cause the processor to perform the method of any of claims 1-3.
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 CN112650467A (en) 2021-04-13
CN112650467B true 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)

Families Citing this family (1)

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

Citations (7)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU5027200A (en) * 1999-05-20 2000-12-12 Intensifi, Inc. Method and apparatus for access to, and delivery of, multimedia information

Patent Citations (7)

* 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
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

Also Published As

Publication number Publication date
CN112650467A (en) 2021-04-13

Similar Documents

Publication Publication Date Title
KR100961302B1 (en) System and method for effectively implementing a personal channel for interactive television
US7725486B2 (en) Information retrieval apparatus
CN110784768B (en) Multimedia resource playing method, storage medium and electronic equipment
CN110333840B (en) Recommendation method and device, electronic equipment and storage medium
CN103279468A (en) System and method for identifying transient friends
JP2002077755A (en) Agent interface apparatus
CN109168047B (en) Video recommendation method and device, server and storage medium
CN112507163B (en) Duration prediction model training method, recommendation method, device, equipment and medium
CN110784751A (en) Information display method and device
KR20030007727A (en) Automatic video retriever genie
CN108351897A (en) Method, system and medium for creating and updating items of media content group
CN109600646B (en) Voice positioning method and device, smart television and storage medium
CN112650467B (en) Voice playing method and related device
JP2016509703A (en) System and method for retrieving labeled primarily non-text items
US8943525B2 (en) Information processing apparatus, information processing method, and program
JP2007528531A (en) Search service system and method for providing input order of keywords by category
CN107562847A (en) Information processing method and related product
CN105589873B (en) Data searching method, terminal and server
CN106844679B (en) System and method for displaying audio book illustration
US11055294B2 (en) Communication terminal, content server, content recommendation system, control device, and control method
JP2009064391A (en) Keyword extracting device, keyword extracting method, keyword extracting program, and recording medium with keyword extracting program recorded thereon
CN108121713A (en) Intension recognizing method and device
EP3152682A1 (en) Dynamic current results for second device
CN105915653B (en) Method and device for downloading media file
JP2001237788A (en) Taste data managing method for digital broadcasting, digital broadcast receiving device and recording medium of program for taste data management in digital broadcasting

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

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.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant