Intelligent control method and system for audio and video player

By analyzing the movement speed and temperature characteristics of the headphones when wearing them, and comprehensively judging the wearing status of the headphones, the problem of false alarms in the existing technology in special environments is solved, and the more accurate control of audio and video players is achieved and the user experience is improved.

CN119105728BActive Publication Date: 2025-02-25DALIAN HANYI CULTURE MEDIA CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411495468.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-25
Publication Date
2025-02-25
Estimated Expiration
2044-10-25

AI Technical Summary

Technical Problem

The existing intelligent control methods of audio and video players are prone to trigger false alarms in special environments, resulting in errors in control commands and affecting user interaction experience.

Method used

By analyzing the movement speed characteristics and temperature change characteristics of the headset when worn by the user, comprehensively determine whether the headset is in the state worn by the user, thereby intelligently controlling the audio and video player.

Benefits of technology

It improves the discrimination accuracy in special environments, achieves more precise control of audio and video players, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119105728B_ABST
    Figure CN119105728B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of audio and video player equipment, and specifically to an intelligent control method and system for audio and video players. The method includes: collecting motion speed data and temperature data; obtaining a preset time before the current time as a statistical time, obtaining a first possibility that the user wears headphones according to the characteristics of the motion speed data at the statistical time; obtaining a second possibility that the user wears headphones according to the characteristics of the temperature data at the statistical time; obtaining the probability that the user wears headphones at the current moment according to the first possibility and the second possibility that the user wears headphones; and intelligently controlling the audio and video player according to the probability that the user wears headphones at the current moment. The present application provides more precise control of the audio and video player.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of audio and video player equipment, and in particular to an intelligent control method and system for an audio and video player. Background Art

[0002] In today's fast-paced life, personal electronic devices have penetrated into people's daily lives. Among them, audio and video players are important entertainment tools, and their intelligence directly affects the user experience. And with the popularity of wireless headphones, when users wear wireless headphones to listen to or watch relevant information in audio and video players, traditional audio and video players require users to manually control the play or pause, which is not convenient in some cases, especially when users are driving, doing housework and other activities, manually controlling the player may distract attention and reduce safety or convenience.

[0003] In order to improve the user's control demand for audio and video players, and enable users to interact with audio and video players more naturally in different usage scenarios without frequent manual operations, it is necessary to control audio and video players intelligently. The traditional intelligent control method of audio and video players is to determine whether the headphones are being worn by analyzing the distance between the headphones and the nearest object and the light intensity, and then control the audio and video players. Under certain environmental conditions, detection by means of light may trigger false alarms, resulting in errors in the control instructions of the audio and video players, thereby affecting the user's interactive experience. Summary of the invention

[0004] In order to solve the technical problem of triggering false alarms in the prior art, the present application provides an intelligent control method and system for an audio and video player, and the technical solutions adopted are as follows:

[0005] In a first aspect, the present application proposes an intelligent control method for an audio and video player, the method comprising the following steps:

[0006] Collect movement speed data and temperature data at each moment through different sensors;

[0007] A preset moment is obtained before the current moment as the statistical moment, and the first possibility that the user wears the headset is obtained by using the motion speed data of all statistical moments, the discrete degree of the motion speed data, and the slope of each data point after fitting the motion speed data of the statistical moment to a curve;

[0008] The second possibility of the user wearing headphones is obtained based on the correlation and difference between the temperature data at all statistical moments and the human body temperature and the volatility of the temperature data at all statistical moments;

[0009] Obtaining a probability that the user is wearing the earphone at the current moment according to the first possibility that the user is wearing the earphone and the second possibility that the user is wearing the earphone;

[0010] Intelligently control the audio and video players based on the probability that the user is wearing headphones at the current moment.

[0011] In the above scheme, the present application constructs the first possibility that the user is wearing the earphones by analyzing the motion speed characteristics when the earphones are worn by the user, and reflects the degree to which the earphones are worn by the user from the motion characteristics; then further obtains the second possibility that the user is wearing the earphones based on the temperature characteristics collected after the earphones come into contact with the human body; obtains the probability that the user is wearing the earphones based on the first possibility and the second possibility; determines whether the earphones are currently being worn by the user based on the probability that the user is wearing the earphones, and then performs intelligent "play" and "pause" operations on the audio and video player. Compared with the prior art that determines whether the earphones are in a worn state by analyzing the distance between the earphones and the nearest object and the light intensity, the method proposed in the present application can comprehensively determine whether the earphones are in a worn state based on the motion state characteristics and temperature change characteristics when the user wears the earphones, thereby improving the accuracy of the judgment in special environments, and then more accurately controlling the audio and video players to improve the user experience.

[0012] In one embodiment, the method for obtaining the first possibility of the user wearing headphones by using the motion speed data at all statistical moments, the discreteness of the motion speed data, and the slope of each data point after fitting the motion speed data at the statistical moments to a curve is:

[0013] All the motion speed data at the statistical moment constitute a local motion speed sequence, and obtain the static factor of the local motion speed sequence according to the motion speed of all elements in the local motion speed sequence and the discrete degree of all elements;

[0014] Fitting the local motion speed sequence into a curve, obtaining the slope of each data point on the curve, and calculating the average absolute deviation of the slopes of all data points on the curve as the dynamic factor of the local motion speed sequence;

[0015] Obtaining a first possibility of the user wearing headphones according to a dynamic factor and a static factor of a local motion speed sequence;

[0016] The first possibility that the user wears headphones is positively correlated with the dynamic factor of the local motion speed sequence, and the first possibility that the user wears headphones is negatively correlated with the static factor of the local motion speed sequence.

[0017] In one embodiment, the method for obtaining the stationary factor of the local motion speed sequence according to the motion speeds of all elements in the local motion speed sequence and the discreteness of all elements is:

[0018] Calculate the absolute value of the difference between the movement speeds of the previous element and the next element in the local movement speed sequence as the speed deviation of the previous element;

[0019] The product of the moving speed of each element and the speed deviation of each element is recorded as the speed static coefficient of each element;

[0020] The reciprocal of the mean of the speed static coefficients of all elements except the last element in the local motion speed sequence is taken as the static factor of the local motion speed sequence.

[0021] In one embodiment, the method for obtaining the first possibility of the user wearing headphones according to the dynamic factor and the static factor of the local motion speed sequence is:

[0022] The ratio of the dynamic factor to the static factor of the local motion speed sequence is calculated, and the ratio is linearly normalized as the first possibility that the user is wearing headphones.

[0023] In one embodiment, the method for obtaining the second possibility that the user wears headphones according to the correlation and difference between the temperature data at all statistical moments and the human body temperature and the volatility of the temperature data at all statistical moments is:

[0024] The sequence of temperature data corresponding to all statistical moments is recorded as a local temperature sequence;

[0025] The temperature interval is constructed through the local temperature sequence, and the intersection interval is obtained by combining the preset human body temperature fluctuation interval;

[0026] Calculate the coefficient of variation of all temperature data in the local temperature series as the volatility of the local temperature series;

[0027] The second possibility that the user wears headphones is obtained according to the volatility of the local temperature sequence, the temperature interval corresponding to the local temperature sequence, and the length of the intersection interval.

[0028] In one embodiment, the method of constructing the temperature interval by using the local temperature sequence is:

[0029] The maximum and minimum values ​​of the temperature data in the local temperature sequence are obtained, and the interval formed by the minimum and maximum values ​​is recorded as the temperature interval.

[0030] In one embodiment, the method for obtaining the second possibility that the user wears headphones according to the volatility of the local temperature sequence, the temperature interval corresponding to the local temperature sequence, and the length of the intersection interval is:

[0031] The product of the temperature interval and the length of the intersection interval is used as the matching weight, and the volatility of the local temperature series and the product of the matching weight are linearly normalized as the second possibility that the user is wearing headphones.

[0032] In one embodiment, the method for obtaining the probability that the user is wearing headphones at the current moment according to the first possibility that the user is wearing headphones and the second possibility that the user is wearing headphones is:

[0033] The product of the first possibility that the user wears headphones and the second possibility that the user wears headphones is normalized and used as the probability that the user wears headphones at the current moment.

[0034] In one embodiment, the method for intelligently controlling the audio and video player according to the probability of the user wearing headphones at the current moment is:

[0035] If the probability that the user is wearing the headset is greater than or equal to a preset probability threshold, the headset is in a state of being worn by the user; if the probability that the user is wearing the headset is less than the preset probability threshold, the headset is in a state of not being worn by the user;

[0036] Send the current status of the player to the headset via the communication protocol;

[0037] If the headset is being worn by the user and the player is currently in the paused state, the play command is sent to the player; if the player is currently in the play state, no command is sent;

[0038] If the headset is not being worn by the user and the current state of the player is paused, no command is sent; if the current state of the player is playing, a pause command is sent to the player;

[0039] When instructions are sent for a preset number of consecutive moments and the sent instructions are the same, the audio and video player is played or paused.

[0040] In the second aspect, an embodiment of the present application also provides an intelligent control system for an audio and video player, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein when the processor executes the computer program, the steps of an intelligent control method for an audio and video player described in any one of the above items are implemented.

[0041] The beneficial effects of this application are as follows:

[0042] This application constructs the first possibility that the user is wearing the earphones by analyzing the motion speed characteristics when the earphones are worn by the user, and reflects the degree to which the earphones are worn by the user from the motion characteristics; then further obtains the second possibility that the user is wearing the earphones based on the temperature characteristics collected after the earphones come into contact with the human body; obtains the probability that the user is wearing the earphones based on the first possibility and the second possibility; determines whether the earphones are currently being worn by the user based on the probability that the user is wearing the earphones, and then performs intelligent "play" and "pause" operations on the audio and video player. Compared with the prior art that determines whether the earphones are in a worn state by analyzing the distance between the earphones and the nearest object and the light intensity, the method proposed in this application can comprehensively determine whether the earphones are in a worn state based on the motion state characteristics and temperature change characteristics when the user wears the earphones, thereby improving the accuracy of the judgment in special environments, and then more accurately controlling the audio and video players to improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0044] Figure 1 An intelligent control method and system flow chart for an audio and video player provided in one embodiment of the present application;

[0045] Figure 2 The temperature change when the earphone is worn on the user's ear;

[0046] Figure 3 This is the intelligent control flow chart of the audio and video player. DETAILED DESCRIPTION

[0047] In order to further explain the technical means and effects adopted by the present application to achieve the predetermined invention purpose, the following is a detailed description of the intelligent control method and system for an audio and video player proposed in the present application, its specific implementation method, structure, features and effects, in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.

[0048] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.

[0049] An intelligent control method and system embodiment for an audio and video player:

[0050] The following is a detailed description of a specific solution of an intelligent control method and system for an audio and video player provided by the present application in conjunction with the accompanying drawings.

[0051] See also Figure 1 , which shows an intelligent control method and system flow chart for an audio and video player provided by an embodiment of the present application, the method comprising the following steps:

[0052] Step S001, collecting motion speed data and temperature data at each moment through different sensors.

[0053] A motion sensor and a temperature sensor are placed in the earphone to continuously collect motion speed data and temperature data of the earphone at the same time interval, wherein the temperature data is the temperature data of the earphone sound output position, that is, the part close to the ear canal. In this embodiment, the sampling time interval takes an empirical value of 0.2s, and the time interval can be set by the implementer.

[0054] At this point, the movement speed data and temperature data at each moment have been obtained.

[0055] Step S002, obtaining a preset moment before the current moment as the statistical moment, obtaining the first possibility that the user wears headphones by taking the motion speed data of all statistical moments, the discrete degree of the motion speed data, and the slope of each data point after fitting the motion speed data of the statistical moments to a curve.

[0056] When the user wears the headset, no matter what state the user is in, in any environment, including at night or in a dim environment, the headset will move relative to the environment due to the user's body posture. Even if the user sits on a chair or lies on the bed and remains motionless, the muscles will move unconsciously. At the same time, when the user performs basic physiological activities such as breathing and heartbeat, the body will also vibrate slightly. These vibrations will be transmitted to the head through the neck, causing slight changes in the position of the head. At the same time, human movement is a continuous movement process, and the movement of the headset on the head is a slow and gentle change, not a faster movement change. Therefore, when wearing the headset, all the collected movement speed data is relatively gentle, without large fluctuations.

[0057] Therefore, the motion state of the earphones can be analyzed based on the collected motion speed data to determine the possibility of the earphones being worn.

[0058] The preset number of moments before the current moment is recorded as the statistical moment, and the sequence of motion speed data corresponding to all statistical moments is recorded as the local motion speed sequence. In this embodiment, the preset number is set to 15, that is, the motion speed data of 15 moments before the current moment is obtained to form a local motion speed sequence; the implementer can also set it by himself, for example, 20. If the moments before the current moment are less than the preset number, it is considered that the current data contains less information and is not enough for calculation, and no subsequent calculation is performed on the current moment.

[0059] For the local motion speed sequence, the smaller the speed, the more likely the earphones are to be stationary and the more likely they are not being worn. In addition to the overall low speed, even if the motion speed of the local motion speed sequence changes, it is a small change and will not change to a large extent.

[0060] Therefore, the stationary factor of the local motion speed sequence can be obtained according to the motion speeds of all elements in the local motion speed sequence and the discreteness of all elements.

[0061] Preferably, in one embodiment of the present application, for a local motion speed sequence, the absolute value of the difference between the motion speeds of a previous element and a next element in the local motion speed sequence is calculated as the speed deviation of the previous element. The speed deviation reflects the difference between two adjacent motion speeds, and all speed deviations characterize the degree of discreteness of all elements.

[0062] The product of the movement speed of each element and the speed deviation of each element is recorded as the speed static coefficient of each element. Since the last element in the local motion speed sequence has no speed static coefficient, the reciprocal of the mean of the speed static coefficients of all elements in the local motion speed sequence except the last element is taken as the static factor of the local motion speed sequence. When calculating the reciprocal, the denominator is added with the adjustment parameter value 1 to prevent the denominator from being 0.

[0063] Preferably, in one embodiment of the present application, for a local motion speed sequence, the mean of the motion speeds of all elements in the local motion speed sequence is obtained, and the mean of the motion speeds characterizes the overall motion speed characteristics of the local motion speed sequence; then the variance of all the motion speeds in the local motion speed sequence is calculated, and the variance of all the motion speeds in the local motion speed sequence characterizes the discreteness of the motion speed in the local motion speed sequence, and the inverse of the product of the mean and variance of all the motion speeds in the local motion speed sequence is used as the stationary factor of the local motion speed sequence. When calculating the inverse, the denominator is added with the adjustment parameter value 1 to prevent the denominator from being 0.

[0064] The smaller the overall movement speed of all elements in the local movement speed sequence, the smaller the discreteness, and the larger the stationary factor of the local movement speed sequence. The larger the stationary factor, the more likely the headset is to be in a stationary state at the current moment.

[0065] Compared with when the earphones are stationary, when the earphones are worn, the earphones will have slight movement, so the local motion sequence will have smaller fluctuations. The more there are multiple different fluctuations and the less it is stationary, the more likely the earphones are worn.

[0066] For the local motion speed sequence, the local motion speed sequence is fitted into a curve, and the slope of each data point on the curve is obtained, wherein the more the slope changes, the more active the local motion speed sequence is, and the corresponding earphone is more likely to be worn. The average absolute deviation of the slopes of all data points is calculated. The calculation of the average absolute deviation is a well-known technology and will not be elaborated here. The larger the average absolute deviation of all slopes corresponding to the local motion speed sequence, the more likely the earphone is worn. The average absolute deviation of the slopes of all data points is recorded as the dynamic factor of the local motion speed sequence.

[0067] The possibility of judging whether the earphone is worn based on the movement speed is obtained according to the dynamic factor and the static factor of the local movement speed sequence, and the possibility obtained based on the movement speed is recorded as the first possibility, thereby obtaining the first possibility that the user wears the earphone.

[0068] The first possibility that the user wears headphones is positively correlated with the dynamic factor of the local motion speed sequence, and the first possibility that the user wears headphones is negatively correlated with the static factor of the local motion speed sequence.

[0069] Preferably, in one embodiment of the present application, the ratio of the dynamic factor to the static factor of the local motion speed sequence is linearly normalized as the first possibility that the user is wearing headphones.

[0070] Preferably, in one embodiment of the present application, the dynamic factor of the local motion speed sequence is taken as the true number of the logarithmic function, the static factor of the local motion speed sequence is taken as the base of the logarithmic function, and the result of the logarithmic function is normalized by the maximum and minimum values ​​as the first possibility that the user is wearing headphones.

[0071] It should be noted that positive correlation means that when one variable increases, the other variable also increases, and the two variables change in the same direction. When one variable changes from large to small or from small to large, the other variable also changes from large to small or from small to large. The specific relationship can be a multiplication relationship, an addition relationship, or the idempotence of an exponential function, which is determined by actual application and is not specifically limited in this application.

[0072] It should be noted that negative correlation means that as one variable increases, the other variable decreases accordingly, and the two variables change in opposite directions. When one variable changes from large to small or from small to large, the other variable also changes from small to large or from large to small. The specific relationship can be a ratio relationship, a subtraction relationship, etc., which is determined by actual application, and this application does not impose any special restrictions.

[0073] At this point, the first possibility that the user wears headphones is obtained.

[0074] Step S003, obtaining a second possibility that the user is wearing headphones based on the correlation and difference between the temperature data at all statistical moments and the human body temperature and the volatility of the temperature data at all statistical moments.

[0075] When the user wears the earphones, the earphones will detect the temperature of the user's ears, but when the earphones are not worn, the earphones cannot detect the user's temperature. Therefore, when the user wears the earphones, the temperature measured by the temperature sensor in the earphones changes within a certain temperature range as the ear temperature changes, and the temperature change will not exceed the user's adjustment range.

[0076] Because the user's ears are exposed to the outside, the temperature of the ears will be lowered or increased due to external wind, sunlight, etc., and the user adjustment mechanism will adjust the ear temperature to the normal user temperature. Therefore, if the user wears headphones, the measured temperature data will fluctuate. Figure 2 shown.

[0077] Therefore, when the user wears headphones, the temperature data collected by the temperature sensor is volatile, and the possibility of the user wearing headphones based on temperature is obtained based on the volatility of the temperature data.

[0078] A sequence consisting of temperature data corresponding to all statistical moments is recorded as a local temperature sequence, and the second possibility that the user is wearing headphones is determined through the local temperature sequence.

[0079] According to all the temperature data in the local temperature sequence, if the headset is worn, it means that all the temperature data in the local temperature sequence carries the user temperature, so the maximum and minimum values ​​of the temperature data in the local temperature sequence are obtained, and the interval formed by the minimum and maximum values ​​is recorded as the temperature interval. The human body temperature fluctuation interval is preset, and the intersection interval of the temperature interval and the human body temperature fluctuation interval is obtained. If the intersection interval is larger, it means that the headset is more likely to be worn. If the headset is not worn, the temperature data measured by the headset is the temperature data of the external environment, and the temperature of the external environment generally changes slowly, so the length of the temperature interval is also shorter. Therefore, the larger the temperature interval, the more likely it is that the user temperature is measured, that is, the more likely the headset is worn by the user. In this embodiment, the human body temperature fluctuation interval is in the range of [36,37.5] degrees, and the implementer can also measure and select the interval by himself.

[0080] Since the local temperature sequence will show the characteristics of volatility when the earphone is worn, the coefficient of variation of all temperature data in the local temperature sequence is calculated to characterize the volatility of the local temperature sequence. The larger the coefficient of variation, the stronger the volatility.

[0081] The second possibility that the user wears headphones is obtained according to the volatility of the local temperature sequence, the temperature interval corresponding to the local temperature sequence, and the length of the intersection interval.

[0082] Preferably, in one embodiment of the present application, the product of the length of the temperature interval and the length of the intersection interval is used as the matching weight, and the product of the coefficient of variation and the matching weight is linearly normalized as the second possibility that the user is wearing headphones.

[0083] Preferably, in one embodiment of the present application, the sum of the lengths of the temperature interval and the intersection interval is used as a length matching weight, the length matching weight is used as the base of the exponential function, the coefficient of variation is used as the exponent of the exponential function, and the result of the exponential function is linearly normalized to be the second possibility for the user to wear headphones.

[0084] At this point, the second possibility of the user wearing headphones is obtained.

[0085] Step S004: obtaining a probability that the user is wearing headphones at the current moment according to the first possibility that the user is wearing headphones and the second possibility that the user is wearing headphones.

[0086] By analyzing the motion data collected by the motion sensor, the first possibility that the user is wearing the headphones is determined based on the characteristics of the headphones being worn by the user and the characteristics of the headphones being stationary. By analyzing the temperature data collected by the temperature sensor, the second possibility that the user is wearing the headphones is determined based on the similarity between the temperature data and the user's ear temperature and the fluctuation of the temperature data.

[0087] The probability that the user wears the earphone at the current moment is obtained according to the first possibility that the user wears the earphone and the second possibility that the user wears the earphone.

[0088] The probability that the user wears headphones at the current moment is positively correlated with the first possibility that the user wears headphones and the second possibility that the user wears headphones.

[0089] Preferably, in one embodiment of the present application, the product of the first possibility that the user wears headphones and the second possibility that the user wears headphones is normalized and used as the probability that the user wears headphones at the current moment.

[0090] Preferably, in one embodiment of the present application, the product of the first possibility that the user wears headphones and the second possibility that the user wears headphones is normalized and used as the probability that the user wears headphones at the current moment.

[0091] At this point, the probability that the user is wearing headphones at the current moment is obtained.

[0092] Step S005: Intelligently control the audio and video player according to the probability that the user wears headphones at the current moment.

[0093] Through the above steps, we can get the probability of the user wearing headphones at each moment. We can use the probability of the user wearing headphones to intelligently control the audio and video player. The control process is as follows: Figure 3 shown.

[0094] The communication protocol between the wireless headset and the audio and video player is used to detect whether the audio and video player is in the playing state, and the playing and pausing of the audio and video player are controlled by analyzing the playing conditions and pause conditions of the audio and video. The communication protocol will cause the player to periodically send the current playing status to the headset, such as playing or paused.

[0095] Specifically, the playing condition of the audio and video player is: if the probability that the user is wearing headphones is greater than or equal to the probability threshold, indicating that the headphones are being worn by the user at this time, then the audio and video player should be in the playing state. If the audio and video player is in the playing state at this time, no operation is performed, so that the audio and video continue to play; if the detection result shows that the audio and video player is in the paused state at this time, the "play" instruction is sent to the player through the media control protocol (such as the AVRCP protocol of the Bluetooth headset), so that the audio and video player continues to play, improving the user experience. The size of the probability threshold in this embodiment takes the empirical value of 0.75, and the implementer can take different values ​​according to the actual situation.

[0096] Specifically, the pause condition of the audio and video player is: if the probability that the user is wearing headphones is less than the probability threshold, indicating that the headphones are not worn by the user at this time, the audio and video player should be in a paused playback state. If the audio and video player is in a playback state at this time, a "pause" instruction is sent to the player through the media control protocol to pause the audio and video player; if the detection result shows that the audio and video player is in a paused state at this time, no operation is performed.

[0097] At the same time, in order to avoid the occurrence of accidental events and misjudgment of individual moments, this embodiment sets the audio and video player to play or pause only when the judgment results of n consecutive moments meet the play or pause conditions. The value of n in this embodiment takes the empirical value of 5.

[0098] At this point, the intelligent control of the audio and video player has been completed.

[0099] Based on the same inventive concept as the above method, an embodiment of the present invention also provides an intelligent control system for an audio and video player, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor implements the steps of any one of the above-mentioned intelligent control methods for an audio and video player when executing the computer program.

[0100] It should be noted that the above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

[0101] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

Claims

1. An intelligent control method for an audio and video player, characterized in that: The method comprises the following steps: Collect movement speed data and temperature data at each moment through different sensors; A preset moment is obtained before the current moment as the statistical moment, and the first possibility that the user wears the headset is obtained by using the motion speed data of all statistical moments, the discrete degree of the motion speed data, and the slope of each data point after fitting the motion speed data of the statistical moment to a curve; The second possibility of the user wearing headphones is obtained based on the correlation and difference between the temperature data at all statistical moments and the human body temperature and the volatility of the temperature data at all statistical moments; Obtaining a probability that the user is wearing the earphone at the current moment according to the first possibility that the user is wearing the earphone and the second possibility that the user is wearing the earphone; Intelligently control the audio and video player based on the probability that the user is wearing headphones at the current moment; The method for obtaining the first possibility of the user wearing headphones by taking all the motion speed data at the statistical moment, the degree of dispersion of the motion speed data, and the slope of each data point after fitting the motion speed data at the statistical moment to a curve is: All the motion speed data at the statistical moment constitute a local motion speed sequence, and obtain the static factor of the local motion speed sequence according to the motion speed of all elements in the local motion speed sequence and the discrete degree of all elements; Fitting the local motion speed sequence into a curve, obtaining the slope of each data point on the curve, and calculating the average absolute deviation of the slopes of all data points on the curve as the dynamic factor of the local motion speed sequence; Obtaining a first possibility of the user wearing headphones according to a dynamic factor and a static factor of a local motion speed sequence; The first probability that the user wears headphones is positively correlated with the dynamic factor of the local motion speed sequence, and the first probability that the user wears headphones is negatively correlated with the static factor of the local motion speed sequence; The method for obtaining the stationary factor of the local motion speed sequence according to the motion speed of all elements in the local motion speed sequence and the discrete degree of all elements is: Calculate the absolute value of the difference between the movement speeds of the previous element and the next element in the local movement speed sequence as the speed deviation of the previous element; The product of the moving speed of each element and the speed deviation of each element is recorded as the speed static coefficient of each element; The reciprocal of the mean of the speed static coefficients of all elements except the last element in the local motion speed sequence is taken as the static factor of the local motion speed sequence; The method for obtaining the second possibility that the user wears headphones according to the correlation and difference between the temperature data at all statistical moments and the human body temperature and the volatility of the temperature data at all statistical moments is: The sequence of temperature data corresponding to all statistical moments is recorded as a local temperature sequence; The temperature interval is constructed through the local temperature sequence, and the intersection interval is obtained by combining the preset human body temperature fluctuation interval; Calculate the coefficient of variation of all temperature data in the local temperature series as the volatility of the local temperature series; Obtaining a second possibility that the user wears headphones according to the volatility of the local temperature sequence, the temperature interval corresponding to the local temperature sequence, and the length of the intersection interval; The method for obtaining the second possibility that the user wears headphones according to the volatility of the local temperature sequence, the temperature interval corresponding to the local temperature sequence, and the length of the intersection interval is: The product of the temperature interval and the length of the intersection interval is used as the matching weight, and the volatility of the local temperature series and the product of the matching weight are linearly normalized as the second possibility that the user is wearing headphones.

2. An intelligent control method for an audio and video player as claimed in claim 1, characterized in that: The method for obtaining the first possibility of the user wearing headphones according to the dynamic factor and the static factor of the local motion speed sequence is: The ratio of the dynamic factor to the static factor of the local motion speed sequence is calculated, and the ratio is linearly normalized as the first possibility that the user is wearing headphones.

3. An intelligent control method for an audio and video player as claimed in claim 1, characterized in that: The method for constructing the temperature interval through the local temperature sequence is: The maximum and minimum values ​​of the temperature data in the local temperature sequence are obtained, and the interval formed by the minimum and maximum values ​​is recorded as the temperature interval.

4. An intelligent control method for an audio and video player as claimed in claim 1, characterized in that: The method for obtaining the probability of the user wearing headphones at the current moment according to the first possibility that the user wears headphones and the second possibility that the user wears headphones is: The product of the first possibility that the user wears headphones and the second possibility that the user wears headphones is normalized and used as the probability that the user wears headphones at the current moment.

5. The intelligent control method for an audio and video player according to claim 1, characterized in that: The method for intelligently controlling the audio and video player according to the probability of the user wearing headphones at the current moment is: If the probability that the user is wearing the headset is greater than or equal to a preset probability threshold, the headset is in a state of being worn by the user; if the probability that the user is wearing the headset is less than the preset probability threshold, the headset is in a state of not being worn by the user; Send the current status of the player to the headset via the communication protocol; If the headset is in the user's wearing state and the player is currently in the paused state, the play command is sent to the player; If the player is currently in the playing state, no command will be sent; If the headset is not being worn by the user and the current state of the player is paused, no command is sent; if the current state of the player is playing, a pause command is sent to the player; When instructions are sent for a preset number of consecutive moments and the sent instructions are the same, the audio and video player is played or paused.

6. An intelligent control system for an audio and video player, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the steps of an intelligent control method for an audio and video player as described in any one of claims 1-5 are implemented.

Citation Information

Patent Citations

  • Earphone wearing state detection method, device and headset

    CN109168102A

  • Bluetooth headset control method and device, storage medium and electronic equipment

    CN111212371A