CN112437333A - Program playing method and device, terminal equipment and storage medium - Google Patents
Program playing method and device, terminal equipment and storage medium Download PDFInfo
- Publication number
- CN112437333A CN112437333A CN202011245081.3A CN202011245081A CN112437333A CN 112437333 A CN112437333 A CN 112437333A CN 202011245081 A CN202011245081 A CN 202011245081A CN 112437333 A CN112437333 A CN 112437333A
- Authority
- CN
- China
- Prior art keywords
- program
- information
- age group
- playing
- preset
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 53
- 230000000366 juvenile effect Effects 0.000 claims description 6
- 238000012216 screening Methods 0.000 claims description 3
- 238000004891 communication Methods 0.000 description 13
- 238000012545 processing Methods 0.000 description 9
- 241001673954 Magnolia sieboldii Species 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000002093 peripheral effect Effects 0.000 description 4
- 241000218378 Magnolia Species 0.000 description 2
- 241000233855 Orchidaceae Species 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000012549 training Methods 0.000 description 2
- 238000013519 translation Methods 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 241000888314 Lonicera floribunda Species 0.000 description 1
- 235000008708 Morus alba Nutrition 0.000 description 1
- 240000000249 Morus alba Species 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003058 natural language processing Methods 0.000 description 1
- 238000003062 neural network model Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/42203—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS] sound input device, e.g. microphone
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/26—Speech to text systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/488—Data services, e.g. news ticker
- H04N21/4882—Data services, e.g. news ticker for displaying messages, e.g. warnings, reminders
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computational Linguistics (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Telephone Function (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a program playing method, which comprises the following steps: receiving voice information; obtaining program information based on the voice information; based on the voice information and the program information, determining selected age group information corresponding to the voice information by using a preset age group determination strategy; acquiring a selected program corresponding to the selected age group information from a server based on the program information; and playing the selected program. The invention also discloses a program playing device, terminal equipment and a storage medium. The matching degree of the selected program information and the requirements of the user is high, and the user experience is good.
Description
Technical Field
The present invention relates to the field of device control, and in particular, to a method and an apparatus for playing a program, a terminal device, and a computer-readable storage medium.
Background
With the development of science and technology, voice recognition technology is developed, a user can send voice information to a terminal device, and the terminal device executes related actions according to the voice information.
In the related art, a program playing method is disclosed, in which corresponding program information is obtained according to voice information by receiving the voice information, and a television program corresponding to the program information is obtained from a server and played.
However, with the existing program playing method, the matching degree of the obtained program information and the user requirements is low, and the user experience is poor.
Disclosure of Invention
The invention mainly aims to provide a program playing method, a program playing device, terminal equipment and a computer readable storage medium, and aims to solve the technical problems that the matching degree of obtained program information and user requirements is low and the user experience is poor when the existing program playing method is adopted in the prior art.
In order to achieve the above object, the present invention provides a program playing method for a terminal device, where the program playing method includes the following steps:
receiving voice information;
obtaining program information based on the voice information;
based on the voice information and the program information, determining selected age group information corresponding to the voice information by using a preset age group determination strategy;
acquiring a selected program corresponding to the selected age group information from a server based on the program information;
and playing the selected program.
Optionally, before the step of receiving the voice information, the method further includes:
receiving a trigger operation;
outputting preset prompt information based on the trigger operation;
the step of receiving voice information comprises:
and receiving voice information of the preset prompt information aiming at the output state within a preset time length after the preset prompt information is output.
Optionally, before the step of obtaining program information based on the voice information, the method further includes:
obtaining text information based on the voice information;
the step of obtaining program information based on the voice information comprises:
obtaining program information based on the text information;
the step of determining the selected age group information corresponding to the voice information by using a preset age group determination strategy based on the voice information and the program information comprises:
and determining the selected age group information corresponding to the text information by using a preset age group determination strategy based on the text information and the program information.
Optionally, the step of determining, based on the text information and the program information, the selected age group information corresponding to the text information by using a preset age group determination policy includes:
comparing the characters of the text information with the characters of the program information to obtain repeated characters in the text information and the repeated times of the repeated characters;
and determining the selected age group information corresponding to the text information by using a preset age group determination strategy based on the number of the repeated characters and the repeated times of the repeated characters.
Optionally, before the step of determining the selected age group information corresponding to the text information by using a preset age group determination policy based on the number of the repeated characters and the number of times of repeating the repeated characters, the method further includes:
acquiring the number of characters of the text information, and calculating the character ratio of the number of the repeated characters to the number of the characters of the text information;
the step of determining the selected age group information corresponding to the text information by using a preset age group determination strategy based on the number of the repeated characters and the number of times of repetition of the repeated characters comprises:
and determining the selected age group information corresponding to the text information by using a preset age group determination strategy based on the character ratio and the repeated times of the repeated characters.
Optionally, the preset age group determination policy includes:
when the character ratio is smaller than a preset threshold value, the selected age group corresponding to the text information is a young age group;
when the character ratio is greater than or equal to the preset threshold value and the repetition times of the repeated characters are less than the preset repetition times, the selected age group corresponding to the text information is a juvenile age group;
and when the character ratio is greater than or equal to the preset threshold value and the repetition times of the repeated characters are greater than or equal to the preset repetition times, the selected age bracket corresponding to the text information is an old age bracket.
Optionally, the selected broadcast program includes a plurality of selected programs; before the step of playing the selected program, the method further comprises:
screening a result program with the largest historical playing times from the plurality of selected programs;
the step of playing the selected program comprises:
and playing the result program.
In addition, in order to achieve the above object, the present invention further provides a program playing apparatus for a terminal device, the apparatus including:
the receiving module is used for receiving voice information;
an obtaining module, configured to obtain program information based on the voice information;
the determining module is used for determining selected age group information corresponding to the voice information by using a preset age group determining strategy based on the voice information and the program information;
the acquisition module is used for acquiring a selected program corresponding to the selected age group information from a server based on the program information;
and the playing module is used for playing the selected program.
In addition, to achieve the above object, the present invention further provides a terminal device, including: the system comprises a memory, a processor and a program playing program stored on the memory and running on the processor, wherein the program playing program realizes the steps of the program playing method according to any item when being executed by the processor.
Furthermore, to achieve the above object, the present invention further provides a computer readable storage medium, which stores a program playing program, and when the program playing program is executed by a processor, the program playing program implements the steps of the program playing method according to any one of the above items.
The technical scheme of the invention provides a program playing method, which comprises the steps of receiving voice information; obtaining program information based on the voice information; based on the voice information and the program information, determining selected age group information corresponding to the voice information by using a preset age group determination strategy; acquiring a selected program corresponding to the selected age group information from a server based on the program information; and playing the selected program. Because the terminal equipment obtains the program information and the age group information based on the voice information, the played selected program is based on the program information and the age group information, and the selected program information played by the terminal equipment is matched with the age group of the user sending the voice information, the matching degree of the selected program information and the requirements of the user is higher, and the user experience is better.
Drawings
In order to more clearly illustrate the embodiments of the present invention 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 invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a terminal device in a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a program playing method according to a first embodiment of the present invention;
fig. 3 is a block diagram of a first embodiment of a program playing apparatus according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, 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 invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a terminal device in a hardware operating environment according to an embodiment of the present invention.
The terminal device may be a User Equipment (UE) such as a Mobile phone, a smart phone, a laptop, a digital broadcast receiver, a Personal Digital Assistant (PDA), a tablet computer (PAD), a handheld device, a vehicle mounted device, a wearable device, a computing device or other processing device connected to a wireless modem, a Mobile Station (MS), etc. The device may be referred to as a user terminal, portable terminal, desktop terminal, etc.
In general, a terminal device includes: at least one processor 301, a memory 302, and a program playing program stored on said memory and executable on said processor, said program playing program being configured to implement the steps of the program playing method as described before.
The processor 301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 301 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 301 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 301 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. Processor 301 may also include an AI (Artificial Intelligence) processor for processing relevant program play method operations such that the program play method model may be trained autonomously for learning, improving efficiency and accuracy.
In some embodiments, the terminal may further include: a communication interface 303 and at least one peripheral device. The processor 301, the memory 302 and the communication interface 303 may be connected by a bus or signal lines. Various peripheral devices may be connected to communication interface 303 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 304, a display screen 305, and a power source 306.
The communication interface 303 may be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 301 and the memory 302. In some embodiments, processor 301, memory 302, and communication interface 303 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 301, the memory 302 and the communication interface 303 may be implemented on a single chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 304 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 304 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 304 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 304 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 304 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 304 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 305 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 305 is a touch display screen, the display screen 305 also has the ability to capture touch signals on or over the surface of the display screen 305. The touch signal may be input to the processor 301 as a control signal for processing. At this point, the display screen 305 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display screen 305 may be one, the front panel of the electronic device; in other embodiments, the display screens 305 may be at least two, respectively disposed on different surfaces of the electronic device or in a folded design; in still other embodiments, the display screen 305 may be a flexible display screen disposed on a curved surface or a folded surface of the electronic device. Even further, the display screen 305 may be arranged in a non-rectangular irregular figure, i.e. a shaped screen. The Display screen 305 may be made of LCD (liquid crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The power supply 306 is used to power various components in the electronic device. The power source 306 may be alternating current, direct current, disposable or rechargeable. When the power source 306 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the terminal device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, where a program playing program is stored on the computer-readable storage medium, and when the program playing program is executed by a processor, the steps of the program playing method described above are implemented. Therefore, a detailed description thereof will be omitted. In addition, the beneficial effects of the same method are not described in detail. For technical details not disclosed in embodiments of the computer-readable storage medium referred to in the present application, reference is made to the description of embodiments of the method of the present application. Determining by way of example, the program instructions may be deployed to be executed on one terminal device, or on multiple terminal devices located at one site, or distributed across multiple sites and interconnected by a communication network.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The computer-readable storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
Based on the above hardware structure, an embodiment of the program playing method of the present invention is provided.
Referring to fig. 2, fig. 2 is a schematic flowchart of a first embodiment of a program playing method according to the present invention, where the method is applied to a terminal device, and the method includes the following steps:
step S11: and receiving voice information.
It should be noted that the terminal device may be any one of the above terminal devices, and details are not described here. The voice information is sent by the user, may be input by the user through a voice input module of the terminal device, or may be sent by other electronic devices in communication connection with the terminal device, where the voice information includes a program name that the user wants to play, for example: first name detective caucasian collection 124.
Further, before step S11, the method further includes: receiving a trigger operation; and outputting preset prompt information based on the trigger operation. Accordingly, step S11 includes: and receiving voice information of the preset prompt information aiming at the output state within a preset time length after the preset prompt information is output.
The triggering operation may be sent by the user, and the triggering operation sent by the user may be triggered by clicking a program search button of the terminal device, or may be triggered in other manners, which is not limited in the present invention. The prompt information may be information for prompting the user to input a program name, for example, the prompt information may be: you can say that it is time to play the movie, the reminder can also be in other formats, such as: please say the program to be played (for example, the transformers 1), the invention is not limited in particular. Generally, if the voice message of the user is not received within a preset time after the terminal device outputs the prompt message, it is determined that the user abandons the input, and the terminal device may continue to output the prompt message: the terminal device may also end the receiving of the voice information by asking to re-input the program name, what you did not listen to or did not receive the voice information, and the user continues to send the trigger operation, so that the terminal device may continue to receive the voice information.
It can be understood that the preset time duration can be set by the user according to the requirement, and the preset time duration is preferably 15s without limitation. In another embodiment, when receiving the voice message, if the user does not receive a new sound within a preset time after the sound is made, the receiving of the voice message is finished, and the received voice message is used as the voice message of the present invention, where the preset time may be 5 s. For example, the user sends a voice: spy in the broadcast dish, in later 3s, terminal equipment has not received new speech information, then: and playing the spy in the disc, namely the voice information received by the terminal equipment. In another implementation, the time length for receiving the voice message may be a fixed value, for example, when the user starts to speak, timing is performed, voice messages with a certain length are intelligently recorded, for example, 10s or 15s voice messages are recorded, and when the time length of the voice message input by the user exceeds the fixed value, the part exceeding the fixed value cannot be acquired.
Step S12: program information is obtained based on the voice information.
It is necessary to obtain the corresponding program information, i.e. the program name of the program that the user wants to play, from the voice information. It will be appreciated that the speech information may not exactly coincide with the program information, for example the user enters a spy in the disc (the user's habit says more than once, or a kid likes to say the title of the program repeatedly), while the program information is a spy in the disc.
Step S13: and determining the selected age group information corresponding to the voice information by using a preset age group determination strategy based on the voice information and the program information.
It should be noted that, the programs required by different age groups may be different, the relationship between the content of the voice information and the age group is relatively large, and the selected age group information corresponding to the voice information needs to be determined by using a preset age group determination policy according to the program name. For example, when the voice information is playing the magnolia sieboldii, the program is animation "magnolia sieboldii" for the juvenile age group, the program is the movie "magnolia sieboldii" for the young age group, and the program is the "magnolia sieboldii" of the kyo opera for the old age group.
Further, before step S12, the method further includes: obtaining text information based on the voice information; accordingly, step S12 includes: obtaining program information based on the text information; accordingly, step S13 includes: and determining the selected age group information corresponding to the text information by using a preset age group determination strategy based on the text information and the program information.
The voice information cannot be directly recognized by the terminal device, and the voice information needs to be converted into text information, and the following steps S12-S15 are performed; it is understood that the conversion of the speech information into the text information may be a conversion method based on natural language processing technology, for example, the speech information is translated into the text information by using a speech translation model, wherein the speech translation model is obtained by training a neural network model by using training samples.
Further, step S13 includes: comparing the characters of the text information with the characters of the program information to obtain repeated characters in the text information and the repeated times of the repeated characters; and determining the selected age group information corresponding to the text information by using a preset age group determination strategy based on the number of the repeated characters and the repeated times of the repeated characters.
When the users in different age groups input the voice information again, the number of the repeated characters and the number of the repeated characters which are obtained corresponding to the text information are different, for example, the voice information input in the young age group is as follows: and (3) playing 'Hua Mulan' and voice information input by the juvenile age group: and (3) playing 'Huamulan magnolia Mulberry', and voice information input by the old age bracket: playing 'Huahua Huamumumumuilanlan' shows that the number of the repeated characters is different from the repeated times of the repeated characters.
Before the step of determining the selected age group information corresponding to the text information by using a preset age group determination policy based on the number of the repeated characters and the number of times of repetition of the repeated characters, the method further includes: acquiring the number of characters of the text information, and calculating the character ratio of the number of the repeated characters to the number of the characters of the text information; correspondingly, the step of determining the selected age group information corresponding to the text information by using a preset age group determination strategy based on the number of the repeated characters and the repeated times of the repeated characters comprises: and determining the selected age group information corresponding to the text information by using a preset age group determination strategy based on the character ratio and the repeated times of the repeated characters.
Specifically, the preset age group determination policy includes: when the character ratio is smaller than a preset threshold value, the selected age group corresponding to the text information is a young age group; when the character ratio is greater than or equal to the preset threshold value and the repetition times of the repeated characters are less than the preset repetition times, the selected age group corresponding to the text information is a juvenile age group; and when the character ratio is greater than or equal to the preset threshold value and the repetition times of the repeated characters are greater than or equal to the preset repetition times, the selected age bracket corresponding to the text information is an old age bracket.
It should be noted that the preset threshold and the preset repetition number may be set by the user according to the requirement, and the present invention is not limited.
For example, a preset threshold of 20%, a preset number of repetitions of 3, a input speech information: and (3) playing the voice information input by the Lonicera floribunda and the B: and (3) playing the voice information input by the flowers, trees, orchids and orchids, wherein the voice information input by the step (C) comprises the following steps: playing 'Huahuamumumuilan', the obtained program information is 'Huamuilan', wherein the character ratio corresponding to A is less than 20% of a preset threshold value, and then, the A users are young; the ratio of the characters corresponding to the B is greater than a preset threshold value by 20%, and the repetition frequency of the repeated characters is less than 3, so that the user A is in the juvenile age group; and C, if the ratio of the corresponding characters is less than 20% of the preset threshold value, and the repetition frequency of the repeated characters is equal to 3, the user C is aged.
Step S14: and acquiring the selected program corresponding to the selected age group information from the server based on the program information.
It should be noted that the same program information, i.e., the program name and the age group, are different, and the corresponding selected program is also different. For example, when the program information is "Hua Mulan", the selected program is cartoon "Hua Mulan" for the youngster age group, the selected program is movie "Hua Mulan" for the youngster age group, and the selected program is Beijing opera "Hua Mulan" for the older age group.
Step S15: and playing the selected program.
And the terminal equipment plays the selected program and outputs the selected program by a display screen of the terminal equipment.
Further, before step S15, the method further includes: screening a result program with the largest historical playing times from the plurality of selected programs; accordingly, step S15 includes: and playing the result program.
Typically, the searched selected program information includes a plurality of related program information, for example, the search for the movie "magnolia flowers" corresponding to the young age group, and the selected program information includes: the video playing method comprises the following steps of (1) playing a 'Hua Mulan' positive film, a 'Hua Mulan' forenotice film and a 'Hua Mulan' ghost video, wherein the 'Hua Mulan' positive film is directly played when the playing frequency of the 'Hua Mulan' positive film is the most; it is understood that a historical play count is the total number of times the program was clicked to play before the current time, and may include the total number of clicks of multiple users, not just the total number of clicks of the user.
The technical scheme of the embodiment provides a program playing method, which comprises the steps of receiving voice information; obtaining program information based on the voice information; based on the voice information and the program information, determining selected age group information corresponding to the voice information by using a preset age group determination strategy; acquiring a selected program corresponding to the selected age group information from a server based on the program information; and playing the selected program. Because the terminal equipment obtains the program information and the age group information based on the voice information, the played selected program is based on the program information and the age group information, and the selected program information played by the terminal equipment is matched with the age group of the user sending the voice information, the matching degree of the selected program information and the requirements of the user is higher, and the user experience is better.
Referring to fig. 3, fig. 3 is a block diagram of a first embodiment of a program playing apparatus according to the present invention, where the apparatus is applied to a terminal device, and the apparatus includes:
a receiving module 10, configured to receive voice information;
an obtaining module 20, configured to obtain program information based on the voice information;
the determining module 30 is configured to determine, based on the voice information and the program information, selected age group information corresponding to the voice information by using a preset age group determining policy;
an obtaining module 40, configured to obtain, based on the program information, a selected program corresponding to the selected age group information from a server;
and a playing module 50, configured to play the selected program.
The above description is only an alternative embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (10)
1. A program playing method, which is used for a terminal device, the program playing method comprising the steps of:
receiving voice information;
obtaining program information based on the voice information;
based on the voice information and the program information, determining selected age group information corresponding to the voice information by using a preset age group determination strategy;
acquiring a selected program corresponding to the selected age group information from a server based on the program information;
and playing the selected program.
2. The method for playing back a program as claimed in claim 1, wherein said step of receiving a voice message is preceded by the step of:
receiving a trigger operation;
outputting preset prompt information based on the trigger operation;
the step of receiving voice information comprises:
and receiving voice information of the preset prompt information aiming at the output state within a preset time length after the preset prompt information is output.
3. The program playing method according to claim 2, wherein said step of obtaining program information based on said voice information is preceded by the step of:
obtaining text information based on the voice information;
the step of obtaining program information based on the voice information comprises:
obtaining program information based on the text information;
the step of determining the selected age group information corresponding to the voice information by using a preset age group determination strategy based on the voice information and the program information comprises:
and determining the selected age group information corresponding to the text information by using a preset age group determination strategy based on the text information and the program information.
4. The method for playing back a program according to claim 3, wherein the step of determining the selected age group information corresponding to the text information by using a preset age group determination policy based on the text information and the program information comprises:
comparing the characters of the text information with the characters of the program information to obtain repeated characters in the text information and the repeated times of the repeated characters;
and determining the selected age group information corresponding to the text information by using a preset age group determination strategy based on the number of the repeated characters and the repeated times of the repeated characters.
5. The method for playing back a program according to claim 4, wherein before the step of determining the selected age group information corresponding to the text information by using a preset age group determination policy based on the number of characters of the repeated characters and the number of times of repetition of the repeated characters, the method further comprises:
acquiring the number of characters of the text information, and calculating the character ratio of the number of the repeated characters to the number of the characters of the text information;
the step of determining the selected age group information corresponding to the text information by using a preset age group determination strategy based on the number of the repeated characters and the number of times of repetition of the repeated characters comprises:
and determining the selected age group information corresponding to the text information by using a preset age group determination strategy based on the character ratio and the repeated times of the repeated characters.
6. The program playing method of claim 5, wherein the predetermined age group determination policy comprises:
when the character ratio is smaller than a preset threshold value, the selected age group corresponding to the text information is a young age group;
when the character ratio is greater than or equal to the preset threshold value and the repetition times of the repeated characters are less than the preset repetition times, the selected age group corresponding to the text information is a juvenile age group;
and when the character ratio is greater than or equal to the preset threshold value and the repetition times of the repeated characters are greater than or equal to the preset repetition times, the selected age bracket corresponding to the text information is an old age bracket.
7. The program playing method according to any one of claims 1 to 6, wherein the selected program includes a plurality of selected programs; before the step of playing the selected program, the method further comprises:
screening a result program with the largest historical playing times from the plurality of selected programs;
the step of playing the selected program comprises:
and playing the result program.
8. A program playing apparatus, for a terminal device, the apparatus comprising:
the receiving module is used for receiving voice information;
an obtaining module, configured to obtain program information based on the voice information;
the determining module is used for determining selected age group information corresponding to the voice information by using a preset age group determining strategy based on the voice information and the program information;
the acquisition module is used for acquiring a selected program corresponding to the selected age group information from a server based on the program information;
and the playing module is used for playing the selected program.
9. A terminal device, characterized in that the terminal device comprises: memory, processor and a program playing program stored on the memory and running on the processor, the program playing program when executed by the processor implementing the steps of the program playing method according to any one of claims 1 to 7.
10. A computer-readable storage medium, having a program playback program stored thereon, which, when executed by a processor, implements the steps of the program playback method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011245081.3A CN112437333B (en) | 2020-11-10 | 2020-11-10 | Program playing method, device, terminal equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011245081.3A CN112437333B (en) | 2020-11-10 | 2020-11-10 | Program playing method, device, terminal equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112437333A true CN112437333A (en) | 2021-03-02 |
CN112437333B CN112437333B (en) | 2024-02-06 |
Family
ID=74700743
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011245081.3A Active CN112437333B (en) | 2020-11-10 | 2020-11-10 | Program playing method, device, terminal equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112437333B (en) |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1953053A (en) * | 2005-10-21 | 2007-04-25 | 华为技术有限公司 | A method to realize the function of text-to-speech convert |
US20080235019A1 (en) * | 2007-03-23 | 2008-09-25 | Verizon Business Network Services, Inc. | Age determination using speech |
WO2011116514A1 (en) * | 2010-03-23 | 2011-09-29 | Nokia Corporation | Method and apparatus for determining a user age range |
CN103024521A (en) * | 2012-12-27 | 2013-04-03 | 深圳Tcl新技术有限公司 | Program screening method, program screening system and television with program screening system |
CN103956162A (en) * | 2014-04-04 | 2014-07-30 | 上海元趣信息技术有限公司 | Voice recognition method and device oriented towards child |
US20150206537A1 (en) * | 2013-07-10 | 2015-07-23 | Panasonic Intellectual Property Corporation Of America | Speaker identification method, and speaker identification system |
CN105959806A (en) * | 2016-05-25 | 2016-09-21 | 乐视控股(北京)有限公司 | Program recommendation method and device |
CN108090228A (en) * | 2018-01-09 | 2018-05-29 | 上海创图网络科技股份有限公司 | It is a kind of that interactive method and device is carried out by cultural cloud platform |
US20180349583A1 (en) * | 2010-11-29 | 2018-12-06 | Biocatch Ltd. | System, Device, and Method of Determining Personal Characteristics of a User |
CN109255053A (en) * | 2018-09-14 | 2019-01-22 | 北京奇艺世纪科技有限公司 | Resource search method, device, terminal, server, computer readable storage medium |
CN111179944A (en) * | 2020-01-03 | 2020-05-19 | 达闼科技成都有限公司 | Voice awakening and age detection method and device and computer readable storage medium |
WO2020135160A1 (en) * | 2018-12-24 | 2020-07-02 | 深圳Tcl新技术有限公司 | Terminal, method for determining speech servers, and computer-readable storage medium |
CN111402895A (en) * | 2020-06-08 | 2020-07-10 | 腾讯科技(深圳)有限公司 | Voice processing method, voice evaluating method, voice processing device, voice evaluating device, computer equipment and storage medium |
US20200234705A1 (en) * | 2019-04-11 | 2020-07-23 | Alibaba Group Holding Limited | Information processing system, method, device and equipment |
-
2020
- 2020-11-10 CN CN202011245081.3A patent/CN112437333B/en active Active
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1953053A (en) * | 2005-10-21 | 2007-04-25 | 华为技术有限公司 | A method to realize the function of text-to-speech convert |
US20080235019A1 (en) * | 2007-03-23 | 2008-09-25 | Verizon Business Network Services, Inc. | Age determination using speech |
WO2011116514A1 (en) * | 2010-03-23 | 2011-09-29 | Nokia Corporation | Method and apparatus for determining a user age range |
US20180349583A1 (en) * | 2010-11-29 | 2018-12-06 | Biocatch Ltd. | System, Device, and Method of Determining Personal Characteristics of a User |
CN103024521A (en) * | 2012-12-27 | 2013-04-03 | 深圳Tcl新技术有限公司 | Program screening method, program screening system and television with program screening system |
US20150206537A1 (en) * | 2013-07-10 | 2015-07-23 | Panasonic Intellectual Property Corporation Of America | Speaker identification method, and speaker identification system |
CN103956162A (en) * | 2014-04-04 | 2014-07-30 | 上海元趣信息技术有限公司 | Voice recognition method and device oriented towards child |
CN105959806A (en) * | 2016-05-25 | 2016-09-21 | 乐视控股(北京)有限公司 | Program recommendation method and device |
CN108090228A (en) * | 2018-01-09 | 2018-05-29 | 上海创图网络科技股份有限公司 | It is a kind of that interactive method and device is carried out by cultural cloud platform |
CN109255053A (en) * | 2018-09-14 | 2019-01-22 | 北京奇艺世纪科技有限公司 | Resource search method, device, terminal, server, computer readable storage medium |
WO2020135160A1 (en) * | 2018-12-24 | 2020-07-02 | 深圳Tcl新技术有限公司 | Terminal, method for determining speech servers, and computer-readable storage medium |
US20200234705A1 (en) * | 2019-04-11 | 2020-07-23 | Alibaba Group Holding Limited | Information processing system, method, device and equipment |
CN111179944A (en) * | 2020-01-03 | 2020-05-19 | 达闼科技成都有限公司 | Voice awakening and age detection method and device and computer readable storage medium |
CN111402895A (en) * | 2020-06-08 | 2020-07-10 | 腾讯科技(深圳)有限公司 | Voice processing method, voice evaluating method, voice processing device, voice evaluating device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112437333B (en) | 2024-02-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111724775B (en) | Voice interaction method and electronic equipment | |
CN106251890B (en) | A kind of methods, devices and systems of recording song audio | |
CN106531149A (en) | Information processing method and device | |
US20220075932A1 (en) | Method and apparatus for inserting information into online document | |
CN110476404B (en) | Message acquisition method and device | |
US20170249934A1 (en) | Electronic device and method for operating the same | |
CN106203235B (en) | Living body identification method and apparatus | |
CN105187733A (en) | Video processing method, device and terminal | |
US9921735B2 (en) | Apparatuses and methods for inputting a uniform resource locator | |
CN109920309A (en) | Sign language conversion method, device, storage medium and terminal | |
CN111986454A (en) | Wireless earphone searching method, device, storage medium and terminal | |
CN106486119B (en) | A kind of method and apparatus identifying voice messaging | |
CN108769822A (en) | A kind of image display method and terminal device | |
CN111081283A (en) | Music playing method and device, storage medium and terminal equipment | |
CN107622234B (en) | Method and device for displaying budding face gift | |
CN105095161B (en) | Method and device for displaying rich text information | |
CN112612526A (en) | Application program control method and device, terminal device and storage medium | |
CN109325212B (en) | Information interaction method and device, electronic equipment and browser | |
CN112437333A (en) | Program playing method and device, terminal equipment and storage medium | |
CN109242932A (en) | A kind of word processing method and terminal | |
CN107105312B (en) | A kind of method, apparatus and system carrying out information displaying | |
WO2019033437A1 (en) | Call control method, apparatus, terminal device, and storage medium | |
CN113538048B (en) | Demand information obtaining method, device, terminal equipment and storage medium | |
CN106358070B (en) | Multimedia file uploading method and device | |
CN112911403B (en) | Event analysis method and device, television and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |