CN108882027B - Video communication method and wearable device - Google Patents

Video communication method and wearable device Download PDF

Info

Publication number
CN108882027B
CN108882027B CN201810781721.9A CN201810781721A CN108882027B CN 108882027 B CN108882027 B CN 108882027B CN 201810781721 A CN201810781721 A CN 201810781721A CN 108882027 B CN108882027 B CN 108882027B
Authority
CN
China
Prior art keywords
video
video format
wearable device
format parameter
parameters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810781721.9A
Other languages
Chinese (zh)
Other versions
CN108882027A (en
Inventor
万智明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201810781721.9A priority Critical patent/CN108882027B/en
Publication of CN108882027A publication Critical patent/CN108882027A/en
Application granted granted Critical
Publication of CN108882027B publication Critical patent/CN108882027B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01KMEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
    • G01K13/00Thermometers specially adapted for specific purposes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440218Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4

Abstract

A video communication method and a wearable device are provided, and the method comprises the following steps: detecting transmission environment parameters of the wearable device during current video data transmission, wherein the transmission environment parameters comprise wireless signal parameters and/or the working temperature of the wearable device; adjusting video format parameters according to the transmission environment parameters; and transmitting the video data to be transmitted according to the adjusted video format parameters. By implementing the embodiment of the invention, the power consumption during video output can be reduced, the heat of wearable equipment is reduced, the power consumption during video call is reduced, and the user experience is improved.

Description

Video communication method and wearable device
Technical Field
The invention relates to the technical field of image processing, in particular to a video communication method and wearable equipment.
Background
As an instant messaging function, video calls are popular with parents and children, and are widely applied to wearable devices such as telephone watches for children. However, in practice, it is found that when the video call function is used, the wearable device generates heat seriously, the problems of overhigh temperature of the device, quick power consumption and the like easily occur, and the user experience is poor.
Disclosure of Invention
The embodiment of the invention discloses a video communication method and wearable equipment, which can reduce power consumption during video output and reduce heat generation of the wearable equipment.
The first aspect of the embodiments of the present invention discloses a video communication method, which includes:
detecting transmission environment parameters of the wearable device during current video data transmission, wherein the transmission environment parameters comprise wireless signal parameters and/or the working temperature of the wearable device;
adjusting video format parameters according to the transmission environment parameters;
and transmitting the video data to be transmitted according to the adjusted video format parameters.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, when the transmission environment parameter is the wireless signal parameter, the adjusting a video format parameter according to the transmission environment parameter includes:
determining the current signal quality according to the signal strength, the network type and the network frequency band which are included in the wireless signal parameters;
determining a first video format parameter corresponding to the current signal quality according to the corresponding relation between the signal quality and the video format parameter;
determining the first video format parameter as an adjusted video format parameter;
wherein, the corresponding relation between the signal quality and the video format parameter comprises: as the signal quality degrades, the video quality characterized by the video format parameters degrades.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, when the transmission environment parameter is an operating temperature of the wearable device, the adjusting a video format parameter according to the transmission environment parameter includes:
acquiring the current ambient temperature of the wearable device, and determining the current temperature difference between the working temperature and the current ambient temperature;
determining a second video format parameter corresponding to the current temperature difference value according to the corresponding relation between the temperature difference value and the video format parameter;
determining the second video format parameter as an adjusted video format parameter;
wherein, the corresponding relation between the temperature difference value and the video format parameter comprises: as the temperature difference decreases, the quality of the video characterized by the video format parameters decreases.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, when the transmission environment parameter includes the wireless signal parameter and an operating temperature of the wearable device, the adjusting a video format parameter according to the transmission environment parameter includes:
determining the current signal quality according to the signal strength, the network type and the network frequency band which are included in the wireless signal parameters, and determining a first video format parameter corresponding to the current signal quality according to the corresponding relation between the signal quality and the video format parameter;
determining a second video format parameter corresponding to the current temperature difference value according to the current temperature difference value between the working temperature and the current environment temperature of the wearable device and the corresponding relation between the temperature difference value and the video format parameter;
judging whether the video quality represented by the first video format parameter is lower than the video quality represented by the second video format parameter, if so, determining the first video format parameter as the adjusted video format parameter;
if not, determining the second video format parameter as the adjusted video format parameter;
wherein, the corresponding relation between the signal quality and the video format parameter comprises: as the signal quality decreases, the video quality characterized by the video format parameters decreases; the corresponding relation between the temperature difference value and the video format parameter comprises the following steps: as the temperature difference decreases, the quality of the video characterized by the video format parameters decreases.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the video format parameter includes: video frame rate and/or video bitrate.
A second aspect of an embodiment of the present invention discloses a wearable device, including:
the detection unit is used for detecting transmission environment parameters of the wearable device during current video data transmission, and the transmission environment parameters comprise wireless signal parameters and/or the working temperature of the wearable device;
the adjusting unit is used for adjusting the video format parameters according to the transmission environment parameters;
and the transmission unit is used for transmitting the video data to be transmitted according to the adjusted video format parameters.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, when the transmission environment parameter is the wireless signal parameter, a manner that the adjusting unit is configured to adjust the video format parameter according to the transmission environment parameter is specifically:
the adjusting unit is used for determining the current signal quality according to the signal intensity, the network type and the network frequency band which are included in the wireless signal parameters; determining a first video format parameter corresponding to the current signal quality according to the corresponding relation between the signal quality and the video format parameter, and determining the first video format parameter as an adjusted video format parameter;
wherein, the corresponding relation between the signal quality and the video format parameter comprises: as the signal quality degrades, the video quality characterized by the video format parameters degrades.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, when the transmission environment parameter is the operating temperature of the wearable device, the manner that the adjusting unit is configured to adjust the video format parameter according to the transmission environment parameter is specifically:
the adjusting unit is used for acquiring the current environment temperature of the wearable device and determining the current temperature difference between the working temperature and the current environment temperature; determining a second video format parameter corresponding to the current temperature difference value according to the corresponding relation between the temperature difference value and the video format parameter, and determining the second video format parameter as the adjusted video format parameter;
wherein, the corresponding relation between the temperature difference value and the video format parameter comprises: as the temperature difference decreases, the quality of the video characterized by the video format parameters decreases.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, when the transmission environment parameter includes the wireless signal parameter and the operating temperature of the wearable device, the manner of adjusting the video format parameter according to the transmission environment parameter by the adjusting unit is specifically:
the adjusting unit is used for determining the current signal quality according to the signal strength, the network type and the network frequency band which are included in the wireless signal parameters, and determining a first video format parameter corresponding to the current signal quality according to the corresponding relation between the signal quality and the video format parameter; determining a second video format parameter corresponding to the current temperature difference value according to the current temperature difference value between the working temperature and the current environment temperature of the wearable device and the corresponding relation between the temperature difference value and the video format parameter; judging whether the video quality represented by the first video format parameter is lower than the video quality represented by the second video format parameter, if so, determining the first video format parameter as the adjusted video format parameter, and if not, determining the second video format parameter as the adjusted video format parameter;
wherein, the corresponding relation between the signal quality and the video format parameter comprises: as the signal quality decreases, the video quality characterized by the video format parameters decreases; the corresponding relation between the temperature difference value and the video format parameter comprises the following steps: as the temperature difference decreases, the quality of the video characterized by the video format parameters decreases.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the video format parameter includes: video frame rate and/or video bitrate.
A third aspect of an embodiment of the present invention discloses a wearable device, including:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute any one of the methods disclosed in the first aspect of the embodiments of the present invention.
A fourth aspect of the present invention discloses a computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute any one of the methods disclosed in the first aspect of the embodiments of the present invention.
A fifth aspect of the embodiments of the present invention discloses a computer program product, which, when running on a computer, causes the computer to execute any one of the methods disclosed in the first aspect of the embodiments of the present invention.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
detecting transmission environment parameters of the wearable device during current video data transmission, wherein the transmission environment parameters may specifically include wireless signal parameters and/or a working temperature of the wearable device; and then, adjusting the video format parameters according to the transmission environment parameters, and waiting to transmit video data according to the adjusted video format parameters. Therefore, in the embodiment of the invention, the quality of the output video during video communication can be dynamically adjusted according to different network environments, working temperatures and other transmission environment parameters, so that the power consumption of the wearable device can reach a dynamic balance state, and the heating of the wearable device is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a video communication method according to an embodiment of the present invention;
fig. 2 is a flow chart of another video communication method disclosed in the embodiment of the invention;
fig. 3 is a flow chart of another video communication method disclosed in the embodiment of the invention;
fig. 4 is a flow chart of another video communication method disclosed in the embodiment of the invention;
fig. 5 is a schematic structural diagram of a wearable device disclosed in the embodiment of the invention;
fig. 6 is a schematic structural diagram of another wearable device disclosed in the embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It is to be noted that the terms "comprises" and "comprising" and any variations thereof in the embodiments and drawings of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
The embodiment of the invention discloses a video communication method and wearable equipment, which can reduce power consumption during video output and reduce heat generation of the wearable equipment. The following are detailed below.
Example one
Referring to fig. 1, fig. 1 is a flowchart illustrating a video communication method according to an embodiment of the present invention. The video communication method described in fig. 1 is suitable for wearable devices such as smartwatches, smartbands, and smartglasses, and the embodiment of the present invention is not limited thereto. The operating system of the wearable device may include, but is not limited to, an Android operating system, an IOS operating system, a Symbian operating system, a Black Berry operating system, a Windows Phone8 operating system, and the like. As shown in fig. 1, the video communication method may include the steps of:
101. the wearable device detects a transmission environment parameter at the time of its current video data transmission.
In the embodiment of the present invention, the transmission environment parameter may include a wireless signal parameter and/or a parameter that may affect the wearable device to transmit video data, such as an operating temperature of the wearable device.
The wireless signal parameter may be determined according to a current data transmission state quantity of the wearable device, and the data transmission state quantity may include a current network system, a network frequency band, a signal strength, and the like. In addition, the network format used by the wearable device in transmitting video data may include 3rd-Generation (3G), 4th-Generation (4G), 5th-Generation (5G), Wi-Fi, etc.; the network frequency band used by the wearable device when transmitting the video data can be a frequency band suitable for any one of the network systems; the Signal Strength may be determined by detecting a Received Signal Strength Indication (RSSI) of the wearable device. The operating temperature of the wearable device may specifically be a temperature of a Central Processing Unit (CPU) of the wearable device when transmitting the video data.
102. The wearable device adjusts the video format parameters according to the detected transmission environment parameters.
In the embodiment of the present invention, the video format parameters may include parameters for representing video quality, such as a video frame rate and a video code rate. The video frame rate is a measurement for measuring the display frame number, and is related to the fluency of video pictures, and the higher the frame rate is, the more fluency the video pictures are; the video code rate refers to the number of data bits that can be transmitted in unit time during video data transmission, and is related to the definition of a video picture, and the higher the code rate is, the clearer the video picture is. As an optional implementation manner, in the embodiment of the present invention, the video format parameter may be positively correlated with the transmission environment parameter, that is, the transmission environment parameter indicates that the more the current transmission environment is favorable for video data transmission, the higher the video quality represented by the video format parameter corresponding to the transmission environment parameter is. In particular, the video format parameters characterize higher video quality if the wireless signal parameters indicate higher wireless signal quality and/or higher operating temperature of the wearable device.
In addition, as an optional implementation manner, the wearable device may determine the corresponding video format parameter according to the transmission environment parameter by:
pre-dividing transmission environment grades indicated by transmission environment parameters and video quality grades represented by video format parameters, wherein one transmission environment grade corresponds to one video quality grade, the values of the transmission environment parameters corresponding to the transmission environment grades are different, and the values of the video format parameters corresponding to the video quality grades are different;
when the wearable device detects the transmission environment parameters, identifying a target transmission environment grade to which the detected transmission environment parameters belong, and determining a target video quality grade corresponding to the target transmission environment grade;
the wearable device determines a video format parameter corresponding to the target video quality level as a video format parameter corresponding to the detected transmission environment parameter;
wherein, the transmission environment level is positively correlated with the video quality level.
103. And the wearable equipment transmits the video data to be transmitted according to the adjusted video format parameters.
In the embodiment of the invention, because the data volume of the video data is large, the calculation amount of the wearable device is large when the video data is transmitted, and the power required by the wearable device when the video data is transmitted is large, so that the wearable device is easy to heat up and generate heat when in video call, and the power consumption is serious. In the embodiment of the invention, the wearable device transmits the video data to be transmitted according to the adjusted video format parameters, so that the video format parameters can be dynamically adjusted according to different environment transmission parameters, the quality of the video image to be transmitted is adjusted, the power consumption of the wearable device can reach a dynamic balance state, and the heating of the wearable device is reduced.
It can be seen that, in the method described in fig. 1, the wearable device may automatically detect the transmission environment parameter, and adjust the video format parameter according to the transmission environment parameter, so as to adjust the quality of the video image to be transmitted, so that the power consumption of the wearable device may reach a dynamic balance state, and further reduce the heat generation of the wearable device.
Example two
Referring to fig. 1, fig. 1 is a flowchart illustrating a video communication method according to an embodiment of the present invention. In the method described in fig. 1, the wearable device performs step 101 to detect the transmission environment parameter of its current video data transmission, and the transmission environment parameter detected by the wearable device may include the following cases: the wearable device detects wireless signal parameters; the wearable device detects the working temperature of the wearable device; the wearable device detects the wireless signal parameter and its operating temperature. The following describes the video communication method in each case separately.
Referring to fig. 2, fig. 2 is a flow chart illustrating another video communication method according to an embodiment of the invention. In the method shown in fig. 2, the transmission environment parameter detected by the wearable device is a wireless signal parameter, and the method shown in fig. 2 includes the following steps:
201. the wearable device detects wireless signal parameters at the time of its current video data transmission.
In the embodiment of the invention, the wearable device can detect the wireless signal parameters according to a certain detection frequency. Taking wearable equipment using an Android operating system as an example, a timer can be set in the system by calling an ril (radio Interface layer), and wireless signal parameter information provided by a baseband chip plus Coprocessor (CP) is read at regular time.
202. And the wearable equipment determines the current signal quality according to the signal intensity, the network type and the network frequency band included in the wireless signal parameters.
In the embodiment of the invention, the current signal quality can be obtained by weighting calculation according to the signal intensity, the network type, the network frequency band and the like. As an optional implementation manner, in this embodiment of the present invention, before performing step 203, the wearable device may further determine, according to the detected signal strength, whether the wearable device is currently in a weak signal area (for example, the detected RSSI value is lower than a specified threshold, and then the wearable device is considered to be in the weak signal area); if the wearable device is in the weak signal area, determining whether the current network frequency band is in a preset specific frequency band (when the network frequency band is in the specific frequency band, the power required by the wearable device to transmit data is higher than a specified threshold), and when the wearable device is in the weak signal area and the current network frequency band is in the specific frequency band, the wearable device triggers and executes step 203. By implementing the implementation manner, the wearable device can judge whether the current transmission environment is not beneficial to the transmission of the video data according to the wireless signal parameters, and adjust the video format parameters when judging that the transmission environment is not beneficial to the transmission of the video data, so that the frequency of adjusting the video format parameters can be reduced, the conversion speed of the video image quality is reduced, and the user experience is improved.
203. The wearable device determines a first video format parameter corresponding to the current signal quality according to the corresponding relation between the signal quality and the video format parameter.
In the embodiment of the present invention, the correspondence between the signal quality and the video format parameter includes: as the signal quality degrades, the video quality characterized by the video format parameters degrades. For example, the wearable device may divide the signal quality into three steps 1, 2, and 3, with a larger number indicating a worse signal quality; in addition, the video image quality corresponding to the video format parameter can also be divided into A, B, C three grades, and the video image quality is decreased sequentially. As the signal quality decreases, the video quality represented by the video format parameters decreases, and the signal quality levels correspond to the video image quality levels one to one. Assuming that the current signal quality is identified as 1 grade, the first video format parameter is a video format parameter corresponding to the A grade image quality; assuming that the current signal quality is identified as 3rd, the first video format parameter is a video format parameter corresponding to the C-range image quality.
204. The wearable device determines the first video format parameter as an adjusted video format parameter.
205. And the wearable equipment transmits the video data to be transmitted according to the adjusted video format parameters.
It can be seen that in the method shown in fig. 2, the wearable device can determine the current network environment according to the wireless signal quality when the wearable device transmits video data. Because the power consumption required by the wearable device for transmitting the video data is larger when the network environment is poor, the wearable device can reduce the video format parameters when transmitting the video data when detecting that the network environment is poor, thereby reducing the power consumption of the wearable device and reducing the heating and power consumption.
Referring to fig. 3, fig. 3 is a flow chart illustrating another video communication method according to an embodiment of the disclosure. In the method shown in fig. 3, the transmission environment parameter detected by the wearable device is the operating temperature of the wearable device, and the method shown in fig. 3 includes the following steps:
301. the wearable device detects an operating temperature of the wearable device when its current video data is transmitted.
In the embodiment of the invention, the working temperature of the wearable device can be the temperature of the CPU of the wearable device, and the wearable device can read the temperature of the CPU according to a certain frequency and monitor the temperature of the CPU in real time. As an optional implementation manner, before performing step 302, the wearable device may further determine whether the detected operating temperature exceeds a specified operating temperature threshold, if so, the wearable device performs step 302, and if not, the wearable device continues to transmit the video data to be transmitted according to the current video format parameter, and does not adjust the video format parameter.
302. The wearable device obtains the current ambient temperature at which the wearable device is located, and determines a current temperature difference between the operating temperature and the current ambient temperature.
In the embodiment of the invention, the wearable device can inquire the temperature of the location of the wearable device through the network interface as the current environment temperature of the wearable device; optionally, the wearable device may also obtain an ambient temperature detected by the temperature sensor of the wearable device as a current ambient temperature of the wearable device, which is not limited in the embodiment of the present invention.
303. And the wearable equipment determines a second video format parameter corresponding to the current temperature difference value according to the corresponding relation between the temperature difference value and the video format parameter.
In the embodiment of the present invention, the correspondence between the temperature difference and the video format parameter includes: as the temperature difference decreases, the quality of the video characterized by the video format parameters decreases. As an alternative embodiment, the wearable device may set the correspondence between the temperature difference value and the video format parameter using the specified operating temperature threshold and the specified ambient temperature threshold as the reference. For example, assuming that the operating temperature threshold is 48 ℃ and the ambient temperature threshold is 26 ℃, the quality of the video image of the video data to be transmitted can be divided into A, B, C three grades, and the quality of the video image is decreased sequentially. The corresponding relation between the temperature difference and the video format parameters can set the video format parameters corresponding to the temperature difference when the working temperature of the wearable device is lower than 48 ℃ as the video format parameters corresponding to the A-grade image quality; when the working temperature of the wearable device is higher than 48 ℃ and the current environment temperature is lower than 26 ℃, the video format parameter corresponding to the temperature difference value is a video format parameter corresponding to the B-grade image quality; the video format parameter corresponding to the temperature difference value when the working temperature of the wearable device is higher than 48 ℃ and the current environment temperature is higher than 26 ℃ is the video format parameter corresponding to the C-gear image quality. That is, the first temperature difference value when the working temperature is higher than 48 ℃ and the current environment temperature is lower than 26 ℃ is greater than the second temperature difference value when the working temperature is higher than 48 ℃ and the current environment temperature is higher than 26 ℃, so that the video image quality corresponding to the first temperature difference value is higher than the video image quality corresponding to the second temperature difference value.
304. The wearable device determines the second video format parameter as the adjusted video format parameter.
305. And the wearable equipment transmits the video data to be transmitted according to the adjusted video format parameters.
It can be seen that, in the method described in fig. 3, the wearable device may adjust the video image quality during video data transmission in real time according to the working temperature thereof, and further, a temperature difference between the working temperature of the wearable device and the current ambient temperature may be considered, when the temperature difference is smaller, the heat dissipation is slower, the video image quality is reduced, and when the temperature difference is larger, the heat dissipation is faster, the higher video image quality is adopted, so that the video image quality of the wearable device may be adjusted in consideration of the heat dissipation of the wearable device.
Referring to fig. 4, fig. 4 is a flowchart illustrating another video communication method according to an embodiment of the present invention. In the method shown in fig. 4, the transmission environment parameters detected by the wearable device are the wireless signal parameters and the operating temperature of the wearable device, and the method shown in fig. 4 includes the following steps:
401. the wearable device detects wireless signal parameters of the wearable device when the wearable device transmits current video data and the operating temperature of the wearable device.
402. The wearable device determines the current signal quality according to the signal strength, the network type and the network frequency band which are included in the wireless signal parameters, and determines a first video format parameter corresponding to the current signal quality according to the corresponding relation between the signal quality and the video format parameter.
In the embodiment of the present invention, the correspondence between the signal quality and the video format parameter includes: as the signal quality degrades, the video quality characterized by the video format parameters degrades.
403. And the wearable equipment determines a second video format parameter corresponding to the current temperature difference value according to the current temperature difference value between the working temperature and the current environment temperature of the wearable equipment and the corresponding relation between the temperature difference value and the video format parameter.
In the embodiment of the present invention, the correspondence between the temperature difference and the video format parameter includes: as the temperature difference decreases, the quality of the video characterized by the video format parameters decreases.
404. The wearable device determines whether the video quality characterized by the first video format parameter is lower than the video quality characterized by the second video format parameter, if so, step 405 is executed, and if not, step 406 is executed.
405. The wearable device determines the first video format parameter as an adjusted video format parameter.
406. The wearable device determines the second video format parameter as the adjusted video format parameter.
In the embodiment of the invention, the wearable device determines a first video format parameter according to the wireless signal parameter, determines a second video format parameter according to the temperature difference between the working temperature and the ambient temperature, and selects the parameter with poor video quality represented by the first video format parameter and the second video format parameter as the adjusted video format parameter, so that the network environment and the temperature can be comprehensively considered, and the final video image quality can be determined.
407. And the wearable equipment transmits the video data to be transmitted according to the adjusted video format parameters.
Therefore, in the method described in fig. 4, the wearable device can detect the wireless signal intensity, the working temperature of the wearable device, and the ambient temperature, respectively, so that the network environment and the temperature can be considered comprehensively to determine the final video image quality, and the heat generated by the wearable device in the video call process can be reduced to the maximum extent.
EXAMPLE III
Referring to fig. 5, fig. 5 is a schematic structural diagram of a wearable device according to an embodiment of the present invention. As shown in fig. 5, the wearable device may include:
the detection unit 501 is configured to detect a transmission environment parameter of the wearable device during current video data transmission;
in the embodiment of the invention, the transmission environment parameters comprise wireless signal parameters and/or the working temperature of the wearable equipment; the wireless signal parameter may be determined according to a current data transmission state quantity of the wearable device, and the data transmission state quantity may include a current network system, a network frequency band, a signal strength, and the like. The operating temperature of the wearable device may specifically be a temperature of a CPU of the wearable device when transmitting the video data.
An adjusting unit 502, configured to adjust a video format parameter according to the transmission environment parameter detected by the detecting unit 501;
in the embodiment of the present invention, the video format parameters may include parameters for representing video quality, such as a video frame rate and/or a video code rate. The embodiments of the present invention are not limited. As an optional implementation manner, in the embodiment of the present invention, the video format parameter may be positively correlated with the transmission environment parameter, that is, the transmission environment parameter indicates that the more the current transmission environment is favorable for video data transmission, the higher the video quality represented by the video format parameter corresponding to the transmission environment parameter is.
As an optional implementation manner, the wearable device may pre-divide the transmission environment level indicated by the transmission environment parameter and the video quality level represented by the video format parameter, where one transmission environment level corresponds to one video quality level, and the transmission environment level is positively correlated to the video quality level, the value of the transmission environment parameter corresponding to each transmission environment level is different, and the value of the video format parameter corresponding to each video quality level is different. Accordingly, the way for the adjusting unit 502 to determine the corresponding video format parameter according to the transmission environment parameter detected by the detecting unit 501 may be: the adjusting unit 502 identifies a target transmission environment level to which the transmission environment parameter detected by the detecting unit 501 belongs, and determines a target video quality level corresponding to the target transmission environment level; and determining a video format parameter corresponding to the target video quality level as a video format parameter corresponding to the detected transmission environment parameter.
A transmitting unit 503, configured to transmit the video data to be transmitted according to the adjusted video format parameter.
Therefore, in the embodiment of the present invention, the wearable device shown in fig. 5 is implemented, so that the transmission environment parameter can be automatically detected, and the video format parameter can be adjusted according to the transmission environment parameter, so as to adjust the quality of the video image to be transmitted, so that the power consumption of the wearable device can reach a dynamic balance state, and further reduce the heat generation of the wearable device.
Example four
Referring to fig. 5, an embodiment of the invention discloses a structural schematic diagram of the wearable device shown in fig. 5. In the embodiment of the present invention, when the detecting unit 501 is configured to detect a wireless signal parameter, the manner for adjusting the video format parameter according to the transmission environment parameter by the adjusting unit 502 is specifically:
an adjusting unit 502, configured to determine current signal quality according to the signal strength, the network type, and the network frequency band included in the wireless signal parameter; determining a first video format parameter corresponding to the current signal quality according to the corresponding relation between the signal quality and the video format parameter, and determining the first video format parameter as an adjusted video format parameter;
the corresponding relation between the signal quality and the video format parameters comprises: as the signal quality degrades, the video quality characterized by the video format parameters degrades.
Optionally, in this embodiment of the present invention, the adjusting unit 502 may further determine whether the current network frequency band is in a weak signal area according to the detected signal strength, and if the current network frequency band is in the weak signal area, determine whether the current network frequency band is in a preset specific frequency band, where the specific frequency band is a frequency band in which power required for transmitting data in the frequency band is higher than a specified threshold; and when the wearable device is determined to be in the weak signal area and the current network frequency band is in the specific frequency band, the adjusting unit 502 triggers and executes an operation of determining the first video format parameter corresponding to the current signal quality according to the corresponding relationship between the signal quality and the video format parameter.
Or, in the embodiment of the present invention, when the detecting unit 501 is configured to detect the operating temperature of the wearable device, the manner for the adjusting unit 502 to adjust the video format parameter according to the transmission environment parameter is specifically:
an adjusting unit 502, configured to obtain a current ambient temperature at which the wearable device is located, and determine a current temperature difference between the obtained working temperature and the current ambient temperature; determining a second video format parameter corresponding to the current temperature difference value according to the corresponding relation between the temperature difference value and the video format parameter, and determining the second video format parameter as the adjusted video format parameter;
wherein, the corresponding relation between the temperature difference value and the video format parameter comprises: as the temperature difference decreases, the quality of the video characterized by the video format parameters decreases.
Optionally, in this embodiment of the present invention, the adjusting unit 502 may be further configured to determine whether the working temperature detected by the detecting unit 501 exceeds a specified working temperature threshold, and if so, trigger execution of an operation of acquiring the current ambient temperature of the wearable device and determining a current temperature difference between the acquired working temperature and the current ambient temperature.
Or, in the embodiment of the present invention, when the detecting unit 501 is configured to detect the wireless signal parameter and the operating temperature of the wearable device, the manner that the adjusting unit 502 is configured to adjust the video format parameter according to the transmission environment parameter is specifically:
an adjusting unit 502, configured to determine current signal quality according to the signal strength, the network type, and the network frequency band included in the wireless signal parameter, and determine a first video format parameter corresponding to the current signal quality according to a corresponding relationship between the signal quality and the video format parameter; determining a second video format parameter corresponding to the current temperature difference value according to the current temperature difference value between the working temperature and the current environment temperature of the wearable device and the corresponding relation between the temperature difference value and the video format parameter; judging whether the video quality represented by the video format parameter is lower than the video quality represented by the second video format parameter, if so, determining the first video format parameter as the adjusted video format parameter, and if not, determining the second video format parameter as the adjusted video format parameter;
the corresponding relation between the signal quality and the video format parameters comprises: as the signal quality decreases, the video quality characterized by the video format parameters decreases; the corresponding relation between the temperature difference value and the video format parameter comprises the following steps: as the temperature difference decreases, the quality of the video characterized by the video format parameters decreases.
As can be seen, in the embodiment of the present invention, when the wearable device shown in fig. 5 is implemented, the wireless signal parameter and the operating temperature of the wearable device may be respectively detected, and the video format parameter may be adjusted according to the wireless signal parameter or the video format parameter may be adjusted according to the operating temperature or the wireless signal parameter and the operating temperature are integrated to adjust the video format parameter, so that the video image quality of the video data to be transmitted may be reduced in the case of a poor network environment and/or a poor heat dissipation condition, and the heat generated by the wearable device in the video call process may be reduced to the greatest extent.
EXAMPLE five
Referring to fig. 6, fig. 6 is a schematic structural diagram of another wearable device disclosed in the embodiment of the present invention. As shown in fig. 6, the wearable device may include:
a memory 601 in which executable program code is stored;
a processor 602 coupled to a memory 601;
among other things, the processor 602 calls the executable program code stored in the memory 601 to execute any one of the video communication methods shown in fig. 1 or fig. 2.
It should be noted that the mobile terminal shown in fig. 6 may further include components, which are not shown, such as a power supply, an input key, a camera, a display panel, a speaker, a screen, an RF circuit, a Wi-Fi module, a bluetooth module, and a sensor, which are not described in detail in this embodiment.
An embodiment of the present invention discloses a computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute any one of the video communication methods shown in fig. 1 or fig. 2.
An embodiment of the invention discloses a computer program product comprising a non-transitory computer readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute any one of the video communication methods shown in fig. 1 or fig. 2.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. Those skilled in the art should also appreciate that the embodiments described in this specification are exemplary and alternative embodiments, and that the acts and modules illustrated are not required in order to practice the invention.
In various embodiments of the present invention, it should be understood that the sequence numbers of the above-mentioned processes do not imply an inevitable order of execution, and the execution order of the processes should be determined by their functions and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated units, if implemented as software functional units and sold or used as a stand-alone product, may be stored in a computer accessible memory. Based on such understanding, the technical solution of the present invention, which is a part of or contributes to the prior art in essence, or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several requests for causing a computer device (which may be a personal computer, a server, a network device, or the like, and may specifically be a processor in the computer device) to execute part or all of the steps of the above-described method of each embodiment of the present invention.
It will be understood by those skilled in the art that all or part of the steps in the methods of the embodiments described above may be implemented by hardware instructions of a program, and the program may be stored in a computer-readable storage medium, where the storage medium includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CD-ROM), or other Memory, such as a magnetic disk, or a combination thereof, A tape memory, or any other medium readable by a computer that can be used to carry or store data.
The above detailed description is provided for a video communication method and a wearable device disclosed in the embodiments of the present invention, and the principles and embodiments of the present invention are described herein by applying specific examples, and the above description of the embodiments is only provided to help understanding the method and the core idea of the present invention. Meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (9)

1. A method of video communication, the method comprising:
detecting transmission environment parameters of wearable equipment during current video data transmission, wherein the transmission environment parameters comprise wireless signal parameters and the working temperature of the wearable equipment;
determining the current signal quality according to the signal strength, the network type and the network frequency band which are included in the wireless signal parameters, and determining a first video format parameter corresponding to the current signal quality according to the corresponding relation between the signal quality and the video format parameter;
determining a second video format parameter corresponding to the current temperature difference value according to the current temperature difference value between the working temperature and the current environment temperature of the wearable device and the corresponding relation between the temperature difference value and the video format parameter;
judging whether the video quality represented by the first video format parameter is lower than the video quality represented by the second video format parameter, if so, determining the first video format parameter as the adjusted video format parameter;
if not, determining the second video format parameter as the adjusted video format parameter;
transmitting video data to be transmitted according to the adjusted video format parameters;
before determining the first video format parameter corresponding to the current signal quality according to the corresponding relation between the signal quality and the video format parameter, the method further comprises:
judging whether the network frequency band is in a preset specific frequency band or not according to the signal intensity, if so, judging whether the network frequency band is in a weak signal area or not; when the network frequency band is in a specific frequency band, the power required by the wearable device for transmitting data is higher than a specified threshold value; and if the network frequency band is in a specific frequency band, executing the step of determining the first video format parameter corresponding to the current signal quality according to the corresponding relation between the signal quality and the video format parameter.
2. The video communication method according to claim 1, wherein said correspondence of signal quality to video format parameters comprises: as the signal quality decreases, the video quality characterized by the video format parameters decreases; the corresponding relation between the temperature difference value and the video format parameter comprises the following steps: as the temperature difference decreases, the quality of the video characterized by the video format parameters decreases.
3. The video communication method according to any one of claims 1 to 2, wherein the video format parameters include: video frame rate and/or video bitrate.
4. A wearable device, comprising:
the wearable device comprises a detection unit, a processing unit and a display unit, wherein the detection unit is used for detecting transmission environment parameters of the wearable device during current video data transmission, and the transmission environment parameters comprise wireless signal parameters and the working temperature of the wearable device;
the adjusting unit is used for determining the current signal quality according to the signal strength, the network type and the network frequency band which are included in the wireless signal parameters, and determining a first video format parameter corresponding to the current signal quality according to the corresponding relation between the signal quality and the video format parameter; determining a second video format parameter corresponding to the current temperature difference value according to the current temperature difference value between the working temperature and the current environment temperature of the wearable device and the corresponding relation between the temperature difference value and the video format parameter; judging whether the video quality represented by the first video format parameter is lower than the video quality represented by the second video format parameter, if so, determining the first video format parameter as the adjusted video format parameter, and if not, determining the second video format parameter as the adjusted video format parameter;
the transmission unit is used for transmitting the video data to be transmitted according to the adjusted video format parameters;
before determining the first video format parameter corresponding to the current signal quality according to the correspondence between the signal quality and the video format parameter, the wearable device is further configured to:
judging whether the network frequency band is in a preset specific frequency band or not according to the signal intensity, if so, judging whether the network frequency band is in a weak signal area or not; when the network frequency band is in a specific frequency band, the power required by the wearable device for transmitting data is higher than a specified threshold value; and if the network frequency band is in a specific frequency band, triggering and executing the step of determining the first video format parameter corresponding to the current signal quality according to the corresponding relation between the signal quality and the video format parameter.
5. The wearable device of claim 4, wherein the correspondence of signal quality to video format parameters comprises: as the signal quality decreases, the video quality characterized by the video format parameters decreases; the corresponding relation between the temperature difference value and the video format parameter comprises the following steps: as the temperature difference decreases, the quality of the video characterized by the video format parameters decreases.
6. The wearable device according to any of claims 4-5, wherein the video format parameters comprise: video frame rate and/or video bitrate.
7. A wearable device, comprising:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to perform the video communication method of any of claims 1-3.
8. A computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute the video communication method according to any one of claims 1 to 3.
9. A computer program product, characterized in that it causes a computer to carry out the video communication method according to any one of claims 1 to 3, when said computer program product is run on said computer.
CN201810781721.9A 2018-07-17 2018-07-17 Video communication method and wearable device Active CN108882027B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810781721.9A CN108882027B (en) 2018-07-17 2018-07-17 Video communication method and wearable device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810781721.9A CN108882027B (en) 2018-07-17 2018-07-17 Video communication method and wearable device

Publications (2)

Publication Number Publication Date
CN108882027A CN108882027A (en) 2018-11-23
CN108882027B true CN108882027B (en) 2021-06-01

Family

ID=64302411

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810781721.9A Active CN108882027B (en) 2018-07-17 2018-07-17 Video communication method and wearable device

Country Status (1)

Country Link
CN (1) CN108882027B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110266383B (en) * 2019-06-18 2021-07-20 Oppo广东移动通信有限公司 Data transmission method and related product
CN113205661A (en) * 2021-04-30 2021-08-03 广东艾檬电子科技有限公司 Anti-cheating implementation method and system, intelligent wearable device and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104135444A (en) * 2013-05-02 2014-11-05 腾讯科技(深圳)有限公司 A method and a device for controlling multimedia data transmission flow
US9930340B2 (en) * 2014-06-20 2018-03-27 Qualcomm Incorporated Systems and methods for selectively performing a bitstream conformance check
CN104270572A (en) * 2014-10-21 2015-01-07 深圳市中兴移动通信有限公司 Shooting method and device
CN105872441A (en) * 2016-01-15 2016-08-17 乐视移动智能信息技术(北京)有限公司 Video communication method and device

Also Published As

Publication number Publication date
CN108882027A (en) 2018-11-23

Similar Documents

Publication Publication Date Title
CN107493597B (en) Method, device and system for reducing power consumption of mobile terminal
CN110149132B (en) Transmitting antenna switching method and terminal equipment
CN108632930B (en) Network searching control method and device and mobile terminal
CN104363638B (en) router signal intensity adjusting method and device
CN109803278B (en) Non-connection state measuring method, terminal and base station
CN106714250B (en) Cell registration method and device and computer readable storage medium
CN107566985B (en) Method and device for determining main SIM card of mobile terminal
CN108965306B (en) Call processing method and mobile terminal
EP2929729B1 (en) Methods and apparatus for selecting an inter-radio access technology for an electronic device
US20170134461A1 (en) Method and device for adjusting definition of a video adaptively
CN108574778B (en) Screen projection brightness adjusting method and related product
WO2021031793A1 (en) Wireless high-fidelity wi-fi connection control method and related product
CN108111679B (en) Anti-interference method of electronic device and related product
CN108882027B (en) Video communication method and wearable device
CN108200421B (en) White balance processing method, terminal and computer readable storage medium
US11641595B2 (en) Method and apparatus for determining channel occupancy information
CN112383928B (en) Cell reselection method, terminal equipment and storage medium
KR20160139776A (en) Method for cancelling noise of audio signal and electronic device thereof
CN111866976A (en) Network switching method and device
CN115174418A (en) Communication environment safety early warning method and device, electronic equipment and storage medium
CN113286335B (en) Frequency point switching method and device, storage medium and access point
CN107622234B (en) Method and device for displaying budding face gift
CN113407423A (en) Signal intensity display method and signal intensity display device
CN110536409B (en) IMS re-registration method and mobile terminal
CN111883146A (en) Cross-platform distributed nearby wake-up method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant