CN112105041A - Control method and device for environment adjusting equipment powered by battery and terminal - Google Patents

Control method and device for environment adjusting equipment powered by battery and terminal Download PDF

Info

Publication number
CN112105041A
CN112105041A CN202010827138.4A CN202010827138A CN112105041A CN 112105041 A CN112105041 A CN 112105041A CN 202010827138 A CN202010827138 A CN 202010827138A CN 112105041 A CN112105041 A CN 112105041A
Authority
CN
China
Prior art keywords
instruction
wireless communication
communication module
control
module
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
Application number
CN202010827138.4A
Other languages
Chinese (zh)
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.)
Zhangzhou Lidaxin Optoelectronic Technology Co ltd
Original Assignee
Zhangzhou Lidaxin Optoelectronic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhangzhou Lidaxin Optoelectronic Technology Co ltd filed Critical Zhangzhou Lidaxin Optoelectronic Technology Co ltd
Priority to CN202010827138.4A priority Critical patent/CN112105041A/en
Publication of CN112105041A publication Critical patent/CN112105041A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The invention is suitable for the field of communication control, and provides a control method, a device and a terminal of environment adjusting equipment powered by a battery, wherein the control method comprises the following steps: detecting whether a work instruction exists or not; when a work instruction exists, executing the work instruction; when no working instruction exists, entering a sleep mode and sending a sleep instruction to the wireless communication module; in the sleep mode, the power consumption devices of the control module and the wireless communication module are adjusted to be in an off state; and in the sleep mode, when an interrupt awakening instruction occurs, generating a working instruction corresponding to the interrupt awakening instruction, wherein the interrupt awakening instruction comprises an external interrupt awakening instruction and a timing interrupt awakening instruction. The control method can reduce the overall power consumption of the equipment, and is beneficial to solving the problem that the battery power consumption is easy to be exhausted when the environment adjusting equipment provided with the wireless communication module adopts the battery for power supply, and the service life of the battery is influenced.

Description

Control method and device for environment adjusting equipment powered by battery and terminal
Technical Field
The invention belongs to the field of communication control, and particularly relates to a control method and device of environment adjusting equipment powered by a battery and a terminal.
Background
At present, with the development of science and technology and the improvement of living standard, the use of temperature control devices, such as indoor temperature control, gas valve control, oil burner controller control, electric heating controller control, refrigeration compressor control and gate controller control, is increasing. The above application modes can adopt a thermostat to directly realize temperature regulation or indirectly realize control on equipment through temperature regulation.
In addition, because the wireless network (for example, WiFi) and the temperature control device are used for communication to display the convenience and rapidness of the control of the device, the temperature control device equipped with the wireless communication module is more popular in the market, and the demand is increasing.
However, in some application scenarios, for example, the requirement for portability is high, or it is difficult to implement commercial power supply, the temperature control device needs to be powered by a battery. However, since the power consumption of the wireless communication module is often high, especially compared with some small temperature control devices, the wireless communication module has a high percentage of the total power consumption. Therefore, for the temperature regulation and control equipment powered by the battery, the electric quantity of the battery is easily exhausted, and the service life of the battery is influenced.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, an apparatus, and a terminal for controlling an environment adjusting device powered by a battery, so as to solve the problem that the battery power is easily exhausted when the existing environment adjusting device configured with a wireless communication module is powered by a battery, which affects the service life of the battery.
A first aspect of an embodiment of the present invention provides a method for controlling an environment conditioning device powered by a battery, where the environment conditioning device includes a control module and a wireless communication module;
applied to the control module, the control method comprises the following steps:
detecting whether a work instruction exists or not;
when a work instruction exists, executing the work instruction;
when no working instruction exists, entering a sleep mode and sending a sleep instruction to the wireless communication module; wherein the sleep instruction is used for instructing the wireless communication module to enter a sleep mode; in the sleep mode, the power consumption devices of the control module and the wireless communication module are adjusted to be in an off state;
and in the sleep mode, when an interrupt awakening instruction occurs, generating a working instruction corresponding to the interrupt awakening instruction, wherein the interrupt awakening instruction comprises an external interrupt awakening instruction and a timing interrupt awakening instruction.
Optionally, when the interruption wake-up instruction includes an interruption wake-up instruction including distribution network detection information, and when the interruption wake-up instruction occurs, generating a working instruction corresponding to the interruption wake-up instruction may include:
generating a distribution network detection instruction corresponding to the interruption awakening instruction comprising the distribution network detection information;
when the work instruction exists, executing the work instruction, wherein the executing of the work instruction comprises the following steps:
executing the distribution network detection instruction, and detecting whether a distribution network instruction exists or not;
when a distribution network instruction exists, sending a first control instruction to the wireless communication module; the first control instruction is used for indicating the wireless communication module to carry out distribution of a wireless network and establishing communication with a cloud.
Optionally, after the wireless communication module performs a distribution network of the wireless network and establishes communication with a cloud, and when a work instruction exists, the executing of the work instruction may further include:
and acquiring a cloud work instruction, and executing the cloud work instruction when the cloud work instruction is acquired.
Optionally, the environment adjusting device may further include a heating module;
when the interrupt wakeup command includes an external interrupt wakeup command including heating information, and when the interrupt wakeup command occurs, generating a working command corresponding to the interrupt wakeup command, including:
generating a heating instruction corresponding to the external interrupt wake-up instruction including heating information;
correspondingly, when the work instruction exists, the work instruction is executed, and the method comprises the following steps:
when the heating instruction exists, sending a second control instruction to the heating module;
the second control instruction is used for instructing the heating module to heat.
Optionally, the environment adjusting device may further include a heating module;
when a cloud work instruction containing heating information is acquired, executing the cloud work instruction, including:
sending a second control instruction to the heating module;
the second control instruction is used for instructing the heating module to heat.
Optionally, in the sleep mode, the adjusting of the power consumption devices of the control module and the wireless communication module to an off state may include:
the analog-digital converter and the high-frequency clock of the control module are in an off state;
the high frequency clock of the wireless communication module is in an off state.
Optionally, before entering the sleep mode and sending a sleep command to the wireless communication module when there is no operating command, the control method may further include:
configuring an input-output port of the control module to prevent electrical leakage;
sending a configuration instruction to the wireless communication module; wherein the configuration instruction is used for instructing to configure the input/output port of the wireless communication module to prevent electric leakage.
Optionally, the environment adjusting device may further include a temperature sensor;
the control method may further include:
sending an acquisition instruction to the temperature sensor; the acquisition instruction is used for indicating the temperature sensor to acquire environmental temperature information;
acquiring the environment temperature information, and generating the second control instruction through a preset algorithm; the second control instruction is used for indicating the times of heating and the time length of each heating of the heating module so as to reduce the power consumption of the heating module within the preset time.
A second aspect of an embodiment of the present invention provides a control apparatus for an environment conditioning device powered by a battery, where the environment conditioning device includes a control module and a wireless communication module;
applied to the control module, the control device comprises:
the detection unit is used for detecting whether a work instruction exists or not;
the execution unit is used for executing the working instruction when the working instruction exists;
the sleep unit is used for entering a sleep mode and sending a sleep instruction to the wireless communication module when no work instruction exists; wherein the sleep instruction is used for instructing the wireless communication module to enter a sleep mode; in the sleep mode, the power consumption devices of the control module and the wireless communication module are adjusted to be in an off state;
and the awakening unit is used for generating a working instruction corresponding to the interrupt awakening instruction when the interrupt awakening instruction occurs in the sleep mode, wherein the interrupt awakening instruction comprises an external interrupt awakening instruction and a timing interrupt awakening instruction.
A third aspect of the embodiments of the present invention provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the steps of the method for controlling an environment adjustment device powered by a battery according to the first aspect of the embodiments of the present invention.
The embodiment of the invention provides a control method of environment adjusting equipment powered by a battery, which comprises the steps of detecting whether a working instruction exists or not, and executing the working instruction when the working instruction exists; when no working instruction exists, the wireless communication module enters a sleep mode and is controlled to also enter the sleep mode, and under the sleep mode, the power consumption of the wireless communication module and the power consumption of the wireless communication module are both adjusted to be in a closed state, so that the power consumption of the wireless communication module and the power consumption of the control module are greatly reduced. When the wireless communication module is in the sleep mode, the wireless communication module wakes up according to the wake-up instruction, exits the sleep mode to execute the working instruction, and the wake-up instruction only has the external wake-up instruction and the timing interrupt wake-up instruction preset by the environment adjusting device, so that unnecessary wake-up is reduced, power consumption is further reduced, and the problem that the battery power is easily exhausted when the environment adjusting device provided with the wireless communication module adopts the battery power supply to adopt and the service life of the battery is influenced is solved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a schematic structural diagram of an environment conditioning apparatus powered by a battery according to an embodiment of the present invention;
fig. 2 is a schematic flow chart illustrating an implementation of a control method for an environment adjusting device powered by a battery according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of another battery-powered environmental conditioning apparatus according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart of a control module according to an embodiment of the present invention;
fig. 5 is a schematic flowchart of a wireless communication module according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a control apparatus for a battery-powered climate control device according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
The embodiment of the invention provides a control method of environment adjusting equipment powered by a battery.
Referring to fig. 1, in the embodiment of the present invention, an environment adjusting apparatus includes a control module 100 and a wireless communication module 200, and the environment adjusting apparatus is powered by a battery; the battery can be a storage battery or other batteries, and is used for realizing the power supply function except the commercial power for the environment adjusting equipment.
Referring to fig. 1 and 2, applied to the control module 100, the control method includes:
step S101, whether a work instruction exists is detected.
And step S102, when a work instruction exists, executing the work instruction.
In this embodiment of the present invention, the operating instruction may be an instruction instructing the environment adjusting apparatus to heat, for example, when the instruction instructing the environment adjusting apparatus to heat is detected, the environment adjusting apparatus is instructed to start to perform a heating action, after the environment adjusting apparatus is instructed to start to heat, the operating instruction is regarded as being completed, and at this time, it is continuously detected whether there are other operating instructions. The work instruction may also be an instruction instructing the wireless communication module 200 to perform networking, so as to establish network connection with the cloud device, and after the instruction indicates that network connection is established, the work instruction is regarded as being completed, and at this time, whether another work instruction exists is continuously detected. In addition, after the connection with the cloud is established, the working instruction can be a working instruction acquired from the cloud, and the working instruction is executed when the working instruction of the cloud is acquired.
Step S103, when there is no work instruction, entering a sleep mode and sending a sleep instruction to the wireless communication module 200; wherein, the sleep instruction is used to instruct the wireless communication module 200 to enter a sleep mode; in the sleep mode, the power consumption devices of the control module 100 and the wireless communication module 200 are adjusted to be in an off state.
In the embodiment of the present invention, when there is no work instruction, both the control module 100 and the wireless communication module 200 enter the sleep mode. At this time, the power consumption devices and functions of the control module 100 and the wireless communication module 200 are turned off, for example, functions of analog-to-digital conversion, high-speed clock and the like of the control module 100, and functions of high-speed clock and the like of the wireless communication module.
Step S104, in the sleep mode, when an interrupt wakeup command occurs, generating a working command corresponding to the interrupt wakeup command, wherein the interrupt wakeup command comprises an external interrupt wakeup command and a timing interrupt wakeup command.
In the embodiment of the invention, in order to ensure that the environment adjusting equipment can meet the normal use requirement while saving power consumption, an interrupt wakeup instruction in a sleep mode is set. The interrupt wake-up instruction includes an external interrupt wake-up instruction and a timed interrupt wake-up instruction, for example, the external interrupt wake-up instruction may be a wake-up instruction triggered by an external IO port, and the timed interrupt wake-up instruction may be a wake-up instruction triggered by an RTC clock in a timed manner.
The control method provided by the embodiment of the invention is applied to the environment adjusting equipment powered by the battery, and the working instruction is executed when the working instruction exists by detecting whether the working instruction exists or not; when no working instruction exists, the wireless communication module enters a sleep mode and is controlled to also enter the sleep mode, and under the sleep mode, the power consumption of the wireless communication module and the power consumption of the wireless communication module are both adjusted to be in a closed state, so that the power consumption of the wireless communication module and the power consumption of the control module are greatly reduced. When the wireless communication module is in the sleep mode, the wireless communication module wakes up according to the wake-up instruction, exits the sleep mode to execute the working instruction, and the wake-up instruction only has the external wake-up instruction and the timing interrupt wake-up instruction preset by the environment adjusting device, so that unnecessary wake-up is reduced, power consumption is further reduced, and the problem that the battery power is easily exhausted when the environment adjusting device provided with the wireless communication module adopts the battery power supply to adopt and the service life of the battery is influenced is solved.
In some embodiments, when the interruption wakeup command includes an interruption wakeup command including distribution network detection information, and when the interruption wakeup command occurs, generating a work command corresponding to the interruption wakeup command may include:
generating a distribution network detection instruction corresponding to the interruption awakening instruction comprising the distribution network detection information;
when the work instruction exists, executing the work instruction, wherein the executing of the work instruction comprises the following steps:
executing the distribution network detection instruction, and detecting whether a distribution network instruction exists or not;
when a distribution network instruction exists, sending a first control instruction to the wireless communication module; the first control instruction is used for indicating the wireless communication module to carry out distribution of a wireless network and establishing communication with a cloud.
In the embodiment of the present invention, when the external interrupt wake-up instruction includes an interrupt wake-up instruction including distribution network detection information, for example, the external IO port may be provided with a distribution network function key, and when the environment adjusting device is woken up by the distribution network function key, the interrupt wake-up instruction at this time is the interrupt wake-up instruction including the distribution network detection information. At this time, in step S104, a distribution network detection command corresponding to the interruption wakeup command including the distribution network detection information is generated based on the interruption wakeup command. The environment adjusting device wakes up, exits from the sleep mode, starts to execute step S101, detects whether there is a work instruction, detects the distribution network detection instruction at this time, and enters step S102 to execute the distribution network detection instruction: and sending a first control instruction to the wireless communication module, instructing the wireless communication module to carry out network distribution of a wireless network, and establishing communication with a cloud end.
In some embodiments, the timed interruption wake-up instruction may also be directly set to include an interruption wake-up instruction including distribution network detection information, for example, the distribution network detection instruction is generated while the RTC clock is triggered at a timing; that is, the distribution network detection instruction is executed each time the RTC clock is timed to wake up.
In some embodiments, the wireless communication module performs a network distribution of the wireless network, and the process of establishing communication with the cloud may include: the wireless communication module distribution network adopts an AP distribution network Mode, the environment adjusting equipment is switched to an AP Mode in the distribution network process, the APP of the mobile terminal is connected to the environment adjusting equipment and sends information such as SSID (service set identifier) and Password of Router in an HTTP (hyper text transport protocol) Mode. And after receiving the distribution network information, the environment adjusting equipment is switched to the STA Mode, is connected to the Router and establishes HTTPS connection to carry out configuration information interaction, so that the distribution network is completed.
In some embodiments, after the wireless communication module performs network distribution of a wireless network and establishes communication with a cloud, and when a work instruction exists, executing the work instruction may further include: and acquiring a cloud work instruction, and executing the cloud work instruction when the cloud work instruction is acquired.
In the embodiment of the invention, after the wireless communication module finishes the distribution of the network, the wireless communication module can be set to actively acquire the information of the cloud and actively upload the equipment information to the cloud, so that high power consumption caused by maintaining frequent connection is avoided. The cloud communication process can adopt HTTPS to carry out data interaction. The wireless communication module executes the work instruction when acquiring the work instruction of the cloud, namely only when detecting that the update work instruction exists in the cloud.
In some embodiments, the environmental conditioning apparatus may further include a heating module; when the interrupt wakeup command includes an external interrupt wakeup command including heating information, and when the interrupt wakeup command occurs, generating a working command corresponding to the interrupt wakeup command, including: generating a heating instruction corresponding to the external interrupt wake-up instruction including heating information; correspondingly, when the work instruction exists, the work instruction is executed, and the method comprises the following steps: when the heating instruction exists, sending a second control instruction to the heating module; the second control instruction is used for instructing the heating module to heat.
In the embodiment of the invention, the environment adjusting equipment comprises a heating module; when the interrupt wakeup command includes an external interrupt wakeup command including heating information, for example, the external IO port may be provided with a heating function key, and when the environment conditioning device is waken up by the heating function key, the interrupt wakeup command at this time is the external interrupt wakeup command including the heating information, and in step S104, the heating command is generated. The environment adjusting device wakes up, exits from the sleep mode, starts to execute step S101, detects whether there is a working instruction, detects the heating instruction at this time, and enters step S102 to execute the heating instruction: and sending a second control instruction to the heating module to instruct the heating module to perform heating action.
In some embodiments, the environmental conditioning apparatus may further include a heating module; when a cloud work instruction containing heating information is acquired, executing the cloud work instruction, including: sending a second control instruction to the heating module; the second control instruction is used for instructing the heating module to heat.
In the embodiment of the invention, the environment adjusting equipment comprises a heating module; the heating function can also be executed by actively acquiring a heating instruction existing in the cloud after the wireless communication module establishes connection with the cloud, executing the heating instruction at the moment, sending a second control instruction to the heating module and indicating the heating module to heat; the heating instruction of the cloud can be sent to the cloud through the mobile terminal, for example, the user uses an APP corresponding to the environment adjusting device to send the heating instruction to the cloud.
In some embodiments, the adjusting the power consumption devices of the control module and the wireless communication module to be in an off state in the sleep mode may include: the analog-digital converter and the high-frequency clock of the control module are in an off state; the high frequency clock of the wireless communication module is in an off state.
In some embodiments, before entering the sleep mode and sending the sleep command to the wireless communication module when there is no operating command, the control method may further include: configuring an input-output port of the control module to prevent electrical leakage; sending a configuration instruction to the wireless communication module; wherein the configuration instruction is used for instructing to configure the input/output port of the wireless communication module to prevent electric leakage.
In some embodiments, before entering the sleep mode and sending the sleep command to the wireless communication module when there is no operating command, the control method may further include: shutting down the timed event of the application layer prevents an abort and configures the RTC timed wake-up time when going to sleep for the first time.
In the embodiment of the present invention, referring to fig. 1, before the control module 100 and the wireless communication module 200 enter the sleep mode, the IO port of the control module 100 and the IO port of the wireless communication module 200 may be configured to be in a correct working mode to prevent leakage. After the control module 100 and the wireless communication module 200 enter the sleep mode, the analog-to-digital converter and the high-frequency clock of the control module 100 and the high-frequency clock of the wireless communication module are both in the off state, so that the ultra-low power consumption of the environment conditioning equipment is realized, the energy is saved, and the service life of the battery is prolonged.
In some embodiments, the environmental conditioning apparatus may further include a temperature sensor; the control method may further include: sending an acquisition instruction to the temperature sensor; the acquisition instruction is used for indicating the temperature sensor to acquire environmental temperature information; acquiring the environment temperature information, and generating the second control instruction through a preset algorithm; the second control instruction is used for indicating the times of heating and the time length of each heating of the heating module so as to reduce the power consumption of the heating module within the preset time.
In the embodiment of the present invention, the environment adjusting apparatus may further include a temperature sensor; and sending a second control instruction to the heating module, and generating a second control instruction through a preset algorithm based on the environmental temperature information collected by the temperature sensor before instructing the heating module to heat, wherein the second control instruction not only instructs the heating module to heat, but also instructs the times of heating and the time length of heating at each time to reduce the power consumption of the heating module within the preset time, so that the power consumption of the environment adjusting equipment is further reduced.
Fig. 3 is a schematic structural diagram of another environment adjusting apparatus provided by an embodiment of the present invention, and the control module 100 is used for controlling the wireless communication module 200, the battery module 300, the digital display module 400, the sensor module 500, the key module 600, and the heating module 700. The battery module 300 is provided with a battery and a power conversion circuit to supply power to the device; the digital display module 400 is used to display device status information; the sensor module 500 may be provided with at least one sensor, such as a temperature sensor, for collecting environmental information corresponding to the sensor type; the key module 600 is provided with keys for triggering corresponding functions of the device, and generates corresponding instruction information according to the keys and transmits the instruction information to the control module 100; the heating module 700 is used to perform a heating function; the reset module 800 includes a reset circuit for resetting the device. In the embodiment of the present invention, the temperature may be set by pressing a key of the key module 600 or receiving a remote command through the wireless communication module 200.
Fig. 4 is a schematic workflow diagram of a control module according to an embodiment of the present invention. Each step in fig. 4 may refer to the related contents described in the other embodiments above.
Fig. 5 is a schematic flowchart of a wireless communication module according to an embodiment of the present invention. Each step in fig. 5 may refer to the related contents described in the other embodiments above.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Referring to fig. 6, an embodiment of the present invention further provides a control apparatus for an environment adjusting device powered by a battery; the environment adjusting device comprises a control module and a wireless communication module.
Applied to the control module, the control device 60 comprises:
a detection unit 61 for detecting whether there is a work order;
an execution unit 62 for executing the work instruction when the work instruction exists;
the sleep unit 63 is configured to enter a sleep mode and send a sleep command to the wireless communication module when there is no work command; the sleep instruction is used for indicating the wireless communication module to enter a sleep mode; in the sleep mode, the power consumption devices of the control module and the wireless communication module are adjusted to be in a closed state;
and the wakeup unit 64 is configured to, in the sleep mode, generate a working instruction corresponding to the interrupt wakeup instruction when the interrupt wakeup instruction occurs, where the interrupt wakeup instruction includes an external interrupt wakeup instruction and a timed interrupt wakeup instruction.
In some embodiments, when the interruption wakeup command includes an interruption wakeup command including distribution network detection information, and when the interruption wakeup command occurs, generating a work command corresponding to the interruption wakeup command may include:
generating a distribution network detection instruction corresponding to the interruption awakening instruction comprising the distribution network detection information;
when the work instruction exists, executing the work instruction, wherein the executing of the work instruction comprises the following steps:
executing the distribution network detection instruction, and detecting whether a distribution network instruction exists or not;
when a distribution network instruction exists, sending a first control instruction to the wireless communication module; the first control instruction is used for indicating the wireless communication module to carry out distribution of a wireless network and establishing communication with a cloud.
In some embodiments, after the wireless communication module performs network distribution of a wireless network and establishes communication with a cloud, and when a work instruction exists, executing the work instruction may further include:
and acquiring a cloud work instruction, and executing the cloud work instruction when the cloud work instruction is acquired.
In some embodiments, the environmental conditioning apparatus may further include a heating module;
when the interrupt wakeup command includes an external interrupt wakeup command including heating information, and when the interrupt wakeup command occurs, generating a working command corresponding to the interrupt wakeup command, including:
generating a heating instruction corresponding to the external interrupt wake-up instruction including heating information;
correspondingly, when the work instruction exists, the work instruction is executed, and the method comprises the following steps:
when the heating instruction exists, sending a second control instruction to the heating module;
the second control instruction is used for instructing the heating module to heat.
In some embodiments, the environmental conditioning apparatus may further include a heating module;
when a cloud work instruction containing heating information is acquired, executing the cloud work instruction, including:
sending a second control instruction to the heating module;
the second control instruction is used for instructing the heating module to heat.
In some embodiments, the adjusting the power consumption devices of the control module and the wireless communication module to be in an off state in the sleep mode may include:
the analog-digital converter and the high-frequency clock of the control module are in an off state;
the high frequency clock of the wireless communication module is in an off state.
In some embodiments, before entering the sleep mode and sending the sleep command to the wireless communication module when there is no operating command, the control method may further include:
configuring an input-output port of the control module to prevent electrical leakage;
sending a configuration instruction to the wireless communication module; wherein the configuration instruction is used for instructing to configure the input/output port of the wireless communication module to prevent electric leakage.
In some embodiments, the environmental conditioning apparatus may further include a temperature sensor;
the control method may further include:
sending an acquisition instruction to the temperature sensor; the acquisition instruction is used for indicating the temperature sensor to acquire environmental temperature information;
acquiring the environment temperature information, and generating the second control instruction through a preset algorithm; the second control instruction is used for indicating the times of heating and the time length of each heating of the heating module so as to reduce the power consumption of the heating module within the preset time.
It is obvious to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional units and modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional units and modules as needed, that is, the internal structure of the terminal device is divided into different functional units or modules to perform all or part of the above described functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the above-mentioned apparatus may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Fig. 7 is a schematic block diagram of a terminal device according to an embodiment of the present invention. As shown in fig. 7, the terminal device 70 of this embodiment includes: one or more processors 71, a memory 72, and a computer program 73 stored in the memory 72 and executable on the processors 71. The processor 71, when executing the computer program 73, implements the steps in the above-described embodiments of the control method of each battery-powered climate control device, such as the steps S101 to S104 shown in fig. 2. Alternatively, the processor 71, when executing the computer program 73, implements the functionality of the various modules/units in the control device embodiment of the above described battery-powered climate control apparatus, such as the functionality of the modules 61 to 64 shown in fig. 6.
Illustratively, the computer program 73 may be divided into one or more modules/units, which are stored in the memory 72 and executed by the processor 71 to accomplish the present application. One or more of the modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 73 in the terminal device 70. For example, the computer program 73 may be divided into the modules 61 to 64 shown in fig. 6.
Terminal equipment 70 includes, but is not limited to, a processor 71, a memory 72. Those skilled in the art will appreciate that fig. 7 is merely an example of a terminal device and does not constitute a limitation of terminal device 70 and may include more or fewer components than shown, or some components may be combined, or different components, e.g., terminal device 70 may also include input devices, output devices, network access devices, buses, etc.
The Processor 71 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 72 may be an internal storage unit of the terminal device, such as a hard disk or a memory of the terminal device. The memory 72 may also be an external storage device of the terminal device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the terminal device. Further, the memory 72 may also include both an internal storage unit of the terminal device and an external storage device. The memory 72 is used for storing computer programs 73 as well as other programs and data required by the terminal device. The memory 72 may also be used to temporarily store data that has been output or is to be output.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed control method, apparatus and terminal device may be implemented in other ways. For example, the above-described terminal device embodiments are merely illustrative, and for example, a module or a unit may be divided into only one logical function, and may be implemented in other ways, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method according to the embodiments described above may be implemented by a computer program, which is stored in a computer readable storage medium and used by a processor to implement the steps of the embodiments of the methods described above. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, recording medium, U.S. disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution media, and the like. It should be noted that the computer readable medium may include any suitable increase or decrease as required by legislation and patent practice in the jurisdiction, for example, in some jurisdictions, computer readable media may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. The control method of the environment adjusting equipment powered by the battery is characterized in that the environment adjusting equipment comprises a control module and a wireless communication module;
applied to the control module, the control method comprises the following steps:
detecting whether a work instruction exists or not;
when a work instruction exists, executing the work instruction;
when no working instruction exists, entering a sleep mode and sending a sleep instruction to the wireless communication module; wherein the sleep instruction is used for instructing the wireless communication module to enter a sleep mode; in the sleep mode, the power consumption devices of the control module and the wireless communication module are adjusted to be in an off state;
and in the sleep mode, when an interrupt awakening instruction occurs, generating a working instruction corresponding to the interrupt awakening instruction, wherein the interrupt awakening instruction comprises an external interrupt awakening instruction and a timing interrupt awakening instruction.
2. The method for controlling an environmental conditioning apparatus powered by a battery according to claim 1, wherein when the wake-up interruption command includes a wake-up interruption command including distribution network detection information, and when the wake-up interruption command occurs, generating a working command corresponding to the wake-up interruption command includes:
generating a distribution network detection instruction corresponding to the interruption awakening instruction comprising the distribution network detection information;
when the work instruction exists, executing the work instruction, wherein the executing of the work instruction comprises the following steps:
executing the distribution network detection instruction, and detecting whether a distribution network instruction exists or not;
when a distribution network instruction exists, sending a first control instruction to the wireless communication module; the first control instruction is used for indicating the wireless communication module to carry out distribution of a wireless network and establishing communication with a cloud.
3. The method of claim 2, wherein after the wireless communication module performs network distribution of a wireless network and establishes communication with a cloud, and when a work instruction exists, the work instruction is executed, and further comprising:
and acquiring a cloud work instruction, and executing the cloud work instruction when the cloud work instruction is acquired.
4. The control method of a battery-powered climate control device according to claim 1, wherein the climate control device further comprises a heating module;
when the interrupt wakeup command includes an external interrupt wakeup command including heating information, and when the interrupt wakeup command occurs, generating a working command corresponding to the interrupt wakeup command, including:
generating a heating instruction corresponding to the external interrupt wake-up instruction including heating information;
correspondingly, when the work instruction exists, the work instruction is executed, and the method comprises the following steps:
when the heating instruction exists, sending a second control instruction to the heating module;
the second control instruction is used for instructing the heating module to heat.
5. The control method of the battery-powered environment conditioning device according to claim 3, wherein the environment conditioning device further comprises a heating module;
when a cloud work instruction containing heating information is acquired, executing the cloud work instruction, including:
sending a second control instruction to the heating module;
the second control instruction is used for instructing the heating module to heat.
6. The method of claim 1, wherein in the sleep mode, the power consuming components of the control module and the wireless communication module are adjusted to an off state, comprising:
the analog-digital converter and the high-frequency clock of the control module are in an off state;
the high frequency clock of the wireless communication module is in an off state.
7. The method of controlling a battery-operated climate control device according to any of claims 1-6, wherein before entering a sleep mode and sending a sleep command to said wireless communication module when no operating command is present, said method further comprises:
configuring an input-output port of the control module to prevent electrical leakage;
sending a configuration instruction to the wireless communication module; wherein the configuration instruction is used for instructing to configure the input/output port of the wireless communication module to prevent electric leakage.
8. The control method of a battery-powered climate control device according to claim 4 or 5, wherein the climate control device further comprises a temperature sensor;
the control method further comprises the following steps:
sending an acquisition instruction to the temperature sensor; the acquisition instruction is used for indicating the temperature sensor to acquire environmental temperature information;
acquiring the environment temperature information, and generating the second control instruction through a preset algorithm; the second control instruction is used for indicating the times of heating and the time length of each heating of the heating module so as to reduce the power consumption of the heating module within the preset time.
9. A control device of environment adjusting equipment powered by a battery is characterized in that the environment adjusting equipment comprises a control module and a wireless communication module;
applied to the control module, the control device comprises:
the detection unit is used for detecting whether a work instruction exists or not;
the execution unit is used for executing the working instruction when the working instruction exists;
the sleep unit is used for entering a sleep mode and sending a sleep instruction to the wireless communication module when no work instruction exists; wherein the sleep instruction is used for instructing the wireless communication module to enter a sleep mode; in the sleep mode, the power consumption devices of the control module and the wireless communication module are adjusted to be in an off state;
and the awakening unit is used for generating a working instruction corresponding to the interrupt awakening instruction when the interrupt awakening instruction occurs in the sleep mode, wherein the interrupt awakening instruction comprises an external interrupt awakening instruction and a timing interrupt awakening instruction.
10. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method for controlling an climate control device powered by a battery according to any of claims 1 to 7 when executing the computer program.
CN202010827138.4A 2020-08-17 2020-08-17 Control method and device for environment adjusting equipment powered by battery and terminal Pending CN112105041A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010827138.4A CN112105041A (en) 2020-08-17 2020-08-17 Control method and device for environment adjusting equipment powered by battery and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010827138.4A CN112105041A (en) 2020-08-17 2020-08-17 Control method and device for environment adjusting equipment powered by battery and terminal

Publications (1)

Publication Number Publication Date
CN112105041A true CN112105041A (en) 2020-12-18

Family

ID=73754506

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010827138.4A Pending CN112105041A (en) 2020-08-17 2020-08-17 Control method and device for environment adjusting equipment powered by battery and terminal

Country Status (1)

Country Link
CN (1) CN112105041A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112678275A (en) * 2020-12-30 2021-04-20 宁波智能制造技术研究院有限公司 Control method of medical sterilization packaging bag sealing machine
CN112905244A (en) * 2020-12-22 2021-06-04 金卡智能集团股份有限公司 Instrument control method, device and equipment
CN117007136A (en) * 2023-10-07 2023-11-07 深圳市千岩科技有限公司 Environment perception data detection method, device and equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102547944A (en) * 2012-03-11 2012-07-04 上海宜云物联科技有限公司 Gate of internet of things for implementing long-term operation in environment without electricity and implementation method
CN106851737A (en) * 2016-12-30 2017-06-13 广东欧珀移动通信有限公司 A kind of method for sending upstream data, and terminal device
CN107396427A (en) * 2016-05-14 2017-11-24 浙江微科机电有限公司 A kind of collector of the Internet of Things intelligent monitor system based on 6LowPAN agreements
US20180020402A1 (en) * 2016-07-18 2018-01-18 Netgear, Inc. Power management techniques for a power sensitive wireless device
EP3627910A1 (en) * 2018-09-21 2020-03-25 Comcast Cable Communications LLC Activation and deactivation of power saving operation
CN111007781A (en) * 2019-12-27 2020-04-14 北京润科通用技术有限公司 Control method and system of environment monitoring device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102547944A (en) * 2012-03-11 2012-07-04 上海宜云物联科技有限公司 Gate of internet of things for implementing long-term operation in environment without electricity and implementation method
CN107396427A (en) * 2016-05-14 2017-11-24 浙江微科机电有限公司 A kind of collector of the Internet of Things intelligent monitor system based on 6LowPAN agreements
US20180020402A1 (en) * 2016-07-18 2018-01-18 Netgear, Inc. Power management techniques for a power sensitive wireless device
CN106851737A (en) * 2016-12-30 2017-06-13 广东欧珀移动通信有限公司 A kind of method for sending upstream data, and terminal device
EP3627910A1 (en) * 2018-09-21 2020-03-25 Comcast Cable Communications LLC Activation and deactivation of power saving operation
CN111007781A (en) * 2019-12-27 2020-04-14 北京润科通用技术有限公司 Control method and system of environment monitoring device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112905244A (en) * 2020-12-22 2021-06-04 金卡智能集团股份有限公司 Instrument control method, device and equipment
CN112678275A (en) * 2020-12-30 2021-04-20 宁波智能制造技术研究院有限公司 Control method of medical sterilization packaging bag sealing machine
CN117007136A (en) * 2023-10-07 2023-11-07 深圳市千岩科技有限公司 Environment perception data detection method, device and equipment
CN117007136B (en) * 2023-10-07 2023-12-26 深圳市千岩科技有限公司 Environment perception data detection method, device and equipment

Similar Documents

Publication Publication Date Title
CN112105041A (en) Control method and device for environment adjusting equipment powered by battery and terminal
CN104796971A (en) System and method for low power signaling in wireless local area network
CN102090115A (en) Power save mode for access points
US9069601B2 (en) Method and apparatus for controlling task execution
CN103857021B (en) Control method, blue-tooth device and the electronic installation of blue-tooth device
CN102651785A (en) Remote wakeup of application processor of mobile device
CN104602332A (en) Control processing method and control processing device for transmitting power, and terminal
CN110677899B (en) Data transmission method, device, terminal equipment and storage medium
US20080310337A1 (en) Periodic heartbeat communication between devices and a control point
CN108777862B (en) Bluetooth transmission method, Bluetooth controller and Bluetooth device
US20190357138A1 (en) Secondary processor management allowing deep sleep of primary processor
US20180242247A1 (en) Changing method from sleep mode to awake mode in wifi system
CN110572869A (en) equipment awakening method and device based on BLE and Hall switch
US10051172B2 (en) RF front end power control for low power RF devices
TWI674018B (en) Method and apparatus for providing power saving optimization for wlan ap
CN106598193B (en) Power consumption control method and device
KR20160121876A (en) Changing method from sleep mode to awake mode in wifi system
CN105070022A (en) Meter end device and wireless meter reading system and method
CN102801871B (en) Radio frequency smart card and control method thereof
CN204440629U (en) A kind of low-power consumption bus data acquisition device
TWI602459B (en) Communication system and iot system
WO2020211861A1 (en) Scheduling method for terminal device, terminal device, and base station
JP7384021B2 (en) terminal device
CN114117356A (en) Method and equipment for realizing remote low-power-consumption sensor
CN112888050B (en) Equipment energy saving method and device 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20201218

RJ01 Rejection of invention patent application after publication