A control method, electronic equipment and computer storage medium
By processing and integrating user status and environmental data to determine the service strategy of smart devices, it solves the problem of low intelligence level in smart device control, realizes autonomous services without user instructions, and improves interaction efficiency and experience.
Patent Information
- Application Number
- CN202111360393.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-17
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2041-11-17
AI Technical Summary
Existing smart device control methods rely on users to actively initiate instructions, resulting in a low level of intelligence and the inability to actively adjust the output form to suit user needs.
By obtaining the user's status data and environmental data, processing and merging them into vectors, it determines the type of scene and service strategy the user is in, and then controls the device to perform corresponding operations to achieve independent services for the user.
It improves the intelligence level of smart device control and can actively adjust output without user instructions, improving interaction efficiency and experience.
Smart Images

Figure CN113946222B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to a technology for controlling electronic devices over other intelligent devices in artificial intelligence, and in particular to a control method, electronic device, and computer storage medium. Background Art
[0002] Currently, artificial intelligence technology is increasingly being applied to all aspects of life. In the field of human-computer interaction, products such as smart speakers, voice assistants, smart watches, and True Wireless Stereo (TWS) headphones have also become available, providing a rich and natural form of interaction. In practice, a single modality is often unusable due to environmental factors, or differences in user behavior and expression lead to ambiguous intentions, affecting the efficiency and experience of interaction. Therefore, multimodality has emerged.
[0003] Related technologies usually include: combining multiple modalities to achieve control of devices or interactive interfaces, or combining multiple modalities to perceive user status and situational information to improve understanding of user intentions, or combining multiple modalities to learn user historical data to obtain rules or models. However, the above methods all rely on users actively initiating instructions to integrate information from multiple modalities to achieve understanding of intentions and passive execution of interactive systems. That is, the intelligence of artificial intelligence is not enough and needs to be improved. From this, it can be seen that there is a technical problem of low intelligence in the existing combination of multiple modalities to achieve control of smart devices. Summary of the Invention
[0004] The embodiments of the present application provide a control method, an electronic device, and a computer storage medium, which can improve the intelligence level of controlling smart devices by combining multiple modes.
[0005] The technical solution of this application is achieved as follows:
[0006] In a first aspect, an embodiment of the present application provides a control method, including:
[0007] Processing the acquired user-related data to obtain vectors of the relevant data; wherein the relevant data includes status data and environment data;
[0008] fusing the vectors of the relevant data to obtain fused data of the user;
[0009] Determining the scene type of the user according to the fusion data of the user;
[0010] Determining a service strategy for the user based on the fused data of the user and the scenario type in which the user is located;
[0011] The execution device of the service policy is controlled to execute the service policy.
[0012] In a second aspect, an embodiment of the present application provides an electronic device, including:
[0013] A processing module, configured to process the acquired user-related data to obtain vectors of the relevant data; wherein the relevant data include status data and environment data;
[0014] A fusion module, configured to fuse the vectors of the relevant data to obtain fused data of the user;
[0015] A first determining module, configured to determine the scene type of the user based on the fusion data of the user;
[0016] A second determining module is configured to determine a service policy for the user based on the fusion data of the user and the scenario type in which the user is located;
[0017] A control module is used to control the execution device of the service policy to execute the service policy.
[0018] In a third aspect, an embodiment of the present application provides an electronic device comprising: a processor and a storage medium storing instructions executable by the processor; the storage medium relies on the processor to perform operations through a communication bus, and when the instructions are executed by the processor, the control method described in one or more of the above embodiments is executed.
[0019] In a fourth aspect, an embodiment of the present application provides a computer storage medium storing executable instructions. When the executable instructions are executed by one or more processors, the processors execute the control method described in one or more of the above embodiments.
[0020] The embodiments of the present application provide a control method, an electronic device, and a computer storage medium, including: processing various relevant data of the user obtained to obtain vectors of the relevant data, wherein the relevant data include status data and environmental data, fusing the vectors of the relevant data to obtain the user's fused data, determining the type of scene the user is in based on the user's fused data, determining the user's service strategy based on the user's fused data and the type of scene the user is in, and controlling the execution device of the service strategy to execute the service strategy; that is, in the embodiments of the present application, the vectors of the relevant data of the user obtained are obtained by processing the various relevant data of the user, and then fusing them to obtain the user's fused data, and then determining the type of scene the user is in based on the fused data, and finally, determining the service strategy based on the fused data and the scene type. In this way, by processing the various relevant data of the user obtained, the scene the user is in can be known. When the scene is known, the user's needs at this time can be determined in combination with the fused data, and the user's service strategy is determined based on the needs at this time, so as to achieve the purpose of autonomously providing services to the user, thereby improving the intelligence level of controlling the smart device. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 A flow chart of an optional control method provided in an embodiment of the present application;
[0022] Figure 2 A flowchart of an example of an optional control method provided in an embodiment of the present application;
[0023] Figure 3 A schematic diagram of the structure of an optional electronic device provided in an embodiment of the present application;
[0024] Figure 4 A schematic structural diagram of another optional electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0025] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application.
[0026] Example 1
[0027] The embodiment of the present application provides a control method, Figure 1 A flow chart of an optional control method provided in an embodiment of the present application is shown as follows: Figure 1 As shown, the control method may include:
[0028] S101: Process the acquired user-related data to obtain vectors of the relevant data;
[0029] At present, in order to achieve the control of smart devices by combining multiple modalities, in actual applications, signals such as voice, gestures, EEG, EMG, eye movement, body posture and gestures are usually combined from auditory, visual and sensory channels to complete the control of vehicles, virtual interfaces and home appliances; or by perceiving user status and situational information, the understanding of user intentions is improved. User status and situational information can be obtained through data such as time, location, light, temperature, tone, expression, etc. However, all of these require users to give clear instructions. The device or system only combines data from multiple modalities and uses the complementarity or redundancy of information to improve the accuracy of understanding user intentions. The device only passively receives and processes multimodal data and does not actively adjust the output form, such as providing users with service and content recommendations.
[0030] It can also be obtained through trained neural network models or preset rules; or by learning the user's historical data to obtain rules or models. When used, combined with the current multimodal data, it predicts the services that the user may need and gives an interactive response. This method already has a certain concept of service recommendation, but its triggering premise is that the device has been manually awakened and entered the "can provide recommendations" state before recommendations are made, which is equivalent to still needing to passively receive at least one instruction to wake up and activate.
[0031] However, the above solutions all require the user to actively initiate commands, such as voice, action, and blinking, to integrate information from multiple modalities to achieve understanding of intentions and passive execution of the interactive system. In order to improve the intelligence level of controlling smart devices, an embodiment of the present application provides a control method. First, after obtaining the user's relevant data, the relevant data are processed to obtain vectors of the relevant data, wherein the relevant data include status data and environmental data.
[0032] Among them, the status data is data related to the user itself, such as voice data collected by the user through a smart device, video data or image data collected by the user through a smart device, data collected by the user through an inertial measurement unit (IMU) sensor, data collected by the user through a physiological signal sensor, etc. The environmental data is data related to the current environment in which the user is located, such as data obtained through a temperature and humidity sensor, status data of the current smart device, social attribute data, etc.
[0033] In this way, after obtaining the relevant data of the user, we can know the user's own condition and the condition of the environment. In order to facilitate calculation, the relevant data are processed to obtain the vectors of the relevant data. In this way, the obtained user status data and environmental data can be represented by vectors, which is conducive to data fusion and thus conducive to determining service strategies.
[0034] In order to obtain the vectors of the relevant data, in an optional embodiment, S101 may include:
[0035] According to the preset data conversion rules, data conversion is performed on each relevant data to obtain the converted relevant data;
[0036] Using word vector technology, each relevant data after conversion is processed separately to obtain the vector of each relevant data.
[0037] Specifically, data conversion rules are set in advance, and different characters are set with corresponding numbers. In this way, according to the preset data conversion rules, each relevant data in the relevant data is converted separately, so that the converted relevant data can be obtained, and the length of each relevant data after conversion is the same. Then, through the word vector technology, each relevant data in the converted relevant data is processed separately, so that the vector of each relevant data can be obtained.
[0038] In addition to processing the relevant data to obtain the vectors of the relevant data, in an optional embodiment, the method may further include:
[0039] Performing format conversion on a data format of one of the relevant data to obtain one of the converted relevant data;
[0040] Specifically, after obtaining each relevant data, the data format of one of the relevant data can be converted to obtain one of the converted relevant data, wherein the data format of one of the converted relevant data is the same as the data format of another of the relevant data. That is to say, two relevant data of different data formats in each relevant data are converted to become relevant data of one data format. For example, the form of speech spectrogram is converted into picture form, and the video data is sampled to form multiple continuous pictures, so that the speech and video are converted into picture format, which is the same as the format of the collected image. This is conducive to the subsequent data fusion and the determination of the scene type.
[0041] In addition, in addition to the above-mentioned processing of the relevant data to obtain the vectors of the relevant data and the conversion of the data format, in an optional embodiment, the above-mentioned method may further include:
[0042] Aligning voice-type data and video-type data having the same starting time point and ending time point in each relevant data to obtain aligned voice-type data and aligned video-type data;
[0043] Specifically, the acquired relevant data can also be aligned, which means processing different modal data with semantic starting points into the same length. For the case where the user performs the same action while speaking, first find the voice type data and video type data with the same starting time point and ending time point from the relevant data, and then align the voice type data and video type data, wherein the number of data of the aligned voice type data is the same as the number of data of the aligned video type data. Here, interpolation, downsampling, or dynamic time warping (DTW) can be used to achieve this.
[0044] This helps in data fusion and determination of scenario types, thus helping to generate service strategies.
[0045] S102: Fusing the vectors of the relevant data to obtain the user's fused data;
[0046] After obtaining the vectors of the relevant data, the vectors of the relevant data need to be fused to obtain the user's fused data. The user's fused data is the result of merging data of different modalities, so that the information of different modalities is complementary. To obtain the user's fused data, in an optional embodiment, S102 may include:
[0047] Splicing the vector of one type of relevant data with the vector of another type of relevant data in the vectors of the relevant data to obtain user fusion data;
[0048] Alternatively, the vector of one type of relevant data is superimposed with the vector of another type of relevant data in the vectors of the relevant data to obtain the user's fused data;
[0049] Alternatively, the vector of one type of relevant data among the vectors of the relevant data is inserted into a specific position of the vector of another type of relevant data to obtain the user's fused data.
[0050] Specifically, according to the specific situation, the vector of one type of relevant data in the vectors of each relevant data can be spliced with the vector of another type of relevant data, and the spliced vector can be determined as the user's fusion data. Alternatively, the vector of one type of relevant data in the vectors of each relevant data can be superimposed with the vector of another type of relevant data, and the superimposed vector can be determined as the user's fusion data. Alternatively, the vector of one type of relevant data in the vectors of each relevant data can be inserted into a specific position of the vector of another type of relevant data, and the inserted vector can be determined as the user's fusion data.
[0051] It should be noted that, in the processing of each relevant data, any one of the above-mentioned processing methods may be included, or any combination of the above-mentioned processing methods may be included. Here, the embodiments of the present application do not make specific limitations on this.
[0052] In addition, the aligned data may be superimposed or filtered, or the converted data may be inserted into a specific position to achieve data fusion and obtain the user's fused data. Here, the embodiment of the present application does not make specific limitations on this.
[0053] S103: Determine the scene type of the user based on the user's fusion data;
[0054] After obtaining the user's fusion data, it is necessary to determine the type of scene the user is in based on the user's fusion data. Here, the type of scene the user is in can be determined by using preset rules, or by using a pre-trained network model. Here, the embodiment of the present application does not make specific limitations on this.
[0055] Here, it should be noted that the above-mentioned scene types can be divided into scene types for the current environment and scene types for users in the current environment. For example, the scene types for the current environment may include: holidays, meal times, driving, meetings, operations, traffic jams, rainy days and airplanes flying over, etc. The scene types for users in the current environment may include: at work, after get off work, studying, leisure watching movies, making phone calls, operating mobile phones, sleeping, talking and arguing, etc.
[0056] In order to determine the scene type in which the user is located, in an optional embodiment, S103 may include:
[0057] According to the preset scene type recognition rules, the user's fusion data is identified to obtain the scene type in which the user is located;
[0058] Alternatively, the user's fused data is input into a pre-trained first machine learning model to obtain the scene type in which the user is located.
[0059] Specifically, for using preset rules to determine the scene type in which the user is located, the scene type identification rules can be determined in advance based on actual conditions, and then the scene type identification rules can be used to identify the user's fusion data to obtain the scene type in which the user is located.
[0060] Alternatively, a first machine learning model is pre-trained, and the user's fusion data is input into the pre-trained first machine learning model, and the output is the scene type in which the user is located.
[0061] In this way, the above two methods can determine the scenario type of the user, thereby determining the user's service strategy and intelligently providing the service required by the user.
[0062] In determining the scene type of the user according to a preset scene type identification rule, in an optional embodiment, identifying the user's fused data according to the preset scene type identification rule to obtain the scene type of the user includes at least one of the following:
[0063] When the fused data of the user indicates that the user is in a moving vehicle and the user's moving speed is less than a preset speed threshold within a preset time period, it is determined that the scene type in which the user is located is a traffic jam;
[0064] When the fused data of the user indicates that the user is on a phone call and the volume of the user's phone call is greater than a preset volume threshold, it is determined that the scene in which the user is in is a quarrel.
[0065] Specifically, when checking the user's fused data, if the user's fused data indicates that the user is in a moving vehicle and the user's moving speed is less than a preset speed threshold within a preset time, it means that the user is in a vehicle and the vehicle is moving slowly. Therefore, it can be determined that the scene where the user is located is a traffic jam. The user's fused data can also be calculated for similarity with the historical traffic jam data obtained in advance to determine a similarity value. If the similarity value is less than the preset similarity threshold, it means that the scene where the user is located is a traffic jam.
[0066] In addition, when the user's fused data indicates that the user is on a phone call and the volume of the user's phone call is greater than a preset volume threshold, it means that the user is talking on the phone very loudly. Therefore, it can be determined that the scene type the user is in is a quarrel. The user's fused data can also be calculated for similarity with pre-acquired historical quarrel data to determine a similarity value. If the similarity value is less than the preset similarity threshold, it means that the scene the user is in is a quarrel.
[0067] In this way, the user's scenario type can be determined through the user's fusion data, which helps to determine a service strategy for the user.
[0068] Regarding using a pre-trained first machine learning model to determine the scene type in which the user is located, in an optional embodiment, the above method further includes:
[0069] Inputting the acquired first sample data set into a preset machine learning model to obtain a trained first machine learning model;
[0070] Specifically, a first sample data set is first obtained, wherein the first sample data set includes: at least two fusion data for the user and a scene type corresponding to each of the at least two fusion data. Here, the user's historical fusion data can be collected in advance, and the scene type of each historical fusion data can be marked to form a first sample data set. The preset machine learning model is trained using the first sample data set to obtain a trained first machine learning model. The trained first machine learning model can be used to identify the scene type in which the user is located.
[0071] S104: Determine a service strategy for the user based on the user's integrated data and the type of scenario the user is in;
[0072] After determining the type of scenario the user is in, the user's service strategy can be determined based on the user's fusion data and the type of scenario the user is in. Here, the user's service strategy can be determined using preset rules, or using a pre-trained network model. Here, the embodiments of the present application do not make specific limitations on this.
[0073] In order to determine the user's service policy, in an optional embodiment, S104 may include:
[0074] Based on the preset service policy generation rules, the user's service policy is generated according to the user's integrated data and the type of scenario the user is in;
[0075] Alternatively, the user's fusion data and the type of scenario the user is in are input into a pre-trained second machine learning model to obtain the user's service strategy.
[0076] Specifically, for determining the user's service strategy using preset rules, the service strategy generation rules can be determined in advance based on actual conditions, and then the service strategy generation rules can be used to generate the user's service strategy based on the user's fusion data and the user's scenario type.
[0077] Alternatively, a second machine learning model is pre-trained, and the user's fusion data and the type of scenario the user is in are input into the pre-trained second machine learning model, and the user's service strategy is output.
[0078] Both of the above methods can determine the user's service strategy and intelligently provide the services required by the user.
[0079] In determining a user's service policy based on a preset service policy generation rule, in an optional embodiment, generating the user's service policy based on the preset service policy generation rule and according to the user's fusion data and the type of scenario in which the user is located includes at least one of the following:
[0080] When the scene type in which the user is located is reading, and the user's fusion data indicates that the current ambient light is dim, the service strategy generated for the user is: turn on the lights in the current environment;
[0081] When the user is browsing the phone and the user's fusion data indicates that there are other people in the current environment, the service strategy generated for the user is: switch the phone to the main interface;
[0082] When the scenario type in which the user is located is watching a movie, and the user's fusion data indicates that the user is processing other events besides watching a movie, the service strategy generated for the user is: pause the movie;
[0083] When the scenario type in which the user is located is a quarrel, the service strategy generated for the user is: play soothing music or play jokes.
[0084] Specifically, when the user is in the scene type of reading, and the user's fusion data indicates that the light in the current environment is dim, for example, when the light intensity is less than the preset intensity threshold, the generated service strategy is to turn on the lights in the current environment. Here, it should be noted that the light to be operated can also be determined based on the user's location indicated in the user's fusion data. When the light to be operated is turned on, the light to be operated is brightened. When the light to be operated is turned off, the light to be operated is turned on.
[0085] In addition, when the user is browsing the mobile phone, that is, the scene type is browsing the mobile phone, and the user's fusion data indicates that other people appear at this time, in order to protect the user's privacy, a service policy can be generated for the user to switch the mobile phone to the main interface. In this way, if the user does not find other people, the current browsing interface can be closed for the user in time to prevent privacy leakage.
[0086] In addition, when the user is watching a movie and there is an incoming call on the user's mobile phone, the user answers the call. If the user's fusion data indicates that the user is processing other events other than watching the movie, a service strategy for pausing the movie is generated to prevent the user from searching for the movie clip before answering the call after answering the call.
[0087] When the scenario type in which the user is located is a quarrel, in order to ease the user's emotions, a service strategy of playing soothing music or playing jokes can be generated for the user.
[0088] In this way, by combining the scenario type in which the user is located with the user's fusion data, it is possible to determine the services that the user may need and generate a service strategy to serve the user.
[0089] Regarding using a pre-trained first machine learning model to determine the scene type in which the user is located, in an optional embodiment, the above method further includes:
[0090] Inputting the acquired second sample data set into a preset machine learning model to obtain a trained second machine learning model;
[0091] Specifically, a second sample data set is first obtained, wherein the second sample data set includes: at least two fusion data for the user, the scene type of each fusion data in the at least two fusion data, and the service strategy corresponding to the at least two fusion data and the scene type of each fusion data; here, some users' fusion data can be set in advance, and the scene type of each user's fusion data can be determined using a trained second machine learning model or a preset scene type recognition rule, and then, the service strategy corresponding to the user's fusion data and the scene type of the user's fusion data is marked to form a second sample data set, and the preset machine learning model is trained using the second sample data set to obtain a trained second machine learning model, which can be used to identify the user's service strategy.
[0092] S105: Controlling the execution device of the service policy to execute the service policy.
[0093] After determining the user's service policy, the execution device corresponding to the user's service policy can be known. For example, when the service policy generated for the user is to turn on the lights in the current environment, the instruction to turn on the lights can be sent to the lights in the current environment, thereby controlling the lights in the current environment to turn on; when the service policy generated for the user is to switch the mobile phone to the main interface, the instruction to switch to the main interface can be sent to the mobile phone, thereby controlling the mobile phone to switch to the main interface; when the service policy generated for the user is to pause the movie, the instruction to pause the movie can be sent to the TV, thereby controlling the TV to pause the movie; when the service policy generated for the user is to play soothing music or jokes, the instruction to play soothing music or jokes can be sent to the mobile phone or TV, thereby controlling the mobile phone or TV to play soothing music or jokes, and the device generating the service policy itself can also play soothing music or jokes.
[0094] The control method described in one or more of the above embodiments is described below with examples.
[0095] Figure 2 A flow chart of an example of an optional control method provided in an embodiment of the present application is shown as follows: Figure 2 As shown, the execution device of the control method includes: a data acquisition module 21, a cognitive understanding module 22, an active service decision module 23 and a service execution module 24; wherein,
[0096] The data acquisition module 21 acquires data from devices in a distributed environment. Common distributed environments include a variety of smart terminals, such as mobile phones, smart watches / bracelets, TWS headphones, smart cameras, smart TVs, smart speakers, smart desk lamps, etc. These terminal devices are equipped with various types of sensors, such as RGB cameras, depth camera microphones, IMUs, infrared sensors, depth sensors, and physiological signal sensors. The data acquisition module 21 relies on various sensors in the distributed environment and the user himself to acquire multimodal data (equivalent to the above-mentioned related data).
[0097] Multimodal data consists of two aspects:
[0098] First, user data (equivalent to status data):
[0099] User voice data: This can be conscious commands from a single user, unconscious coughing, self-talk, or humming, or non-command conversations between multiple users.
[0100] Visual data: This can be videos and images of the user, containing multiple modal information such as the user's posture, gait, movements, gestures, orientation, head movement, lip movement, and eye movement;
[0101] IMU sensor data: contains information such as user posture, movement, and speed;
[0102] Physiological signal sensor data: Contains physiological data such as user temperature, pulse, blood pressure, blood sugar, and electromyography.
[0103] In addition, the system will learn user behavior characteristics in real time and complete the portrait model. When the system is running, it will record user historical data within a certain period of time to provide contextual semantic information for subsequent cognitive understanding modules.
[0104] Second, environment-related data (equivalent to environmental data):
[0105] Environmental sensor data: including the current environment's temperature and humidity, coordinates, air pressure, altitude, and light.
[0106] Current device status data: including: activated devices in use, types of tasks being performed, device interaction interface information, and device task content, etc.
[0107] Social attribute data: including date, day of the week, holidays, birthdays, gender, and age, etc.
[0108] The cognitive understanding module 22 may include a situational understanding submodule 221 and a user understanding submodule 222; wherein, the cognitive understanding module 22 first performs data processing, and the module first pre-processes the multimodal data obtained by the data acquisition module, including data representation, conversion, alignment, and fusion.
[0109] Data representation refers to encoding and vectorizing the above unstructured multimodal data to obtain a data form that can be operated by computers;
[0110] Data conversion refers to converting the data structure of one modality into the data structure of another modality, for example, converting speech spectrograms into images, sampling video data to form multiple continuous images, etc.
[0111] Data alignment involves processing different modal data with semantic starting points into the same length. For example, if a user performs an action while speaking, the corresponding speech and video start and end points are detected. The resulting speech segment contains M sampling points, and the resulting video segment contains N frames. The speech and video segments are then uniformly processed into L points and L frames. This can be achieved using methods such as interpolation, downsampling, and DTW.
[0112] Data fusion combines data from different modalities to complement each other. This can be accomplished by concatenating vectorized data, overlaying / filtering aligned data, or inserting encoded data into specific locations within other modal vectors.
[0113] Since the number and types of devices / sensors in different user environments may vary, the next step is to perform situational understanding and user subconscious intention understanding based on the processed data.
[0114] Scenario Understanding Submodule 221: This module analyzes possible scenarios in the current environment, such as holidays, mealtimes, driving, meetings, operations, traffic jams, rainy days, and airplanes flying by. This can be achieved through a combination of rules and deep learning techniques.
[0115] User Understanding Submodule 222: This module primarily analyzes the user's current state, such as at work, after get off work, studying, watching a movie, making a phone call, using a mobile phone, sleeping, chatting, and arguing. Because user behavior and states are highly individual, data collected over a period of time can be used to train an analysis and understanding model using deep learning techniques. Alternatively, a large amount of user behavior data can be combined and mined to create an analysis and understanding rule engine. These analysis and understanding models and engines are deployed in User Understanding Submodule 222 for real-time analysis and reasoning.
[0116] Proactive Service Decision Module 23: This module integrates the results of the Context Understanding Submodule 221 and the User Understanding Submodule 222 to determine whether a proactive service is needed. If so, it further determines the type of service to provide and whether to execute it or query the user. For example, if the light is dimming and the user is reading, the module proactively turns on the lights in the current environment. Specifically, proactive services include but are not limited to the following types / examples:
[0117] Privacy information protection: When an administrator user is browsing an interactive page on a computer or mobile phone, the system detects that a non-administrator has entered the current environment through data from visual (face, gait) or auditory (voiceprint) modalities. In this case, the system enters privacy mode: the interactive interface is switched to without privacy information, or personal instant messages no longer pop up. The terms administrator and non-administrator are conceptual examples, mainly indicating whether a device is owned or not, and serve as a criterion for determining whether personal privacy information is legal or illegal.
[0118] Content classification filtering: When the system detects that a minor has entered the current environment, it will determine whether to stop playback or filter content that is not suitable for minors based on the content information of the task being performed by the current device.
[0119] Automatic playback control assistance: The system detects that the user is casually watching a video. If the user turns their head to chat, answer a call, or looks down to check a message, the system automatically pauses the video. Once the user stops and returns to looking at the TV, playback resumes. If the system detects a loud airplane noise while the user is watching a movie, it pauses the video or increases the volume. Once the noise subsides, the system returns to the previous playback volume.
[0120] Personal content switching: The system detects two users are watching a movie. When one of them leaves, it provides personalized switching recommendations based on the user profile and preferences formed by historical data, or the last playback history of the user currently watching the TV device.
[0121] Emotional soothing: If the system detects that the user is having a loud conversation (or answering a phone call) and finds through sentiment analysis that the user is emotionally agitated, it will proactively prompt the user and perform corresponding soothing actions, such as playing soothing music, telling jokes, etc.
[0122] The proactive service decision module 23 is manually pre-programmed to form a decision rules engine. Based on the context, user status, and potential intent obtained by the cognitive understanding module 22, it searches for the corresponding proactive service and sends the corresponding instructions to the corresponding device for execution. Furthermore, the decision rules engine can be customized and configured in real time by users or developers at any time, providing flexible and scalable proactive personalized service capabilities.
[0123] Service Execution Module 24: Sends the execution instructions from Active Service Decision Module 23 to the corresponding device, completing the execution or initiating active interaction with the user. The instruction format can be {device + operation / content}, or can be designed by the developer based on actual needs. This example does not specify this.
[0124] It should be noted that the sensors in the step data acquisition module 21 can remain on continuously, or they can be turned on after the user's voice wake-up to reduce power consumption. In voice wake-up, dedicated low-power processing units, such as digital signal processors (DSPs) and application processors (APs), are combined with different strategies to achieve this. The calculations of the step cognitive understanding module 22 and the active service decision module 23 can adopt always-on (AON) technology. Through dedicated chips, the system can maintain low power consumption while ensuring real-time acquisition and processing of multimodal data.
[0125] This example processes and analyzes data from various terminals, Internet of Things (IoT) devices, and sensors to identify context and potential user intent and proactively provide services. Using multimodal data, it understands and predicts potential user intent. It obtains user, environmental, and social attribute data, performs multimodal data preprocessing, analyzes the fused data, understands the current context and potential user intent, and provides the services most needed, achieving intelligent and seamless interaction. This intelligence is reflected in the fact that users may not have anticipated the services provided, but upon receiving them, they will feel, "This is exactly what I needed."
[0126] Proactive interaction, no user instructions required: Unlike existing intelligent assistants' "wake up - issue a command - service response" process, this example proactively provides service execution or recommendations without explicit user instructions, improving interaction efficiency and the intelligent experience. Even when the user is asleep and unconscious, service recommendations can be made based on multimodal data such as images and physiological signals. Users can also set settings to disable proactive interaction or adjust the proportion of direct service or recommendation inquiries.
[0127] Adaptable to single-user, multi-user, and changing scenarios: This example not only considers proactive service recommendations for individual users, but also comprehensively considers the user's own attributes, such as age (children, elderly), the relationship between multiple users, proactive services when interactions occur between users, and proactive service strategies when the number of users changes, expanding the scope of intelligent service scenarios.
[0128] An embodiment of the present application provides a control method, including: processing the various relevant data of the user obtained to obtain vectors of the various relevant data, wherein the various relevant data include status data and environmental data, fusing the vectors of the various relevant data to obtain the user's fused data, determining the type of scene the user is in based on the user's fused data, determining the user's service strategy based on the user's fused data and the type of scene the user is in, and controlling the execution device of the service strategy to execute the service strategy; that is, in an embodiment of the present application, the vectors of the various relevant data of the user obtained are obtained by processing the various relevant data of the user, and then fusing them to obtain the user's fused data, and then determining the type of scene the user is in based on the fused data, and finally, determining the service strategy based on the fused data and the scene type. In this way, by processing the various relevant data of the user obtained, the scene the user is in can be known. When the scene is known, the user's needs at this time can be determined in combination with the fused data, and the user's service strategy is determined based on the needs at this time, so as to achieve the purpose of autonomously providing services to the user, thereby improving the level of intelligence in controlling smart devices.
[0129] Example 2
[0130] Based on the same inventive concept, an embodiment of the present application provides an electronic device, Figure 3 A schematic diagram of the structure of an optional electronic device provided in an embodiment of the present application is shown in FIG. Figure 3 As shown, the electronic device includes: a processing module 31, a fusion module 32, a first determination module 33, a second determination module 34 and a control module 35; wherein,
[0131] The processing module 31 is used to process the acquired user-related data to obtain vectors of the relevant data; wherein the relevant data includes status data and environment data;
[0132] A fusion module 32 is used to fuse the vectors of the relevant data to obtain the user's fused data;
[0133] A first determination module 33 is used to determine the scene type of the user based on the user's fusion data;
[0134] A second determination module 34 is configured to determine a service strategy for the user based on the user's fusion data and the type of scenario the user is in;
[0135] The control module 35 is used to control the execution device of the service policy to execute the service policy.
[0136] In an optional embodiment, the processing module 31 is specifically configured to:
[0137] According to the preset data conversion rules, data conversion is performed on each relevant data to obtain the converted relevant data;
[0138] Using word vector technology, each relevant data after conversion is processed separately to obtain the vector of each relevant data.
[0139] In an optional embodiment, the electronic device is further used for:
[0140] Performing format conversion on a data format of one of the relevant data to obtain one of the converted relevant data;
[0141] The data format of one of the converted related data is the same as the data format of another related data in each related data.
[0142] In an optional embodiment, the electronic device is further used for:
[0143] Aligning voice-type data and video-type data having the same starting time point and ending time point in each relevant data to obtain aligned voice-type data and aligned video-type data;
[0144] The number of aligned voice-type data and the number of aligned video-type data are the same.
[0145] In an optional embodiment, the fusion module 32 is specifically configured to:
[0146] Splicing the vector of one type of relevant data with the vector of another type of relevant data in the vectors of the relevant data to obtain user fusion data;
[0147] Alternatively, the vector of one type of relevant data is superimposed with the vector of another type of relevant data in the vectors of the relevant data to obtain the user's fused data;
[0148] Alternatively, the vector of one type of relevant data among the vectors of the relevant data is inserted into a specific position of the vector of another type of relevant data to obtain the user's fused data.
[0149] In an optional embodiment, the first determining module 33 is specifically configured to:
[0150] According to the preset scene type recognition rules, the user's fusion data is identified to obtain the scene type in which the user is located;
[0151] Alternatively, the user's fused data is input into a pre-trained first machine learning model to obtain the scene type in which the user is located.
[0152] In an optional embodiment, the first determining module 33 identifies the user's fusion data according to a preset scene type identification rule, and obtains the scene type in which the user is located, including at least one of the following:
[0153] When the fused data of the user indicates that the user is in a moving vehicle and the user's moving speed is less than a preset speed threshold within a preset time period, it is determined that the scene type in which the user is located is a traffic jam;
[0154] When the fused data of the user indicates that the user is on a phone call and the volume of the user's phone call is greater than a preset volume threshold, it is determined that the scene in which the user is in is a quarrel.
[0155] In an optional embodiment, the electronic device is further used for:
[0156] Inputting the acquired first sample data set into a preset machine learning model to obtain a trained first machine learning model;
[0157] The first sample data set includes: at least two types of fused data for the user and a scene type corresponding to each type of the at least two types of fused data.
[0158] In an optional embodiment, the second determining module 34 determines the service policy for the user based on the user's fusion data and the type of scenario in which the user is located, including:
[0159] Based on the preset service policy generation rules, the user's service policy is generated according to the user's integrated data and the type of scenario the user is in;
[0160] Alternatively, the user's fusion data and the type of scenario the user is in are input into a pre-trained second machine learning model to obtain the user's service strategy.
[0161] In an optional embodiment, the second determining module 34 generates a service policy for the user based on a preset service policy generation rule, according to the user's fusion data and the type of scenario in which the user is located, including at least one of the following:
[0162] When the scene type in which the user is located is reading, and the user's fusion data indicates that the current ambient light is dim, the service strategy generated for the user is: turn on the lights in the current environment;
[0163] When the user is browsing the phone and the user's fusion data indicates that there are other people in the current environment, the service strategy generated for the user is: switch the phone to the main interface;
[0164] When the scenario type in which the user is located is watching a movie, and the user's fusion data indicates that the user is processing other events besides watching a movie, the service strategy generated for the user is: pause the movie;
[0165] When the scenario type in which the user is located is a quarrel, the service strategy generated for the user is: play soothing music or play jokes.
[0166] In an optional embodiment, the electronic device is further used for:
[0167] Inputting the acquired second sample data set into a preset machine learning model to obtain a trained second machine learning model;
[0168] The second sample data set includes: at least two fused data for the user, a scene type of each fused data in the at least two fused data, and a service strategy corresponding to the at least two fused data and the scene type of each fused data.
[0169] Figure 4 A schematic diagram of the structure of another optional electronic device provided in an embodiment of the present application, such as Figure 4 As shown, an embodiment of the present application provides an electronic device 400, including: a processor 41 and a storage medium 42 storing instructions executable by the processor; the storage medium 42 relies on the processor 41 to perform operations through a communication bus 43, and when the instructions are executed by the processor, the control method executed on the processor side in one or more of the above embodiments is executed.
[0170] It should be noted that in actual application, the various components in the terminal are coupled together through the communication bus 43. It is understandable that the communication bus 43 is used to realize the connection and communication between these components. In addition to the data bus, the communication bus 43 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, Figure 4 Various buses are labeled as communication buses 43.
[0171] An embodiment of the present application provides a computer storage medium storing executable instructions. When the executable instructions are executed by one or more processors, the processors execute the control method described in one or more of the above embodiments.
[0172] Among them, the computer-readable storage medium can be a magnetic random access memory (FRAM), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM) and other memories.
[0173] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of hardware embodiments, software embodiments, or embodiments combining software and hardware. Furthermore, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk internal storage and optical internal storage, etc.) containing computer-usable program code.
[0174] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the steps in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0175] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0176] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0177] The above description is merely a preferred embodiment of the present application and is not intended to limit the scope of protection of the present application.
Claims
1. A control method for an intelligent device, characterized in that: include: Processing the acquired user-related data to obtain vectors of the relevant data; wherein the relevant data include status data and environment data; Fusing the vectors of the relevant data to obtain fused data of the user; Determine the scene type of the user according to the fusion data of the user; wherein the scene type of the user includes: a scene type for the current environment and a scene type for the user in the current environment; Determining a service strategy for the user according to the fused data of the user and the scenario type in which the user is located; When it is determined that the service in the service policy is an active service, controlling the execution device of the service policy to execute the service policy; Among them, the active service includes one or more of the following: privacy information protection service, content classification filtering service, automatic broadcast control auxiliary service, personal content switching service, and emotional comfort service; Wherein, determining the scene type of the user according to the fusion data of the user includes: identifying the fusion data of the user according to a preset scene type identification rule to obtain the scene type of the user; The identifying the fused data of the user according to the preset scene type identification rule to obtain the scene type of the user includes at least one of the following: When the fused data of the user indicates that the user is in a moving vehicle and the moving speed of the user is less than a preset speed threshold within a preset time period, determining that the scene type in which the user is located is a traffic jam; When the fused data of the user indicates that the user is on the phone and the volume of the user's phone call is greater than a preset volume threshold, it is determined that the scene type in which the user is located is a quarrel.
2. The method according to claim 1, characterized in that The step of processing the acquired user related data to obtain vectors of the related data includes: According to the preset data conversion rules, the data of each relevant data are respectively converted to obtain the converted relevant data; The word vector technology is used to process the converted related data respectively to obtain the vectors of the related data.
3. The method according to claim 1, characterized in that The method further comprises: Converting the data format of one of the related data to obtain converted data; The data format of one of the related data after conversion is the same as the data format of another related data among the related data.
4. The method according to claim 1, characterized in that: The method further comprises: Aligning the voice type data and the video type data having the same starting time point and ending time point in the relevant data to obtain aligned voice type data and aligned video type data; The number of aligned voice-type data and the number of aligned video-type data are the same.
5. The method according to any one of claims 1 to 4, characterized in that: The fusing the vectors of the relevant data to obtain the fused data of the user includes: splicing a vector of one type of relevant data with a vector of another type of relevant data among the vectors of the relevant data to obtain fused data of the user; Alternatively, a vector of one type of relevant data is superimposed with a vector of another type of relevant data among the vectors of the relevant data to obtain fused data of the user; Alternatively, a vector of one type of relevant data among the vectors of the relevant data is inserted into a specific position of a vector of another type of relevant data to obtain the fused data of the user.
6. The method according to claim 1, characterized in that The determining the service strategy of the user according to the fusion data of the user and the scenario type of the user includes: Based on a preset service policy generation rule, a service policy for the user is generated according to the fusion data of the user and the scenario type in which the user is located; Alternatively, the fusion data of the user and the scenario type in which the user is located are input into a pre-trained second machine learning model to obtain the service strategy for the user.
7. The method according to claim 6, characterized in that The generating rule based on the preset service policy generates the service policy of the user according to the fusion data of the user and the scenario type of the user, including at least one of the following: When the scene type in which the user is located is reading, and the fusion data of the user indicates that the current ambient light is dim, the service strategy generated for the user is: turn on the lights in the current environment; When the scene type of the user is browsing the mobile phone, and the fusion data of the user indicates that other people are present in the current environment, the service strategy generated for the user is: switching the mobile phone to the main interface; When the scene type of the user is watching a movie, and the fusion data of the user indicates that the user is processing other events other than watching a movie, the service policy generated for the user is: pausing the playing of the movie; When the scene type in which the user is located is quarrel, the service strategy generated for the user is: play soothing music or play jokes.
8. An electronic device, characterized in that: include: A processing module, used to process the acquired user-related data to obtain vectors of the relevant data; wherein the relevant data includes state data and environment data; A fusion module, used for fusing the vectors of the relevant data to obtain the fused data of the user; A first determination module is used to determine the scene type of the user according to the fusion data of the user; wherein the scene type of the user includes: a scene type for the current environment and a scene type for the user in the current environment; A second determination module, configured to determine a service strategy for the user according to the fusion data of the user and the scenario type in which the user is located; A control module, configured to control an execution device of the service policy to execute the service policy when determining that the service in the service policy is an active service; Among them, the active service includes one or more of the following: privacy information protection service, content classification filtering service, automatic broadcast control auxiliary service, personal content switching service, and emotional comfort service; Wherein, determining the scene type of the user according to the fusion data of the user includes: identifying the fusion data of the user according to a preset scene type identification rule to obtain the scene type of the user; The identifying the fused data of the user according to the preset scene type identification rule to obtain the scene type of the user includes at least one of the following: When the fused data of the user indicates that the user is in a moving vehicle and the moving speed of the user is less than a preset speed threshold within a preset time period, determining that the scene type in which the user is located is a traffic jam; When the fused data of the user indicates that the user is on the phone and the volume of the user's phone call is greater than a preset volume threshold, it is determined that the scene type in which the user is located is a quarrel.
9. An electronic device, characterized in that: include: A processor and a storage medium storing instructions executable by the processor; The storage medium relies on the processor to perform operations through a communication bus, and when the instructions are executed by the processor, the control method described in any one of claims 1 to 7 is executed.
10. A computer storage medium, characterized in that: Executable instructions are stored, and when the executable instructions are executed by one or more processors, the processors execute the control method described in any one of claims 1 to 7.
