Voice on-demand method of smart home system, storage medium and electronic device

Through the voice on-demand method of the smart home system, voice interaction information and training decisions are used to determine the best media asset types and resources, which solves the problem of multiple confirmations on smart terminal devices and improves user experience and playback accuracy.

CN118612003APending Publication Date: 2024-09-06QINGDAO HAIER TECH +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410655308.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-24
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

When smart terminal devices interact with users to request on-demand media resources, they require multiple confirmations from the users, which affects the user experience.

Method used

Provides a voice on-demand method for smart home systems. By obtaining the user's voice interaction information, extracting the on-demand list, and based on the training decision-making method, it automatically determines the best media asset type and target media asset resources, and directly enables the terminal device to play.

Benefits of technology

It does not require the user to confirm multiple times, which improves the user experience, simplifies the on-demand process, and improves the playback accuracy and user satisfaction of the terminal device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118612003A
    Figure CN118612003A
Patent Text Reader

Abstract

The invention discloses a voice on-demand method of a smart home system, a storage medium and an electronic device, and relates to the technical field of smart home / smart home. The voice on-demand method comprises the following steps: acquiring voice interaction information initiated by a user; based on the voice interaction information, extracting a video-on-demand directory, determining a media asset type corresponding to the video-on-demand directory, and recording the media asset type as a first target media asset type; under the condition that the on-demand directory corresponds to a plurality of first target media resource types, determining an optimal media resource type in the plurality of first target media resource types based on a training decision determination method; determining a target media asset resource corresponding to the on-demand directory based on the on-demand directory and the optimal media asset type; and obtaining related information of the target media asset resource, and playing the related information by the terminal equipment. According to the voice on-demand method, recognition can be carried out according to the voice interaction information initiated by the user, the target media asset resource most meeting the user requirement is automatically determined and played, the user does not need to carry out confirmation for many times, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of smart home / smart family technology, and more specifically, to a voice on-demand method, storage medium and electronic device for a smart home system. Background Art

[0002] With the development of economy, smart home and intelligent home are becoming more and more common. Now every family has multiple smart devices. When users want to listen to music, radio and other audio or watch TV, movies and other videos, they usually interact with the smart terminal device by voice to play according to the on-demand information.

[0003] However, there is often a problem when smart terminal devices interact with users through voice. That is, when a resource name is mapped to multiple resource categories, the user is required to interact and confirm multiple times, which affects the user experience.

[0004] Accordingly, this field requires a new technical solution to solve the above technical problems. Summary of the invention

[0005] The present application aims to solve the above technical problem, that is, to solve the problem that the existing smart terminal devices require users to perform multiple rounds of confirmation when interacting with users to play media resources on demand, which affects the user experience.

[0006] In a first aspect, the present application provides a voice on-demand method for a smart home system, the smart home system including a terminal device, the voice on-demand method including: obtaining voice interaction information initiated by a user; based on the voice interaction information, extracting an on-demand list, and determining the media type corresponding to the on-demand list, recorded as a first target media type; in a case where the on-demand list corresponds to a plurality of the first target media types, determining the best media type among the plurality of the first target media types based on a training decision determination method; determining a target media resource corresponding to the on-demand list based on the on-demand list and the best media type; obtaining relevant information of the target media resource, so that the terminal device plays it.

[0007] In the preferred technical solution of the voice on-demand method of the above-mentioned smart home system, the voice on-demand method also includes: when the on-demand list only corresponds to one of the first target media asset types, obtaining the device type of the terminal device; judging whether the first target media asset type matches the device type; when the media asset type matches the device type, determining the target media asset corresponding to the on-demand list based on the on-demand list and the first target media asset type; obtaining relevant information of the target media asset so that the terminal device plays it.

[0008] In the preferred technical solution of the voice on-demand method of the above-mentioned smart home system, the training decision determination method specifically includes: obtaining the device type of the terminal device; obtaining the media type that can be played by the device type, recorded as the playable media type; determining the second target media type corresponding to the on-demand list based on the playable media type and multiple first target media types; when the second target media type only includes one type, determining the second target media type as the optimal media type.

[0009] In the preferred technical solution of the voice on-demand method of the above-mentioned smart home system, the training decision determination method also includes: when the second target media type includes at least two types, obtaining the resource heat values ​​corresponding to all the second target media types, and / or obtaining the playback media type of the terminal device that is playing the media, and / or obtaining the above interaction information, and / or obtaining the user's on-demand habits, and determining the best media type among multiple second target media types based on multiple resource heat values, and / or the playback media types, and / or the above interaction information, and / or the user's on-demand habits.

[0010] In the preferred technical scheme of the voice on-demand method of the above-mentioned smart home system, the step of "obtaining the resource heat values ​​corresponding to all the second target media types, and / or obtaining the media type played by the terminal device that is playing the media, and / or obtaining the above interaction information, and / or obtaining the user's on-demand habits, and determining the best media type among multiple second target media types based on multiple resource heat values, and / or the media type played, and / or the above interaction information, and / or the user's on-demand habits" specifically includes: obtaining the resource heat values ​​corresponding to all the second target media types, obtaining the media type played by the terminal device that is playing the media, obtaining the above interaction information, and obtaining the user's on-demand habits; determining the best media type according to the weights of multiple resource heat values ​​and resource heat attributes in the preset scheme The weight ratio of the first pre-selected media asset type and the first pre-selected media asset type is determined according to the weight ratio of the playback media asset type and the playback media asset type in the preset scheme; the weight ratio of the second pre-selected media asset type and the second pre-selected media asset type is determined according to the playback media asset type and the playback media asset type in the preset scheme; the weight ratio of the third pre-selected media asset type and the third pre-selected media asset type is determined according to the above interaction information and the weight ratio of the above interaction information in the preset scheme; the weight ratio of the fourth pre-selected media asset type and the fourth pre-selected media asset type is determined according to the user's on-demand habits and the weight ratio of the user's on-demand habits in the preset scheme; multiple weight ratios of the same pre-selected media asset type are added together to obtain the actual weight ratio of each pre-selected media asset type; the pre-selected media asset type with the highest actual weight ratio is determined as the best media asset type.

[0011] In the preferred technical scheme of the voice on-demand method of the above-mentioned smart home system, the step of "obtaining the resource heat values ​​corresponding to all the second target media asset types, and / or obtaining the playback media asset type of the terminal device that is playing the media, and / or obtaining the above interaction information, and / or obtaining the user's on-demand habits, and determining the best media asset type among multiple second target media asset types based on multiple resource heat values, and / or the playback media asset types, and / or the above interaction information, and / or the user's on-demand habits" specifically includes: obtaining the playback media asset type of the terminal device that is playing the media; determining a first pre-selected media asset type based on the playback media asset type; determining whether the first pre-selected media asset type is among multiple second target media asset types, and if the first pre-selected media asset type is among multiple second target media types, determining the first pre-selected media asset type as the best media type; if the first pre-selected media asset type is not among multiple second target media types, obtaining Obtain the above interactive information; determine the second pre-selected media asset type according to the above interactive information; determine whether the second pre-selected media asset type is among the multiple second target media asset types, and if the second pre-selected media asset type is among the multiple second target media asset types, determine the second pre-selected media asset type as the best media asset type; if the second pre-selected media asset type is not among the multiple second target media asset types, obtain the user's on-demand habits; determine the third pre-selected media asset type according to the user's on-demand habits; determine whether the third pre-selected media asset type is among the multiple second target media asset types, and if the third pre-selected media asset type is among the multiple second target media asset types, determine the third pre-selected media asset type as the best media asset type; if the third pre-selected media asset type is not among the multiple second target media types, obtain the resource heat values ​​corresponding to all the second target media types; determine the second target media type with the highest resource heat value as the best media type.

[0012] In the preferred technical solution of the voice on-demand method of the above-mentioned smart home system, the training decision determination method also includes: when the type of the media being played by the terminal device that is playing the media is not obtained, directly executing the acquisition of the above-mentioned interaction information; and / or, the training decision determination method also includes: when the above-mentioned interaction information is not obtained, directly executing the acquisition of the user's on-demand habits; and / or, the training decision determination method also includes: when the user's on-demand habits are not obtained, directly executing the acquisition of the resource heat values ​​corresponding to all the second target media types.

[0013] In the preferred technical solution of the voice on-demand method of the above-mentioned smart home system, when the optimal media type is an audio media type and the terminal device includes both an audio device and an audio-video device, before enabling the terminal device to play, the voice on-demand method further includes: determining whether any terminal device that can play audio is currently playing; if the determination result is "yes", enabling the terminal device to play; if the determination result is "no", enabling the audio device to play.

[0014] In a second aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored program, and when the program is run, the voice on-demand method of the smart home system is executed.

[0015] In a third aspect, the present application provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the above-mentioned voice on-demand method of the smart home system through the computer program.

[0016] When adopting the above-mentioned technical solution, the voice on-demand method of the smart home system of the present application includes obtaining the user's voice interaction information; based on the voice interaction information, extracting the on-demand list, and determining the media type corresponding to the on-demand list, recorded as the first target media type; when the on-demand list corresponds to multiple first target media types, based on the training decision determination method, determining the best media type among the multiple first target media types; based on the on-demand list and the best media type, determining the target media resource corresponding to the on-demand list; obtaining relevant information of the target media resource, so that the terminal device can play it; such a setting method can identify according to the voice interaction information initiated by the user, automatically determine the target media resource that best meets the user's needs, and obtain the target media resource so that the terminal device can play it, without the user having to confirm multiple times, thereby improving the user experience.

[0017] Furthermore, when the first target media asset type includes only one type, the device type of the terminal device is obtained to determine whether the first target media asset type matches the device type. When the two match, based on the on-demand list and the first target media asset type, the target media asset resources corresponding to the on-demand list are determined, and the relevant information of the target media asset resources is obtained to enable the terminal device to play. With this setting method, when the first target resource type includes only one type, it is determined whether the terminal device can play, so as to quickly control the terminal device to play.

[0018] Furthermore, the training decision determination method specifically includes: obtaining the device type of the terminal device; obtaining the media type that can be played by the device type, recorded as the playable media type; determining the second target media type corresponding to the on-demand list based on the playable media type and multiple first target media types; when the second target media type only includes one type, determining the second target media type as the best media type; with this setting, when the user makes voice on-demand requests, the user will request content that can be played by his terminal device, so first filtering is performed according to the device type of the terminal device in the user's home. When the screening result has only one second target media type, the second target media type is directly determined as the best media type, which is convenient for judgment and can improve accuracy.

[0019] Furthermore, the training decision determination method also includes: when the second target media asset types include at least two, obtaining the resource heat values ​​corresponding to all the second target media asset types, and / or obtaining the media asset type played by the terminal device that is playing the media, and / or obtaining the above interaction information, and / or obtaining the user's on-demand habits, and determining the best media asset type from multiple second target media asset types based on multiple resource heat values, and / or the media asset type played, and / or the above interaction information, and / or the user's on-demand habits; in this setting, when two or more second target media asset types are screened out according to the device type of the terminal device in the user's home, they are screened again based on one of the four factors of resource heat attributes, the media asset type played by the terminal device that is playing, the above interaction information, and the user's on-demand habits, or a combination of any two or more factors, so as to determine the best media type from multiple second target media types, thereby automatically determining the best media type that meets the user's needs.

[0020] Furthermore, the four factors of resource heat attribute, media type being played by the terminal device being played, the above interactive information and user on-demand habits are screened separately to obtain the pre-selected media types corresponding to the four factors and their weight ratios, and multiple weight ratios of the same pre-selected media type are added together to obtain the actual weight ratio of each pre-selected media type, and the pre-selected media type with the highest actual weight ratio is determined as the best media type. This setting method determines the final best media type by screening through four factors and combining the weight ratio of each factor in the preset plan. The judgment process is simple and easy to control.

[0021] Furthermore, when two or more second target media asset types are screened out based on the device type of the terminal device in the user's home, they are screened in turn based on the four factors of the media asset type being played by the terminal device, the above interactive information, the user's on-demand habits, and the resource heat attribute, until the screening results include only one second target media asset type; the four factors are judged and compared in the set order, with higher judgment accuracy, so that the judgment result is more in line with user expectations.

[0022] Furthermore, when the corresponding content is not obtained for the current judgment factor, the relevant content of the next judgment factor is directly obtained, which facilitates control execution.

[0023] Furthermore, when the best media type is an audio media type, and the terminal device includes both an audio device and an audio-visual device, before enabling the terminal device to play, the voice on-demand method also includes: determining whether there is a terminal device that can play audio and is currently playing; if the determination result is "yes", enabling the terminal device to play; if the determination result is "no", enabling the audio device to play; in this setting, when there are two types of terminal devices, first determine whether there is any running terminal device, and if so, enable the running terminal device to play the requested target media resource, and if not, select the terminal device with the lowest specification to run and play the requested target media resource; the playback can be selected quickly to avoid the situation where two terminal devices are playing at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0025] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0026] Figure 1 It is a schematic diagram of the hardware environment of the voice on-demand method of the smart home system of the present application;

[0027] Figure 2 It is a flowchart of the main steps of the embodiment 1 of the voice on-demand method of the smart home system of the present application;

[0028] Figure 3 It is a flowchart of the main steps of the second embodiment of the voice on-demand method of the smart home system of the present application;

[0029] Figure 4It is a flow chart of the main steps of the training decision determination method in the voice on-demand method of the smart home system of the present application;

[0030] Figure 5 It is a flowchart of Embodiment 1 of the training decision determination method in the voice on-demand method of the smart home system of the present application;

[0031] Figure 6 It is a flowchart of Example 2 of the training decision determination method in the voice on-demand method of the smart home system of the present application. DETAILED DESCRIPTION

[0032] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0033] It should be noted that the terms "first", "second", "third", "fourth", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0034] According to one aspect of an embodiment of the present application, a voice on-demand method for a smart home system is provided. The voice on-demand method for a smart home system is widely used in smart home (Smart Home), smart home, smart home device ecology, smart residential (Intelligence House) ecology and other whole-house intelligent digital control application scenarios. Optionally, in this embodiment, the voice on-demand method for the smart home system can be applied to Figure 1 In the hardware environment composed of the terminal device 102 and the server 104 shown in FIG. Figure 1As shown, the server 104 is connected to the terminal device 102 via a network, and can be used to provide services (such as application services, etc.) for the terminal or a client installed on the terminal. A database can be set on the server or independently of the server to provide data storage services for the server 104. Cloud computing and / or edge computing services can be configured on the server or independently of the server to provide data computing services for the server 104.

[0035] The network may include but is not limited to at least one of the following: wired network, wireless network. The wired network may include but is not limited to at least one of the following: wide area network, metropolitan area network, local area network, and the wireless network may include but is not limited to at least one of the following: WIFI (Wireless Fidelity), Bluetooth. The terminal device 102 may be but is not limited to a PC, a mobile phone, a tablet computer, a smart air conditioner, a smart range hood, a smart refrigerator, a smart oven, a smart stove, a smart washing machine, a smart water heater, a smart washing device, a smart dishwasher, a smart projection device, a smart TV, a smart clothes drying rack, a smart curtain, a smart audio and video, a smart socket, a smart speaker, a smart fresh air device, a smart kitchen and bathroom device, a smart bathroom device, a smart sweeping robot, a smart window cleaning robot, a smart mopping robot, a smart air purification device, a smart steamer, a smart microwave oven, a smart kitchen treasure, a smart purifier, a smart water dispenser, a smart door lock, etc.

[0036] Based on the problem pointed out in the background technology, when existing intelligent terminal devices interact with users to play media resources on demand, users need to perform multiple rounds of interaction and confirmation, which affects the user experience.

[0037] The voice on-demand method of the smart home system of the present application can identify the voice interaction information initiated by the user, automatically determine the media type that best meets the user's needs, and after obtaining the target media resources corresponding to the on-demand list, enable the terminal device to play it without the user having to confirm multiple times, thereby improving the user experience.

[0038] Specifically, see Figure 2 The voice on-demand method of the smart home system of the present application comprises the following steps:

[0039] S1: Obtain the voice interaction information initiated by the user.

[0040] In one embodiment, a voice interaction module is provided in each terminal device, and the voice interaction module can obtain the user's voice information, recognize the voice information, and can interact with the user in a dialogue based on the voice information.

[0041] In another embodiment, the smart home system includes a voice interaction device, which is used to obtain the user's voice information, recognize the voice information, and interact with the user based on the voice information. The voice interaction device in this embodiment is independent of the terminal device and is connected to the server for communication.

[0042] S2: Based on the voice interaction information, extract the on-demand list, and determine the media asset type corresponding to the on-demand list, which is recorded as the first target media asset type.

[0043] Specifically, the on-demand directory includes but is not limited to resource names, content keywords and resource types; the identified on-demand directory can be searched in the existing media resource library to find the corresponding media resource type.

[0044] Exemplarily, the user's voice interaction information is "Please play Shui Diao Ge Tou", and the extracted on-demand list is "Shui Diao Ge Tou". According to the on-demand list, the existing media asset library is searched, and the first target media asset type obtained includes songs, poetry recitation audio, song videos, poetry recitation videos and other media asset types.

[0045] Exemplarily, the user's voice interaction information is "Please play the audio of the poem "Shui Tiao Ge Tou", and the extracted on-demand list is "Shui Tiao Ge Tou" & "Poetry" & "Audio". According to the on-demand list, the existing media asset library is searched, and the first target media asset type obtained is poetry recitation audio.

[0046] S3: When the on-demand list corresponds to a plurality of first target media asset types, determine the best media asset type corresponding to the on-demand list based on the training decision determination method.

[0047] When the determined first target media asset types include multiple types (two or more), based on the training decision determination method, the best media asset type corresponding to the on-demand list is automatically determined from the multiple first target media asset types.

[0048] S4: Based on the on-demand list and the optimal media asset type, determine the target media asset corresponding to the on-demand list.

[0049] S5: Obtain relevant information of the target media resource so that the terminal device can play it.

[0050] Obtain relevant information of the target media resource from the cooperating supplier, and enable the terminal device to play the target media resource online.

[0051] Through the above settings, the voice on-demand method of the smart home system of the present application can identify the voice interaction information initiated by the user, automatically determine the media type that best meets the user's needs, and obtain the target media resources corresponding to the on-demand list, so that the terminal device can play it without the user having to confirm multiple times, thereby improving the user experience.

[0052] Preferably, please refer to Figure 3 In the case where the on-demand directory corresponds to only one first target media asset type, the voice on-demand method of the smart home system of the present application further includes the following steps:

[0053] S6: Obtain the device type of the terminal device.

[0054] The device types of various terminal devices in the processor that are communicatively connected to the processor are obtained, wherein the device types include audio playback devices, non-playing devices, and audio and video playback devices.

[0055] S7: Determine whether the first target media asset type matches the device type.

[0056] The first target media asset type is compared with the device type to determine whether the first target media asset type matches the device type, and then the terminal device is selectively controlled to play. Specifically, if the first target media asset type matches the device type, steps S8 and S9 are executed. If the first target media asset type does not match the device type, a voice feedback is given that the playback device is not found, so that the user can handle it in time (for example: check whether the relevant device is disconnected or powered off).

[0057] Exemplarily, if the first target media asset type is a song video and the device type is an audio playback device, then the first target media asset type does not match the device type.

[0058] Exemplarily, if the first target media asset type is a radio station and the device type is an audio playback device, the first target media asset type matches the device type.

[0059] S8: Determine the target media asset resource corresponding to the on-demand list based on the on-demand list and the first target media asset type.

[0060] S9: Obtain relevant information of the target media resource so that the terminal device can play it.

[0061] When the first target media asset type matches the device type, the target media asset corresponding to the on-demand list is determined based on the on-demand list and the optimal media asset type, and relevant information of the target media asset is obtained from the cooperating supplier so that the terminal device can play the target media asset online.

[0062] Through the above setting manner, when the first target resource type includes only one, it is determined whether the terminal device can play, so as to quickly control the terminal device to play.

[0063] Preferably, please refer to Figure 4 , the training decision determination method specifically includes the following steps:

[0064] S31: Obtain the device type of the terminal device.

[0065] The device types of various terminal devices in the processor that are communicatively connected to the processor are obtained, wherein the device types include audio playback devices, non-playing devices, and audio and video playback devices.

[0066] S32: Acquire the media asset types that can be played by the device type, and record them as playable media asset types.

[0067] The media asset types that the terminal device can play are determined based on the device type, and are recorded as playable media asset types.

[0068] Exemplarily, if the device type is an audio playback device, the types of media assets that can be played include song audio, radio, poetry audio, etc.

[0069] Exemplarily, if the device type is an audio or video playback device, the types of media that can be played include song audio, song video, radio, poetry audio, poetry video, live video, etc.

[0070] S33: Determine the second target media asset type corresponding to the on-demand list according to the playable media asset type and the multiple first target media asset types.

[0071] In the case that the second target media asset type includes only one, step S34 is executed; in the case that the second target media asset type includes at least two, step S35 is executed.

[0072] S34: Determine the second target media asset type as the optimal media asset type.

[0073] When users make voice requests, they will request content that can be played by their terminal devices. Therefore, the content is first filtered according to the device type of the terminal device in the user's home. When the filtering result has only one second target media asset type, the second target media asset type is directly determined as the best media asset type, which facilitates judgment and can improve accuracy.

[0074] In the case that the second target media asset type includes only one type, the second target media asset type is determined as the optimal media asset type.

[0075] S35: Obtain resource heat values ​​corresponding to all second target media asset types, and / or obtain the media asset type played by the terminal device that is playing the media, and / or obtain the above interaction information, and / or obtain the user's on-demand habits, and determine the best media asset type among multiple second target media asset types based on multiple resource heat values, and / or media asset types played, and / or the above interaction information, and / or user's on-demand habits.

[0076] When two or more second target media asset types are screened out based on the device type of the terminal device in the user's home, they are screened again based on one of the four factors, or a combination of any two or more factors, including resource heat attributes, the type of media asset being played by the terminal device being played, the above interactive information, and the user's on-demand habits, so as to determine the best media asset type among multiple second target media asset types, thereby automatically determining the best media asset type that meets the user's needs.

[0077] It should be noted that the present application does not impose any restrictions on the specific execution steps of step S35 in the training decision determination method. In practical applications, those skilled in the art can set the specific execution steps of the training decision determination method according to actual needs. For example: the best media asset type can be determined in the second target media asset type only by the resource heat value; or, the best media asset type can be determined in the second target media asset type only by the playback media asset type; or, the best media asset type can be determined in the second target media type by any two or more combination factors of resource heat value, playback media asset type, the above interactive information and user on-demand habits; and so on. Adjustments and changes to the specific execution steps of step S35 in the training decision determination method do not deviate from the basic principles of the present application and should be limited to the scope of protection of the present application.

[0078] In one embodiment, please refer to Figure 5 , step S35 specifically includes:

[0079] S351: Obtain resource heat values ​​corresponding to all second target media asset types, obtain the media asset type played by the terminal device that is playing the media asset, obtain the above interaction information, and obtain the user's on-demand habits.

[0080] The resource heat value is the heat ranking value corresponding to each media asset type of the same name in the resource heat attribute on the network; the resource heat value is updated in real time according to the resource feedback information on the network.

[0081] The above interaction information specifically refers to the type of media resource when the terminal device last played the media resource.

[0082] The user's on-demand habit is specifically the proportion of different types of media played by the terminal device within a fixed period. The proportion can be determined according to the playing time or the number of times of playing.

[0083] S352: Determine the first pre-selected media asset type and the weight ratio of the first pre-selected media asset type according to the plurality of resource heat values ​​and the weight ratio of the resource heat attributes in the preset solution.

[0084] Specifically, the preset scheme is a specific scheme of the weight proportions corresponding to four factors: resource heat attribute, playback media resource type, above-mentioned interactive information, and user on-demand habits.

[0085] In one embodiment, the preset scheme is a scheme that best meets the user's needs selected from a plurality of alternative schemes based on the user's historical playback records. Specifically, the alternative schemes include: Scheme A, Scheme B, Scheme C, Scheme D, and Scheme E. The proportion of each factor in each scheme is different, and the total weight of the four factors accounts for 100%. The preset scheme corresponding to each judgment to execute step S5 can be selected from a plurality of alternative schemes based on the user's historical playback records. Among them, the specific steps of selecting the corresponding preset scheme in the alternative schemes are not repeated, and those skilled in the art can set them according to actual needs. For example, after the result of the first judgment according to Scheme A is executed, the user is not satisfied, and a new media asset type is determined after voice interaction again by adding keywords, and then feedback is given to the processor to adjust the weight proportions corresponding to different factors.

[0086] In another embodiment, the weights of the four factors in the preset scheme are equally divided, and the weight of each factor is 25%.

[0087] S353: Determine the second pre-selected media asset type and the weight ratio of the second pre-selected media asset type according to the played media asset type and the weight ratio of the played media asset type in the preset scheme.

[0088] S354: Determine the third pre-selected media asset type and the weight ratio of the third pre-selected media asset type according to the above interaction information and the weight ratio of the above interaction information in the preset solution.

[0089] S355: Determine the fourth pre-selected media asset type and the weight ratio of the fourth pre-selected media asset type according to the user's on-demand habits and the weight ratio of the user's on-demand habits in the preset solution.

[0090] S356: Add up multiple weight proportions of the same pre-selected media asset type to obtain an actual weight proportion of each pre-selected media asset type.

[0091] S357: Determine the pre-selected media asset type with the highest actual weight as the best media asset type.

[0092] The specific judgment process of the above embodiment is explained in detail with an exemplary flow, wherein the following contents are assumed: the on-demand list is "Shui Tiao Ge Tou", and in step S2, it is determined that the first target media asset type includes four types: poetry recitation audio, poetry recitation video, song audio, and song video; in step S31, it is determined that the device type is an audio and video type; in step S33, it is determined that the second target media asset type is the same as the first target media asset type; in step S5, the preset plan is Plan A: resource heat attribute 40%, playback media asset type 30%, above interactive information 20%, user on-demand habits 10%.

[0093] In step S51, in the resource heat attribute, the resource heat value of the poetry recitation audio of Shuidiaogetou is 50, the resource heat value of the poetry recitation video of Shuidiaogetou is 20, the resource heat value of the song audio of Shuidiaogetou is 80, and the resource heat value of the song video of Shuidiaogetou is 60. The obtained audio and video equipment is playing the song audio; the obtained above interaction information is the song radio; the obtained on-demand habits include: on-demand song audio accounts for 50%, on-demand song video accounts for 20%, and on-demand radio accounts for 30%.

[0094] In step S352, the resource with the highest heat value is selected from multiple resource heat values, and it is confirmed that the first pre-selected media asset type is song audio, and its weight accounts for 40%.

[0095] In step S353, the second pre-selected media asset type is determined to be song audio by playing the media asset type, and the weight ratio is 30%.

[0096] In step S354, it is determined through the above interactive information that the third pre-selected media resource type is a song radio station, and its weight is 20%.

[0097] In step S355, the fourth pre-selected media asset type is determined to be song audio based on the user's on-demand habits, and its weight is 10%.

[0098] In step S356, the total weight of song audio accounts for 80%, and the total weight of song radio accounts for 20%.

[0099] Therefore, in step S357, it is determined that the best media asset type is song audio.

[0100] In this embodiment, four factors, namely, resource heat attribute, media type being played by the terminal device, the above interactive information, and user on-demand habits, are screened separately to obtain the pre-selected media types corresponding to the four factors and their weight ratios. Multiple weight ratios of the same pre-selected media type are added together to obtain the actual weight ratio of each pre-selected media type, and the pre-selected media type with the highest actual weight ratio is determined as the best media type. This setting method determines the final best media type by screening through four factors and combining the weight ratio of each factor in the preset scheme. The judgment process is simple and easy to control.

[0101] In another embodiment, please refer to Figure 6 , step S35 specifically includes:

[0102] S3501: Obtain the media resource type played by the terminal device that is playing the media resource.

[0103] S3502: Determine a first pre-selected media asset type according to the type of the media asset to be played.

[0104] S3503: Determine whether the first pre-selected media asset type is among the multiple second target media asset types.

[0105] S3504: If the first pre-selected media asset type is among the multiple second target media asset types, determine the first pre-selected media asset type as the best media asset type.

[0106] S3505: If the first pre-selected media asset type is not in the plurality of second target media asset types, then obtaining the above interaction information.

[0107] S3506: Determine a second pre-selected media asset type according to the above interaction information.

[0108] S3507: Determine whether the second pre-selected media asset type is among the multiple second target media asset types.

[0109] S3508: If the second pre-selected media asset type is among the multiple second target media asset types, determine the second pre-selected media asset type as the best media asset type.

[0110] S3509: If the second pre-selected media asset type is not in the plurality of second target media asset types, obtaining the user's on-demand habits.

[0111] S3510: Determine a third pre-selected media asset type according to the user's on-demand habits.

[0112] S3511: Determine whether the third pre-selected media asset type is among the multiple second target media asset types.

[0113] S3512: If the third pre-selected media asset type is among the multiple second target media asset types, determine the third pre-selected media asset type as the best media asset type.

[0114] S3513: If the third pre-selected media asset type is not in the plurality of second target media asset types, then obtaining resource heat attributes of all second target media asset types.

[0115] S3514: Determine the second target media asset type with the highest resource heat attribute value as the optimal media asset type.

[0116] In this embodiment, when two or more second target media asset types are screened out based on the device type of the terminal device in the user's home, the four factors of the media asset type being played by the terminal device being played, the above interactive information, the user's on-demand habits and the resource heat attribute are filtered in turn until the filtering results include only one second target media asset type; the four factors are judged and compared in the set order, the judgment accuracy is higher, and the judgment result is more in line with the user's expectations.

[0117] For further optimization, please continue to refer to Figure 6 The training decision determination method also includes: when the playback type of the terminal device is not obtained, directly executing step S3505 to obtain the above interaction information.

[0118] For further optimization, please continue to refer to Figure 6 The training decision determination method also includes: when the above interaction information is not obtained, directly executing step S3509; obtaining the user's on-demand habits.

[0119] For further optimization, please continue to refer to Figure 6 The training decision determination method also includes: when the user's on-demand habits are not obtained, directly executing step S3513 to obtain the resource heat values ​​corresponding to all second target media asset types.

[0120] With this setting, when the corresponding content is not obtained for the previous judgment factor, the relevant content of the next judgment factor is directly obtained, which facilitates control execution.

[0121] In the case of performing voice interaction through an independent voice interaction device, preferably, when the best media type is an audio media type, and the terminal device includes both an audio device and an audio and video device, before the terminal device is made to play, the voice on-demand method further includes:

[0122] Determine whether there is a terminal device that can play audio and is currently playing it.

[0123] If the judgment result is "yes", the terminal device is made to play, that is, the terminal device is switched from the currently playing resource to the target media resource for playing.

[0124] If the judgment result is "No", the audio device is made to play, that is, the audio device is started and the target media resource is played.

[0125] This setting method can quickly select the corresponding terminal device for playback, avoiding the situation where two terminal devices are playing at the same time.

[0126] In another embodiment, when each terminal device has a voice interaction module, before the terminal device is caused to play, the voice on-demand method further includes:

[0127] Determine whether the terminal device for voice interaction has playback conditions;

[0128] If the terminal device has the playing condition, the terminal device is enabled to play.

[0129] If the terminal device does not have the playback conditions, it will obtain information on whether other terminal devices have the playback conditions. If it is obtained that a terminal device has the playback conditions, the terminal device with the playback conditions will be enabled to play the video. At the same time, the voice interaction module will feedback to the user that "this device cannot play the video, and it has been played on other devices."

[0130] If the terminal device does not have the playback conditions, it is obtained whether other terminal devices have the playback conditions. If all terminal devices do not have the playback conditions, the voice interaction module feeds back to the user "no playable device was found, and the video cannot be played."

[0131] In addition, the present application also protects a computer-readable storage medium, wherein the computer-readable storage medium includes a stored program, wherein the program executes the above-mentioned voice-on-demand method of the smart home system when it is run.

[0132] In addition, the present application also protects an electronic device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the above-mentioned voice on-demand method of the smart home system through the computer program.

[0133] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A voice on-demand method for a smart home system, characterized in that: The smart home system includes a terminal device, and the voice on-demand method includes: Obtain voice interaction information initiated by the user; Based on the voice interaction information, extract the on-demand list, and determine the media asset type corresponding to the on-demand list, which is recorded as the first target media asset type; In a case where the on-demand directory corresponds to a plurality of the first target media asset types, determining the best media asset type among the plurality of the first target media asset types based on a training decision determination method; Determining a target media resource corresponding to the on-demand list based on the on-demand list and the optimal media resource type; Obtain relevant information of the target media resource so that the terminal device can play it.

2. The voice on-demand method for the smart home system according to claim 1, characterized in that: The voice on-demand method further includes: obtaining the device type of the terminal device when the on-demand directory corresponds to only one type of the first target media asset; Determining whether the first target media asset type matches the device type; In a case where the media asset type matches the device type, determining a target media asset corresponding to the on-demand list based on the on-demand list and the first target media asset type; Obtain relevant information of the target media resource so that the terminal device can play it.

3. The voice on-demand method for the smart home system according to claim 1, characterized in that: The training decision determination method specifically includes: Obtaining a device type of the terminal device; Obtain the media asset types that can be played by the device type, recorded as playable media asset types; Determining a second target media asset type corresponding to the on-demand directory according to the playable media asset type and a plurality of the first target media asset types; In the case that the second target media asset type includes only one type, the second target media asset type is determined as the optimal media asset type.

4. The voice on-demand method for the smart home system according to claim 3, characterized in that: The training decision determination method further includes: In the case where the second target media asset type includes at least two types, Obtain resource heat values ​​corresponding to all the second target media asset types, and / or obtain the media asset type played by the terminal device that is playing the media, and / or obtain the above interaction information, and / or obtain the user's on-demand habits, and determine the best media asset type among multiple second target media asset types based on multiple resource heat values, and / or the media asset type played, and / or the above interaction information, and / or the user's on-demand habits.

5. The voice on-demand method for the smart home system according to claim 4, characterized in that: The step of "obtaining resource heat values ​​corresponding to all the second target media asset types, and / or obtaining the media asset type played by the terminal device that is playing the media asset, and / or obtaining the above interaction information, and / or obtaining the user's on-demand habits, and determining the best media asset type from multiple second target media asset types based on multiple resource heat values, and / or the media asset types played, and / or the above interaction information, and / or the user's on-demand habits" specifically includes: Obtaining resource heat values ​​corresponding to all the second target media asset types, obtaining the media asset type played by the terminal device that is playing the media asset, obtaining the above interaction information, and obtaining the user's on-demand habits; Determine the first pre-selected media asset type and the weight ratio of the first pre-selected media asset type according to the plurality of resource heat values ​​and the weight ratio of the resource heat attributes in the preset scheme; Determining the second pre-selected media asset type and the weight ratio of the second pre-selected media asset type according to the playback media asset type and the weight ratio of the playback media asset type in the preset scheme; Determine the third pre-selected media asset type and the weight ratio of the third pre-selected media asset type according to the above interaction information and the weight ratio of the above interaction information in the preset scheme; Determining the fourth pre-selected media asset type and the weight ratio of the fourth pre-selected media asset type according to the user's on-demand habits and the weight ratio of the user's on-demand habits in the preset scheme; Adding multiple weight proportions of the same pre-selected media asset type to obtain an actual weight proportion of each pre-selected media asset type; The pre-selected media asset type with the highest actual weight ratio is determined as the optimal media asset type.

6. The voice on-demand method for the smart home system according to claim 4, characterized in that: The step of "obtaining resource heat values ​​corresponding to all the second target media asset types, and / or obtaining the media asset type played by the terminal device that is playing the media asset, and / or obtaining the above interaction information, and / or obtaining the user's on-demand habits, and determining the best media asset type from multiple second target media asset types based on multiple resource heat values, and / or the media asset types played, and / or the above interaction information, and / or the user's on-demand habits" specifically includes: Obtaining the type of media being played by the terminal device that is playing the media; Determining a first pre-selected media asset type according to the playback media asset type; Determine whether the first pre-selected media asset type is among the plurality of the second target media asset types, and if so, determine the first pre-selected media asset type as the best media asset type; if the first pre-selected media asset type is not among the plurality of the second target media asset types, obtain the above interaction information; Determining a second pre-selected media asset type according to the above interaction information; Determine whether the second pre-selected media asset type is among the plurality of second target media asset types, and if the second pre-selected media asset type is among the plurality of second target media asset types, determine the second pre-selected media asset type as the best media asset type; if the second pre-selected media asset type is not among the plurality of second target media asset types, obtain the user's on-demand habit; Determining a third pre-selected media resource type according to the user's on-demand viewing habits; Determine whether the third pre-selected media asset type is among the plurality of the second target media asset types; if the third pre-selected media asset type is among the plurality of the second target media asset types, determine the third pre-selected media asset type as the best media asset type; if the third pre-selected media asset type is not among the plurality of the second target media asset types, obtain resource heat values ​​corresponding to all the second target media asset types; The second target media asset type with the highest resource heat value is determined as the optimal media asset type.

7. The voice on-demand method for a smart home system according to claim 6, characterized in that: The training decision determination method further includes: directly executing acquisition of the above interaction information when the type of the media asset being played by the terminal device that is playing the media asset is not obtained; And / or, the training decision determination method further includes: directly obtaining the user's on-demand habits when the above interaction information is not obtained; And / or, the training decision determination method further includes: directly obtaining resource heat values ​​corresponding to all the second target media asset types when the user's on-demand habits are not obtained.

8. The voice on-demand method for a smart home system according to any one of claims 1 to 7, characterized in that: When the optimal media type is an audio media type, and the terminal device includes both an audio device and an audio / video device, before the terminal device is enabled to play, the voice on-demand method further includes: Determine whether the terminal device capable of playing audio is currently playing the audio; If the judgment result is "yes", the terminal device is made to play; If the judgment result is "No", the audio device is enabled to play.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program, when running, executes the voice-on-demand method for the smart home system according to any one of claims 1 to 8.

10. An electronic device comprising a memory and a processor, characterized in that: The memory stores a computer program, and the processor is configured to execute the voice on-demand method for the smart home system according to any one of claims 1 to 8 through the computer program.