Audio and video system, control method, control device and storage medium
By integrating biological parameter monitoring and dynamic parameter adjustment modules into the audio and video system, machine learning models are used to predict users' emotional reactions and adjust playback parameters in real time, solving the problem that traditional systems cannot meet users' personalized needs and improving user experience and ease of operation. sex.
Patent Information
- Application Number
- CN202410868164.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-10-15
AI Technical Summary
Traditional audio and video systems cannot adjust playback parameters in real time according to users' physiological indicators, resulting in poor user experience, cumbersome operations, and inability to meet changes in users' personalized needs.
Design an audio and video system that includes a biological parameter monitoring module, a dynamic parameter adjustment module and a processor. It uses a machine learning model to monitor the user's physiological indicators in real time, predict the user's emotional response, and adjust the playback parameters based on the predicted data.
It realizes real-time personalized audio and video services, improves user experience, simplifies operations, and provides a more customized and immersive entertainment experience.
Smart Images

Figure CN118784931A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of audio and video, and in particular to an audio and video system, a control method, a control device, and a storage medium. Background Art
[0002] As the application of artificial intelligence in various fields becomes more and more in-depth, audio and video systems have added various customized functions to better meet users' personalized preferences to meet their personalized needs. However, traditional audio and video systems that rely on manual operation or pre-settings by users can only provide audio and video services to users based on the preferences manually operated by users. If user needs change, manual adjustments are required, which is cumbersome and provides poor user experience.
[0003] Therefore, it is necessary to propose an audio and video system and control method that can judge the user's real-time personalized preferences based on the user's physiological indicators and provide corresponding audio and video services to meet the user's personalized audio and video needs in different scenarios. Summary of the invention
[0004] One or more embodiments of the present specification provide an audio and video system. The system includes: a biological parameter monitoring module, configured to monitor the physiological indicators of the user; a dynamic parameter adjustment module, configured to adjust the playback parameters of the audio and video system according to the control instructions; a processor, configured to: obtain the current playback content, current playback parameters and future playback content, and the user's physiological indicators; determine the user's emotional response information based on the user's physiological indicators; determine the user's predicted emotional data at a future time point through an emotional determination model based on the current playback content, current playback parameters, future playback content and emotional response information; the emotional determination model is a machine learning model; based on the predicted emotional data, determine the control instructions and send them to the dynamic parameter adjustment module to adjust the current playback parameters.
[0005] One of the embodiments of the present specification provides an audio and video control method, which includes: obtaining current playback content, current playback parameters and future playback content, as well as user physiological indicators monitored by a biological parameter detection module; determining the user's emotional response information based on the user's physiological indicators; determining the user's predicted emotional data at a future time point through an emotional determination model based on the current playback content, current playback parameters, future playback content and emotional response information; determining control instructions based on the predicted emotional data, and sending the control instructions to a dynamic parameter adjustment module to adjust the current playback parameters.
[0006] One or more embodiments of the present specification provide an audio and video control device, including a processor, wherein the processor is used to execute an audio and video control method.
[0007] One or more embodiments of the present specification provide a computer-readable storage medium, wherein the storage medium stores computer instructions. When a computer reads the computer instructions in the storage medium, the computer executes an audio and video control method. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] This specification will be further described in the form of exemplary embodiments, which will be described in detail by the accompanying drawings. These embodiments are not restrictive, and in these embodiments, the same number represents the same structure, wherein:
[0009] Figure 1 is a schematic diagram of an application scenario of an audio and video system according to some embodiments of this specification;
[0010] Figure 2 is an exemplary schematic diagram of an audio and video system according to some embodiments of this specification;
[0011] Figure 3 is an exemplary flow chart of an audio and video control method according to some embodiments of this specification;
[0012] Figure 4 is an exemplary schematic diagram of determining first sample data according to some embodiments of this specification;
[0013] Figure 5 is an exemplary schematic diagram of a sentiment determination model according to some embodiments of this specification;
[0014] Figure 6 This is an exemplary flowchart for generating control instructions according to some embodiments of this specification. DETAILED DESCRIPTION
[0015] In order to more clearly illustrate the technical solutions of the embodiments of this specification, the following is a brief introduction to the drawings required for the description of the embodiments. Obviously, the drawings described below are only some examples or embodiments of this specification. For ordinary technicians in this field, this specification can also be applied to other similar scenarios based on these drawings without creative work. Unless it is obvious from the language environment or otherwise explained, the same reference numerals in the figures represent the same structure or operation.
[0016] It should be understood that the "system", "device", "unit" and / or "module" used herein are a method for distinguishing different components, elements, parts, portions or assemblies at different levels. However, if other words can achieve the same purpose, the words can be replaced by other expressions.
[0017] As shown in this specification and claims, unless the context clearly indicates an exception, the words "a", "an", "an" and / or "the" do not refer to the singular and may also include the plural. Generally speaking, the terms "comprise" and "include" only indicate the inclusion of the steps and elements that have been clearly identified, and these steps and elements do not constitute an exclusive list. The method or device may also include other steps or elements.
[0018] Flowcharts are used in this specification to illustrate the operations performed by the system according to the embodiments of this specification. It should be understood that the preceding or following operations are not necessarily performed precisely in order. Instead, the steps may be processed in reverse order or simultaneously. At the same time, other operations may also be added to these processes, or one or more operations may be removed from these processes.
[0019] Figure 1 It is a schematic diagram of application scenarios of the audio and video system shown in some embodiments of this specification.
[0020] In some embodiments, the application scenario of the audio and video system may be a variety of scenarios, such as a user watching a video at home through the audio and video system, watching a movie in a theater through the audio and video system, etc. In some embodiments, the application scenario 100 of the audio and video system may include an audio and video system 110 and a user 120 .
[0021] The audio and video system 110 is a system that provides audio and video services to users. For example, a system that provides audio playback and video playback services to users. Figure 2 As shown, Figure 2 Schematic diagram of an audio and video system shown in some embodiments of this specification. Figure 1 and Figure 2 As shown, in some embodiments, the audio and video system 110 may include a biological parameter monitoring module 111 , a processor 112 , and a dynamic parameter adjustment module 113 .
[0022] The biological parameter monitoring module 111 refers to a module for monitoring biologically related parameters. For example, a device or equipment for monitoring facial expressions, physiological parameters (such as heart rate, blood pressure, etc.) of a biological being. In some embodiments, the biological parameter control module 111 may include a high-definition camera 111-1, a wearable device 111-2, and other devices or equipment that can collect biologically related parameters. Among them, the high-definition camera 111-1 can be used to monitor one or more of the facial expression data, eye movement data, etc. in the user's biological indicators; the wearable device 111-2 can be used to monitor one or more of the heart rate data, blood pressure data, skin conductivity data, etc. in the user's biological indicators.
[0023] In some embodiments, the biological parameter monitoring module is configured to monitor the user's physiological indicators. For more information about the user's biological indicators, see Figure 3 and its related description.
[0024] The processor 112 can be used to collect, store, analyze, and process data. The processor 112 can also issue control instructions to the actuator to enable the actuator to perform corresponding actions or functions. In some embodiments, the processor 112 can be connected to the biological parameter monitoring module 111 and the dynamic parameter adjustment module 113 in communication. For example, the processor 112 can actively or passively obtain the user's biological parameters monitored by the biological parameter monitoring module 111; for another example, the processor 112 can issue the control parameters to the dynamic parameter adjustment module 113.
[0025] In some embodiments, the processor 112 is configured to: obtain the current playback content, current playback parameters and future playback content, and user physiological indicators; determine the user's emotional response information based on the user's physiological indicators; determine the user's predicted emotional data at a future time point through an emotion determination model based on the current playback content, current playback parameters, future playback content and emotional response information; the emotion determination model is a machine learning model; based on the predicted emotional data, determine the control instructions and send them to the dynamic parameter adjustment module to adjust the current playback parameters.
[0026] In some embodiments, the audio and video system 110 further includes a pre-test module 114 , which is configured to play a test clip to a user.
[0027] In some embodiments, the processor 112 is further configured to: determine and send a test segment sequence to the pre-test module 114, so as to play the test segments in the test segment sequence to the user 120 based on the pre-test module 114; collect the first sample physiological index of the user 120 when watching the test segment through the biological parameter monitoring module 111; determine the first sample emotional response based on the first sample physiological index; generate the first sample data based on the first sample emotional response, the first sample emotional response type, the first sample playback parameter, and the test segment sequence; and train the emotion determination model based on the first sample data. For more information on determining the first sample data, see Figure 4 and its related description.
[0028] In some embodiments of the present specification, a test clip sequence is sent to the user through a pre-test module to obtain the user's first sample physiological indicators, and corresponding first sample data is generated for training the emotion determination model, so that the model can better adapt to the user's emotional changes and enhance the user's audio and video service experience.
[0029] In some embodiments, the emotion determination model includes a reaction information determination layer and a reaction type determination layer; the reaction information determination layer includes inputs of future playback content, current playback content, current playback parameters, and emotion reaction information, and outputs predicted emotion reaction information of future playback content; the reaction type determination layer includes inputs of predicted emotion reaction information, and outputs predicted emotion reaction types. For more information about the emotion determination model, see Figure 5 and its related description.
[0030] In some embodiments, the audio and video system 110 further includes an environment monitoring module 115, which is configured to obtain the environment data of the user 120; the input of the reaction information determination layer also includes the environment data. For more information about environment data, see Figure 5 and its related description.
[0031] In some embodiments of the present specification, obtaining environmental data through an environmental detection module as input to a reaction information layer of an emotion determination model can enable the emotion determination model to fully consider the impact of the environment on user emotions and improve the accuracy of the emotion determination model.
[0032] In some embodiments, the audio and video system 110 further includes a user information entry module 116 , which is configured to obtain basic user information of the user.
[0033] In some embodiments, the processor 112 is further configured to construct a personalized playback database, which includes multiple reference playback segment sequences and multiple reference user basic information and multiple reference environmental data. The multiple reference playback segment sequences correspond one-to-one to the multiple reference user basic information and multiple reference environmental data, and each reference playback segment sequence includes multiple playback segments; based on the user basic information and environmental data, a test segment sequence that matches the user is selected in the personalized playback database.
[0034] In some embodiments of the present specification, by obtaining basic information of the user through a user information entry module to provide the user with a customized test segment sequence, a test segment sequence that is more in line with the user's cognitive level, interest preferences and cultural background can be obtained, so that the first sample data determined subsequently is more in line with the user's personalized preferences.
[0035] In some embodiments, the training further includes second training, where the second training refers to training performed when the user uses the audio and video system; the second training is executed by the processor 112 .
[0036] The processor 112 is further configured to: continuously collect second sample data and construct a second sample emotion data set during the process of the user 120 using the audio and video system 110; the second sample data includes actual playback clips, second sample playback parameters, second sample environmental data and second sample emotion reactions; in response to satisfying the optimization cycle: based on the second sample data in the second sample emotion data set, train the current emotion determination model to obtain an optimized emotion determination model.
[0037] In some embodiments, processor 112 is further configured to: determine a predicted emotional response type based on predicted emotional data; in response to adjustment conditions being met: determine target playback parameters based on the predicted emotional response type and playback parameter control rules; and generate control instructions based on the target playback parameters.
[0038] The dynamic parameter adjustment module 113 refers to a module for dynamically adjusting the playback parameters of the audio and video system 110. In some embodiments, the dynamic parameter adjustment module 113 is configured to adjust the playback parameters of the audio and video system according to the control instruction.
[0039] The user 120 refers to an individual or group using the audio and video system 110. For example, one or more family members watching videos at home through the audio and video system 110. In some embodiments, the user 120 may have emotional changes while using the audio and video system 110, and the emotional changes can be reflected in physiological indicators such as heart rate data, blood pressure data, skin conductivity data, facial expression data, eye movement data, etc., and thus be monitored by the high-definition camera 111-1 and the wearable device 111-2 in the biological parameter monitoring module 111.
[0040] After the audio and video system 110 monitors the user's physiological indicators, the audio and video system 110 adjusts the playback parameters of future playback content according to the user's physiological indicators, so that the playback parameters can better adapt to the user's current emotions.
[0041] In some embodiments, when the application scenario 100 of the audio and video system includes multiple users 120, the audio and video system 110 can adjust the playback parameters based on the user biometrics corresponding to one or more of the users 120. For example, the playback parameters are adjusted based on the user biometrics of the main user set in advance by the user; for another example, the playback parameters are adjusted based on the user biometrics of the user wearing the wearable device 111-2; for another example, the playback parameters are adjusted based on the average of the user biometrics of multiple users. For more information about adjusting playback parameters through physiological indicators, see Figure 3 and its related description.
[0042] In some embodiments of the present specification, user biological indicators are obtained through a biological parameter monitoring module of the audio and video system, and the user biological indicators are processed by a processor to obtain control parameters, and the control parameters are sent to a dynamic parameter adjustment module to adjust the playback parameters of the audio and video system when playing future content. This can provide users with personalized audio and video services in a refined manner, continuously optimize the user experience with continuous feedback and user data, and provide a more customized and immersive entertainment experience.
[0043] Figure 3 It is an exemplary flow chart of the audio and video control method shown in some embodiments of this specification.
[0044] Step 310, obtaining the current playing content, current playing parameters and future playing content, as well as the user's physiological indicators monitored by the biological parameter detection module.
[0045] In some embodiments, the processor 112 may obtain the current playing content and the future playing content in various ways. For example, the processor 112 may obtain the audio and video playlist of the current user 120 through the system background, thereby determining the current playing content and the future playing content.
[0046] Playback parameters refer to parameter indicators that can reflect the inherent properties of the playback content. In some embodiments, the playback parameters may include the volume, sound effects (e.g., bass enhancement, treble enhancement, noise reduction, etc.), picture brightness, playback speed, and color saturation of the playback content.
[0047] In some embodiments, the processor 112 can obtain the current playback parameters in a variety of ways. For example, the processor 112 can determine the playback speed and other parameters based on the playback speed setting of the audio and video player of the audio and video system. For another example, the processor 112 can perform audio analysis (e.g., spectrum analysis, audio feature extraction, etc.) on the audio and video screen, thereby playing the volume and sound effects and other parameters of the content. The processor can perform color analysis (e.g., color histogram, etc.) on the audio and video screen, thereby determining the parameters such as the brightness and color saturation of the screen of the playback content. For another example, the processor 112 can read the current setting parameters of the audio and video player, thereby obtaining the current playback parameters.
[0048] User physiological indicators refer to indicators that reflect the physiological activities of the audio and video viewing user. In some embodiments, the user physiological indicators may include the user's heart rate data, blood pressure data, skin conductivity data, facial expression data, voice data, and eye movement data.
[0049] In some embodiments, the user physiological indicators also include user performance parameters.
[0050] User performance parameters refer to parameters that measure the user's behavior performance. In some embodiments, the user performance parameters may include user voice data and user action data. The processor 112 may obtain the user voice data and the user action data through a microphone and a camera, respectively.
[0051] In some embodiments of the present specification, since users may make different sounds (such as laughter when watching a comedy and screaming when watching a horror movie) or perform different actions when watching different types of audio and video, including user performance parameters in user physiological indicators can broaden the data coverage of user physiological indicators, thereby improving the accuracy of subsequent steps such as adjusting playback parameters.
[0052] In some embodiments, the processor 112 can obtain the user's physiological indicators through the biological parameter detection module 111. For more information about the biological parameter detection module, see Figure 1 and Figure 2 The corresponding content.
[0053] Step 320: Determine the user's emotional response information based on the user's physiological indicators.
[0054] Emotional response information refers to relevant information reflecting the emotional changes of the user when watching audio and video. In some embodiments, the emotional response information may include physiological emotional response information, voice emotional response information, and action emotional response information.
[0055] In some embodiments, physiological emotional response information may include heart rate change characteristics, blood pressure change characteristics, and skin conductance change characteristics; voice emotional response information may include tone change characteristics, volume change characteristics; action emotional response information may include facial expression characteristics, eye movement characteristics, and limb movement characteristics.
[0056] In some embodiments, the processor 112 may determine the emotional response information of the user 120 in a variety of ways.
[0057] In some embodiments, the processor 112 can perform feature extraction based on the heart rate data, blood pressure data and skin conductivity data through fast Fourier transform (FFT), sliding window statistics, etc., and determine the extracted results as physiological emotional response information.
[0058] In some embodiments, the processor 112 may process the user's voice by extracting Mel-frequency cepstral coefficients (MFCCs), fundamental frequency (F0), and energy features to obtain voice emotion response information.
[0059] In some embodiments, the processor 112 may perform facial landmark detection on the facial expression data and the eye movement data to obtain facial expression features and eye movement features. The processor 112 may process the body contour data by methods such as human posture estimation to obtain body movement features. The facial landmark detection method may be OpenFace, Dlib library, etc., and the human posture estimation method may be OpenPose.
[0060] Step 330, based on the current playing content, current playing parameters, future playing content and emotional response information, the predicted emotional data of the user at a future time point is determined through an emotional determination model.
[0061] The emotion determination model is a prediction model for determining the predicted emotion data of the user. In some embodiments, the emotion determination model can be a machine learning model. For example, any one or combination of a recurrent neural network (RNN) model or other customized model structures.
[0062] In some embodiments, the input of the emotion determination model may be current playback content, current playback parameters, future playback content, and emotional response information (such as current and historical emotional response information), and the output may be predicted emotional data of the user at a future time point.
[0063] Predicted emotion data refers to the emotion data of a user watching future content at a certain time in the future, obtained through prediction. The predicted emotion data can predict and reflect the user's emotions. In some embodiments, the predicted emotion data may include predicted emotion response information and predicted emotion response type. The predicted emotion response type may reflect the specific emotions of the user when watching audio or video. For example, specific emotions such as happiness, sadness, fear, anger, and surprise.
[0064] A future time point refers to a moment in the future. In some embodiments, the processor may determine the future time point based on a preset time interval. For example, when the preset time interval is 10 minutes, the processor may determine a future moment 10 minutes, 20 minutes, 30 minutes, etc. from now as the future time point. The preset time interval may be determined based on manual input or prior experience.
[0065] The emotion determination model can be obtained through training. In some embodiments, the processor 112 can train the emotion determination model through a variety of methods. For example, the processor 112 can obtain the user's historical audio and video viewing records, historical playback parameters, and historical emotional response information and historical emotional response types when watching different historical audio and video.
[0066] For a user, the processor 112 can select two historical audio and video watched in sequence from the user's historical audio and video viewing records, and determine them as sample current playback content and sample future playback content in the order of viewing time. The historical playback parameters and historical emotional response information when watching the sample current playback content are determined as sample playback parameters and sample emotional response information. The historical emotional data of the user when watching the sample future playback content is determined as sample emotional data, wherein the sample emotional data may include the emotional response information and emotional response type of the user when watching the sample future playback content.
[0067] In some embodiments, the processor 112 can use the sample's current playback content, the sample's current playback parameters, the sample's future playback content, and the sample's emotional response information as training samples, and use the sample's emotional data as training labels, and obtain an emotion determination model through training. For example, training can be based on a gradient descent method. As an example only, the processor 112 can input a plurality of training samples with training labels into the emotion determination model to be trained, construct a loss function through the training labels and the output of the emotion determination model to be trained, and iteratively update the parameters of the emotion determination model to be trained based on the loss function. When the loss function of the emotion determination model to be trained meets the preset conditions, the model training is completed, and a trained emotion determination model is obtained. Among them, the preset conditions may be that the loss function converges, the number of iterations reaches a threshold, etc.
[0068] For more information on how to train a sentiment determination model, see Figure 4 Related content.
[0069] Step 340, based on the predicted emotion data, determine the control instruction, and send the control instruction to the dynamic parameter adjustment module to adjust the current playback parameters.
[0070] The control instruction refers to an instruction for adjusting the playback parameters. In some embodiments, the control instruction may include the playback parameters that need to be adjusted and the adjustment ranges corresponding to different playback parameters. In some embodiments, the control instruction may include the target values or states to which each playback parameter needs to be adjusted.
[0071] In some embodiments, the processor 112 can determine the control instructions in a variety of ways. For example, the processor 112 can establish a first preset table based on historical emotion data and historical control instructions. The first preset table includes the correspondence between various types of historical emotion data and historical control instructions. The historical control instructions corresponding to the historical emotion data can be the control instructions corresponding to the most preferred (such as the highest user satisfaction) playback parameters under the historical emotion data determined based on the historical data.
[0072] The processor 112 can determine the currently required control instructions based on the current predicted emotion data by consulting the first preset table.
[0073] In some embodiments, the processor 112 may also generate a control instruction based on the target playback parameter. For more information about this part, please refer to Figure 6 Relevant part.
[0074] In some embodiments, when the dynamic parameter adjustment module receives the control instruction, the current playback parameters of the audio and video player are adjusted according to the requirements of the control instruction.
[0075] In some embodiments of this specification, by predicting emotional data and determining control instructions, the predicted emotional response type of the user is known before the user watches the future playback content, so as to dynamically adjust the playback parameters in advance, and enhance the user's immersion and experience of watching audio and video; and the processor can use the data analysis and prediction capabilities of the emotion determination model to accurately determine the predicted emotional data of the user when watching the future playback content based on the current playback content, current playback parameters, and current and / or historical emotional response information. Thereby improving the accuracy and reliability of the prediction results.
[0076] It should be noted that the above description of process 300 is only for example and illustration, and does not limit the scope of application of this specification. For those skilled in the art, various modifications and changes can be made to process 300 under the guidance of this specification. However, these modifications and changes are still within the scope of this specification.
[0077] Figure 4 is an exemplary schematic diagram of a first training sample according to some embodiments of the present specification.
[0078] In some embodiments, the emotion determination model can be acquired through training. The training can include a first training; the first training refers to the training performed when the user starts to use the audio and video system.
[0079] In some embodiments, the processor 112 may perform a first training on the emotion determination model based on the first sample data 450 .
[0080] In some embodiments, the processor 112 may determine and send the test segment sequence 410 to the pre-test module 114 , so as to play the test segments in the test segment sequence 410 to the user based on the pre-test module 114 .
[0081] The test clip sequence 410 refers to an audio or video clip used to induce a specific emotion. In some embodiments, when the user 120 watches the test clip sequence, the user 120 may enter a corresponding emotional state and generate corresponding emotional response information. For more information about specific emotions, see Figure 3 Relevant part.
[0082] In some embodiments, the processor 112 may generate the test segment sequence 410 in a variety of ways. For example, the processor 112 may obtain a number of audio and video corresponding to different emotional response types from a third-party platform (e.g., an online audio and video playback platform, a film and television website, etc.), and extract a playback segment of a preset length from the third-party platform according to an extraction rule as the test segment sequence. The extraction rule may be random extraction, selecting the portion with the highest viewing popularity (e.g., the portion with the most bullet comments or the largest number of comments), etc.
[0083] In some embodiments, the processor 112 can also generate test clips through AI technology. Taking the emotional response type of fear as an example, the processor 112 can generate a plot outline of several horror clips through a text generation model. Based on a text-to-video synthesis model (e.g., StreamingT2V, etc.), generate several horror-type playback clips. The processor 112 can generate plot outlines and test clip sequences corresponding to different emotional response types through the above method.
[0084] In some embodiments, the processor 112 may construct a test segment database based on the played segments, and select the required test segments to construct a test segment sequence according to the required number of test segment sequences and the type of emotional response, and send it to the pre-test module 114 to play to the user.
[0085] In some embodiments, the processor 112 may also construct a personalized playback database 460 ; based on basic user information and environmental data, select a test segment sequence 410 matching the user in the personalized playback database 460 .
[0086] The personalized playback database 460 refers to a test segment database customized for different users. In some embodiments, the personalized playback database includes multiple reference playback segment sequences and multiple reference user basic information and multiple reference environment data. The multiple reference playback segment sequences correspond to the multiple reference user basic information and multiple reference environment data one by one, and each reference playback segment sequence includes multiple playback segments.
[0087] The basic information of the user may reflect the basic characteristics of the user. In some embodiments, the basic information of the user may include the user's age, gender, cultural background, hobbies, and health condition.
[0088] In some embodiments, the processor 112 may determine basic user information based on input from the user 120 in the user information entry module 116 .
[0089] In some embodiments, the processor 112 may also obtain the user's viewing history and the data collected by the wearable device and construct a user portrait, perform matching in the user portrait group, and determine the basic information of the reference user corresponding to the user group with the highest similarity as the user basic information of the user. Among them, the processor 112 may obtain several historical viewing records and historical user basic information based on historical data, and construct a user portrait group containing several user portraits. The user portrait construction method may include a vector space model method, a cluster analysis method, etc. The processor 112 may select several testers as reference users.
[0090] Environmental data refers to data reflecting the environment in which the user is watching audio and video. Environmental data may include time, lighting conditions, background noise level, etc. In some embodiments, the processor 112 can obtain environmental data such as time, lighting conditions, and background noise level through an environmental monitoring module 115 such as a timing module, a light intensity sensor, and a microphone.
[0091] In some embodiments, the processor 112 can select several test segments from the test segment database, and use the test segments with the same emotional response type as a set of segments to be determined, to obtain multiple sets of segments to be determined corresponding to different emotional response types. The processor 112 can allow the reference user to watch the set of segments to be determined and obtain the feedback of the reference user after watching, and determine the test segment in each set of segments to be determined that can best arouse the corresponding emotion of the reference user as the reference playback segment of the reference user in this emotional response type. If there are multiple reference playback segments of this emotional response type, a reference playback segment sequence can be constructed.
[0092] In some embodiments, for a reference user, the processor 112 can construct a set of data based on reference playback segments or reference playback segment sequences corresponding to different emotional response types, basic information of the reference user, and reference environmental data. The processor 112 can determine multiple sets of data corresponding to multiple reference users by repeating the above method, and construct a personalized playback database.
[0093] In some embodiments, the processor 112 may match the basic user information and environmental data of the current user with the basic user information and environmental data of the reference user in the personalized playback database 460, and select the reference user with the highest matching degree. The reference playback segments or corresponding reference playback segment sequences corresponding to the reference user in different emotional response types are determined as the test playback segments or test segment sequences corresponding to the current user in different emotional response types.
[0094] In some embodiments of the present specification, since users have different basic information and corresponding audio and video preferences, a personalized playback database 460 can be constructed to generate a personalized test clip sequence 410 based on the user's basic information to enhance the attractiveness and suitability of the test clip sequence to the user.
[0095] In some embodiments, the processor 112 may collect the first sample physiological indicator 430 of the user when watching the test clip through the biological parameter monitoring module 111 .
[0096] The first sample physiological index 430 refers to the physiological index of the user when watching the test clip. In some embodiments, the first sample physiological index 430 can be collected by the biological parameter monitoring module 111. The content of the first sample physiological index 430 is similar to the user's physiological index, which can be seen in Figure 3 Some related instructions.
[0097] In some embodiments, the processor 112 may determine a first sample emotional response 440 (also referred to as first sample emotional response information) based on the first sample physiological indicator 430 .
[0098] The first sample emotional response 440 refers to the emotional response information obtained based on the analysis of the first sample physiological index. The first sample emotional response is similar to the emotional response information, which can be seen in Figure 3 Some related instructions.
[0099] In some embodiments, the processor 112 may generate first sample data 450 based on the first sample emotional response 440 , the first sample emotional response type 470 , the first sample playback parameter 420 , and the test segment sequence 410 .
[0100] The first sample data 450 is training data for training the emotion determination model. In some embodiments, the first sample data 450 may include a first training sample and a first training label.
[0101] In some embodiments, the processor 112 may determine the first sample emotional response information, the first sample playback parameter, and the test segment sequence as the first training sample, and determine the first sample emotional response type as the first training label. The first sample playback parameter refers to the playback parameter when playing the test segment sequence.
[0102] In some embodiments, the processor 112 may obtain the emotional result fed back by the user after watching the test clip, and determine it as the first sample emotional response type.
[0103] In some embodiments, the processor 112 may train a sentiment determination model based on the first sample data 450 .
[0104] In some embodiments, the processor 112 can train the emotion determination model through a variety of methods based on the first training sample and the first training label. For example, the processor 112 can perform multiple rounds of iterations, and at least one round of iterations includes: selecting one or more first training samples from the first sample data, inputting the one or more first training samples into the emotion determination model, and obtaining the model prediction output corresponding to the one or more first training samples; according to the model prediction output corresponding to the one or more training samples, and the first training labels of the one or more first training samples, substitute into the formula of the predefined loss function to calculate the value of the loss function; according to the value of the loss function, reversely update the model parameters in the emotion determination model; the update of the model parameters can be performed using various methods. For example, it can be updated based on the gradient descent method. When the iteration end condition is met, the iteration ends and the trained batch determination model is obtained. The iteration end condition can be the convergence of the loss function, the number of iterations reaches a threshold, etc.
[0105] In some embodiments of the present specification, the emotion determination model is trained by the first sample data. The time series processing capability of the machine learning model can be used to learn the process of user emotions changing with the playback content, thereby realizing accurate prediction of personalized emotional states for users; by inputting environmental factors into the emotion determination model, the data dimension and generalization of the emotion determination model can be improved, thereby improving the accuracy and reliability of the prediction results.
[0106] In some embodiments, the processor 112 may also train the initial model based on the basic training data to obtain an initial emotion determination model; and train the initial emotion determination model based on the first sample data to obtain an emotion determination model.
[0107] The initial model refers to a model whose model parameters are to be updated, and the initial emotion determination model refers to an emotion determination model that has obtained preliminary model parameters after preliminary training.
[0108] In some embodiments, since model training is often time-consuming, if the emotion determination model is trained from scratch, it will take a lot of time. In this case, the training step can be divided into two steps: first, basic training data is used for training to obtain an initial emotion determination model that can cover a wide range of emotional states and a large number of people, and then a personalized emotion determination model is obtained through first sample data training.
[0109] The basic training data is training data used to train the initial model, and the basic training data may include multiple basic training samples and their corresponding basic training labels.
[0110] In some embodiments, processor 112 can obtain several sample test clips for reference users to watch, and collect the reference user's emotional response information, physiological indicators, and playback parameters when playing the test clips during the viewing process, and use them together with the playback content corresponding to the sample test clips as basic training samples, and obtain the emotional response type of the reference user's feedback after watching as a basic training label.
[0111] The processor 112 can obtain multiple basic training samples and corresponding basic training labels by repeating the above method. The sample test segment can be a test segment in the test segment database. For a test segment, when the emotional response types of the reference user feedback are different, the processor can count the number of people who feedback different emotional response types, and determine the emotional response type with the largest number of feedback as the basic training label.
[0112] In some embodiments, the processor 112 may train the initial model using basic training data to obtain an initial emotion determination model. For example, the processor 112 may train the initial model using a gradient descent method based on basic training samples and basic training labels.
[0113] As an example only, multiple basic training samples with basic training labels can be input into the initial model, and a loss function can be constructed through the basic training labels and the output of the initial model, and the parameters of the initial model can be iteratively updated based on the loss function. When the loss function of the initial model meets the preset conditions, the model training is completed, and a trained initial emotion determination model is obtained. The preset conditions may be that the loss function converges, the number of iterations reaches a threshold, etc.
[0114] In some embodiments, the processor 112 may perform training again on the basis of the initial emotion determination model based on the first training sample and the first training label to obtain the emotion determination model. The specific training steps are similar to the training steps of the first training of the emotion determination model. For the specific training steps, please refer to the relevant part of the training and emotion determination model above.
[0115] In some embodiments of the present specification, an initial emotion determination model is obtained by training using basic training data, and personalized training is performed on the basis of the initial emotion determination model through the first sample data, so as to ensure that the obtained emotion determination model can fully meet the needs of the current user and has a certain degree of generalization. By generating the first sample data of different users, emotion determination models suitable for different users can be trained conveniently and quickly, which can avoid the problem of taking too long to train the emotion determination model from scratch and reduce the dependence on the amount of data corresponding to the first sample data.
[0116] In some embodiments, the processor 112 can also continuously collect second sample data and construct a second sample emotion data set during the user's use of the audio and video system; the second sample data includes actual playback clips, second sample playback parameters, second sample environmental data and second sample emotion reactions; in response to satisfying the optimization cycle: based on the second sample data in the second sample emotion data set, the current emotion determination model is trained to obtain an optimized emotion determination model.
[0117] In some embodiments, the training of the emotion determination model by the processor 112 further includes a second training, where the second training refers to the training performed when the user uses the audio and video system. The second training may be performed by the processor.
[0118] The second sample data is training data for optimizing the emotion determination model. Optimization training refers to training for the purpose of parameter optimization. In some embodiments, in order to make the model more in line with the user's personal situation, optimization training can be performed while the user is watching audio and video, and the parameters of the emotion determination model can be updated in a timely manner, thereby ensuring that the model can better adapt to individual differences and provide playback parameters that are closer to the user's current emotional state, thereby greatly enhancing the depth and breadth of the personalized experience.
[0119] In some embodiments, the second sample data may include multiple second training samples and their second training labels. The second training samples may include an actual playback segment, second sample playback parameters, and second sample environmental data. The second sample playback parameters are playback parameters when the audio and video system plays the actual playback segment, and the second sample environmental data refers to environmental data when the user watches the actual playback segment. The second training label may include a second sample emotional response. The second sample emotional response refers to the emotional response of the user when watching the actual playback segment.
[0120] In some embodiments, the processor 112 may also continuously collect audio and video content watched by the user while the user is using the audio and video system. The processor 112 may segment the audio and video watched by the user according to the interception rules, and use the actual playback segment obtained by segmentation, the actual playback segment, the environmental data when the user watches the actual playback segment, and the playback parameters of the audio and video system as the second training sample. In some embodiments, the processor 112 may determine the second training label in a variety of ways. For example, the processor 112 may determine the emotional response information of the user when watching the actual playback segment as the second sample emotional response by manual labeling. The processor 112 may also determine the second sample emotional response of the actual playback segment by analyzing the voice, movements, behaviors, and physiological data of the user when watching the actual playback segment based on methods such as image recognition and speech recognition. For more information on how to determine emotional responses, please refer to Figure 3Relevant part.
[0121] In some embodiments, the processor 112 may continuously collect the second sample data and construct a second sample emotion data set. The second sample emotion data set refers to a set consisting of several groups of second sample data. The processor may add the second sample data newly added in the previous optimization cycle to the second sample emotion data set.
[0122] In some embodiments, in response to satisfying the optimization cycle, the processor 112 may optimize the emotion determination model through the second sample data generated in the current optimization cycle to obtain an optimized emotion determination model.
[0123] The optimization period refers to the time period for optimizing and updating the emotion determination model. In some embodiments, the processor 112 can determine the optimization period in a variety of ways. For example, the optimization period can be determined based on manual experience or historical data.
[0124] In some embodiments, the optimization period may be a preset time period. For example, if the optimization period is 10 days, the processor may perform optimization training on the emotion determination model every 10 days.
[0125] In some embodiments, the optimization training step of the emotion determination model may be: the emotion determination model obtained by the last optimization training is used as the original emotion determination model, and the processor may obtain the second training sample and its second training label added within the time range from the last optimization cycle to the present, and train the original emotion determination model. After the training, the optimized emotion determination model can be obtained. The specific training process is similar to the step of obtaining the emotion determination model by the first training, and the relevant content above can be referred to.
[0126] In some embodiments, in response to satisfying the optimization cycle, the processor 112 may determine whether the optimized emotion determination model is better than the original emotion determination model, and if so, use the optimized emotion determination model to replace the original emotion determination model. If not, still use the original emotion determination model until the next optimization cycle.
[0127] In some embodiments, the processor 112 can use the optimized emotion determination model and the original emotion determination model to simultaneously predict the predicted user emotion response information of the user at a future time point, and collect the user's actual emotion response information at a future time point, compare the similarity between the predicted results of the optimized emotion determination model and the original emotion determination model and the actual emotion response information, and take the model with the highest similarity as the better model. In some embodiments, the processor 112 can repeat the above comparison steps, perform multiple similarity comparisons, and take the model with more winning times between the optimized emotion determination model and the original emotion determination model as the better model.
[0128] In some embodiments, the processor 112 trains the reaction information determination layer of the current emotion determination model based on the second sample data in the second sample emotion data set. For more information about the reaction information determination layer, see Figure 5 Related instructions.
[0129] In some embodiments of the present specification, the reaction information determination layer is trained based on the second sample data, which can effectively shorten the optimization time, improve the optimization efficiency, and avoid the problem of difficulty in timely confirming the emotional reaction type when optimizing the entire model.
[0130] In some embodiments, the processor 112 may also determine an optimization period based on user emotion fluctuation data, user average viewing time, and user viewing preference.
[0131] The user emotion fluctuation data may reflect the fluctuation of the user's emotion response information within the time range from the last optimization of the emotion determination model to the present. In some embodiments, the user emotion fluctuation data may include the user's emotion fluctuation amplitude. For more information about the emotion fluctuation amplitude, please refer to Figure 6 Related content.
[0132] The average viewing time of users refers to the average viewing time of audio and video.
[0133] The user viewing preference may be the user's viewing preference for different types of audio and video. The types of audio and video may include romance, suspense, science and education, and comedy.
[0134] In some embodiments, the processor 112 may count the user's recent video viewing history and count the viewing time ratio of each type of audio and video. The processor 112 may determine the audio and video type whose viewing time ratio exceeds a preset ratio threshold as the user's viewing preference.
[0135] In some embodiments, the processor 112 may determine the optimization period by means of vector retrieval based on the user's emotion fluctuation data, the user's average viewing time, and the user's viewing preference.
[0136] For example, the processor 112 may construct a vector to be matched based on at least the user's emotion fluctuation data, the user's average viewing time, and the user's viewing preference. The processor 112 may search in a vector database based on the vector to be matched, obtain a reference vector whose vector distance to the vector to be matched is less than a distance threshold, and determine the historical optimization cycle corresponding to the reference vector as the currently required optimization cycle.
[0137] The vector database stores a number of reference vectors and their corresponding historical optimization cycles. The reference vectors are constructed based on historical user emotion fluctuation data, historical user average viewing time, and historical user viewing preferences. The vector database can be pre-constructed based on historical data or prior knowledge. In some embodiments, the prior knowledge can be: the larger the user emotion fluctuation data, the shorter the optimization cycle.
[0138] In some embodiments of the present specification, based on user emotion fluctuation data, user average viewing time and user viewing preference, the optimization period is determined by vector retrieval, so that flexible adjustment of the optimization period can be achieved.
[0139] In some embodiments of the present specification, the processor can optimize and update the emotion determination model through the second training to ensure the predictive ability and prediction accuracy of the emotion determination model, so that the emotion determination model can better adapt to individual differences to determine playback parameters that are closer to the user's current emotional state, thereby greatly enhancing the depth and breadth of the personalized experience.
[0140] Figure 5 is an exemplary schematic diagram of the emotion determination model 550 according to some embodiments of the present specification.
[0141] like Figure 5 As shown, in some embodiments, the emotion determination model 550 includes a reaction information determination layer 550-1 and a reaction type determination layer 550-2. The reaction information determination layer 550-1 may be a recurrent neural network (RNN) model, and the reaction type determination layer 550-2 may be a neural network (NN) model.
[0142] In some embodiments, the input of the reaction information determination layer 550-1 includes the future playback content 510, the current playback content 520, the current playback parameters 530, and the emotional reaction information 540, and the output includes the predicted emotional reaction information 560 corresponding to the future playback content. The input of the reaction type determination layer 550-2 includes the predicted emotional reaction information 560, and the output includes the predicted emotional reaction type 570. For more information about the future playback content 510, the current playback content 520, the current playback parameters 530, the emotional reaction information 540, the predicted emotional reaction information 560, and the predicted emotional reaction type 570, please refer to Figure 3 Related content.
[0143] In some embodiments, the input to the reaction information determination layer 550 - 1 also includes environmental data 580 .
[0144] Environmental data refers to data that reflects the environment in which users watch audio and video. For more information about environmental data, see Figure 4 and its related contents.
[0145] In some embodiments of the present specification, by inputting the environmental data 580 into the reaction information determination layer 550-1, the information dimension of the reaction information determination layer 550-1 can be improved, thereby improving the data prediction accuracy and versatility of the reaction information determination layer 550-1.
[0146] In some embodiments, the reaction information determination layer 550 - 1 and the reaction type determination layer 550 - 2 may be acquired through separate training.
[0147] In some embodiments, the processor 112 may determine the layer 550-1 based on a large number of third training sample training reaction information with third training labels. The third training sample may include the sample first moment playback content, the sample second moment playback content, the sample first moment playback parameters and the sample first moment emotional response information. In some embodiments, the third training sample may also include the sample first moment environmental data. Among them, the first moment is earlier than the second moment and both are historical moments. The third training label may be a reference to the user's emotional response information at the sample second moment when the third training sample corresponds.
[0148] In some embodiments, the processor 112 can obtain two test clips watched in sequence by the same reference user from the test clip sequence, determine them as the sample first moment playback content and the sample second moment playback content, and obtain the historical playback parameters, historical environmental data and historical emotional response information of the reference user when watching the sample first moment playback content, as the sample first moment playback parameters, sample first moment environmental data and sample first moment emotional response information respectively. The historical emotional response information of the reference user when watching the sample second moment playback content is determined as the sample second moment emotional response information. The processor can repeat the above test clip selection steps to obtain a large number of third training samples and corresponding third training labels.
[0149] For the specific steps of training the reaction information determination layer 550 - 1 based on the third training sample, reference may be made to the above description of training the emotion determination model 550 based on the first sample data.
[0150] In some embodiments, the second training is specifically to train the reaction information determination layer 550-1 of the current emotion determination model 550. For more information about the second training, please refer to Figure 4 Relevant part.
[0151] In some embodiments, the processor 112 may train the reaction type determination layer 550-2 based on a large number of fourth training samples with fourth training labels. The fourth training samples may include sample emotional reaction information, and the fourth training labels may include sample emotional reaction types.
[0152] In some embodiments, the fourth training sample has the same first sample emotional response information as the first sample data, and the fourth training label may be the same as the first sample emotional response type in the first sample data. For more information about the first sample emotional response information and the first sample emotional response type, please refer to the above related description.
[0153] Regarding the training steps of training the reaction type determination layer based on a large number of fourth training samples with fourth training labels, the specific steps can refer to the relevant part of the above training and emotion determination model 550.
[0154] In some embodiments of the present specification, by dividing the emotion determination model into a reaction information determination layer and a reaction type determination layer and performing separate training, the flexibility of the model training process can be improved, and targeted training can be performed on different layers of the model by using different training samples and labels, thereby improving the training efficiency.
[0155] Figure 6 600 is an exemplary flow chart of generating control instructions according to some embodiments of this specification. In some embodiments, process 600 is executed by processor 112 of audio and video system 110. Figure 6 As shown, process 600 includes the following steps:
[0156] Step 610, determining a predicted emotional response type based on the predicted emotional data.
[0157] The predicted emotional response type refers to the estimated emotional response type of the user at a future time point. In some embodiments, the predicted emotional response type may include positive emotions (such as happiness, excitement, etc.), negative emotions (such as sadness, anger, etc.), neutral emotions, or specific emotions (such as tension, relaxation, etc.).
[0158] In some embodiments, the predicted emotion data may include a predicted emotion response type, and the processor 112 may read the predicted emotion response type from the predicted emotion data. Figure 3 and its related description.
[0159] Step 620, in response to the adjustment condition being met: determining the target playback parameters based on the predicted emotional response type and the playback parameter control rules.
[0160] The adjustment condition refers to a condition used to determine whether the playback parameters need to be adjusted.
[0161] In some embodiments, the adjustment condition may include predicting a change in the emotional response type, such as predicting a change in the emotional response type from relaxation to tension, etc.
[0162] In some embodiments, the adjustment condition also includes reaching an adjustment time interval, or the predicted emotion fluctuation amplitude is greater than a fluctuation threshold; wherein the predicted emotion fluctuation amplitude is determined based on the predicted emotion response information.
[0163] The adjustment time interval refers to the time interval between two consecutive adjustments to the playback parameters. In some embodiments, the adjustment time interval can be pre-set by a technician. For example, if the update frequency of the playback parameters needs to be increased, a smaller adjustment time interval can be set.
[0164] In some embodiments, if the time from the current moment to the last time the playback parameters were adjusted reaches the adjustment time interval, the processor 112 can determine new target playback parameters based on the predicted emotional response type and the playback parameter control rules.
[0165] The emotional fluctuation amplitude refers to the fluctuation amplitude between the emotional response information corresponding to different time points. For example, the emotional fluctuation amplitude may include the fluctuation amplitude of the emotional response information such as heart rate characteristics, blood pressure characteristics, skin conductivity characteristics, etc. between the current time point 1 and time point 2 relative to the emotional response information at the current time point. The predicted emotional fluctuation amplitude refers to the fluctuation amplitude between the predicted emotional response information at different future time points. Among them, the predicted emotional response information is obtained based on the predicted emotional data. For example, the predicted emotional response information can be a part of the predicted emotional data. For more information about the predicted emotional response information, see Figure 3 Description of emotional response information.
[0166] In some embodiments, the processor 112 may determine the predicted emotional fluctuations in a variety of ways. For example, the processor 112 may respectively calculate the fluctuation amplitudes of the heart rate characteristics, blood pressure characteristics, skin conductivity characteristics, facial expression characteristics, eye movement characteristics, user voice characteristics, and user action characteristics in the emotional response information of the user between future time point 1 and future time point 2; and determine the overall fluctuation of the user's emotional state by weighted summing the fluctuation amplitudes of different characteristics as the predicted emotional fluctuations between future time point 1 and future time point 2.
[0167] In some embodiments, the processor 112 may also calculate the predicted emotional fluctuation amplitude based on principal component analysis (PCA), the specific method is as follows:
[0168] The predicted emotional response information is standardized. The standardized processing may include: for each feature in the predicted emotional response information, subtracting the mean of each feature in the predicted emotional response information and then dividing it by its standard deviation, wherein the mean and standard deviation of each feature are calculated based on the feature in the predicted emotional response information at multiple future time points.
[0169] For example, the processor 112 can calculate the mean and standard deviation of the heart rate characteristics based on the heart rate characteristics at multiple future time points; subtract the mean of the heart rate characteristics from the value of the heart rate characteristics in the predicted emotional response information and divide it by the standard deviation to complete the standardization of the heart rate characteristics; for the standardization processing methods of other characteristics, refer to the standardization processing process of the heart rate characteristics. The characteristics in the predicted emotional response information can be referred to Figure 3 A description of the emotional response information in the relevant description.
[0170] In some embodiments, the mean and standard deviation of each feature can also be calculated based on the feature in the predicted emotional response information at other time points (such as historical time points, current time points, etc.). For example, the current time point is 10:00, and the processor 112 can calculate the mean and standard deviation of the heart rate feature based on the emotional response information at the current time point 10:00 and the heart rate feature in the predicted emotional response information at the future time point 10:05, and complete the standardization of the heart rate feature; the standardization processing method of other features in the emotional response information refers to the standardization processing process of the heart rate feature.
[0171] Construct a data matrix. Construct a data matrix X, where each row of the data matrix X corresponds to a different time point, and each column corresponds to a different feature in the predicted emotional response information (such as heart rate, blood pressure, etc.). For example, the data matrix X can be an n-row × m-column matrix, where n is the number of time points and m is the number of features.
[0172] Just as an example, The first row (a 11 ~a 1m ) are the features of the predicted emotional response information corresponding to time point 1 (such as heart rate features, blood pressure features, skin conductivity features, etc., a total of m features); the nth row (a n1 ~a nm ) is the feature of predicting emotional response information corresponding to time point n; the first column (a 11 ~a n1 ) are the characteristics of the heart rate features in predicting emotional response information at time point 1 to time point n.
[0173] Calculate the covariance matrix Cov(X) of the data matrix X. Where, n is the number of rows in the data matrix X, X T is the transposed matrix of the data matrix X.
[0174] Perform principal component analysis (PCA), including:
[0175] Calculate eigenvalues and eigenvectors: Perform eigenvalue decomposition on the covariance matrix Cov(X) to obtain m eigenvalues (λ 1 ,λ 2 ,…,λ m ), and the corresponding eigenvector V 1 ,V 2 ,…,V m , where V 1 is the eigenvalue λ 1 The corresponding eigenvector, V m is the eigenvalue λ m The corresponding eigenvectors, eigenvalues are arranged in order of size, λ 1 maximum;
[0176] Select principal components: Select the eigenvectors corresponding to the largest k eigenvalues (k is usually much smaller than m). These eigenvectors are the directions of the principal components and can explain most of the variance of the original data.
[0177] Data conversion: Convert the original data matrix X to the principal component space to obtain the reduced dimension data matrix Y, and then complete the principal component analysis. The formula for calculating the reduced dimension data matrix Y is Y = X (V 1 ,V 2 ,…,V k ), where (V 1 ,V 2 ,…,V k ) is a matrix composed of the first k selected eigenvectors, and each row of the dimensionality reduction data matrix Y corresponds to the dimensionality reduction data of the predicted emotional response information at a different time point.
[0178] Calculate the comprehensive emotional fluctuation amplitude. Based on the converted reduced dimension data matrix Y, obtain the row vector Y corresponding to different time points in the reduced dimension data matrix Y 1 ,Y 2 ,…,Y i , Y i+1 ,…,Y n , calculate the difference or change rate between two adjacent row vectors as the predicted emotional fluctuation amplitude. For example, if Y i represents the dimensionality reduction data corresponding to the i-th time point, then the predicted emotional fluctuation amplitude between the i-th and i+1-th time points can be |Y i+1 -Y i |.
[0179] The fluctuation threshold refers to a threshold used to determine whether the playback parameters need to be adjusted. For example, the fluctuation threshold may include a maximum value of the predicted emotional fluctuation amplitude.
[0180] In some embodiments, in response to the predicted emotional fluctuation amplitude exceeding the fluctuation threshold, the processor 112 may determine the target playback parameters based on the predicted emotional response type and the playback parameter control rules to adjust the playback parameters.
[0181] In some embodiments, the processor 112 may determine whether the adjustment condition is met in a variety of ways. For example, the processor 112 may concurrently determine whether the adjustment conditions such as the predicted emotional response type changes, the adjustment time interval is reached, and the predicted emotional fluctuation amplitude is greater than the fluctuation threshold are met. In response to at least one adjustment condition being met, the processor 112 may determine the target playback parameter based on the predicted emotional response type and the playback parameter control rule.
[0182] In some embodiments, the processor 112 may also determine in parallel whether the adjustment conditions are met in other ways. For example, the processor 112 may determine the priorities of different adjustment conditions pre-set by the technician. For example, if the adjustment time interval has the highest priority, the processor 112 determines whether the predicted emotional response type changes and / or the predicted emotional fluctuation amplitude is greater than the fluctuation threshold, on the premise that the adjustment time interval is met; in response, the processor 112 may determine the target playback parameters based on the predicted emotional response type and the playback parameter control rules.
[0183] In some embodiments of the present specification, by using the predicted change in the type of emotional response as an adjustment condition, the playback parameters can be adjusted as the user's emotions change, thereby enhancing the user's personalized experience; by using the preset emotional fluctuation amplitude as an adjustment condition, the user's emotional changes can be tracked more accurately, making the personalized experience more refined; by using the reaching of the adjustment time interval as an adjustment condition, the interference to the user caused by frequent adjustments to the fluctuation parameters can be avoided, ensuring that the user's immersive experience is not disturbed.
[0184] The playback parameter control rule refers to a rule for determining the target playback parameter. In some embodiments, the playback parameter control rule may include corresponding playback parameter adjustment rules pre-set for different predicted emotional response types.
[0185] For example, when the predicted emotional response type is positive emotion, the playback parameter control rules may be to increase the volume, speed up the playback speed, and increase the color saturation and contrast to create a lively atmosphere; for another example, when the predicted emotional response type is negative emotion, the playback parameter control rules may be to lower the volume, appropriately slow down the playback speed, and adjust to soft tones and brightness to create a soothing environment; for another example, when the predicted emotional response type is nervous emotion, the playback parameter control rules may be to reduce irritating sound effects, increase natural sound background, and adjust the picture brightness to reduce visual pressure; for another example, when the predicted emotional response type is relaxing emotion, the playback parameter control rules may be to maintain a gentle volume and playback speed, use warm tones, and add slight dynamic visual effects to maintain moderate sensory stimulation.
[0186] In some embodiments, the playback parameter control rule may also be other feasible methods, for example, the playback parameter control rule may be customized by the user according to his / her own preferences.
[0187] Target playback parameters refer to the playback parameters used to play future content. For example, the volume, hue, brightness, contrast, playback speed, and other parameters when the audio and video system plays audio and / or video to the user at a future time. For more information about playback parameters, see Figure 3 and its related description.
[0188] In some embodiments, in response to the adjustment condition being met, the processor 112 may determine the target playback parameter based on the predicted emotional response type and its corresponding playback parameter regulation rule.
[0189] As an example only, when the predicted emotional response type changes to a positive emotion, the processor 112 can increase the volume, speed up the playback, and improve the color saturation and contrast in the audio and video system based on the playback parameter control rules corresponding to the positive emotion to create a lively atmosphere, wherein the adjustment range of different types of playback parameters can be preset and determined by the technician.
[0190] In some embodiments, the processor 112 may also determine at least one candidate playback parameter based on the predicted emotional response type; determine the target playback parameter through a playback parameter determination model based on at least one candidate playback parameter, predicted emotional data, future playback segments, and environmental data.
[0191] The candidate playback parameters refer to playback parameters that are optional and can be used as target playback parameters.
[0192] In some embodiments, the processor 112 may determine at least one candidate playback parameter based on the predicted emotional response type in a variety of ways. For example, the processor 112 may randomly adjust the current playback parameter according to the predicted emotional response type and the adjustment direction (such as increasing or decreasing) in the playback parameter control rules corresponding to the different predicted emotional response types to obtain at least one candidate playback parameter.
[0193] For another example, the processor 112 may also determine the corresponding initial playback parameter range based on the predicted emotional response type; randomly select from the initial playback parameter range to determine at least one candidate playback parameter. As an example only, when the predicted emotional response type is fear, the corresponding initial playback parameter range is: volume 10-20dB, screen brightness 20%-30%, color saturation 30%-50%, playback speed 0.8 times to 1.2 times, then the processor may randomly select from the above playback parameter range to obtain at least one candidate playback parameter, such as the candidate playback parameter may be volume 15dB, screen brightness 22%, color saturation 50%, playback speed 1.0 times, etc.
[0194] In some embodiments, the initial playback parameter ranges corresponding to different predicted emotional response types can be obtained through experiments. For example, multiple testers are asked to adjust the playback parameters by themselves, and the testers' preferred playback parameters when playing content that can cause people to have different emotional response types (such as horror clips, etc.) are collected, and the range corresponding to the playback parameters adjusted by the testers themselves is set as the initial playback parameter range corresponding to the corresponding emotion. As an example only, the range formed by the playback parameters adjusted by multiple testers when watching horror movies is used as the initial playback parameter range corresponding to the fear emotion.
[0195] A future play segment refers to an audio and / or video segment that is played to a user in a future time period. For example, a future play segment may be a subsequent play segment of the audio and / or video content currently being played to a user at a future time point. Future play content may include one or more future play segments.
[0196] In some embodiments, the processor 112 may read the complete content of the currently playing content, and use the unplayed content in the complete content or the playing content corresponding to the future time point as the future playing segment. For example, if the currently playing content is a movie, the processor may read the complete content of the movie, and use the unplayed content segment in the complete content as the future playing segment.
[0197] In some embodiments, the parameter determination model is a machine learning model. For example, the parameter determination model can be one or more of a neural network (NN), a convolutional neural network (CNN), a deep neural network (DNN), etc. and a combination thereof.
[0198] In some embodiments, the input of the parameter determination model may include candidate playback parameters, predicted emotion data, future playback segments, and environmental data; the output may include user experience scores corresponding to the candidate playback parameters. For more information about environmental data, see Figure 5 and its related description.
[0199] In some embodiments, the parameter determination model can be obtained through training. For example, the processor 112 can input multiple parameter training samples with parameter labels into the initial parameter determination model to obtain multiple outputs of the initial parameter determination model; substitute the output of the initial parameter determination model and the parameter labels corresponding to the multiple parameter training samples into the formula of the predefined loss function to calculate the value of the loss function; according to the value of the loss function, reversely update the model parameters in the initial parameter determination model; for example, the update can be based on the gradient descent method; when the iteration end condition is met, the iteration is ended to obtain the trained emotion determination model.
[0200] In some embodiments, multiple parameter training samples include sample emotion data, sample playback clips, sample playback parameters, and sample environment data actually collected from multiple test users when using the audio and video system 110; parameter labels corresponding to different parameter training samples may include the actual user experience scores of the test users under the parameter training samples.
[0201] In some embodiments, the processor 112 may obtain the user experience scores corresponding to one or more candidate playback parameters through the parameter determination model, and select the target playback parameter according to the user experience score. For example, the processor 112 may use the candidate playback parameter with a user experience score greater than a score threshold as the target playback parameter. For another example, the processor 112 may use the candidate playback parameter with the highest user experience score as the target playback parameter.
[0202] In some embodiments of the present specification, the parameter determination model is used to determine the user experience score of the user under different candidate playback parameters, and the target playback parameters that best suit the user can be selected, thereby ensuring the user's personalized experience. The parameter determination model uses the predicted emotional data and environmental data as the basis for determining the user experience score, and can fully consider the impact of the user's different emotions and different environments on the user experience, and uses the future playback clips as model input, and can consider the impact of the actual effect of the playback content on the playback parameters, thereby improving the accuracy of the user experience score output by the model.
[0203] Step 630: Generate a control instruction based on the target playback parameters.
[0204] In some embodiments, the processor 112 may generate computer instructions from target playback parameters, and send the computer instructions as control instructions to the dynamic parameter adjustment module to adjust the current playback parameters.
[0205] In some embodiments of the present specification, whether the playback parameters need to be adjusted is determined by judging whether the adjustment conditions are met, thereby balancing real-time response and user experience, avoiding frequent and disordered parameter changes, and ensuring that the adjustment is both timely and gentle, and does not affect the user's immersion in the content; based on the predicted emotional response type, the target playback parameters are determined through preset playback parameter control rules, which simplifies the decision-making process and enables the system to quickly adapt to a variety of emotional scenarios, thereby improving content adaptability and consistency of user experience.
[0206] The basic concepts have been described above. Obviously, for those skilled in the art, the above detailed disclosure is only for example and does not constitute a limitation of this specification. Although not explicitly stated here, those skilled in the art may make various modifications, improvements and corrections to this specification. Such modifications, improvements and corrections are suggested in this specification, so such modifications, improvements and corrections still belong to the spirit and scope of the exemplary embodiments of this specification.
[0207] At the same time, this specification uses specific words to describe the embodiments of this specification. For example, "one embodiment", "an embodiment", and / or "some embodiments" refer to a certain feature, structure or characteristic related to at least one embodiment of this specification. Therefore, it should be emphasized and noted that "one embodiment" or "an embodiment" or "an alternative embodiment" mentioned twice or more in different positions in this specification does not necessarily refer to the same embodiment. In addition, certain features, structures or characteristics in one or more embodiments of this specification can be appropriately combined.
[0208] In addition, unless explicitly stated in the claims, the order of the processing elements and sequences described in this specification, the use of alphanumeric characters, or the use of other names are not intended to limit the order of the processes and methods of this specification. Although the above disclosure discusses some invention embodiments that are currently considered useful through various examples, it should be understood that such details are only for illustrative purposes, and the attached claims are not limited to the disclosed embodiments. On the contrary, the claims are intended to cover all modifications and equivalent combinations that are consistent with the essence and scope of the embodiments of this specification. For example, although the system components described above can be implemented by hardware devices, they can also be implemented only by software solutions, such as installing the described system on an existing server or mobile device.
[0209] Similarly, it should be noted that in order to simplify the description disclosed in this specification and thus help understand one or more embodiments of the invention, in the above description of the embodiments of this specification, multiple features are sometimes combined into one embodiment, figure or description thereof. However, this disclosure method does not mean that the features required by the subject matter of this specification are more than the features mentioned in the claims. In fact, the features of the embodiments are less than all the features of the single embodiment disclosed above.
[0210] In some embodiments, numbers describing the number of components and attributes are used. It should be understood that such numbers used in the description of the embodiments are modified by the modifiers "about", "approximately" or "substantially" in some examples. Unless otherwise specified, "about", "approximately" or "substantially" indicate that the numbers are allowed to vary by ±20%. Accordingly, in some embodiments, the numerical parameters used in the specification and claims are approximate values, which may change according to the required features of individual embodiments. In some embodiments, the numerical parameters should take into account the specified significant digits and adopt the general method of retaining digits. Although the numerical domains and parameters used to confirm the breadth of their range in some embodiments of this specification are approximate values, in specific embodiments, the setting of such numerical values is as accurate as possible within the feasible range.
[0211] Each patent, patent application, patent application publication, and other materials, such as articles, books, specifications, publications, documents, etc., cited in this specification are hereby incorporated by reference in their entirety. Except for application history documents that are inconsistent with or conflicting with the contents of this specification, documents that limit the broadest scope of the claims of this specification (currently or later attached to this specification) are also excluded. It should be noted that if the descriptions, definitions, and / or use of terms in the materials attached to this specification are inconsistent or conflicting with the contents described in this specification, the descriptions, definitions, and / or use of terms in this specification shall prevail.
[0212] Finally, it should be understood that the embodiments described in this specification are only used to illustrate the principles of the embodiments of this specification. Other variations may also fall within the scope of this specification. Therefore, as an example and not a limitation, alternative configurations of the embodiments of this specification may be considered consistent with the teachings of this specification. Accordingly, the embodiments of this specification are not limited to the embodiments explicitly introduced and described in this specification.
Claims
1. An audio and video system, characterized in that: include: A biological parameter monitoring module is configured to monitor the user's physiological indicators; A dynamic parameter adjustment module, configured to adjust the playback parameters of the audio and video system according to the control instructions; The processor is configured as: Obtaining current playback content, current playback parameters and future playback content, as well as the user's physiological indicators; Determining the user's emotional response information based on the user's physiological indicators; Based on the current playing content, the current playing parameters, the future playing content and the emotional response information, determining predicted emotional data of the user at a future time point through an emotional determination model; The emotion determination model is a machine learning model; Based on the predicted emotion data, the control instruction is determined and sent to the dynamic parameter adjustment module to adjust the current playback parameter.
2. The system according to claim 1, characterized in that The emotion determination model is obtained based on the training of the processor, and the training includes a first training; the first training refers to the training performed when the user starts to use the audio and video system; The audio and video system further comprises a pre-test module, wherein the pre-test module is configured to play a test clip to the user; The processor is further configured to: Determine and send a test segment sequence to the pre-test module, so as to play the test segment in the test segment sequence to the user based on the pre-test module; Collecting, by means of the biological parameter monitoring module, a first sample physiological index of the user when watching the test clip; Determining a first sample emotional response based on the first sample physiological indicator; Generate first sample data based on the first sample emotional response, the first sample emotional response type, the first sample playback parameter, and the test clip sequence; The emotion determination model is trained based on the first sample data.
3. The system according to claim 2, characterized in that The training further includes second training, where the second training refers to training performed by the user during use of the audio and video system; the second training is performed by the processor; The processor is further configured to: During the process of the user using the audio and video system, second sample data is continuously collected, and a second sample emotion data set is constructed; the second sample data includes an actual playback segment, second sample playback parameters, second sample environment data, and second sample emotion response; In response to satisfying the optimization cycle: based on the second sample data in the second sample emotion data set, the current emotion determination model is trained to obtain the optimized emotion determination model.
4. The system according to claim 1, characterized in that The processor is further configured to: Determining a predicted emotional response type based on the predicted emotional data; In response to the adjustment condition being met: determining a target playback parameter based on the predicted emotional response type and the playback parameter regulation rule; Based on the target playback parameters, a control instruction is generated.
5. An audio and video control method, characterized in that: The method is executed by a processor of the audio and video system according to any one of claims 1 to 4, and the method comprises: Obtain the current playback content, current playback parameters and future playback content, as well as the user's physiological indicators monitored by the biological parameter detection module; Determining the user's emotional response information based on the user's physiological indicators; Based on the current playing content, the current playing parameters, the future playing content and the emotional response information, determining predicted emotional data of the user at a future time point through an emotional determination model; the emotional determination model is a machine learning model; Based on the predicted emotion data, a control instruction is determined, and the control instruction is sent to a dynamic parameter adjustment module to adjust the current playback parameter.
6. The method according to claim 5, characterized in that The emotion determination model is obtained based on training, and the first training includes: Determine a test segment sequence and send it to a pre-test module, so as to play the test segments in the test segment sequence to the user based on the pre-test module; Collecting, by means of the biological parameter monitoring module, a first sample physiological index of the user when watching the test clip; Determining a first sample emotional response based on the first sample physiological indicator; Generate first sample data based on the first sample emotional response, the first sample emotional response type, the first sample playback parameter, and the test clip sequence; The emotion determination model is trained based on the first sample data.
7. The method according to claim 6, characterized in that The training further includes a second training, wherein the second training includes: During the process of the user using the audio and video system, second sample data is continuously collected, and a second sample emotion data set is constructed; the second sample data includes an actual playback segment, second sample playback parameters, second sample environment data, and second sample emotion response; In response to satisfying the optimization cycle: based on the second sample data in the second sample emotion data set, the current emotion determination model is trained to obtain the optimized emotion determination model.
8. The method according to claim 5, characterized in that Determining the control instruction based on the predicted emotion data includes: Determining a predicted emotional response type based on the predicted emotional data; In response to the adjustment condition being met: determining a target playback parameter based on the predicted emotional response type and the playback parameter regulation rule; Based on the target playback parameters, the control instruction is generated.
9. An audio and video control device, comprising a processor, characterized in that: The processor is used to execute the audio and video control method according to any one of claims 5 to 8.
10. A computer-readable storage medium, wherein the storage medium stores computer instructions. When a computer reads the computer instructions in the storage medium, the computer executes the audio and video control method according to any one of claims 5 to 8.
