CN110572806A - Bluetooth-based time correction method and device for temperature control relay system - Google Patents

Bluetooth-based time correction method and device for temperature control relay system Download PDF

Info

Publication number
CN110572806A
CN110572806A CN201910861418.4A CN201910861418A CN110572806A CN 110572806 A CN110572806 A CN 110572806A CN 201910861418 A CN201910861418 A CN 201910861418A CN 110572806 A CN110572806 A CN 110572806A
Authority
CN
China
Prior art keywords
bluetooth
time
node
control instruction
bluetooth node
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
CN201910861418.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.)
Beijing Huitongtianxia Internet Of Things Technology Co Ltd
Original Assignee
Beijing Huitongtianxia Internet Of Things 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 Beijing Huitongtianxia Internet Of Things Technology Co Ltd filed Critical Beijing Huitongtianxia Internet Of Things Technology Co Ltd
Priority to CN201910861418.4A priority Critical patent/CN110572806A/en
Publication of CN110572806A publication Critical patent/CN110572806A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D23/00Control of temperature
    • G05D23/19Control of temperature characterised by the use of electric means
    • G05D23/20Control of temperature characterised by the use of electric means with sensing elements having variation of electric or magnetic properties with change of temperature
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/001Synchronization between nodes
    • 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)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application provides a temperature control relay system time correction method and device based on Bluetooth, and the method comprises the following steps: detecting whether a time correction request sent by a Bluetooth node is received, and if so, performing time correction processing of activation time with the Bluetooth node; judging whether the activation time after time correction is reached, if so, receiving detection information sent by the Bluetooth node and forwarding the detection information to a Bluetooth host; receiving a control instruction sent by the Bluetooth host, forwarding the control instruction to the Bluetooth node, and entering a low-power-consumption working state; the application can conveniently, effectively and accurately switch the working state of the temperature control relay system, saves the working power consumption of each device, and improves the usability and the durability of the whole system.

Description

Bluetooth-based time correction method and device for temperature control relay system
Technical Field
The application relates to the field of data processing, in particular to a temperature control relay system time correction method and device based on Bluetooth.
background
For temperature monitoring of places such as a refrigeration house and the like, the prior art is divided into a wired mode and a wireless mode. The wire-laying mode needs punching and wiring, and is very inconvenient for installation and implementation and maintenance in the future; the wireless mode is convenient to implement and convenient to maintain in the future. The wireless mode is generally a split mode, namely a device (node) for monitoring the temperature is placed in a warehouse so as to acquire the temperature of the warehouse in real time, a host is placed outside the warehouse, the node and the host transmit data in a wireless mode, and then the host transmits the data to a platform or a nearby computer device.
the inventor finds that the node needs a battery as a power source, so low power consumption is needed, and the bluetooth technology is very suitable for the application as a low power consumption technology, but the bluetooth technology is difficult to be used for temperature monitoring of a large warehouse because the transmission distance of the bluetooth is relatively short. If the bluetooth repeater is added between the bluetooth node and the bluetooth host to forward the information of the node, the problem can be solved, but the bluetooth repeater is also powered by a battery, so that the traditional bluetooth repeater technology cannot realize long-time relay transmission by using a smaller battery. If a huge battery is used for supplying power to the Bluetooth repeater, the equipment cost is greatly increased, and the Bluetooth repeater is difficult to install; and may pose a safety hazard under certain extreme conditions because the battery is large.
Disclosure of Invention
Aiming at the problems in the prior art, the application provides a Bluetooth-based time correction method and device for a temperature control relay system, which can conveniently, effectively and accurately switch the working state of the temperature control relay system, save the working power consumption of each device and improve the usability and durability of the whole system.
In order to solve at least one of the above problems, the present application provides the following technical solutions:
In a first aspect, the present application provides a temperature control relay system time calibration method based on bluetooth, including:
Detecting whether a time correction request sent by a Bluetooth node is received, and if so, performing time correction processing of activation time with the Bluetooth node;
Judging whether the activation time after time correction is reached, if so, receiving detection information sent by the Bluetooth node and forwarding the detection information to a Bluetooth host;
And receiving a control instruction sent by the Bluetooth host, forwarding the control instruction to the Bluetooth node, and entering a low-power-consumption working state.
Further, the time-checking process of the activation time with the bluetooth node includes:
Acquiring local activation time and sending the local activation time to the Bluetooth node so that the Bluetooth node performs time correction processing according to the activation time;
and receiving a time correction processing result returned by the Bluetooth node.
further, the receiving the detection information sent by the bluetooth node and forwarding the detection information to the bluetooth host includes:
Receiving environment index information sent by the Bluetooth node and forwarding the environment index information to a Bluetooth host so that the Bluetooth host generates a control instruction according to the environment index information, wherein the environment index information comprises: the current temperature information and the current humidity information, and the control instruction is used for controlling an environment control device in signal connection with the Bluetooth node.
Further, the receiving the control command sent by the bluetooth host, forwarding the control command to the bluetooth node, and entering a low power consumption operating state includes:
and judging whether the control instruction is forwarded or not, if so, entering a low-power-consumption working state, wherein the Bluetooth node forwards the control instruction to an environment control device after receiving the control instruction, and entering the low-power-consumption working state.
in a second aspect, the present application provides a bluetooth-based time calibration apparatus for a temperature control relay system, comprising:
The checking request detection module is used for detecting whether a time checking request sent by a Bluetooth node is received or not, and if so, the checking request detection module performs time checking processing of activation time with the Bluetooth node;
the activation time judging module is used for judging whether the activation time after time correction is reached, and if so, receiving detection information sent by the Bluetooth node and forwarding the detection information to the Bluetooth host;
and the control instruction forwarding module is used for receiving the control instruction sent by the Bluetooth host, forwarding the control instruction to the Bluetooth node and entering a low-power-consumption working state.
further, the collation request detection module includes:
the activation time sending unit is used for acquiring local activation time and sending the local activation time to the Bluetooth node so that the Bluetooth node performs time correction processing according to the activation time;
and the checking result receiving unit is used for receiving the time checking processing result returned by the Bluetooth node.
Further, the activation time determination module includes:
An information forwarding unit, configured to receive environment index information sent by the bluetooth node and forward the environment index information to a bluetooth host, so that the bluetooth host generates a control instruction according to the environment index information, where the environment index information includes: the current temperature information and the current humidity information, and the control instruction is used for controlling an environment control device in signal connection with the Bluetooth node.
Further, the control instruction forwarding module includes:
and the low-power-consumption state switching unit is used for judging whether the control instruction is completely forwarded or not, if so, entering a low-power-consumption working state, wherein the Bluetooth node forwards the control instruction to the environment control device after receiving the control instruction, and enters the low-power-consumption working state.
in a third aspect, the present application provides an electronic device, which includes 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 bluetooth-based temperature control relay system time calibration method when executing the program.
in a fourth aspect, the present application provides a computer readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the bluetooth based temperature controlled relay system time proofreading method.
According to the technical scheme, whether a time correction request sent by a Bluetooth node is received or not is detected, the time correction request is actively performed with the Bluetooth node after the time correction request is received, so that the time correction is consistent with the activation time of the Bluetooth node, when the activation time is judged to be reached, the Bluetooth node enters a high-power working state, the detection information sent by the Bluetooth node is received and forwarded to a Bluetooth host, meanwhile, the control instruction sent by the Bluetooth host is received and forwarded to the Bluetooth node, the transmission work of the detection information and the control instruction is completed, and the Bluetooth node enters a low-power working state, the endurance time of each device is prolonged, and the availability and the durability of the whole system are improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
fig. 1 is a schematic flowchart of a time calibration method for a bluetooth-based temperature control relay system in an embodiment of the present application;
fig. 2 is a second flowchart of a time calibration method for a bluetooth-based temperature control relay system according to an embodiment of the present invention;
Fig. 3 is one of the structural diagrams of the time calibration apparatus of the bluetooth-based temperature control relay system in the embodiment of the present application;
fig. 4 is a second structural diagram of a time calibration apparatus of a bluetooth-based temperature control relay system in an embodiment of the present application;
Fig. 5 is a third structural diagram of a time calibration apparatus of a bluetooth-based temperature control relay system in an embodiment of the present application;
Fig. 6 is a fourth structural diagram of a time calibration apparatus of a bluetooth-based temperature control relay system in an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device in an embodiment of the present application.
Detailed Description
in order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but 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 application.
Considering that the nodes in the prior art need to use batteries as power sources and therefore need low power consumption, the bluetooth technology is very suitable for the application as a low power consumption technology, but the bluetooth technology is difficult to be used for temperature monitoring of large warehouses because the transmission distance of the bluetooth is relatively short. If the bluetooth repeater is added between the bluetooth node and the bluetooth host to forward the information of the node, the problem can be solved, but the bluetooth repeater is also powered by a battery, so that the traditional bluetooth repeater technology cannot realize long-time relay transmission by using a smaller battery. If a huge battery is used for supplying power to the Bluetooth repeater, the equipment cost is greatly increased, and the Bluetooth repeater is difficult to install; and because the battery is huge, the potential safety hazard problem under some extreme conditions can be caused, the application provides a temperature control relay system time correction method and device based on Bluetooth, by detecting whether a time correction request sent by the Bluetooth node is received or not and actively performing time correction with the Bluetooth node after receiving the time correction request, the consistency with the activation time of the Bluetooth node is ensured, when the activation time is judged to be reached, the Bluetooth node enters a high-power working state, receives the detection information sent by the Bluetooth node and forwards the detection information to the Bluetooth host, meanwhile, after the control instruction sent by the Bluetooth host is received, the control instruction is forwarded to the Bluetooth node, transmission work of detection information and the control instruction is completed, and the Bluetooth node enters a low-power-consumption working state, so that the endurance time of each device is prolonged, and the usability and the durability of the whole system are improved.
In order to switch the working states of the temperature control relay system conveniently, effectively and accurately, save the working power consumption of each device, and improve the availability and durability of the whole system, the present application provides an embodiment of a temperature control relay system time calibration method based on bluetooth, and referring to fig. 1, the temperature control relay system time calibration method based on bluetooth specifically includes the following contents:
Step S101: and detecting whether a time correction request sent by the Bluetooth node is received, and if so, performing time correction processing of the activation time with the Bluetooth node.
It is understood that the main implementation body of the present application may be a bluetooth repeater, which is in signal connection with a bluetooth node and a bluetooth host in a wired/wireless manner.
Optionally, the bluetooth repeater is initially in a low-power operating state, and is capable of detecting whether a signal sent by a bluetooth node connected to the bluetooth repeater is received, and after it is determined through detection that a time correction request sent by the bluetooth node is received at this time, data communication can be performed with the bluetooth node while the low-power operating state is maintained, and local activation time is sent to the bluetooth node, so that the bluetooth node corrects own activation time according to the activation time, and it is ensured that the activation time of the bluetooth repeater is consistent with that of the bluetooth node.
Step S102: and judging whether the activation time after time correction is reached, if so, receiving detection information sent by the Bluetooth node and forwarding the detection information to a Bluetooth host.
Optionally, the bluetooth repeater may determine whether the current time reaches the activation time through a local timer, and if so, enter a high power operating state, receive detection information sent by the bluetooth node at this time, and forward the detection information to the bluetooth host in signal connection therewith.
Optionally, the detection information is environment index information detected by an environment detection device in signal connection with the bluetooth node, such as current temperature information and current humidity information, and in some other embodiments of the present application, the detection information may also be other types of environment index information.
Step S103: and receiving a control instruction sent by the Bluetooth host, forwarding the control instruction to the Bluetooth node, and entering a low-power-consumption working state.
Optionally, the bluetooth host may generate a corresponding control instruction according to the specific type and the specific value of the detection information after receiving the detection information, and send the control instruction to the bluetooth relay, and the bluetooth relay forwards the control instruction to the corresponding bluetooth node after receiving the control instruction, so as to complete the whole information transmission operation and enter the low power consumption operating state.
As can be seen from the above description, the temperature control relay system time calibration method based on bluetooth provided in this embodiment of the present application can detect whether a time calibration request sent by a bluetooth node is received, and actively perform time calibration with the bluetooth node after receiving the time calibration request, so as to ensure that the time calibration request is consistent with the activation time of the bluetooth node, when it is determined that the activation time is reached, enter a high power operating state, receive detection information sent by the bluetooth node and forward the detection information to a bluetooth host, and at the same time, forward a control instruction sent by the bluetooth host to the bluetooth node after receiving the control instruction, complete transmission of the detection information and the control instruction and enter a low power consumption operating state, thereby increasing the endurance time of each device, and also improving the availability and durability of the entire system.
In order to ensure the consistency with the bluetooth node operation and further save the power consumption of the operation, in an embodiment of the temperature control relay system time calibration method based on bluetooth in the present application, referring to fig. 2, the following contents are further included:
Step S201: and acquiring local activation time and sending the local activation time to the Bluetooth node so that the Bluetooth node performs time correction processing according to the activation time.
step S202: and receiving a time correction processing result returned by the Bluetooth node.
Optionally, after the detection determines that the time correction request sent by the bluetooth node is received at this time, the local activation time is sent to the bluetooth node while the low power operating state is maintained, so that the bluetooth node corrects the own activation time according to the activation time, and it is ensured that the activation time of the bluetooth relay is consistent with the activation time of the bluetooth node.
optionally, if the result of the checking process is that the checking is successful, the high-power operating state may be started according to the activation time, and if the result of the checking process is that the checking is failed, the subsequent information transmission work may not be executed, that is, the start times of the bluetooth repeater and the bluetooth node are inconsistent, and the effect of saving power consumption of the work may not be achieved, and at this time, the local activation time may be retransmitted for the time checking process again.
In order to complete information transmission between the bluetooth node and the bluetooth host in a high power operating state, in an embodiment of the temperature control relay system time calibration method based on bluetooth of the present application, the method further includes the following steps: receiving environment index information sent by the Bluetooth node and forwarding the environment index information to a Bluetooth host so that the Bluetooth host generates a control instruction according to the environment index information, wherein the environment index information comprises: the current temperature information and the current humidity information, and the control instruction is used for controlling an environment control device in signal connection with the Bluetooth node.
In order to recover to the low power operating state after completing the information transmission work, so as to save the work power consumption, in an embodiment of the temperature control relay system time checking method based on bluetooth of the present application, the method further includes the following steps: and judging whether the control instruction is forwarded or not, if so, entering a low-power-consumption working state, wherein the Bluetooth node forwards the control instruction to an environment control device after receiving the control instruction, and entering the low-power-consumption working state.
In order to switch the operating states of the temperature control relay system conveniently, effectively and accurately, save the power consumption of each device, and improve the availability and durability of the whole system, the present application provides an embodiment of a temperature control relay system time calibration device based on bluetooth for implementing all or part of the contents of the temperature control relay system time calibration method based on bluetooth, referring to fig. 3, the temperature control relay system time calibration device based on bluetooth specifically includes the following contents:
And the checking request detection module 10 is configured to detect whether a time checking request sent by a bluetooth node is received, and if so, perform time checking processing of activation time with the bluetooth node.
And the activation time judging module 20 is configured to judge whether the activation time after time correction is reached, and if yes, receive the detection information sent by the bluetooth node and forward the detection information to the bluetooth host.
And the control instruction forwarding module 30 is configured to receive the control instruction sent by the bluetooth host, forward the control instruction to the bluetooth node, and enter a low power consumption operating state.
as can be seen from the above description, the temperature control relay system time calibration device based on bluetooth provided in this embodiment of the present application can detect whether a time calibration request sent by a bluetooth node is received, and actively perform time calibration with the bluetooth node after receiving the time calibration request, so as to ensure that the time calibration request is consistent with the activation time of the bluetooth node, and when it is determined that the activation time is reached, enter a high power operating state, receive detection information sent by the bluetooth node and forward the detection information to a bluetooth host, and at the same time, forward a control instruction sent by the bluetooth host to the bluetooth node after receiving the control instruction, complete transmission of the detection information and the control instruction and enter a low power consumption operating state, thereby increasing the endurance time of each device, and also improving the availability and durability of the entire system.
In order to ensure the consistency with the bluetooth node operation and further save the power consumption of the operation, in an embodiment of the bluetooth-based temperature control relay system time calibration apparatus of the present application, referring to fig. 4, the calibration request detecting module 10 includes:
and the activation time sending unit 11 is configured to obtain local activation time and send the local activation time to the bluetooth node, so that the bluetooth node performs time correction processing according to the activation time.
And a proofreading result receiving unit 12, configured to receive a time proofreading processing result returned by the bluetooth node.
In order to complete the information transmission between the bluetooth node and the bluetooth host in the high power operating state, in an embodiment of the bluetooth-based temperature control relay system time calibration apparatus according to the present application, referring to fig. 5, the activation time determining module 20 includes:
An information forwarding unit 21, configured to receive environment index information sent by the bluetooth node and forward the environment index information to a bluetooth host, so that the bluetooth host generates a control instruction according to the environment index information, where the environment index information includes: the current temperature information and the current humidity information, and the control instruction is used for controlling an environment control device in signal connection with the Bluetooth node.
in order to recover to the low power operation state after completing the information transmission operation, so as to save the power consumption of the operation, in an embodiment of the bluetooth-based temperature control relay system time calibration apparatus of the present application, referring to fig. 6, the control instruction forwarding module 30 includes:
And the low power consumption state switching unit 31 is configured to determine whether the control instruction is completely forwarded, and if so, enter a low power consumption operating state, where the bluetooth node receives the control instruction and then forwards the control instruction to the environment control device, and enters the low power consumption operating state.
to further explain the scheme, the present application further provides a specific application example of implementing the bluetooth-based time calibration method for the temperature control relay system by using the bluetooth-based time calibration apparatus for the temperature control relay system, which specifically includes the following contents:
step 1, the Bluetooth repeater enters a time alignment mode through triggering operation of keys and the like, and waits for a time alignment request of a Bluetooth node
And step 2, the Bluetooth node sends a time alignment request through operations such as keys, and the Bluetooth repeater synchronizes the activation time of the Bluetooth repeater and the activation time of the Bluetooth node after receiving the time alignment request of the Bluetooth node. This can be done at once if there are multiple bluetooth nodes.
Step 3, when the time point of the activation time is reached, the Bluetooth repeater and the Bluetooth node are simultaneously activated
step 4, in a very short activation time (second level), the Bluetooth repeater receives information such as temperature and the like sent by the Bluetooth node and uploads the received information such as the temperature and the like of the Bluetooth node to the Bluetooth host; then the Bluetooth repeater receives the instruction sent by the host and transmits the instruction sent by the host to the Bluetooth node
and step 5, after the information transmission is finished, the Bluetooth repeater and the Bluetooth node immediately enter a dormant state (an extremely low power consumption state), so that the power consumption is greatly saved, and the endurance time of the Bluetooth node and the Bluetooth repeater is greatly prolonged.
and 6, the Bluetooth repeater actively sends a time alignment to the Bluetooth node during each activation period, and actively performs a time alignment operation on the Bluetooth node, so that time misalignment between the Bluetooth repeater and the Bluetooth node due to long-time drift is avoided.
As can be seen from the above description, the following technical effects can also be achieved:
the Bluetooth repeater is used for effectively expanding the transmission distance of Bluetooth, and the active time alignment technology between the Bluetooth repeater and the Bluetooth node is used for ensuring synchronous activation and dormancy of the Bluetooth repeater and the Bluetooth node, ensuring reliable and effective transmission of information during a very short activation period, realizing long-time endurance of the Bluetooth node and the Bluetooth repeater by using a very small battery, and saving battery resources; the small Bluetooth repeater and the Bluetooth node facilitate installation and eliminate potential safety hazards caused by a huge battery under extreme conditions.
An embodiment of the present application further provides a specific implementation manner of an electronic device capable of implementing all steps in the temperature control relay system time calibration method based on bluetooth in the foregoing embodiment, and referring to fig. 7, the electronic device specifically includes the following contents:
a processor (processor)601, a memory (memory)602, a communication Interface (Communications Interface)603, and a bus 604;
the processor 601, the memory 602 and the communication interface 603 complete mutual communication through the bus 604; the communication interface 603 is used for realizing information transmission among a temperature control relay system time correction device based on bluetooth, an online service system, client equipment and other participating mechanisms;
the processor 601 is configured to call a computer program in the memory 602, and the processor executes the computer program to implement all the steps in the bluetooth-based temperature control relay system time calibration method in the above embodiments, for example, when executing the computer program, the processor implements the following steps:
Step S101: and detecting whether a time correction request sent by the Bluetooth node is received, and if so, performing time correction processing of the activation time with the Bluetooth node.
Step S102: and judging whether the activation time after time correction is reached, if so, receiving detection information sent by the Bluetooth node and forwarding the detection information to a Bluetooth host.
Step S103: and receiving a control instruction sent by the Bluetooth host, forwarding the control instruction to the Bluetooth node, and entering a low-power-consumption working state.
as can be seen from the above description, the electronic device provided in the embodiment of the present application can detect whether a time check request sent by a bluetooth node is received, and actively perform time check with the bluetooth node after receiving the time check request, so as to ensure that the time is consistent with the activation time of the bluetooth node, when it is determined that the activation time is reached, enter a high power operating state, receive detection information sent by the bluetooth node and forward the detection information to a bluetooth host, and at the same time, forward a control instruction sent by the bluetooth host to the bluetooth node after receiving the control instruction, complete transmission of the detection information and the control instruction and enter a low power consumption operating state, thereby improving the endurance time of each device, and also improving the availability and durability of the entire system.
An embodiment of the present application further provides a computer-readable storage medium capable of implementing all steps in the bluetooth-based temperature control relay system time calibration method in the foregoing embodiment, where the computer-readable storage medium stores a computer program, and the computer program, when executed by a processor, implements all steps of the bluetooth-based temperature control relay system time calibration method in the foregoing embodiment, for example, when the processor executes the computer program, implements the following steps:
Step S101: and detecting whether a time correction request sent by the Bluetooth node is received, and if so, performing time correction processing of the activation time with the Bluetooth node.
Step S102: and judging whether the activation time after time correction is reached, if so, receiving detection information sent by the Bluetooth node and forwarding the detection information to a Bluetooth host.
Step S103: and receiving a control instruction sent by the Bluetooth host, forwarding the control instruction to the Bluetooth node, and entering a low-power-consumption working state.
as can be seen from the above description, the computer-readable storage medium provided in this embodiment of the present application can detect whether a time alignment request sent by a bluetooth node is received, and actively perform time alignment with the bluetooth node after receiving the time alignment request, so as to ensure that the time alignment is consistent with the activation time of the bluetooth node, when it is determined that the activation time is reached, enter a high power operating state, receive detection information sent by the bluetooth node and forward the detection information to a bluetooth host, and at the same time, after receiving a control instruction sent by the bluetooth host, forward the control instruction to the bluetooth node, complete transmission of the detection information and the control instruction and enter a low power consumption operating state, thereby improving the endurance time of each device, and also improving the availability and durability of the overall system.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the hardware + program class embodiment, since it is substantially similar to the method embodiment, the description is simple, and the relevant points can be referred to the partial description of the method embodiment.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
Although the present application provides method steps as described in an embodiment or flowchart, additional or fewer steps may be included based on conventional or non-inventive efforts. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. When an actual apparatus or client product executes, it may execute sequentially or in parallel (e.g., in the context of parallel processors or multi-threaded processing) according to the embodiments or methods shown in the figures.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a vehicle-mounted human-computer interaction device, a cellular telephone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
these computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
in a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media 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 memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
As will be appreciated by one skilled in the art, embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects.
The embodiments of this specification may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The described embodiments may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
the embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment. In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of an embodiment of the specification. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
The above description is only an example of the present specification, and is not intended to limit the present specification. Various modifications and variations to the embodiments described herein will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the embodiments of the present specification should be included in the scope of the claims of the embodiments of the present specification.

Claims (10)

1. a temperature control relay system time correction method based on Bluetooth is characterized by comprising the following steps:
Detecting whether a time correction request sent by a Bluetooth node is received, and if so, performing time correction processing of activation time with the Bluetooth node;
Judging whether the activation time after time correction is reached, if so, receiving detection information sent by the Bluetooth node and forwarding the detection information to a Bluetooth host;
And receiving a control instruction sent by the Bluetooth host, forwarding the control instruction to the Bluetooth node, and entering a low-power-consumption working state.
2. The bluetooth-based temperature controlled relay system time-checking method according to claim 1, wherein the time-checking process of the activation time with the bluetooth node includes:
acquiring local activation time and sending the local activation time to the Bluetooth node so that the Bluetooth node performs time correction processing according to the activation time;
And receiving a time correction processing result returned by the Bluetooth node.
3. The temperature control relay system time calibration method based on Bluetooth of claim 1, wherein the receiving the detection information sent by the Bluetooth node and forwarding the detection information to the Bluetooth host comprises:
Receiving environment index information sent by the Bluetooth node and forwarding the environment index information to a Bluetooth host so that the Bluetooth host generates a control instruction according to the environment index information, wherein the environment index information comprises: the current temperature information and the current humidity information, and the control instruction is used for controlling an environment control device in signal connection with the Bluetooth node.
4. the temperature control relay system time calibration method based on Bluetooth of claim 1, wherein the receiving the control command sent by the Bluetooth host, forwarding the control command to the Bluetooth node, and entering a low power consumption operating state comprises:
and judging whether the control instruction is forwarded or not, if so, entering a low-power-consumption working state, wherein the Bluetooth node forwards the control instruction to an environment control device after receiving the control instruction, and entering the low-power-consumption working state.
5. The utility model provides a control by temperature change relay system time proofreading device based on bluetooth which characterized in that includes:
The checking request detection module is used for detecting whether a time checking request sent by a Bluetooth node is received or not, and if so, the checking request detection module performs time checking processing of activation time with the Bluetooth node;
The activation time judging module is used for judging whether the activation time after time correction is reached, and if so, receiving detection information sent by the Bluetooth node and forwarding the detection information to the Bluetooth host;
and the control instruction forwarding module is used for receiving the control instruction sent by the Bluetooth host, forwarding the control instruction to the Bluetooth node and entering a low-power-consumption working state.
6. The bluetooth-based temperature controlled relay system time-proofreading apparatus according to claim 5, wherein the proofreading request detecting module comprises:
the activation time sending unit is used for acquiring local activation time and sending the local activation time to the Bluetooth node so that the Bluetooth node performs time correction processing according to the activation time;
and the checking result receiving unit is used for receiving the time checking processing result returned by the Bluetooth node.
7. The bluetooth-based temperature controlled relay system time-proof device according to claim 5, wherein the activation time determining module comprises:
An information forwarding unit, configured to receive environment index information sent by the bluetooth node and forward the environment index information to a bluetooth host, so that the bluetooth host generates a control instruction according to the environment index information, where the environment index information includes: the current temperature information and the current humidity information, and the control instruction is used for controlling an environment control device in signal connection with the Bluetooth node.
8. The temperature control relay system time calibration device based on Bluetooth of claim 5, wherein the control command forwarding module comprises:
and the low-power-consumption state switching unit is used for judging whether the control instruction is completely forwarded or not, if so, entering a low-power-consumption working state, wherein the Bluetooth node forwards the control instruction to the environment control device after receiving the control instruction, and enters the low-power-consumption working state.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements the steps of the bluetooth based temperature controlled relay system time correction method of any one of claims 1 to 4.
10. A computer-readable storage medium, having stored thereon a computer program, wherein the computer program, when being executed by a processor, is adapted to carry out the steps of the bluetooth based temperature controlled relay system time-proofreading method of any one of claims 1 to 4.
CN201910861418.4A 2019-09-12 2019-09-12 Bluetooth-based time correction method and device for temperature control relay system Pending CN110572806A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910861418.4A CN110572806A (en) 2019-09-12 2019-09-12 Bluetooth-based time correction method and device for temperature control relay system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910861418.4A CN110572806A (en) 2019-09-12 2019-09-12 Bluetooth-based time correction method and device for temperature control relay system

Publications (1)

Publication Number Publication Date
CN110572806A true CN110572806A (en) 2019-12-13

Family

ID=68779426

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910861418.4A Pending CN110572806A (en) 2019-09-12 2019-09-12 Bluetooth-based time correction method and device for temperature control relay system

Country Status (1)

Country Link
CN (1) CN110572806A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117793962A (en) * 2024-02-23 2024-03-29 昱兆微电子科技(上海)有限公司 Method and device for adjusting radio frequency receiving window of low-power consumption Bluetooth system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1568579A (en) * 2001-08-15 2005-01-19 高通股份有限公司 Dual mode bluetooth/wireless device with power conservation features
CN104394581A (en) * 2014-10-29 2015-03-04 南京南瑞集团公司 A wireless sensor self-organized networking method
US20150124695A1 (en) * 2013-11-01 2015-05-07 Qualcomm Incorporated Systems, methods and devices for modifying relay operation of a wireless device
CN107249210A (en) * 2017-06-26 2017-10-13 欧普照明股份有限公司 Wireless device communication means and system
CN109803224A (en) * 2019-03-05 2019-05-24 章家爱 Low power targeting methods and system, positioning terminal, service platform and controlling terminal
CN109951890A (en) * 2017-12-21 2019-06-28 中国科学院深圳先进技术研究院 A kind of data communications method, relay node, terminal node and communication system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1568579A (en) * 2001-08-15 2005-01-19 高通股份有限公司 Dual mode bluetooth/wireless device with power conservation features
US20150124695A1 (en) * 2013-11-01 2015-05-07 Qualcomm Incorporated Systems, methods and devices for modifying relay operation of a wireless device
CN104394581A (en) * 2014-10-29 2015-03-04 南京南瑞集团公司 A wireless sensor self-organized networking method
CN107249210A (en) * 2017-06-26 2017-10-13 欧普照明股份有限公司 Wireless device communication means and system
CN109951890A (en) * 2017-12-21 2019-06-28 中国科学院深圳先进技术研究院 A kind of data communications method, relay node, terminal node and communication system
CN109803224A (en) * 2019-03-05 2019-05-24 章家爱 Low power targeting methods and system, positioning terminal, service platform and controlling terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117793962A (en) * 2024-02-23 2024-03-29 昱兆微电子科技(上海)有限公司 Method and device for adjusting radio frequency receiving window of low-power consumption Bluetooth system
CN117793962B (en) * 2024-02-23 2024-05-07 昱兆微电子科技(上海)有限公司 Method and device for adjusting radio frequency receiving window of low-power consumption Bluetooth system

Similar Documents

Publication Publication Date Title
US11416061B2 (en) Terminal control method and apparatus, and terminal
EP3633478B1 (en) Method and device for assessing probability of presence of obstacle in unknown position
CN110032512B (en) Debugging method of small program, related equipment and terminal
CN112104017A (en) Robot charging method and device
CN104412649A (en) Heartbeat adjusting method, device and terminal
CN109978482A (en) Workflow processing method, device, equipment and storage medium
CN103197944B (en) Method for determining performance of process of application program and computer system
JP2013065207A (en) Portable communication system, portable communication terminal and server
CN110022405B (en) Radio frequency parameter adjusting method, device and storage medium
CN110572806A (en) Bluetooth-based time correction method and device for temperature control relay system
CN105279077A (en) Method and device for automated testing
CN105577712B (en) A kind of file uploading method, device and system
CN105282327A (en) Control method, electronic device and external device
CN111083285A (en) Mobile terminal call positioning system and method
US20140310711A1 (en) Method for determining performance of process of application and computer system
CN105528220A (en) Method and apparatus for loading dynamic shared object
CN109379449B (en) Data connection method, device, terminal and storage medium
CN114297322A (en) Data processing method, device, terminal and storage medium
CN113852450A (en) Message push feedback method and device, electronic equipment and storage medium
CN112398954B (en) Connection management method and device based on narrowband Internet of things
CN111352660A (en) Method and device for identifying application with wake-up lock
CN105279175B (en) Data transmission method and device
CN112654071B (en) Method, device, equipment and storage medium for transmitting downlink data based on Internet of things
US9198193B1 (en) Systems and methods for controlling network connection overhead associated with mobile device communications
US11949748B1 (en) Method and system for managing a blocking call based on a timeout

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20191213