CN114095661A - 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
CN114095661A
CN114095661A CN202210055715.1A CN202210055715A CN114095661A CN 114095661 A CN114095661 A CN 114095661A CN 202210055715 A CN202210055715 A CN 202210055715A CN 114095661 A CN114095661 A CN 114095661A
Authority
CN
China
Prior art keywords
value
video
bus protocol
low
starting
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.)
Granted
Application number
CN202210055715.1A
Other languages
Chinese (zh)
Other versions
CN114095661B (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 a black pixel low-power-consumption mode and an audio low-power-consumption mode 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:
acquiring the number of accessed intelligent terminals;
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 black pixel low-power-consumption mode, wherein the black pixels in the black pixel low-power-consumption mode refer to color values in an image and display the color values as black gray values;
and starting an audio low power consumption mode;
and starting the switching mode of the front camera and the rear camera.
Preferably, before the step of obtaining the number of accessed intelligent terminals, the method further includes:
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.
Preferably, the step of starting the black pixel low power consumption mode includes:
polling and reading a first pixel value of a video shot by each intelligent terminal in the center of a front camera layer, and judging whether the first pixel value is larger than a first preset range value;
if the first pixel value is smaller than a first preset range value, judging that the current pixel value is a white and bright color value;
and if the first pixel value is larger than or equal to a first preset range value, judging that the current pixel value is a black and gray value, and starting a power management low-power consumption mode.
Preferably, the step of starting the audio low power consumption mode includes:
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 high-channel transmission according to the audio mean value;
and if no person appears in the video, setting low-channel transmission.
Preferably, the step of starting the switching mode between the front camera and the 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.
The present application further provides a low power consumption control power management device, including:
the first acquisition module is used for acquiring the number of the accessed intelligent terminals;
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 black pixel low-power-consumption mode if the number of the intelligent terminals is more than one, wherein the black pixels in the black pixel low-power-consumption mode refer to color values in an image and are displayed as black gray values;
the second starting module is used for starting the audio low-power-consumption mode;
and the third starting module is used for starting the switching mode of the front camera and the rear camera.
Preferably, 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 in the center of a layer of a front camera and judging whether the first pixel value is larger than a first preset range value or not;
the first judging unit is used for judging the current white and bright color value if the first pixel value is smaller than a first preset range value;
and the second judgment unit is used for judging that the current pixel value is a black and gray value if the first pixel value is larger than or equal to a first preset range value, and then starting the power management low-power-consumption mode.
Preferably, the second starting module 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 high-channel transmission according to the audio mean value if people appear in the video;
and the second setting unit is used for setting low-channel transmission if no person appears in the video.
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 black pixel 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 black pixel low power consumption mode, wherein the black pixels in the black pixel low power consumption mode refer to color values in an image and display the color values as black gray values;
s4, starting an audio low-power mode;
and S5, and/or starting the front camera and the rear camera to switch modes.
As described in the foregoing steps S1-S5, 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 the number of 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 data transmission is simultaneously carried out to the cameras of a plurality of intelligent terminals at this moment, the black pixel low-power-consumption mode and the audio low-power-consumption mode can be opened, so that in the data transmission process, the energy consumption of a power supply can be reduced, 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 the requirement, the manual switching of a user is not needed, and the 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 types of the transmission data, wherein the types comprise 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 black pixel low power consumption mode includes:
s31, polling and reading a first pixel value of a video shot by each intelligent terminal in the center of a layer of a front camera, and judging whether the first pixel value is larger than a first preset range value;
s32, if the first pixel value is smaller than a first preset range value, judging that the current pixel value is a white and bright color value;
and S33, if the first pixel value is larger than or equal to a first preset range value, judging that the current pixel value is a black gray value, and starting a power management low-power consumption mode.
As described in the above steps S31-S33, the black pixel low power consumption modes of different levels can 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, acquiring video transmission data of each intelligent terminal, and judging whether people appear in the video or not according to the video transmission data;
s44, if the character appears in the video, setting high channel transmission according to the audio mean value;
and S45, if no person appears in the video, setting low-channel transmission.
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 starting black pixel low-power-consumption mode and the audio low-power-consumption mode are started or not, specifically, when the black pixel 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 configured to start a black pixel low power consumption mode if the number of the intelligent terminals is greater than one, where a black pixel in the black pixel low power consumption mode refers to a color numerical value in an image and is displayed as a black gray numerical value;
the second starting module 4 is used for starting the audio low-power-consumption mode;
and the third starting module 5 is used for starting the switching mode of the front camera and the rear camera.
In one embodiment, the low power consumption control power management apparatus 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 time;
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 in the center of a layer of a front camera and judging whether the first pixel value is larger than a first preset range value or not;
the first judging unit is used for judging the current white and bright color value if the first pixel value is smaller than a first preset range value;
and the second judgment unit is used for judging that the current pixel value is a black and gray value if the first pixel value is larger than or equal to a first preset range value, and then starting the power management low-power-consumption mode.
In one embodiment, the second enabling module 4 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 high-channel transmission according to the audio mean value if people appear in the video;
and the second setting unit is used for setting low-channel transmission 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 the computer program, when executed by a processor, 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), double-rate SDRAM (SSRSDRAM), Enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus 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 (10)

1. A low power consumption control power management method is characterized by comprising the following steps:
acquiring the number of accessed intelligent terminals;
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 black pixel low-power-consumption mode, wherein the black pixels in the black pixel low-power-consumption mode refer to color values in an image and display the color values as black gray values;
and starting an audio low power consumption mode;
and/or starting a switching mode of the front camera and the 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. The low power consumption control power management method according to claim 1, wherein the step of starting a black pixel low power consumption mode comprises:
polling and reading a first pixel value of a video shot by each intelligent terminal in the center of a front camera layer, and judging whether the first pixel value is larger than a first preset range value;
if the first pixel value is smaller than a first preset range value, judging that the current pixel value is a white and bright color value;
and if the first pixel value is larger than or equal to a first preset range value, judging that the current pixel value is a black and gray value, and starting a power management low-power consumption mode.
4. The low power consumption control power management method according to claim 1, wherein the step of initiating an audio low power consumption 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 high-channel transmission according to the audio mean value;
and if no person appears in the video, setting low-channel transmission.
5. The method for low power consumption control power management according to claim 1, wherein the step of starting switching modes between the front camera and the rear camera comprises:
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.
6. A low power consumption control power management device, comprising:
the first acquisition module is used for acquiring the number of the accessed intelligent terminals;
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 black pixel low-power-consumption mode if the number of the intelligent terminals is more than one, wherein the black pixels in the black pixel low-power-consumption mode refer to color values in an image and are displayed as black gray values;
the second starting module is used for starting the audio low-power-consumption mode;
and the third starting module is used for starting the switching mode of the front camera and the rear camera.
7. The low power consumption control power management device according to claim 6, 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 in the center of a layer of a front camera and judging whether the first pixel value is larger than a first preset range value or not;
the first judging unit is used for judging the current white and bright color value if the first pixel value is smaller than a first preset range value;
and the second judgment unit is used for judging that the current pixel value is a black and gray value if the first pixel value is larger than or equal to a first preset range value, and then starting the power management low-power-consumption mode.
8. The low power consumption control power management device according to claim 6, wherein the second starting module 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 high-channel transmission according to the audio mean value if people appear in the video;
and the second setting unit is used for setting low-channel transmission if no person appears in the video.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor when executing the computer program implements the steps of low power consumption control power management of any of claims 1 to 5.
10. 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 according to any one of claims 1 to 5.
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 true CN114095661A (en) 2022-02-25
CN114095661B 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 (10)

* 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
US20170041572A1 (en) * 2015-08-06 2017-02-09 Panasonic Intellectual Property Management Co., Lt Intercom system
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
CN112291833A (en) * 2019-07-23 2021-01-29 华为技术有限公司 Equipment control method, system and related device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170041572A1 (en) * 2015-08-06 2017-02-09 Panasonic Intellectual Property Management Co., Lt Intercom system
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
CN112291833A (en) * 2019-07-23 2021-01-29 华为技术有限公司 Equipment control method, system and related device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
深山枫叶: "漫谈新一代数字高清互动接口DiiVA技术", 《卫星电视与宽带多媒体》 *
深山枫叶: "漫谈新一代数字高清互动接口DiiVA技术", 《卫星电视与宽带多媒体》, no. 19, 5 October 2011 (2011-10-05) *

Also Published As

Publication number Publication date
CN114095661B (en) 2022-06-14

Similar Documents

Publication Publication Date Title
CN109951627B (en) Image processing method, image processing device, storage medium and electronic equipment
DE69906711T2 (en) Retrieving images from a portable digital camera over the Internet
DE102004063847B4 (en) Circuit arrangement for DMA image data processing and camera interface
CN107087118B (en) Photographic method, device, storage medium and terminal
WO2020238556A1 (en) Configuration platform-based data transmission method, apparatus and computer device
WO2023124123A1 (en) Image processing method and related device thereof
CN114095661B (en) Low-power-consumption control power supply management method and device and computer equipment
EP3595276A1 (en) Photographing method and device based on two cameras
CN107181825B (en) Online processing method of terminal equipment data
WO2019179242A1 (en) Image processing method and electronic device
CN113036900A (en) Display screen power supply circuit and electronic equipment
CN112601119A (en) Sharing and split screen method and device based on video call, intelligent terminal and storage medium
US20200106821A1 (en) Video processing apparatus, video conference system, and video processing method
US8248447B2 (en) Network voice and video communication system and method
CN109948377A (en) Display control method, device and electronic equipment
CN113377321B (en) Display module energy-saving method, device, system, computer equipment and storage medium
CN113923296B (en) Interface display method, device and computer readable storage medium
TWI727337B (en) Electronic device and face recognition method
CN114219725A (en) Image processing method, terminal equipment and computer readable storage medium
CN114727360A (en) Network connection equipment management method, device, terminal equipment and storage medium
DE102009004256B4 (en) Systems and methods for transmitting control signals and data between different types of electronic modules
US10070056B2 (en) Omnidirectional camera system
CN112540877B (en) Method and device for switching CPU, intelligent terminal and storage medium
CN112468862B (en) Smart television control method, smart television and readable storage medium
CN101203014A (en) Mobile monitoring system and method thereof

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