CN113849061A - Intelligent device power consumption control method, device, equipment and storage medium - Google Patents
Intelligent device power consumption control method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN113849061A CN113849061A CN202111017005.1A CN202111017005A CN113849061A CN 113849061 A CN113849061 A CN 113849061A CN 202111017005 A CN202111017005 A CN 202111017005A CN 113849061 A CN113849061 A CN 113849061A
- Authority
- CN
- China
- Prior art keywords
- playing
- user
- preset
- preset range
- user terminal
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 238000001514 detection method Methods 0.000 claims abstract description 57
- 238000011217 control strategy Methods 0.000 claims abstract description 16
- 238000010586 diagram Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 6
- 238000004590 computer program Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3206—Monitoring of events, devices or parameters that trigger a change in power modality
- G06F1/3231—Monitoring the presence, absence or movement of users
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/3287—Power saving characterised by the action undertaken by switching off individual functional units in the computer system
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a method, a device, equipment and a storage medium for controlling the power consumption of intelligent equipment, wherein the method comprises the steps of identifying whether a user exists in a preset range away from the intelligent equipment or not through a human body detection module when the intelligent equipment receives a video playing instruction; if no user exists in the preset range, sending an instruction for inquiring whether the user starts playing to the user terminal, if the instruction information returned by the user terminal is to start playing, normally playing, and if the instruction information returned by the user terminal is to finish playing or the instruction information returned by the user terminal is not received within the preset time, canceling the playing task; and if the user exists in the preset range, normally playing. According to the power consumption control method of the intelligent device, whether a user is near the intelligent device or not can be identified through the human body detection module, if no user is near the intelligent device, the intelligent device can end a playing task according to a preset control strategy, the power consumption of the device is saved, and the user experience is greatly improved.
Description
Technical Field
The invention relates to the technical field of intelligent equipment, in particular to a method, a device, equipment and a storage medium for controlling power consumption of the intelligent equipment.
Background
Today, technology is continuously developing, various intelligent devices are in a large number, and devices such as intelligent sound boxes with screens and intelligent televisions are increasingly popular with people. Currently, many intelligent devices provide audio and video playing technology and a reserved playing function.
However, in the actual use process, people may forget to turn off and then leave for some reason, or after a play task is reserved, people cannot get to watch the play task in time, so that the device plays by itself, and the power consumption of the intelligent device is not meaningful or wasted.
Therefore, how to effectively manage the playing task of the intelligent device and reduce the power consumption of the intelligent device is a technical problem to be urgently solved by the technical personnel in the field.
Disclosure of Invention
The embodiment of the disclosure provides a method, a device, equipment and a storage medium for controlling power consumption of intelligent equipment. The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview and is intended to neither identify key/critical elements nor delineate the scope of such embodiments. Its sole purpose is to present some concepts in a simplified form as a prelude to the more detailed description that is presented later.
In a first aspect, an embodiment of the present disclosure provides a method for controlling power consumption of an intelligent device, including:
when the intelligent device receives a video playing instruction, identifying whether a user exists in a preset range of the intelligent device or not through a human body detection module;
if no user exists in the preset range, sending an instruction for inquiring whether the user starts playing to the user terminal, if the instruction information returned by the user terminal is to start playing, normally playing, and if the instruction information returned by the user terminal is to finish playing or the instruction information returned by the user terminal is not received within the preset time, canceling the playing task;
and if the user exists in the preset range, normally playing.
In one embodiment, after canceling the play task, the method further includes:
and sending the information of canceling the playing task to the user terminal, and initializing and recording the times of users not existing in the preset range.
In one embodiment, after the normal play, the method further includes:
and executing a preset control strategy after normal playing, and initializing and recording the times of users not existing in a preset range.
In one embodiment, the executing of the preset control strategy after the normal play includes:
closing the human body detection module;
judging whether a preset first time period is reached or not;
when the preset first time period is reached, detecting whether the video playing task is finished, if the playing is finished, closing the intelligent equipment, and if the playing is not finished, starting the human body detection module again to identify whether a user exists in the preset range;
if the user exists in the preset range, the playing is normally carried out, and the control strategy after the normal playing is repeatedly executed;
and if the user does not exist in the preset range, adding 1 to the number of times that the user does not exist in the preset range.
In one embodiment, after adding 1 to the number of times that no user exists within the preset range, the method further includes:
judging whether the times of users not existing in the preset range is greater than a preset time threshold value or not;
if the times of users not existing in the preset range are smaller than or equal to the preset time threshold, closing the human body detection module, and starting the human body detection module after a preset second time period; if the times of users not existing in the preset range are larger than the preset time threshold value, sending an instruction for inquiring whether the users continue to play to the user terminal;
judging whether a preset second time period is reached or not;
when the preset second time period is reached, detecting whether the video playing task is finished, if the playing is finished, closing the intelligent equipment, and if the playing is not finished, starting the human body detection module again to identify whether a user exists in the preset range;
if the user exists in the preset range, the playing is normally carried out, and the control strategy after the normal playing is repeatedly executed;
if no user exists in the preset range, adding 1 to the number of times of no user in the preset range;
and repeatedly executing the step of judging whether the times of the users in the preset range are larger than a preset time threshold value or not until the playing task is finished, wherein the preset first time period is larger than the preset second time period.
In one embodiment, after sending the instruction to the user terminal to inquire whether the user continues playing, the method further comprises:
receiving instruction information returned by a user terminal;
if the instruction information returned by the user terminal is to start playing, the playing is normally carried out, and the control strategy after the normal playing is repeatedly executed;
if the instruction information returned by the user terminal is that the playing is finished or the instruction information returned by the user terminal is not received within the preset time, the playing task is cancelled;
and sending the information for canceling the playing task to the user terminal.
In one embodiment, the human body detection module comprises one or more infrared human body detectors, and the infrared human body detectors are arranged on a display screen of the intelligent device.
In a second aspect, an embodiment of the present disclosure provides an apparatus for controlling power consumption of a smart device, including:
the human body detection module is used for identifying whether a user exists in a preset range of the intelligent device or not through the human body detection module when the intelligent device receives a video playing instruction;
the first judgment module is used for sending an instruction for inquiring whether the user starts playing to the user terminal if the user does not exist in the preset range, normally playing if the instruction information returned by the user terminal is to start playing, and canceling the playing task if the instruction information returned by the user terminal is to finish playing or the instruction information returned by the user terminal is not received within the preset time;
and the second judgment module is used for normally playing the video if the user exists in the preset range.
In a third aspect, an embodiment of the present disclosure provides an electronic device for controlling power consumption of a smart device, including a processor and a memory storing program instructions, where the processor is configured to execute the method for controlling power consumption of a smart device provided in the foregoing embodiment when executing the program instructions.
In a fourth aspect, the present disclosure provides a computer-readable medium, on which computer-readable instructions are stored, where the computer-readable instructions are executable by a processor to implement the method for controlling power consumption of a smart device provided in the foregoing embodiments.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the power consumption control method of the intelligent device, whether a user is near the intelligent device or not can be automatically detected through the human body detection module, if the user is near the intelligent device, the intelligent device is normally played, if the user is not near the intelligent device, the intelligent device can interact with the user terminal, whether a playing task is started or not is determined according to instruction information returned by the user, and when the user is not near the intelligent device, the intelligent device can be closed, so that the power consumption of the intelligent device is greatly saved, and the experience degree of the user is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a flow diagram illustrating a method for controlling power consumption of a smart device in accordance with an exemplary embodiment;
FIG. 2 is a flow diagram illustrating a method for controlling power consumption of a smart device in accordance with an exemplary embodiment;
FIG. 3 is a schematic diagram illustrating a human detection module arrangement according to an exemplary embodiment;
fig. 4 is a schematic structural diagram illustrating an apparatus for controlling power consumption of a smart device according to an exemplary embodiment;
fig. 5 is a schematic diagram illustrating a structure of a smart device power consumption control device according to an exemplary embodiment;
FIG. 6 is a schematic diagram illustrating a computer storage medium in accordance with an exemplary embodiment.
Detailed Description
The following description and the drawings sufficiently illustrate specific embodiments of the invention to enable those skilled in the art to practice them.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of systems and methods consistent with certain aspects of the invention, as detailed in the appended claims.
In the description of the present invention, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art. In addition, in the description of the present invention, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
Fig. 1 is a schematic flowchart illustrating a method for controlling power consumption of a smart device according to an exemplary embodiment, and referring to fig. 1, the method specifically includes the following steps.
S101, when the intelligent device receives a video playing instruction, whether a user exists in a preset range of the intelligent device or not is identified through the human body detection module.
At present, intelligent devices such as smart televisions and smart sound boxes with audio and video playing functions generally have a function of playing reservation, users can reserve a playing task on the intelligent devices or user terminals wirelessly connected with the intelligent devices, and when the reservation time is up, the intelligent devices can automatically start playing according to preset playing instructions. However, in an actual situation, for various reasons, the user may forget the set play task or cannot start watching in some cases, and in order to prevent the smart device from wasting power consumption by playing by itself, the smart device in this embodiment may automatically detect whether the user exists within the preset range when receiving the play instruction.
Specifically, a human body detection module can be arranged on the intelligent device, and whether a user exists in a preset range of the intelligent device or not can be automatically identified through the human body detection module.
In one possible implementation manner, the human body detection module may employ one or more infrared human body detectors, for example, an even number of infrared human body detectors, and is symmetrically disposed on the screen of the smart device, so as to implement the all-directional 360-degree detection. The preset range of the distance intelligent device can be determined by the detection capability of hardware. Fig. 3 is a schematic diagram illustrating a setting manner of a human body detection module according to an exemplary embodiment, and as shown in fig. 3, for example, a square screen is used, 4 infrared human body detectors may be symmetrically arranged on four edges of the screen, or two infrared human body detectors may be symmetrically arranged on two edges of the screen, so as to implement 360-degree omni-directional detection. Alternatively, other arrangements may be used by those skilled in the art.
Optionally, the human body detection module may also employ a photoelectric sensor, a camera, or other electronic devices capable of detecting a human body.
According to the step, when the intelligent device receives the playing instruction, whether the user exists in the preset range of the intelligent device or not can be automatically detected through the human body detection module.
S102, if no user exists in the preset range, sending an instruction for inquiring whether the user starts playing to the user terminal, if the instruction information returned by the user terminal is to start playing, normally playing, and if the instruction information returned by the user terminal is to finish playing or the instruction information returned by the user terminal is not received within the preset time, canceling the playing task.
In general, when it is recognized that there is no user within the preset range, an instruction to ask the user whether to start playing is transmitted to a user terminal wirelessly connected to the smart device, in consideration of the fact that this may be content that the user has reserved or timed to play, and the user is asked whether to start playing. The user terminal comprises terminal equipment such as a mobile phone, an intelligent bracelet and a tablet personal computer.
Receiving instruction information returned by the user terminal, if the instruction information returned by the user terminal is to start playing, normally playing, and initializing and recording the times of no user in a preset range as 0; if the instruction information returned by the user terminal is that the playing is finished or the instruction information returned by the user terminal is not received within the preset time, the playing task is automatically cancelled, and the number of times that the user does not exist within the preset range is initialized and recorded as 0, wherein the preset time can be set by a person skilled in the art. In an exemplary scenario, if no instruction information returned by the user terminal is received within ten minutes, the play task is automatically cancelled.
According to the step, when the intelligent device identifies that no user exists in the preset range, the intelligent device can further inquire the opinion of the user, and whether to start playing is determined again according to the instruction of the user, so that the user experience is improved.
And S103, if the user exists in the preset range, normally playing. Generally, when a user is identified to exist in a preset range, the intelligent device normally plays, and the number of times that the user does not exist in the preset range is initialized and recorded to be 0.
Further, after the intelligent device automatically cancels the playing task, the method also comprises the step of sending the information of canceling the playing task to the user terminal to inform the user that the playing task is canceled.
Furthermore, after the intelligent device is normally played, in order to prevent the user from leaving in the midway and the device automatically plays to waste power consumption, the intelligent device further comprises a control strategy for executing the preset normal playing, and after the intelligent device is normally played, whether the user exists in the preset range or not is continuously detected until the video playing task is completed.
Specifically, executing a preset control strategy after normal play includes:
firstly, after the equipment is normally played, the human body detection module is temporarily closed, and a new round of human body detection is started again after the first preset time period.
And then, judging whether a preset first time period is reached, detecting whether a video playing task is finished when the preset first time period is reached, if the playing is finished, closing the intelligent equipment, and if the playing is not finished, starting the human body detection module again to identify whether a user exists in a preset range, wherein a technical person in the field can set the value of the preset first time period by himself.
And if the user exists in the preset range, normally playing, and repeatedly executing the control strategy after the normal playing.
And if the user does not exist in the preset range, adding 1 to the number of times that the user does not exist in the preset range.
Further, after adding 1 to the number of times that no user exists within the preset range, the method further includes:
judging whether the number of times that no user exists in the preset range is greater than a preset number threshold, wherein the preset number threshold can be set by a person skilled in the art, and in an exemplary scene, the preset number threshold is 3, and judging whether the number of times that no user exists in the preset range is greater than 3.
If the number of times that the user does not exist in the preset range is smaller than or equal to the preset number threshold, the human body detection module is turned off, and the human body detection module is turned on after a preset second time period, wherein the preset second time period is smaller than the preset first time period, and optionally, the preset second time period is equal to the preset first time period/2.
If the number of times that the user does not exist in the preset range is larger than the preset number threshold, sending an instruction for inquiring whether the user continues to play to the user terminal, inquiring whether the user equipment is watched for a long time and whether the playing task is finished, receiving instruction information returned by the user terminal, if the instruction information returned by the user terminal is starting to play, normally playing, and repeatedly executing a control strategy after normal playing, and if the instruction information returned by the user terminal is finishing to play or the instruction information returned by the user terminal is not received within the preset time, canceling the playing task and sending information for canceling the playing task to the user terminal.
Further, whether a preset second time period is reached is judged.
And when the preset second time period is reached, detecting whether the video playing task is finished, if the playing is finished, closing the intelligent equipment, and if the playing is not finished, opening the human body detection module again to identify whether a user exists in the preset range.
If the user exists in the preset range, the playing is normally carried out, and the control strategy after the normal playing is repeatedly executed;
if no user exists in the preset range, adding 1 to the number of times of no user in the preset range, and repeatedly executing the step of judging whether the number of times of no user in the preset range is larger than a preset number threshold value until the playing task is finished.
According to the step, whether the user is watching or not can be continuously detected in different time periods after the device normally plays, and the problem that the power consumption is wasted due to the fact that the user leaves in advance and the device automatically plays is solved.
In order to facilitate understanding of the method for controlling power consumption of an intelligent device provided in the embodiment of the present application, the following description is made with reference to fig. 2. As shown in fig. 2, the method comprises the steps of:
s201, the intelligent equipment starts to execute a video playing task;
s202, starting a human body detection module;
s203, judging whether a user exists in a preset range of the intelligent device, if so, executing a step S204, starting normal playing, closing the human body detection module, carrying out a new round of human body detection after t1 time is set, and setting the number of times of recording that no person exists in the preset range to zero; if no user exists, step S205 is executed to send a push notification to the mobile device end, such as a mobile phone of the user, a bracelet, and the like, and ask the user whether to continue playing;
s204, starting normal playing, closing the human body detection module, carrying out a new round of human body detection after setting t1 time, and setting the number of times of recording no human in a preset range to zero;
s205 sends a push notification to a mobile device, such as a user mobile phone, a bracelet, etc., to inquire whether the user continues to play;
s206, judging whether the instruction information returned by the user continues to be played, if the instruction information returned by the user continues to be played, executing the step S204, starting normal playing, closing the human body detection module, carrying out a new round of human body detection after setting t1 time, and setting the number of times of recording that no human body exists in a preset range to zero; if the instruction information returned by the user is that the playing is finished, or the reply is not received within ten minutes, executing step S207, canceling the video playing task, and notifying the user that the playing is canceled;
s207, canceling the video playing task and informing the user that the playing is canceled;
s208 is finished;
s209 reaches time t 1;
s210, judging whether the video playing task is finished, if the video playing task is finished, executing the step S208, and finishing; if the video playing task is not finished, executing step S211, and starting the human body detection module;
s211, starting a human body detection module;
s212, judging whether a user exists in the preset range of the intelligent device, if so, executing the step S204, starting normal playing, closing the human body detection module, carrying out a new round of human body detection after t1 time is set, and setting the number of times of recording that no person exists in the preset range to zero; if no user exists, executing step S213, and adding 1 to the number of times of recording that no person exists within the preset range;
s213, adding 1 to the recorded unmanned times in the preset range;
s214, determining whether the number of times of the nobody in the preset range is greater than a preset number threshold N, if so, executing step S205, sending a push notification to a mobile device, such as a mobile phone of the user, a bracelet, and the like, and inquiring whether the user continues to play; if the number of times is not greater than the preset number threshold N, executing the step S215, closing the human body detection module, setting t2 time, and then carrying out a new round of human body detection, wherein t2 is t 1/2;
s215, closing the human body detection module, and setting t2 time to perform a new round of human body detection, wherein t2 is t 1/2;
s216 reaches time t 2;
s217, judging whether the video playing task is finished, if so, executing the step S208, and finishing; if the video playing task is not finished, step S211 is executed to start the human body detection module.
According to the power consumption control method of the intelligent device, the human body detection module is arranged on the intelligent device, when the intelligent device starts playing and in the playing process, whether a user exists nearby the intelligent device or not can be automatically detected, if the user does not exist, interaction is automatically carried out with the terminal device of the user, whether the user continues playing is inquired, when the user does not reply for a long time, a playing task is automatically finished, the problem of power consumption waste caused by self-playing is avoided, the power consumption of the intelligent device is greatly saved, and the user experience is improved through the interaction function with the user.
The disclosed embodiment further provides an apparatus for controlling power consumption of an intelligent device, where the apparatus is configured to execute the method for controlling power consumption of an intelligent device according to the foregoing embodiment, and as shown in fig. 4, the apparatus includes:
the human body detection module 401 is configured to identify whether a user exists within a preset range from the smart device through the human body detection module when the smart device receives a video playing instruction;
a first determining module 402, configured to send an instruction to ask a user whether to start playing to the user terminal if the user does not exist within a preset range, normal playing if the instruction information returned by the user terminal is to start playing, and cancel the playing task if the instruction information returned by the user terminal is to end playing or the instruction information returned by the user terminal is not received within a preset time;
the second determining module 403 is configured to play normally if the user exists within the preset range.
It should be noted that, when the power consumption control apparatus for an intelligent device provided in the foregoing embodiment executes the power consumption control method for an intelligent device, the foregoing division of each functional module is merely used as an example, and in practical applications, the foregoing function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the power consumption control device of the intelligent device and the power consumption control method of the intelligent device provided by the above embodiments belong to the same concept, and details of implementation processes are found in the method embodiments, which are not described herein again.
The embodiment of the present disclosure further provides an electronic device corresponding to the method for controlling power consumption of an intelligent device provided in the foregoing embodiment, so as to execute the method for controlling power consumption of an intelligent device.
Please refer to fig. 5, which illustrates a schematic diagram of an electronic device according to some embodiments of the present application. As shown in fig. 5, the electronic apparatus includes: the processor 500, the memory 501, the bus 502 and the communication interface 503, wherein the processor 500, the communication interface 503 and the memory 501 are connected through the bus 502; the memory 501 stores a computer program that can be executed on the processor 500, and the processor 500 executes the computer program to perform the method for controlling power consumption of a smart device according to any of the foregoing embodiments.
The Memory 501 may include a high-speed Random Access Memory (RAM) and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 503 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used.
The processor 500 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 500. The Processor 500 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 501, and the processor 500 reads the information in the memory 501, and completes the steps of the method in combination with the hardware thereof.
The electronic device provided by the embodiment of the application and the power consumption control method of the intelligent device provided by the embodiment of the application have the same inventive concept and have the same beneficial effects as the method adopted, operated or realized by the electronic device.
Referring to fig. 6, the computer-readable storage medium is an optical disc 600, on which a computer program (i.e., a program product) is stored, and when the computer program is executed by a processor, the computer program may execute the method for controlling power consumption of an intelligent device according to any of the foregoing embodiments.
It should be noted that examples of the computer-readable storage medium may also include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory, or other optical and magnetic storage media, which are not described in detail herein.
The computer-readable storage medium provided by the above-mentioned embodiment of the present application and the method for controlling power consumption of an intelligent device provided by the embodiment of the present application have the same inventive concept, and have the same beneficial effects as methods adopted, operated or implemented by application programs stored in the computer-readable storage medium.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only show some embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (10)
1. A power consumption control method for an intelligent device is characterized by comprising the following steps:
when the intelligent equipment receives a video playing instruction, identifying whether a user exists in a preset range away from the intelligent equipment or not through a human body detection module;
if no user exists in the preset range, sending an instruction for inquiring whether the user starts playing to the user terminal, if the instruction information returned by the user terminal is to start playing, normally playing, and if the instruction information returned by the user terminal is to finish playing or the instruction information returned by the user terminal is not received within the preset time, canceling the playing task;
and if the user exists in the preset range, normally playing.
2. The method of claim 1, wherein after canceling the play task, further comprising:
and sending the information of canceling the playing task to the user terminal, and initializing and recording the times of users not existing in a preset range.
3. The method of claim 1, further comprising, after the normal play,:
and executing a preset control strategy after normal playing, and initializing and recording the times of users not existing in a preset range.
4. The method according to claim 3, wherein the executing the preset control strategy after normal play comprises:
closing the human body detection module;
judging whether a preset first time period is reached or not;
when the preset first time period is reached, detecting whether a video playing task is finished, if the playing is finished, closing the intelligent equipment, and if the playing is not finished, opening the human body detection module again to identify whether a user exists in a preset range;
if the user exists in the preset range, normally playing, and repeatedly executing the control strategy after the normal playing;
and if no user exists in the preset range, adding 1 to the times of no user in the preset range.
5. The method of claim 4, wherein after adding 1 to the number of times that no user exists within the preset range, the method further comprises:
judging whether the times of users not existing in the preset range is larger than a preset time threshold value or not;
if the times of users not existing in the preset range are smaller than or equal to the preset time threshold, closing the human body detection module, and opening the human body detection module after a preset second time period; if the times of users not existing in the preset range are larger than the preset time threshold value, sending an instruction for inquiring whether the users continue to play to the user terminal;
judging whether the preset second time period is reached or not;
when the preset second time period is reached, detecting whether the video playing task is finished, if the playing is finished, closing the intelligent equipment, and if the playing is not finished, opening the human body detection module again to identify whether a user exists in a preset range;
if the user exists in the preset range, normally playing, and repeatedly executing the control strategy after the normal playing;
if no user exists in a preset range, adding 1 to the number of times of no user in the preset range;
and repeatedly executing the step of judging whether the times of the users in the preset range are larger than a preset time threshold value or not until the playing task is finished, wherein the preset first time period is larger than the preset second time period.
6. The method of claim 5, wherein after sending the instruction to the user terminal to inquire whether the user continues playing, further comprising:
receiving instruction information returned by a user terminal;
if the instruction information returned by the user terminal is to start playing, normally playing, and repeatedly executing the control strategy after the normal playing;
if the instruction information returned by the user terminal is that the playing is finished or the instruction information returned by the user terminal is not received within the preset time, the playing task is cancelled;
and sending the information for canceling the playing task to the user terminal.
7. The method of claim 1, wherein the human detection module comprises one or more infrared human detectors disposed on a display screen of the smart device.
8. An apparatus for controlling power consumption of a smart device, comprising:
the human body detection module is used for identifying whether a user exists in a preset range of the intelligent equipment or not through the human body detection module when the intelligent equipment receives a video playing instruction;
the first judgment module is used for sending an instruction for inquiring whether the user starts playing to the user terminal if the user does not exist in the preset range, normally playing if the instruction information returned by the user terminal is to start playing, and canceling the playing task if the instruction information returned by the user terminal is to finish playing or the instruction information returned by the user terminal is not received within the preset time;
and the second judgment module is used for normally playing the video if the user exists in the preset range.
9. An intelligent device power consumption control electronic device comprising a processor and a memory storing program instructions, the processor being configured to perform the intelligent device power consumption control method of any of claims 1 to 7 when executing the program instructions.
10. A computer readable medium having computer readable instructions stored thereon, the computer readable instructions being executable by a processor to implement the smart device power consumption control method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111017005.1A CN113849061A (en) | 2021-08-31 | 2021-08-31 | Intelligent device power consumption control method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111017005.1A CN113849061A (en) | 2021-08-31 | 2021-08-31 | Intelligent device power consumption control method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113849061A true CN113849061A (en) | 2021-12-28 |
Family
ID=78976786
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111017005.1A Pending CN113849061A (en) | 2021-08-31 | 2021-08-31 | Intelligent device power consumption control method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113849061A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115607127A (en) * | 2022-10-31 | 2023-01-17 | 歌尔科技有限公司 | Wrist band device and blood pressure measuring method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110039508A1 (en) * | 2009-08-14 | 2011-02-17 | Apple Inc. | Power Management Techniques for Buffering and Playback of Audio Broadcast Data |
CN105812930A (en) * | 2016-03-18 | 2016-07-27 | 四川邮科通信技术有限公司 | Remote intelligent play method of television program |
CN106254944A (en) * | 2016-09-28 | 2016-12-21 | 上海传英信息技术有限公司 | The power-economizing method of terminal unit and terminal unit |
CN107315522A (en) * | 2017-06-16 | 2017-11-03 | 广东欧珀移动通信有限公司 | A kind of method of video playback, terminal and storage medium |
CN107613368A (en) * | 2017-09-26 | 2018-01-19 | 珠海市魅族科技有限公司 | Video pause method and apparatus, computer installation and computer-readable recording medium |
-
2021
- 2021-08-31 CN CN202111017005.1A patent/CN113849061A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110039508A1 (en) * | 2009-08-14 | 2011-02-17 | Apple Inc. | Power Management Techniques for Buffering and Playback of Audio Broadcast Data |
CN105812930A (en) * | 2016-03-18 | 2016-07-27 | 四川邮科通信技术有限公司 | Remote intelligent play method of television program |
CN106254944A (en) * | 2016-09-28 | 2016-12-21 | 上海传英信息技术有限公司 | The power-economizing method of terminal unit and terminal unit |
CN107315522A (en) * | 2017-06-16 | 2017-11-03 | 广东欧珀移动通信有限公司 | A kind of method of video playback, terminal and storage medium |
CN107613368A (en) * | 2017-09-26 | 2018-01-19 | 珠海市魅族科技有限公司 | Video pause method and apparatus, computer installation and computer-readable recording medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115607127A (en) * | 2022-10-31 | 2023-01-17 | 歌尔科技有限公司 | Wrist band device and blood pressure measuring method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105975301B (en) | Memory method for cleaning and device, electronic equipment | |
CN108513171B (en) | Terminal content control method, device and equipment and readable storage medium | |
CN111212412B (en) | Near field communication method and device, computer readable storage medium and electronic equipment | |
CN108124196A (en) | Method, device and equipment for filtering television content and readable storage medium | |
CN111142398A (en) | Equipment linkage method and device, electronic equipment and storage medium | |
CN106027905A (en) | Sky focusing method and mobile terminal | |
CN113228622A (en) | Image acquisition method, image acquisition device and storage medium | |
CN113849061A (en) | Intelligent device power consumption control method, device, equipment and storage medium | |
CN108989638B (en) | Imaging apparatus, control method thereof, electronic apparatus, and computer-readable storage medium | |
CN112487958A (en) | Gesture control method and system | |
CN103997686A (en) | Play management method and device based on intelligent television | |
CN105488678A (en) | Payment behavior information acquisition method and system | |
CN105005489A (en) | Terminal equipment and starting method thereof | |
CN112333541B (en) | Method, device and equipment for controlling startup and shutdown of display terminal and readable storage medium | |
CN113747234A (en) | Volume adjusting method and device | |
CN112995763B (en) | Control method of intelligent monitoring system, 5G television, system and storage medium | |
CN105677428A (en) | Upgrading method and device for terminal and terminal | |
CN110248181B (en) | Self-reset method, device and system for external equipment and computer readable medium | |
CN108366297B (en) | Method and device for following terminal information and smart television | |
CN107888480A (en) | Prompting message processing method, device, storage medium and mobile terminal | |
EP3026923A1 (en) | Method for accessing media data and corresponding device and system | |
CN106453981B (en) | Electronic equipment method for processing voice messages and device | |
US20170311265A1 (en) | Electronic device and method for controlling the electronic device to sleep | |
CN113420615A (en) | Face living body detection method and device | |
CN112752222A (en) | Behavior recognition method and device, electronic equipment and computer storage medium |
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 |