CN114095661B - Low-power-consumption control power supply management method and device and computer equipment - Google Patents

Low-power-consumption control power supply management method and device and computer equipment Download PDF

Info

Publication number
CN114095661B
CN114095661B CN202210055715.1A CN202210055715A CN114095661B CN 114095661 B CN114095661 B CN 114095661B CN 202210055715 A CN202210055715 A CN 202210055715A CN 114095661 B CN114095661 B CN 114095661B
Authority
CN
China
Prior art keywords
value
low
power
video
consumption mode
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
CN202210055715.1A
Other languages
Chinese (zh)
Other versions
CN114095661A (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.)
Shenzhen Peiyi Microelectronics Co ltd
Original Assignee
Witmotion Shenzhen 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 Witmotion Shenzhen Co ltd filed Critical Witmotion Shenzhen Co ltd
Priority to CN202210055715.1A priority Critical patent/CN114095661B/en
Publication of CN114095661A publication Critical patent/CN114095661A/en
Application granted granted Critical
Publication of CN114095661B publication Critical patent/CN114095661B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/65Control of camera operation in relation to power supply
    • H04N23/651Control of camera operation in relation to power supply for reducing power consumption by affecting camera operations, e.g. sleep mode, hibernation mode or power off of selective parts of the camera

Abstract

The application relates to the technical field of cameras, and discloses a low-power-consumption control power management method, device and computer equipment, wherein the number of accessed intelligent terminals is obtained and is judged, whether a linkage mode needs to be started currently can be determined, if the number of the currently accessed intelligent terminals is more than one, the situation that data transmission is simultaneously carried out on the cameras of a plurality of intelligent terminals at the moment is shown, and therefore the low-power-consumption mode of power management and the low-power-consumption mode of audio frequency can be started.

Description

Low-power-consumption control power supply management method and device and computer equipment
Technical Field
The present application relates to the field of camera technologies, and in particular, to a low power consumption control power management method and apparatus, and a computer device.
Background
It is more and more common for multiple people to use the cameras on their respective intelligent terminals to carry out video conferences and video chatting, and with the development of the internet of things, a television with a camera can be accessed in the video chatting, in this way, the user can also perform video chat with other people through the television, however, in the prior art, when performing video chat with the camera, the camera works for a long time, which results in excessive power consumption, for example, when user a uses a television to perform video chat with user B, user C and user D, it may happen that the user leaves the front of the tv, but the camera is still working, and when the user a has handled the emergency, the camera may have been continuously operated for 2-3 hours, so how to solve the technical problem of excessive power consumption of the camera becomes important.
Disclosure of Invention
The application mainly aims to provide a low-power-consumption control power supply management method, and aims to solve the technical problem that power consumption of a camera in the prior art is too heavy.
The application provides a low-power consumption control power supply management method, which is characterized by comprising the following steps:
receiving video chat invitation instructions sent by different intelligent terminals;
acquiring the number of the accessed intelligent terminals according to the video chat invitation instruction;
judging whether the number of the intelligent terminals is more than one;
if the number of the intelligent terminals is more than one, starting a power management low-power-consumption mode and an audio low-power-consumption mode, wherein the power management low-power-consumption mode comprises a power management ultra-low-power-consumption mode, a middle-level power management ultra-low-power-consumption mode and a middle-level power management advanced low-power-consumption mode;
and/or switching the front camera and the rear camera;
wherein the step of initiating the power management low power mode comprises:
polling and reading a first pixel value of a video shot by each intelligent terminal at any point in a front camera layer, wherein the numerical range of the pixel value in the front camera layer is between 0 and 255;
determining whether the first pixel value is greater than ninety percent of the pixel values in the layer;
if the first pixel value is larger than ninety percent of the pixel values in the image layer, acquiring a numerical value of the first pixel value, and judging whether the numerical value of the first pixel value is smaller than or equal to sixty, if the numerical value of the first pixel value is smaller than or equal to sixty, judging that the current value is a black gray value, and starting a power management low-power consumption mode;
wherein the step of initiating the audio low power mode comprises:
acquiring a lowest level value and a highest level value in audio signals, wherein the audio signals comprise AC3 audio signals, Mono audio signals and Stereo audio signals;
calculating the audio mean value of the corresponding audio signal according to the lowest level value and the highest level value;
acquiring video transmission data of each intelligent terminal, and judging whether people appear in the video or not according to the video transmission data;
if the character appears in the video, setting a transmission channel of an audio low-power consumption mode as a high-speed data transmission channel according to the audio mean value;
if no figure appears in the video, setting the transmission channel of the audio low-power consumption mode as a low-speed data transmission channel;
wherein, the step of switching leading camera and rear camera includes:
acquiring a Y-axis angle value of an intelligent terminal direction sensor;
judging whether the change angle of the Y-axis angle value is within a first preset range value within a preset time period;
if the change angle of the Y-axis angle value is within a first preset range value, switching the camera of the intelligent terminal into a front camera;
judging whether the change of the Y-axis angle value is within a second preset range value within a preset time period;
and if the change of the Y-axis angle value is within a second preset range value, switching the camera of the intelligent terminal into a rear camera.
Preferably, before the step of obtaining the number of the accessed intelligent terminals, the method further includes:
acquiring transmission data of an intelligent terminal and the type of the transmission data, wherein the type comprises a control type, a picture type and a video type;
constructing a bus protocol corresponding to the type of the transmission data according to the type of the transmission data, wherein the bus protocol comprises the following steps:
constructing a first bus protocol corresponding to the control type according to the control type;
constructing a second bus protocol corresponding to the picture type according to the picture type;
constructing a third bus protocol corresponding to the video type according to the video type;
wherein the step of constructing a first bus protocol corresponding to the control type according to the control type includes:
creating a control command serial bidirectional bus, wherein the control command serial bidirectional bus occupies two idle pins;
constructing a two-wire serial bus protocol, and taking the two-wire serial bus protocol as a first bus protocol to carry out first marking;
the step of constructing a second bus protocol corresponding to the picture type according to the picture type comprises the following steps:
establishing a picture serial bus, wherein the picture serial bus occupies three pins and comprises a differential level sending pin, a differential level receiving pin and a differential ground wire receiving pin;
constructing a picture serial bus protocol, and performing second marking by taking the picture serial bus protocol as a second bus protocol;
wherein the step of constructing a third bus protocol corresponding to the video type according to the video type comprises:
creating a video serial bus, wherein the video serial bus occupies four pins and comprises a clock pin, a quick data input pin, a quick data output pin and a plurality of data selection pins;
and constructing a video serial bus protocol, and performing third marking by taking the video serial bus protocol as a third bus protocol.
The present application further provides a low power consumption control power management device, including:
the first acquisition module is used for receiving video chat invitation instructions sent by different intelligent terminals and acquiring the number of the accessed intelligent terminals according to the video chat invitation instructions;
the first judgment module is used for judging whether the number of the intelligent terminals is more than one;
the first starting module is used for starting a power management low-power-consumption mode and an audio low-power-consumption mode if the number of the intelligent terminals is more than one, wherein the power management low-power-consumption mode comprises a power management ultra-low-power-consumption mode, a middle-level power management ultra-low-power-consumption mode and a middle-level power management advanced low-power-consumption mode;
the switching module is used for switching the front camera and the rear camera;
wherein the first starting module comprises:
the reading unit is used for polling and reading a first pixel value of a video shot by each intelligent terminal at any point in a front camera image layer, wherein the numerical range of the pixel value in the front camera image layer is between 0 and 255;
the judging unit is used for judging whether the first pixel value is larger than ninety percent of pixel values in the image layer;
the judging unit is used for acquiring a numerical value of a first pixel value if the first pixel value is larger than ninety percent of the pixel value in the image layer, judging whether the numerical value of the first pixel value is smaller than or equal to sixty, and if the numerical value of the first pixel value is smaller than or equal to sixty, judging that the first pixel value is a black gray numerical value currently, and starting a power management low-power-consumption mode;
wherein the first starting module further comprises:
the device comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring a lowest level value and a highest level value in audio signals, and the audio signals comprise AC3 audio signals, Mono audio signals and Stereo audio signals;
the computing unit is used for computing the audio mean value of the corresponding audio signal according to the lowest level value and the highest level value;
the second acquisition unit is used for acquiring video transmission data of each intelligent terminal and judging whether people appear in the video or not according to the video transmission data;
the first setting unit is used for setting a transmission channel of an audio low-power consumption mode as a high-speed data transmission channel according to the audio mean value if a person appears in the video;
the second setting unit is used for setting the transmission channel of the audio low-power consumption mode as a low-speed data transmission channel if no person appears in the video;
wherein, the switching module includes:
the third acquisition unit is used for acquiring the Y-axis angle value of the intelligent terminal direction sensor;
the first judgment unit is used for judging whether the change angle of the Y-axis angle value is within a first preset range value within a preset time period;
the first switching unit is used for switching the camera of the intelligent terminal into a front camera if the change angle of the Y-axis angle value is within a first preset range value;
the second judging unit is used for judging whether the change of the Y-axis angle value is within a second preset range value within a preset time period;
and the second switching unit is used for switching the camera of the intelligent terminal into a rear camera if the change of the Y-axis angle value is within a second preset range value.
The application also provides a computer device, which comprises a memory and a processor, wherein the memory stores a computer program, and the processor realizes the step of controlling power management with low power consumption when executing the computer program.
The present application also provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the above-described low power consumption control power management.
The beneficial effect of this application does: the number of the accessed intelligent terminals is obtained and judged, whether the linkage mode needs to be started at present can be determined, if the number of the currently accessed intelligent terminals is larger than one, data transmission is performed on the cameras of the intelligent terminals at the moment, and therefore the power management low-power-consumption mode and the audio low-power-consumption mode can be started.
Drawings
FIG. 1 is a schematic diagram illustrating a low power consumption control power management process according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a low power consumption control power management apparatus according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an internal structure of a computer device according to an embodiment of the present application;
the implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
As shown in fig. 1 to fig. 3, the present application provides a low power consumption control power management, which can be applied to any intelligent terminal with a camera, such as a smart phone, a tablet computer, a desktop computer, a television, and the like, and includes:
s1, acquiring the number of the accessed intelligent terminals;
s2, judging whether the number of the intelligent terminals is more than one;
s3, if the number of the intelligent terminals is more than one, starting a power management low-power-consumption mode and an audio low-power-consumption mode, wherein the power management low-power-consumption mode comprises a power management ultra-low-power-consumption mode, a middle-level power management ultra-low-power-consumption mode and a middle-level power management high-level low-power-consumption mode;
and S4, and/or switching the front camera and the rear camera.
As described in the foregoing steps S1-S4, by obtaining the number of the accessed intelligent terminals and determining the number, it can be determined whether the linkage mode needs to be started at present, that is, whether the accessed intelligent terminals need to be connected through the internet of things. In order to explain the embodiment more clearly, the embodiment is applied to a television for explanation, an intelligent camera is arranged on the television, and the intelligent camera can perform unified management, scheduling and control on the accessed camera; the television can determine the number of the accessed intelligent terminals by receiving video chat invitation instructions sent by different intelligent terminals, if the number of the currently accessed intelligent terminals is more than one, the equipment name of each intelligent terminal is obtained, and the ID corresponding to the equipment name of each intelligent terminal is stored; because the cameras of the intelligent terminals simultaneously transmit data, the power management low-power-consumption mode and the audio low-power-consumption mode can be started, so that the energy consumption of a power supply can be reduced in the data transmission process, resources are saved, the switching mode of the front camera and the rear camera can be further started, the switching between the front camera and the rear camera can be automatically carried out according to requirements, manual switching of a user is not needed, and user experience is improved.
In an embodiment, before the step S1 of obtaining the number of accessed intelligent terminals, the method further includes:
s11, acquiring transmission data of the intelligent terminal and the type of the transmission data, wherein the type comprises a control type, a picture type and a video type;
s12, constructing a bus protocol corresponding to the type of the transmission data according to the type of the transmission data, including:
s13, constructing a first bus protocol corresponding to the control type according to the control type;
s14, constructing a second bus protocol corresponding to the picture type according to the picture type;
s15, constructing a third bus protocol corresponding to the video type according to the video type;
wherein the step S13 of constructing the first bus protocol corresponding to the control type according to the control type includes:
s131, creating a control command serial bidirectional bus, wherein the control command serial bidirectional bus occupies two idle pins;
s132, constructing a double-wire serial bus protocol, and performing first marking by taking the double-wire serial bus protocol as a first bus protocol;
step S14, which is to construct a second bus protocol corresponding to the picture type according to the picture type, includes:
s141, establishing a picture serial bus, wherein the picture serial bus occupies three pins and comprises a differential level sending pin, a differential level receiving pin and a differential ground wire receiving pin;
s142, constructing a picture serial bus protocol, and performing second marking by taking the picture serial bus protocol as a second bus protocol;
wherein the step S15 of constructing a third bus protocol corresponding to the video type according to the video type includes:
s151, creating a video serial bus, wherein the video serial bus occupies four pins and comprises a clock pin, a quick data input pin, a quick data output pin and a plurality of data selection pins;
s152, constructing a video serial bus protocol, and performing third marking by taking the video serial bus protocol as a third bus protocol.
As described in the foregoing steps S11-S15, since the types of data transmission of each accessed intelligent terminal may be different, if one bus protocol is adopted, for example, the third bus protocol is adopted, the transmission amount of the video type is large, which may increase the energy consumption of the power supply, and based on this, the present embodiment constructs different bus protocols by obtaining the types of data transmission of the intelligent terminal, which may reduce the consumption of resources and energy consumption;
specifically, the step S132 of constructing the two-wire serial bus protocol includes: s1321, acquiring a first pulse value of the two pins subjected to high-low level switching under a first preset condition; s1322, obtaining a second pulse value of the two pins which are switched between high and low levels under a second preset condition; s133, judging whether the first pulse value is larger than the second pulse value; s134, if the first pulse value is larger than the second pulse value, constructing a two-wire serial bus protocol; specifically, a first pulse value of two idle pins with high and low level switching within 1ms of unit time and a second pulse value of two idle pins with high and low level switching within 16ms of total unit time can be obtained, if the first pulse value is greater than the second pulse value, it indicates that the two-wire response has been confirmed, at this time, a two-wire serial bus can be constructed, and the maximum transmission bandwidth is set to be four times of the transmission bandwidth of the accessed intelligent terminal, and of course, the maximum transmission bandwidth can also be set to other parameters, which is not limited uniquely here.
Specifically, the step S142 of constructing the picture serial bus protocol includes: and controlling the differential level sending pin and the differential level receiving pin to be at a high level at the same time, detecting whether the switching from the high level to the low level of the differential level sending pin is 8 pulse levels, if the switching is 8 pulse levels, controlling the number of pictures output by the differential level sending pin to be 16, the value of each row pixel of each picture to be 2046 divided by 8, and after the differential level receiving pin receives 16 pictures, setting the differential level receiving pin to be at the low level, thereby completing the construction of the picture serial bus protocol.
Specifically, the step S152 of constructing the video serial bus protocol includes: detecting whether the number of high-low level data pulses of a clock pin in unit time is 12, if so, acquiring the value of a line of pixel points of a video, dividing the value of the line of pixel points by 16 (bit) to obtain a quotient, and taking the quotient as the input bandwidth value of a fast data input pin; dividing the value of one row of pixel points by 8 (bit) to obtain a quotient value, and taking the quotient value as an output bandwidth value of a fast data output pin; acquiring the number of Flash transmission modules of the intelligent terminal, if the number is more than 2, setting the transmission speed according to the parameters of the Flash transmission modules, and if the set transmission speed is more than the average transmission speed (the average transmission speed refers to the average transmission speed of the accessed intelligent terminal), setting 4 data chips to be in a high linkage state through a plurality of data selection pins; and if the set transmission speed is lower than the average transmission speed, setting any data chip to be in a high linkage state through the plurality of data selection pins.
In one embodiment, the step S3 of starting the power management low power consumption mode includes:
s31, polling and reading a first pixel value of a video shot by each intelligent terminal at any point in a front camera image layer, wherein the numerical range of the pixel value in the front camera image layer is between 0 and 255;
s32, judging whether the first pixel value is larger than ninety percent of the pixel values in the image layer;
s33, if the first pixel value is larger than ninety percent of the pixel values in the image layer, obtaining a numerical value of the first pixel value, and judging whether the numerical value of the first pixel value is smaller than or equal to sixty, if the numerical value of the first pixel value is smaller than or equal to sixty, judging that the first pixel value is a black gray value at present, and starting a power management low-power consumption mode;
as described in the above steps S31-S33, different levels of power management low power modes may be turned on according to the magnitude of the obtained first pixel value; for example, if the first pixel value is obtained from one hundredth of the layer, it may be determined whether the first pixel value is greater than ninety percent of the entire layer, for example, if Rgain, Ggain, Bgain of the first pixel value are greater than ninety percent of the entire layer, such as 200 (0-255, black-white) for the first pixel value, and 200 for ninety percent of the entire layer, then it is determined that the color value is currently white; for example, if the first pixel value is 20 (0-255, black-white), and ninety percent of the pixel values of the entire layer are less than or equal to 20, then it is determined that the pixel value is currently a black gray value; when the black and gray value is judged, the user leaves from the camera, and the power management ultra-low-level low-power-consumption mode can be started, so that unnecessary energy consumption is reduced. For another example, by obtaining the first pixel value from twenty percent of the layer, it may be determined whether the first pixel value is greater than ninety percent of the entire layer, for example, if Rgain, Ggain, Bgain of the first pixel value are greater than ninety percent of the entire layer, for example, the first pixel value is 200 (0-255, black-white), and ninety percent of the entire layer are greater than 200, then it is determined that the color value is currently white; for example, if the first pixel value is 30 (0-255, black-white), and ninety percent of the pixel values of the entire layer are all less than or equal to 30, it is determined that the current pixel value is a black gray value, and the intermediate-level power management ultra-low-level low-power mode may be turned on; for another example, by obtaining a first pixel value from fifty percent of the layer, it may be determined whether the first pixel value is greater than ninety percent of the entire layer, for example, if Rgain, Ggain, Bgain of the first pixel value are greater than ninety percent of the entire layer, for example, the first pixel value is 200 (0-255, black-white), and ninety percent of the entire layer are greater than 200, then it is determined that the color value is currently white; for example, the first pixel value is 60 (0-255, black-white), and ninety percent of the pixel values of the entire layer are all less than or equal to 60, then it is determined that the current pixel value is a black gray value, and the middle-level power management advanced low power mode can be turned on.
In one embodiment, the step S4 of starting the audio low power consumption mode includes:
s41, acquiring a lowest level value and a highest level value in the audio signals, wherein the audio signals comprise AC3 audio signals, Mono audio signals and Stereo audio signals;
s42, calculating the audio mean value of the corresponding audio signal according to the lowest level value and the highest level value;
s43, video transmission data of each intelligent terminal are obtained, and whether people appear in the video or not is judged according to the video transmission data;
s44, if the character appears in the video, setting a transmission channel of an audio low-power consumption mode as a high-speed data transmission channel according to the audio mean value;
s45, if no character appears in the video, the transmission channel in the audio low power consumption mode is set as the low-speed data transmission channel.
As described in the above steps S41-S45, by acquiring the audio signal, the audio format of the input audio signal can be determined from the audio signal, and the audio mean value of each audio format can be calculated in different audio formats, so that when a character appears in the video, it is determined that different high-channel transmission can be set according to different audio mean values, thereby reducing the waste of resources.
In one embodiment, the step S5 of starting the front camera and rear camera switching mode includes:
s51, acquiring a Y-axis angle value of the intelligent terminal direction sensor;
s52, judging whether the change angle of the Y-axis angle value is within a first preset range value within a preset time period;
s53, if the change angle of the Y-axis angle value is within a first preset range value, switching the camera of the intelligent terminal into a front camera;
s54, judging whether the change of the Y-axis angle value is within a second preset range value within a preset time period;
and S55, if the change of the Y-axis angle value is within a second preset range value, switching the camera of the intelligent terminal into a rear camera.
As described in the above steps S51-S55, when it is obtained that the change of the Y-axis angle value of the intelligent terminal direction sensor is within a first preset range value of 0-90 degrees, the camera of the intelligent terminal may be switched to the front camera, and a first identification may be performed on the front camera; when the change of the acquired Y-axis angle value of the intelligent terminal direction sensor is within a second preset range value of 90-180 degrees, the camera of the intelligent terminal can be switched to a rear camera, and second identification is carried out on the rear camera; therefore, the automatic switching between the front camera and the rear camera can be realized; preferably, whether the switching mode of the front camera and the rear camera is started or not can be judged by detecting whether the power management low-power-consumption mode and the audio low-power-consumption mode are started or not, specifically, when the power management low-power-consumption mode and the audio low-power-consumption mode are both started, the front camera is started, the change of the Y-axis angle value of the intelligent terminal direction sensor is continuously detected, and the front camera is controlled to be started or switched to the rear camera according to the change of the Y-axis angle value.
The present application further provides a low power consumption control power management device, including:
the first acquisition module 1 is used for acquiring the number of the accessed intelligent terminals;
the first judging module 2 is used for judging whether the number of the intelligent terminals is more than one;
the first starting module 3 is used for starting a power management low-power-consumption mode and an audio low-power-consumption mode if the number of the intelligent terminals is more than one, wherein the power management low-power-consumption mode comprises a power management ultra-low-power-consumption mode, a middle-level power management ultra-low-power-consumption mode and a middle-level power management advanced low-power-consumption mode;
and the switching module 4 is used for switching the front camera and the rear camera.
In one embodiment, the low power consumption control power management device further comprises:
the second acquisition module is used for acquiring transmission data of the intelligent terminal and types of the transmission data, wherein the types comprise a control type, a picture type and a video type;
the building module is used for building a bus protocol corresponding to the type of the transmission data according to the type of the transmission data, and comprises:
the first bus protocol unit is used for constructing a first bus protocol corresponding to the control type according to the control type;
the second bus protocol unit is used for constructing a second bus protocol corresponding to the picture type according to the picture type;
the third bus protocol unit is used for constructing a third bus protocol corresponding to the video type according to the video type;
wherein, the first bus protocol unit includes:
the device comprises a first creating subunit, a second creating subunit and a control unit, wherein the first creating subunit is used for creating a control command serial bidirectional bus, and the control command serial bidirectional bus occupies two idle pins;
the first constructing subunit is used for constructing a two-wire serial bus protocol and marking the two-wire serial bus protocol as a first bus protocol for the first marking;
wherein the second bus protocol unit includes:
the second establishing subunit is used for establishing a picture serial bus, wherein the picture serial bus occupies three pins and comprises a differential level sending pin, a differential level receiving pin and a differential ground wire receiving pin;
the second construction subunit is used for constructing a picture serial bus protocol and performing second marking by taking the picture serial bus protocol as a second bus protocol;
wherein, the third bus protocol unit includes:
the third creating subunit is used for creating a video serial bus, wherein the video serial bus occupies four pins and comprises a clock pin, a fast data input pin, a fast data output pin and a plurality of data selection pins;
and the third constructing subunit is used for constructing a video serial bus protocol and performing third marking by taking the video serial bus protocol as a third bus protocol.
In one embodiment, the first enabling module 3 comprises:
the reading unit is used for polling and reading a first pixel value of a video shot by each intelligent terminal at any point in a front camera image layer, wherein the numerical range of the pixel value in the front camera image layer is between 0 and 255;
the judging unit is used for judging whether the first pixel value is larger than ninety percent of pixel values in the image layer or not;
and the judging unit is used for acquiring the numerical value of the first pixel value if the first pixel value is larger than ninety percent of the pixel value in the image layer, judging whether the numerical value of the first pixel value is smaller than or equal to sixty, and if the numerical value of the first pixel value is smaller than or equal to sixty, judging that the first pixel value is a black gray numerical value currently, and starting a power management low-power-consumption mode.
In one embodiment, the switching module 4 includes:
the device comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring a lowest level value and a highest level value in audio signals, and the audio signals comprise AC3 audio signals, Mono audio signals and Stereo audio signals;
the computing unit is used for computing the audio mean value of the corresponding audio signal according to the lowest level value and the highest level value;
the second acquisition unit is used for acquiring video transmission data of each intelligent terminal and judging whether people appear in the video or not according to the video transmission data;
the first setting unit is used for setting a transmission channel of an audio low-power consumption mode as a high-speed data transmission channel according to the audio mean value if a person appears in the video;
and the second setting unit is used for setting the transmission channel of the audio low-power consumption mode as a low-speed data transmission channel if no person appears in the video.
In one embodiment, the third enabling module 5 includes:
the third acquisition unit is used for acquiring the Y-axis angle value of the intelligent terminal direction sensor;
the first judgment unit is used for judging whether the change angle of the Y-axis angle value is within a first preset range value within a preset time period;
the first switching unit is used for switching the camera of the intelligent terminal into a front camera if the change angle of the Y-axis angle value is within a first preset range value;
the second judging unit is used for judging whether the change of the Y-axis angle value is within a second preset range value within a preset time period;
and the second switching unit is used for switching the camera of the intelligent terminal into a rear camera if the change of the Y-axis angle value is within a second preset range value.
As shown in fig. 3, the present application also provides a computer device, which may be a server, and the internal structure of which may be as shown in fig. 3. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the computer designed processor is used to provide computational and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store all data required by the process of low power consumption control power management. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement low power consumption control power management.
Those skilled in the art will appreciate that the architecture shown in fig. 3 is only a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects may be applied.
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program implements any one of the above low power consumption control power management.
It will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by hardware associated with instructions of a computer program, which may be stored on a non-volatile computer-readable storage medium, and when executed, may include processes of the above embodiments of the methods. Any reference to memory, storage, database, or other medium provided herein and used in the examples may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), dual data rate SDRAM (SSRSDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus (Rambus) direct RAM (RDRAM), direct bused dynamic RAM (DRDRAM), and bused dynamic RAM (RDRAM).
It should be noted that the numerical values presented herein are numerical values set for convenience of understanding herein, and are not limited solely thereto, and the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, apparatus, article, or method that includes the element.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (5)

1. A low power consumption control power management method is characterized by comprising the following steps:
receiving video chat invitation instructions sent by different intelligent terminals;
acquiring the number of the accessed intelligent terminals according to the video chat invitation instruction;
judging whether the number of the intelligent terminals is more than one;
if the number of the intelligent terminals is more than one, starting a power management low-power-consumption mode and an audio low-power-consumption mode, wherein the power management low-power-consumption mode comprises a power management ultra-low-power-consumption mode, a middle-level power management ultra-low-power-consumption mode and a middle-level power management advanced low-power-consumption mode;
and/or switching the front camera and the rear camera;
wherein the step of initiating the power management low power mode comprises:
polling and reading a first pixel value of a video shot by each intelligent terminal at any point in a front camera layer, wherein the numerical range of the pixel value in the front camera layer is between 0 and 255;
determining whether the first pixel value is greater than ninety percent of the pixel values in the layer;
if the first pixel value is larger than ninety percent of the pixel values in the image layer, acquiring a numerical value of the first pixel value, and judging whether the numerical value of the first pixel value is smaller than or equal to sixty, if the numerical value of the first pixel value is smaller than or equal to sixty, judging that the current value is a black gray value, and starting a power management low-power consumption mode;
wherein the step of initiating the audio low power mode comprises:
acquiring a lowest level value and a highest level value in audio signals, wherein the audio signals comprise AC3 audio signals, Mono audio signals and Stereo audio signals;
calculating the audio mean value of the corresponding audio signal according to the lowest level value and the highest level value;
acquiring video transmission data of each intelligent terminal, and judging whether people appear in the video or not according to the video transmission data;
if the character appears in the video, setting a transmission channel of an audio low-power consumption mode as a high-speed data transmission channel according to the audio mean value;
if no figure appears in the video, setting the transmission channel of the audio low-power-consumption mode as a low-speed data transmission channel;
wherein, the step of switching leading camera and rear camera includes:
acquiring a Y-axis angle value of an intelligent terminal direction sensor;
judging whether the change angle of the Y-axis angle value is within a first preset range value within a preset time period;
if the change angle of the Y-axis angle value is within a first preset range value, switching the camera of the intelligent terminal into a front camera;
judging whether the change of the Y-axis angle value is within a second preset range value within a preset time period;
and if the change of the Y-axis angle value is within a second preset range value, switching the camera of the intelligent terminal into a rear camera.
2. The power management method with low power consumption control according to claim 1, wherein before the step of obtaining the number of the accessed intelligent terminals, the method further comprises:
acquiring transmission data of an intelligent terminal and types of the transmission data, wherein the types comprise a control type, a picture type and a video type;
constructing a bus protocol corresponding to the type of the transmission data according to the type of the transmission data, wherein the bus protocol comprises the following steps:
constructing a first bus protocol corresponding to the control type according to the control type;
constructing a second bus protocol corresponding to the picture type according to the picture type;
constructing a third bus protocol corresponding to the video type according to the video type;
wherein the step of constructing a first bus protocol corresponding to the control type according to the control type includes:
creating a control command serial bidirectional bus, wherein the control command serial bidirectional bus occupies two idle pins;
constructing a two-wire serial bus protocol, and taking the two-wire serial bus protocol as a first bus protocol to carry out first marking;
the step of constructing a second bus protocol corresponding to the picture type according to the picture type comprises the following steps:
establishing a picture serial bus, wherein the picture serial bus occupies three pins and comprises a differential level sending pin, a differential level receiving pin and a differential ground wire receiving pin;
constructing a picture serial bus protocol, and performing second marking by taking the picture serial bus protocol as a second bus protocol;
wherein the step of constructing a third bus protocol corresponding to the video type according to the video type comprises:
creating a video serial bus, wherein the video serial bus occupies four pins and comprises a clock pin, a quick data input pin, a quick data output pin and a plurality of data selection pins;
and constructing a video serial bus protocol, and performing third marking by taking the video serial bus protocol as a third bus protocol.
3. A low power consumption control power management device, comprising:
the first acquisition module is used for receiving video chat invitation instructions sent by different intelligent terminals and acquiring the number of the accessed intelligent terminals according to the video chat invitation instructions;
the first judgment module is used for judging whether the number of the intelligent terminals is more than one;
the first starting module is used for starting a power management low-power-consumption mode and an audio low-power-consumption mode if the number of the intelligent terminals is more than one, wherein the power management low-power-consumption mode comprises a power management ultra-low-power-consumption mode, a middle-level power management ultra-low-power-consumption mode and a middle-level power management advanced low-power-consumption mode;
the switching module is used for switching the front camera and the rear camera;
wherein the first starting module comprises:
the reading unit is used for polling and reading a first pixel value of a video shot by each intelligent terminal at any point in a front camera image layer, wherein the numerical range of the pixel value in the front camera image layer is between 0 and 255;
the judging unit is used for judging whether the first pixel value is larger than ninety percent of the pixel value in the image layer or not;
the determining unit is used for acquiring a numerical value of a first pixel value if the first pixel value is greater than ninety percent of the pixel value in the image layer, and determining whether the numerical value of the first pixel value is less than or equal to sixty, if the numerical value of the first pixel value is less than or equal to sixty, determining that the first pixel value is a black gray value currently, and starting a power management low-power-consumption mode;
wherein the first starting module further comprises:
the device comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring a lowest level value and a highest level value in audio signals, and the audio signals comprise AC3 audio signals, Mono audio signals and Stereo audio signals;
the computing unit is used for computing the audio mean value of the corresponding audio signal according to the lowest level value and the highest level value;
the second acquisition unit is used for acquiring video transmission data of each intelligent terminal and judging whether people appear in the video or not according to the video transmission data;
the first setting unit is used for setting a transmission channel of an audio low-power consumption mode as a high-speed data transmission channel according to the audio mean value if a person appears in the video;
the second setting unit is used for setting the transmission channel of the audio low-power consumption mode as a low-speed data transmission channel if no person appears in the video;
wherein, the switching module includes:
the third acquisition unit is used for acquiring the Y-axis angle value of the intelligent terminal direction sensor;
the first judgment unit is used for judging whether the change angle of the Y-axis angle value is within a first preset range value within a preset time period;
the first switching unit is used for switching the camera of the intelligent terminal into a front camera if the change angle of the Y-axis angle value is within a first preset range value;
the second judging unit is used for judging whether the change of the Y-axis angle value is within a second preset range value within a preset time period;
and the second switching unit is used for switching the camera of the intelligent terminal into a rear camera if the change of the Y-axis angle value is within a second preset range value.
4. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor when executing the computer program performs the steps of low power consumption control power management according to any one of claims 1 to 2.
5. A computer-readable storage medium, having a computer program stored thereon, wherein the computer program, when executed by a processor, performs the steps of low power consumption control power management as claimed in any one of claims 1 to 2.
CN202210055715.1A 2022-01-18 2022-01-18 Low-power-consumption control power supply management method and device and computer equipment Active CN114095661B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210055715.1A CN114095661B (en) 2022-01-18 2022-01-18 Low-power-consumption control power supply management method and device and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210055715.1A CN114095661B (en) 2022-01-18 2022-01-18 Low-power-consumption control power supply management method and device and computer equipment

Publications (2)

Publication Number Publication Date
CN114095661A CN114095661A (en) 2022-02-25
CN114095661B true CN114095661B (en) 2022-06-14

Family

ID=80308706

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210055715.1A Active CN114095661B (en) 2022-01-18 2022-01-18 Low-power-consumption control power supply management method and device and computer equipment

Country Status (1)

Country Link
CN (1) CN114095661B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105101343A (en) * 2015-08-11 2015-11-25 北京邮电大学 Energy saving method for enabling mobile terminal and wireless access point to be correlated and device
CN105759935A (en) * 2016-01-29 2016-07-13 华为技术有限公司 Terminal control method and terminal
CN106255047A (en) * 2016-09-20 2016-12-21 广东乐心医疗电子股份有限公司 Communication method of low-power-consumption Bluetooth self-adaptive intelligent mobile terminal
CN107690178A (en) * 2017-08-29 2018-02-13 努比亚技术有限公司 A kind of method, mobile terminal and computer-readable recording medium for reducing power consumption
CN108712608A (en) * 2018-05-16 2018-10-26 Oppo广东移动通信有限公司 Terminal device image pickup method and device
EP3617797A1 (en) * 2017-05-31 2020-03-04 C/o Canon Kabushiki Kaisha Camera, interchangeable lens device, adapter device, control method, and imaging control program
CN111050114A (en) * 2018-10-15 2020-04-21 珠海格力电器股份有限公司 Low-power-consumption camera, monitoring management control system and control method thereof
WO2020125840A1 (en) * 2018-12-18 2020-06-25 GRID INVENT gGmbH Electronic element and electrically controlled display element

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10080000B2 (en) * 2015-08-06 2018-09-18 Panasonic Intellectual Property Management Co., Ltd. Intercom system
CN112291833B (en) * 2019-07-23 2023-01-13 华为技术有限公司 Equipment control method, system and related device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105101343A (en) * 2015-08-11 2015-11-25 北京邮电大学 Energy saving method for enabling mobile terminal and wireless access point to be correlated and device
CN105759935A (en) * 2016-01-29 2016-07-13 华为技术有限公司 Terminal control method and terminal
CN106255047A (en) * 2016-09-20 2016-12-21 广东乐心医疗电子股份有限公司 Communication method of low-power-consumption Bluetooth self-adaptive intelligent mobile terminal
EP3617797A1 (en) * 2017-05-31 2020-03-04 C/o Canon Kabushiki Kaisha Camera, interchangeable lens device, adapter device, control method, and imaging control program
CN107690178A (en) * 2017-08-29 2018-02-13 努比亚技术有限公司 A kind of method, mobile terminal and computer-readable recording medium for reducing power consumption
CN108712608A (en) * 2018-05-16 2018-10-26 Oppo广东移动通信有限公司 Terminal device image pickup method and device
CN111050114A (en) * 2018-10-15 2020-04-21 珠海格力电器股份有限公司 Low-power-consumption camera, monitoring management control system and control method thereof
WO2020125840A1 (en) * 2018-12-18 2020-06-25 GRID INVENT gGmbH Electronic element and electrically controlled display element

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
漫谈新一代数字高清互动接口DiiVA技术;深山枫叶;《卫星电视与宽带多媒体》;20111005(第19期);全文 *

Also Published As

Publication number Publication date
CN114095661A (en) 2022-02-25

Similar Documents

Publication Publication Date Title
DE69934744T2 (en) Apparatus, method and system for image acquisition control and storage medium
US9716857B2 (en) Modification of images based on orientation
US7467162B2 (en) Pre-configured settings for portable devices
DE102004063847B4 (en) Circuit arrangement for DMA image data processing and camera interface
CN109951627B (en) Image processing method, image processing device, storage medium and electronic equipment
DE69737010T2 (en) System with printer and camera and printing process
US20150281476A1 (en) Non-Transitory Computer-Readable Storage Medium Storing Program, Terminal Device and Method
CN109615058A (en) A kind of training method of neural network model
CN114095661B (en) Low-power-consumption control power supply management method and device and computer equipment
CN107181825B (en) Online processing method of terminal equipment data
EP3595276A1 (en) Photographing method and device based on two cameras
CN110569127B (en) Virtual resource transferring, sending and obtaining method and device
CN110334702A (en) Data transmission method, device and computer equipment based on configuration platform
WO2019179242A1 (en) Image processing method and electronic device
CN113364690A (en) Method, device, terminal and storage medium for determining network transmission path of receiving card
US20220301278A1 (en) Image processing method and apparatus, storage medium, and electronic device
US8248447B2 (en) Network voice and video communication system and method
CN113377321B (en) Display module energy-saving method, device, system, computer equipment and storage medium
CN114666029A (en) Calibration control method and device and electronic equipment
CN110362151B (en) Image inter-frame frequency conversion method capable of self-adaptive adjustment and storage device
DE102009004256B4 (en) Systems and methods for transmitting control signals and data between different types of electronic modules
CN111757045A (en) Data transmitting method, data receiving method, related terminal and storage medium
CN101203014A (en) Mobile monitoring system and method thereof
WO2023109263A1 (en) Method for reducing signal lines between modules, signal transmission method and apparatus, and image sensor
CN115225828B (en) Front-end image signal processing device and image information transmission method

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
TR01 Transfer of patent right

Effective date of registration: 20220708

Address after: 518000 No. 732733, podium building 12, Shenzhen Bay science and technology ecological park, No. 18, Keji South Road, high tech community, Yuehai street, mountainous area, Shenzhen, Guangdong Province

Patentee after: Shenzhen Peiyi Microelectronics Co.,Ltd.

Address before: 518000 floor 2, building B, building 10, Western Industrial Park, Tantou community, Songgang street, Bao'an District, Shenzhen, Guangdong

Patentee before: WITMOTION SHENZHEN CO.,LTD.

TR01 Transfer of patent right