CN115209520B - BLE-based timing control method, BLE-based timing control device, terminal and storage medium - Google Patents
BLE-based timing control method, BLE-based timing control device, terminal and storage medium Download PDFInfo
- Publication number
- CN115209520B CN115209520B CN202210736178.7A CN202210736178A CN115209520B CN 115209520 B CN115209520 B CN 115209520B CN 202210736178 A CN202210736178 A CN 202210736178A CN 115209520 B CN115209520 B CN 115209520B
- Authority
- CN
- China
- Prior art keywords
- timing
- current
- time
- target
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 78
- 230000008569 process Effects 0.000 claims description 28
- 230000007613 environmental effect Effects 0.000 claims description 13
- 238000006243 chemical reaction Methods 0.000 description 16
- 230000001360 synchronised effect Effects 0.000 description 10
- 230000003993 interaction Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000000007 visual effect Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 238000010438 heat treatment Methods 0.000 description 3
- 230000002457 bidirectional effect Effects 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000002035 prolonged effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W56/00—Synchronisation arrangements
- H04W56/0005—Synchronisation arrangements synchronizing of arrival of multiple uplinks
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/50—Control or safety arrangements characterised by user interfaces or communication
- F24F11/56—Remote control
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/50—Control or safety arrangements characterised by user interfaces or communication
- F24F11/61—Control or safety arrangements characterised by user interfaces or communication using timers
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/62—Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
- F24F11/63—Electronic processing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0638—Clock or time synchronisation among nodes; Internode synchronisation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Mechanical Engineering (AREA)
- General Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- Fuzzy Systems (AREA)
- Mathematical Physics (AREA)
- Selective Calling Equipment (AREA)
Abstract
The invention discloses a timing control method, a device, a terminal and a storage medium based on BLE, wherein the method comprises the following steps: acquiring a current target timing time set by target equipment based on the current timing time, acquiring a current countdown time of the target equipment for countdown based on the current target timing time, and acquiring a current environment time of a place where the target equipment is located; determining current timing information of the target device according to the current target timing time, the current countdown time and the current environment time; and displaying and/or reminding the current timing information. According to the scheme, timing information synchronization of the timing function of the household electrical appliance (such as an air conditioner) is realized based on BLE, so that convenience is brought to users.
Description
Technical Field
The invention belongs to the technical field of household appliances, and particularly relates to a timing control method, device, terminal and storage medium based on BLE, in particular to a method, device, terminal and storage medium for realizing timing synchronization of household appliances (such as an air conditioner) based on BLE.
Background
The timing function is used as one function of the household electrical appliance (such as an air conditioner), and the timing function of the household electrical appliance (such as the air conditioner) can be realized through timing of the remote controller. Along with the change of life style of people, the timing function of the household electrical appliance (such as an air conditioner) also has more various implementation modes, such as APP timing, cloud timing, WIFI timing and other timing modes of the terminal, but the timing modes have a common characteristic that the timing modes have higher requirements on scenes and the scenes of the Internet and/or a server are needed; that is, these timing schemes, which cannot depart from the presence of the internet, also require that the home appliance (e.g., air conditioner) access the internet or a server. Moreover, timing information obtained through timing modes such as APP timing, cloud timing, WIFI timing and the like of the terminal is not uniformly managed, so that the terminal is inconvenient for users to use.
The foregoing is provided merely for the purpose of facilitating understanding of the technical solutions of the present invention and is not intended to represent an admission that the foregoing is prior art.
Disclosure of Invention
The invention aims to provide a timing control method, a device, a terminal and a storage medium based on BLE, so as to solve the problems that the timing function of household appliances (such as air conditioners) is realized in timing modes such as APP timing, cloud timing, WIFI timing and the like of the terminal, the scene requirement is higher, the obtained timing information is not uniformly managed, and the use is inconvenient for users, and achieve the effect of being convenient for the users to use by realizing the timing information synchronization of the timing function of the household appliances (such as air conditioners) based on BLE.
The invention provides a BLE-based timing control method, which is applied to timing control between timing equipment and target equipment; the timing device is at least one of a terminal and a remote controller of the target device; the terminal can realize timing control on the target equipment based on BLE; the BLE-based timing control method comprises the following steps: acquiring a current target timing time set by the target equipment based on the received current timing time, acquiring a current countdown time of the target equipment which counts down based on the current target timing time, and acquiring a current environment time of a place where the target equipment is located; determining current timing information of the target device according to the current target timing time, the current countdown time and the current environment time; displaying and/or reminding the current timing information; wherein the current timing time of the target device is the latest timing time among timing times set for the target device by at least one of the remote controller, the terminal, and other terminals; the current target timing time is a target time set by the target device based on the current timing time set by the timing device; the current countdown time is the latest time obtained by countdown in the process that the target equipment counts down based on the current target timing time; the current environmental time is the clock time of the location of the target device.
In some embodiments, the obtaining the current target timing time set by the target device based on the received current timing time, and the obtaining the current countdown time counted down by the target device based on the current target timing time include: based on BLE access control information of the target equipment, if the control information contains the current target timing time and the current countdown time, acquiring the current target timing time and the current countdown time from the control information; and/or, obtaining the current environment time of the location of the target device, including: and acquiring the clock time of the terminal as the current environment time of the location of the target equipment.
In some embodiments, determining the current timing information of the target device based on the current target timing time, the current countdown time, and the current ambient time comprises: the difference between the current environment time and the current countdown time is summed with the current target time to obtain calculation time; and taking the calculated time as the current timing information of the target equipment.
In some embodiments, displaying and/or alerting the current timing information includes: after determining the current timing information of the target equipment, displaying and/or reminding the current timing information through a UI (user interface), and sharing the current timing information to other terminals; or receiving the current timing information shared by other terminals, and displaying and/or reminding the other terminals of the current timing information shared by the other terminals through the UI.
In some embodiments, at least one of the following is also included: acquiring the marking information of the timing equipment for setting the current timing time; marking the timing equipment for setting the current timing time according to the obtained marking information; and/or after determining the current timing information of the target device or after receiving the current timing information shared by other terminals, sending the current timing information to the target device as a new current timing time, so that the target device sets a new current target timing time based on the new current timing time, and further sets a new current countdown time based on the new current target timing time; acquiring a new current target timing time set by the target equipment based on the received new current timing time, acquiring a new current countdown time counted down by the target equipment based on the new current target timing time, and acquiring a new current environment time of the location of the target equipment; determining new current timing information of the target device according to the new current target timing time, the new current countdown time and the new current environment time; and displaying and/or reminding the new current timing information.
In accordance with the above method, another aspect of the present invention provides a BLE-based timing control apparatus, which is applied to timing control between a timing device and a target device; the timing device is at least one of a terminal and a remote controller of the target device; the terminal can realize timing control on the target equipment based on BLE; the BLE-based timing control apparatus includes: an obtaining unit configured to obtain a current target timing time set by the target device based on the received current timing time, obtain a current countdown time counted down by the target device based on the current target timing time, and obtain a current environment time of a location where the target device is located; a control unit configured to determine current timing information of the target device according to the current target timing time, the current countdown time, and the current environment time; the control unit is further configured to display and/or remind the current timing information; wherein the current timing time of the target device is the latest timing time among timing times set for the target device by at least one of the remote controller, the terminal, and other terminals; the current target timing time is a target time set by the target device based on the current timing time set by the timing device; the current countdown time is the latest time obtained by countdown in the process that the target equipment counts down based on the current target timing time; the current environmental time is the clock time of the location of the target device.
In some embodiments, the obtaining unit obtains a current target timing time set by the target device based on the received current timing time, and obtains a current countdown time counted down by the target device based on the current target timing time, including: based on BLE access control information of the target equipment, if the control information contains the current target timing time and the current countdown time, acquiring the current target timing time and the current countdown time from the control information; and/or, the obtaining unit obtains the current environment time of the location of the target device, including: and acquiring the clock time of the terminal as the current environment time of the location of the target equipment.
In some embodiments, the control unit determines the current timing information of the target device according to the current target timing time, the current countdown time, and the current environment time, including: the difference between the current environment time and the current countdown time is summed with the current target time to obtain calculation time; and taking the calculated time as the current timing information of the target equipment.
In some embodiments, the control unit displays and/or reminds the current timing information, including: after determining the current timing information of the target equipment, displaying and/or reminding the current timing information through a UI (user interface), and sharing the current timing information to other terminals; or receiving the current timing information shared by other terminals, and displaying and/or reminding the other terminals of the current timing information shared by the other terminals through the UI.
In some embodiments, at least one of the following is also included: the acquisition unit is further configured to acquire the marking information of the timing device for setting the current timing time; the control unit is further configured to mark the timing device for setting the current timing time according to the acquired marking information; and/or the control unit is further configured to send the current timing information as a new current timing time to the target device after determining the current timing information of the target device or after receiving the current timing information shared by other terminals, so that the target device sets a new current target timing time based on the new current timing time, and further sets a new current countdown time based on the new current target timing time; the acquisition unit is further configured to acquire a new current target timing time set by the target device based on the received new current timing time, acquire a new current countdown time counted down by the target device based on the new current target timing time, and acquire a new current environment time of the location of the target device; the control unit is further configured to determine new current timing information of the target device according to the new current target timing time, the new current countdown time, and the new current environment time; the control unit is further configured to display and/or remind the new current timing information.
In accordance with another aspect of the present invention, there is provided a terminal comprising: the BLE-based timing control apparatus described above.
In accordance with the above method, a further aspect of the present invention provides a storage medium, where the storage medium includes a stored program, and when the program is executed, controls a device in which the storage medium is located to perform the above BLE-based timing control method.
Therefore, according to the scheme of the invention, the small program is arranged on the terminal, so that the small program is communicated with the main control module of the household appliance (such as an air conditioner) based on BLE, calculation and display of timing information received by the main control module of the household appliance (such as the air conditioner) are realized, and synchronization of the timing information arranged on the household appliance (such as the air conditioner) through the remote controller or other terminals is realized, and therefore, the timing information synchronization of the timing function of the household appliance (such as the air conditioner) is realized based on BLE, and convenience is brought to users.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
The technical scheme of the invention is further described in detail through the drawings and the embodiments.
Drawings
Fig. 1 is a flow chart of an embodiment of a BLE-based timing control method according to the present invention;
FIG. 2 is a flow chart of an embodiment of determining current timing information of a target device in the method of the present invention;
FIG. 3 is a flow chart of an embodiment of the method of the present invention for marking a timing device;
FIG. 4 is a flow chart of an embodiment of the method of the present invention for intervention of countdown information of a target device;
fig. 5 is a schematic structural diagram of an embodiment of a BLE-based timing control apparatus according to the present invention;
fig. 6 is a timing synchronization flow diagram of an embodiment of a method for implementing timing synchronization of a home device (e.g., an air conditioner) based on BLE;
fig. 7 is a schematic timing synchronization structure of an embodiment of a system for implementing timing synchronization of home appliances (e.g., air conditioners) based on BLE.
In the embodiment of the present invention, reference numerals are as follows, in combination with the accompanying drawings:
102-an acquisition unit; 104-a control unit.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to specific embodiments of the present invention and corresponding drawings. It will be apparent that the described embodiments are only some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
BLE (Bluetooth Low Energy, bluetooth), mainly used for realizing continuous connection between a terminal (such as a mobile phone system, a smart bracelet, etc.) and peripheral equipment (such as an air conditioner), is a short-distance wireless communication technology with extremely low power consumption, and the effective transmission distance is increased to more than 100 meters.
The low power consumption is a relatively obvious and outstanding characteristic of BLE, and is also due to the low power consumption characteristic of BLE, so that BLE is often used in an intelligent control terminal (such as a mobile phone system, an intelligent bracelet and the like). The requirement of low power consumption is a basic requirement of an intelligent control end (such as a mobile phone system and an intelligent bracelet) on BLE, on one hand, the use time of the intelligent control end (such as the mobile phone system and the intelligent bracelet) on BLE can be prolonged, and on the other hand, the heating degree of the intelligent control end (such as the mobile phone system and the intelligent bracelet) when moving in a broadcasting state and a connection state can be reduced.
Considering that timing information obtained by timing modes such as APP timing, cloud timing, WIFI timing and the like of the terminal is not uniformly managed, for example: whether the remote controller is timed or not is not clear when the WIFI is timed, and the use of the remote controller is inconvenient for a user. Through BLE connection, the equipment can be timed without accessing the Internet, so that the synchronization of the equipment timing information is realized, and the use of a user can be facilitated. Therefore, the scheme of the invention provides a method for realizing timing synchronization of household appliances (such as air conditioners) based on BLE.
According to an embodiment of the present invention, there is provided a BLE-based timing control method, as shown in fig. 1, which is a flowchart of an embodiment of the method of the present invention. The BLE-based timing control method can be applied to timing control between a timing device and a target device. The target device may be a home appliance having a timing function, such as an air conditioner having a timing function, or the like. The timing device is at least one of a terminal and a remote controller of the target device. The terminal is capable of implementing timing control of the target device based on BLE, specifically, is capable of communicating with the target device based on BLE and is capable of timing the target device based on BLE. The number of the terminals is more than one. Each of the above terminals can synchronously display timing information of the target device by the remote controller of the target device and/or timing information of the target device by other terminals of the above terminals, can receive sharing information of the timing information of the target device by the remote controller of the above terminals and/or timing information of the target device by other terminals of the above terminals, and can share information of the timing information of the target device by the remote controller of the above terminals and/or timing information of the target device by other terminals of the above terminals to one or more terminals. In the following, any one of the above terminals is referred to as a first terminal, the other one of the above terminals is referred to as a second terminal, and the scheme of the present invention will be exemplarily described from the perspective of the first one of the above terminals.
At the first terminal side, the BLE-based timing control method includes: step S110 to step S130.
At step S110, at the first terminal side, a current timing time of the target device is acquired, a current target timing time set by the target device based on the received current timing time is acquired, a current countdown time of the target device for countdown based on the current target timing time is acquired, and a current environment time of a location where the target device is located is acquired.
In some embodiments, in step S110, at the first terminal side, obtaining a current target timing time set by the target device based on the received current timing time, and obtaining a current countdown time counted down by the target device based on the current target timing time, including: and at the first terminal side, accessing control information of the target equipment based on BLE, and if the control information contains the current target timing time and the current countdown time, acquiring the current target timing time and the current countdown time from the control information.
In some embodiments, in step S110, at the first terminal side, obtaining a current environmental time of the location of the target device includes: and acquiring the clock time of the terminal per se at the first terminal side, namely acquiring the clock time of the first terminal per se as the current environment time of the location of the target equipment.
Fig. 6 is a timing synchronization flow chart of an embodiment of a method for implementing timing synchronization of a home appliance (e.g., an air conditioner) based on BLE. As shown in the examples of fig. 6 and fig. 7, a method for implementing timing synchronization of home appliances (such as an air conditioner) based on BLE according to the present invention includes:
step 1, setting timing by a remote controller, wherein the timing of the remote controller is generally 30 minutes as an interval, for example: 30 minutes, 1 hour 30 minutes, etc.
And step 2, after the main control module receives the timing of the remote controller, setting the target timing time r to be 30 minutes, starting to count down, setting parameters and storing the counted down in real time. The parameter set by the main control module is countdown time m, and the maximum value of the countdown time m after converting into minutes cannot be larger than target timing time.
At step S120, at the first terminal side, current timing information of the target device is determined according to the current target timing time, the current countdown time, and the current environment time.
In some embodiments, the specific process of determining the current timing information of the target device at the first terminal side in step S120 according to the current target timing time, the current countdown time, and the current environment time is described in the following exemplary description.
The following is a flowchart of an embodiment of determining the current timing information of the target device in the method of the present invention in conjunction with fig. 2, and further describes a specific process of determining the current timing information of the target device in step S120, which includes: step S210 and step S220.
Step S210, at the first terminal side, summing the difference between the current environmental time and the current countdown time with the current target time to obtain a calculation time.
Step S220, at the first terminal side, the calculated time is used as current timing information of the target device.
As shown in the examples of fig. 6 and fig. 7, the method for implementing timing synchronization of home appliances (such as an air conditioner) based on BLE provided by the scheme of the present invention further includes:
step 4, the applet sets thread timing to acquire information from the main control module, wherein the information comprises timing information, the main acquired information is target timing time r, calculated countdown time m is set as current time n, and the timing of convertible time is calculated by a calculation formula: current time n-countdown time m+target timing time r=applet display time.
At step S130, the current timing information is displayed and/or reminded at the first terminal side.
Wherein the current timing time of the target device is the latest timing time among timing times set for the target device by at least one of the remote controller, the terminal, and other terminals. The terminal is a first terminal, and the other terminals are second terminals. The current timing time is the timing time set by the remote controller for the air conditioner.
The current target timing time is a target time set by the target device based on the current timing time set by the timing device. Specifically, the current target timing time is a target timing time set for the target device after the target device receives the current timing time. And the target equipment immediately sets the corresponding target timing time after receiving one current timing time. The current target timing time is, for example, a target timing time r set by the air conditioner based on the timing time set by the remote controller.
And the current countdown time is the latest time obtained by countdown in the process that the target equipment counts down based on the current target timing time, namely the time counted down to the current moment. And after the target equipment sets a current target timing time, performing new countdown based on the current target timing time. The current countdown time is, for example, a countdown time m set by the air conditioner based on the target timing time r.
The current environmental time is the clock time of the location of the target device. The current environmental time of the location of the target device is the current time n of the location of the air conditioner.
Fig. 7 is a schematic timing synchronization structure of an embodiment of a system for implementing timing synchronization of home appliances (e.g., air conditioners) based on BLE. As shown in fig. 7, the scheme of the present invention mainly includes three modules, namely, a remote controller, a main control module (e.g., a main control Module (MCU) of a home appliance (e.g., an air conditioner)), and a terminal (specifically, an applet of the terminal), where the remote controller is connected to the main control Module (MCU) of the home appliance (e.g., the air conditioner) in an infrared manner or a radio frequency manner, and the applet of the terminal is connected to the main control Module (MCU) of the home appliance (e.g., the air conditioner) through BLE. The remote control and the terminal can be timed.
Referring to the example shown in fig. 7, the remote controller sets the timing in a unidirectional control manner, and it is impossible to reversely synchronize the timing information. The unidirectional control means that the remote control only sends timing instructions and does not synchronize timing information of other terminals. The remote control may send timing information but does not have the ability to synchronize information with a server or other terminal. The remote controller is different from other remote controllers, and the timing can be cancelled independently when the timing exists. The remote controller can also set timing, and the related scheme can carry countdown information every time the remote controller is controlled, wherein the remote controller is different from other remote controllers, and timing information can be adjusted only when the timing position is set by using the remote controller. And the timing information of the remote controller is not processed at other times, and only other control information is processed.
Referring to the example shown in fig. 7, the master control module is a core module for implementing timing synchronization for each terminal, and the timing synchronization for each terminal depends on the master control module.
According to the scheme, based on the BLE low-power consumption mode, the equipment is not required to be connected to the Internet, timing information can be synchronized, the timing information is managed in a unified mode, the counting target timing and the actual counting countdown of the main control module are performed, the time timing conversion is realized through formula conversion, the time timing conversion is displayed to a user through visual UI interaction, the timing operation of the user is recorded, and more references are made on the operation timing of the user to make a decision. Thus, with BLE low power timing, the technical limitation that timing can only exist in the internet is solved. And the timing is set by the remote controller, the information of the timing issued by the remote controller is recorded, the information is transmitted to the applet by BLE, and the applet acquires the timing information, so that the accurate timing can be realized, and the problem that the calculation timing of the remote controller has larger error is solved.
In some embodiments, in step S130, displaying and/or reminding the current timing information on the first terminal side includes: after determining the current timing information of the target equipment, the first terminal side displays and/or reminds the current timing information through a UI (user interface), and shares the current timing information to other terminals; or, at the first terminal side, receiving the current timing information shared by other terminals, and displaying and/or reminding the current timing information shared by other terminals through a UI.
Referring to the example shown in fig. 7, the terminal timing adopts bidirectional timing (i.e. the timing of the master control module can be synchronized), and the remote controller timing or other applet timing can be synchronized through the master control module (the applet has a sharing function, the bound device can be shared to other users through the two-dimension code, and other users who control the code scanning are also individual control individuals). The applet sets a fixed interactive logic with the main control module, can communicate with the main control module through a thread or a timer request, and after acquiring protocol content, the applet interprets the protocol according to the agreed content to display timing content.
In some embodiments, at the first terminal side, the BLE-based timing control method further includes at least one additional control procedure of:
first additional control procedure: a process of marking the timing device.
The following is a schematic flow chart of an embodiment of marking a timing device in the method of the present invention in connection with fig. 3, which further describes a specific process for marking a timing device, including: step S310 and step S320.
Step S310, at the first terminal side, acquiring the mark information of the timing device for setting the current timing time.
In step S320, on the first terminal side, the timing device that sets the current timing time is marked according to the obtained marking information, so that the user can know which timing device specifically sets the timing of the target device.
As shown in the examples of fig. 6 and fig. 7, the method for implementing timing synchronization of home appliances (such as an air conditioner) based on BLE provided by the scheme of the present invention further includes: and 3, after the main control module receives the timing of the remote controller, the timing bit of the remote controller is set to be 1.
A second additional control procedure: and (3) intervening the countdown information of the target equipment so as to improve the timing accuracy of the target equipment.
The following is a schematic flow chart of an embodiment of the method of the present invention for intervention of countdown information of a target device in connection with fig. 4, which further describes a specific process for intervention of countdown information of the target device, including: step S410 to step S440.
Step S410, on the first terminal side, after determining the current timing information of the target device or after receiving the current timing information shared by other terminals, sends the current timing information as a new current timing time to the target device, so that the target device sets a new current target timing time based on the new current timing time, and further sets a new current countdown time based on the new current target timing time.
Step S420, at the first terminal side, acquiring a new current timing time of the target device, acquiring a new current target timing time set by the target device based on the received new current timing time, acquiring a new current countdown time of the target device for countdown based on the new current target timing time, and acquiring a new current environment time of the location of the target device.
Step S430, at the first terminal side, determining new current timing information of the target device according to the new current target timing time, the new current countdown time, and the new current environment time.
Step S440, at the first terminal side, displaying and/or reminding the new current timing information.
Specifically, at the first terminal side, after the current timing information is sent to the target device as a new current timing time, the new current timing time of the target device is acquired, the new current target timing time set by the target device based on the received new current timing time is acquired, a new current countdown time obtained by the target device based on the new current target timing time in a countdown mode is acquired, and a new current environment time of the location of the target device is acquired.
Further, at the first terminal side, new current timing information of the target device is determined according to the new current target timing time, the new current countdown time and the new current environment time.
And further, at the first terminal side, displaying and/or reminding the new current timing information.
As shown in the examples of fig. 6 and fig. 7, the method for implementing timing synchronization of home appliances (such as an air conditioner) based on BLE provided by the scheme of the present invention further includes:
and 5, turning the timing of the remote controller to the timing of the small program after conversion, defaulting to not change the timing when the timing of the remote controller is not operated, wherein the control frame of the remote controller does not process the timing information, only processing the timing information in the control frame of the small program, and if the timing of the small program or the remote controller is not received, the main control module performs countdown timing.
For example: after 1 hour of timing, the system is shut down, and after the timing is set, some modes (such as a heating mode, a refrigerating mode and the like) are operated, and although timing information exists in the protocol, the system is not processed. As only the timing bits of the timing frame are set. The countdown information is stored in the main control module, for example, the countdown time is 3000s, and the time when the small program is communicated with the main control module is 10:28 minutes (ignoring the time of communication), 3000s is 50 minutes. That applet showed a time of 11: and 18 minutes, when the small program is controlled, the time displayed by the small program is issued to the main control module, and the main control module stores the time.
And 6, after conversion, the applet records the time, and when in each control, the remaining time is recalculated and sent to the main control module, so that the main control module is used for counting down.
For example: the main control module stores two variables, one is time timing (10:29 minutes) and the other is countdown (5558 s), the countdown is performed in units of seconds, and when the countdown is 0, the timing operation is performed. Thus, the BLE is adopted to realize timing synchronization without internet timing and cloud timing.
According to the scheme, based on the BLE low-power consumption mode, the equipment is not required to be connected to the Internet, timing information can be synchronized, timing information is managed uniformly, the counting target timing and the actual counting countdown of the main control module are performed, the time timing conversion is realized through formula conversion, the time timing conversion is presented to a user through visual UI (user interface) interaction, the timing operation of the user is recorded, and more references are made on the timing of the user operation. The small program adopts time timing, so that the participation of the user is increased from interaction, and the timing accuracy is also improved. And through BLE low-power consumption synchronous timing information, the interface synchronously displays timing, so that a user can clearly know whether the current equipment has timing or not and needs to be adjusted or not, and the use of the user is greatly facilitated.
By adopting the technical scheme of the embodiment, the small program is arranged on the terminal, so that the small program is communicated with the main control module of the household electrical appliance (such as an air conditioner) based on BLE, calculation and display of timing information received by the main control module of the household electrical appliance (such as the air conditioner) are realized, and synchronization of the timing information arranged on the household electrical appliance (such as the air conditioner) through the remote controller or other terminals is realized, therefore, timing information synchronization of the timing function of the household electrical appliance (such as the air conditioner) is realized based on BLE, and convenience is brought to users.
According to an embodiment of the present invention, there is also provided a BLE-based timing control apparatus corresponding to the BLE-based timing control method. Referring to fig. 5, a schematic diagram of an embodiment of the apparatus of the present invention is shown. The BLE-based timing control apparatus may be applied to timing control between a timing device and a target device. The target device may be a home appliance having a timing function, such as an air conditioner having a timing function, or the like. The timing device is at least one of a terminal and a remote controller of the target device. The terminal is capable of implementing timing control of the target device based on BLE, specifically, is capable of communicating with the target device based on BLE and is capable of timing the target device based on BLE. The number of the terminals is more than one. Each of the above terminals can synchronously display timing information of the target device by the remote controller of the target device and/or timing information of the target device by other terminals of the above terminals, can receive sharing information of the timing information of the target device by the remote controller of the above terminals and/or timing information of the target device by other terminals of the above terminals, and can share information of the timing information of the target device by the remote controller of the above terminals and/or timing information of the target device by other terminals of the above terminals to one or more terminals. In the following, any one of the above terminals is referred to as a first terminal, the other one of the above terminals is referred to as a second terminal, and the scheme of the present invention will be exemplarily described from the perspective of the first one of the above terminals.
At the first terminal side, the BLE-based timing control apparatus includes: an acquisition unit 102 and a control unit 104.
The acquiring unit 102 is configured to acquire, at the first terminal side, a current timing time of the target device, acquire a current target timing time set by the target device based on the received current timing time, acquire a current countdown time of the target device for countdown based on the current target timing time, and acquire a current environment time of a location where the target device is located. The specific function and process of the acquisition unit 102 refer to step S110.
In some embodiments, the obtaining unit 102, at the first terminal side, obtains a current target timing time set by the target device based on the received current timing time, and obtains a current countdown time counted down by the target device based on the current target timing time, where the current countdown time includes: the obtaining unit 102 is specifically further configured to, at the first terminal side, access control information of the target device based on BLE, and if the control information includes the current target timing time and the current countdown time, obtain the current target timing time and the current countdown time from the control information.
In some embodiments, the obtaining unit 102, at the first terminal side, obtains a current environmental time of the location of the target device, including: the obtaining unit 102 is specifically further configured to obtain, at the first terminal side, a clock time of the terminal itself, that is, obtain the clock time of the first terminal itself, as a current environmental time of the location of the target device.
Fig. 6 is a timing synchronization flow diagram of an embodiment of an apparatus for implementing timing synchronization of a home appliance (e.g., an air conditioner) based on BLE. As shown in the examples of fig. 6 and fig. 7, an apparatus for implementing timing synchronization of home appliances (such as an air conditioner) based on BLE according to the present invention includes:
step 1, setting timing by a remote controller, wherein the timing of the remote controller is generally 30 minutes as an interval, for example: 30 minutes, 1 hour 30 minutes, etc.
And step 2, after the main control module receives the timing of the remote controller, setting the target timing time r to be 30 minutes, starting to count down, setting parameters and storing the counted down in real time. The parameter set by the main control module is countdown time m, and the maximum value of the countdown time m after converting into minutes cannot be larger than target timing time.
A control unit 104, configured to determine, at the first terminal side, current timing information of the target device according to the current target timing time, the current countdown time, and the current environment time. The specific function and process of the control unit 104 refer to step S120.
In some embodiments, the determining, by the control unit 104, the current timing information of the target device according to the current target timing time, the current countdown time, and the current environment time includes:
the control unit 104 is specifically further configured to sum, at the first terminal side, the difference between the current environmental time and the current countdown time, and the current target time to obtain a calculated time. The specific function and process of the control unit 104 also refer to step S210.
The control unit 104 is specifically further configured to use the calculated time as current timing information of the target device at the first terminal side. The specific function and process of the control unit 104 is also referred to as step S220.
As shown in the examples of fig. 6 and fig. 7, an apparatus for implementing timing synchronization of a home appliance (such as an air conditioner) based on BLE according to the present invention further includes:
Step 4, the applet sets thread timing to acquire information from the main control module, wherein the information comprises timing information, the main acquired information is target timing time r, calculated countdown time m is set as current time n, and the timing of convertible time is calculated by a calculation formula: current time n-countdown time m+target timing time r=applet display time.
The control unit 104 is further configured to display and/or remind the current timing information on the first terminal side. The specific function and processing of the control unit 104 is also referred to in step S130.
Wherein the current timing time of the target device is the latest timing time among timing times set for the target device by at least one of the remote controller, the terminal, and other terminals. The terminal is a first terminal, and the other terminals are second terminals. The current timing time is the timing time set by the remote controller for the air conditioner.
The current target timing time is a target time set by the target device based on the current timing time set by the timing device. Specifically, the current target timing time is a target timing time set for the target device after the target device receives the current timing time. And the target equipment immediately sets the corresponding target timing time after receiving one current timing time. The current target timing time is, for example, a target timing time r set by the air conditioner based on the timing time set by the remote controller.
And the current countdown time is the latest time obtained by countdown in the process that the target equipment counts down based on the current target timing time, namely the time counted down to the current moment. And after the target equipment sets a current target timing time, performing new countdown based on the current target timing time. The current countdown time is, for example, a countdown time m set by the air conditioner based on the target timing time r.
The current environmental time is the clock time of the location of the target device. The current environmental time of the location of the target device is the current time n of the location of the air conditioner.
Fig. 7 is a schematic timing synchronization structure of an embodiment of a system for implementing timing synchronization of home appliances (e.g., air conditioners) based on BLE. As shown in fig. 7, the scheme of the present invention mainly includes three modules, namely, a remote controller, a main control module (e.g., a main control Module (MCU) of a home appliance (e.g., an air conditioner)), and a terminal (specifically, an applet of the terminal), where the remote controller is connected to the main control Module (MCU) of the home appliance (e.g., the air conditioner) in an infrared manner or a radio frequency manner, and the applet of the terminal is connected to the main control Module (MCU) of the home appliance (e.g., the air conditioner) through BLE. The remote control and the terminal can be timed.
Referring to the example shown in fig. 7, the remote controller sets the timing in a unidirectional control manner, and it is impossible to reversely synchronize the timing information. The unidirectional control means that the remote control only sends timing instructions and does not synchronize timing information of other terminals. The remote control may send timing information but does not have the ability to synchronize information with a server or other terminal. The remote controller is different from other remote controllers, and the timing can be cancelled independently when the timing exists. The remote controller can also set timing, and the related scheme can carry countdown information every time the remote controller is controlled, wherein the remote controller is different from other remote controllers, and timing information can be adjusted only when the timing position is set by using the remote controller. And the timing information of the remote controller is not processed at other times, and only other control information is processed.
Referring to the example shown in fig. 7, the master control module is a core module for implementing timing synchronization for each terminal, and the timing synchronization for each terminal depends on the master control module.
According to the scheme, based on the BLE low-power consumption mode, the equipment is not required to be connected to the Internet, timing information can be synchronized, the timing information is managed in a unified mode, the counting target timing and the actual counting countdown of the main control module are performed, the time timing conversion is realized through formula conversion, the time timing conversion is displayed to a user through visual UI interaction, the timing operation of the user is recorded, and more references are made on the operation timing of the user to make a decision. Thus, with BLE low power timing, the technical limitation that timing can only exist in the internet is solved. And the timing is set by the remote controller, the information of the timing issued by the remote controller is recorded, the information is transmitted to the applet by BLE, and the applet acquires the timing information, so that the accurate timing can be realized, and the problem that the calculation timing of the remote controller has larger error is solved.
In some embodiments, the control unit 104 displays and/or reminds the current timing information on the first terminal side, including:
the control unit 104 is specifically further configured to display and/or remind the current timing information through a UI after determining the current timing information of the target device at the first terminal side, and share the current timing information to other terminals. Or,
the control unit 104 is specifically further configured to receive, at the first terminal side, the current timing information shared by other terminals, and display and/or remind, through UI, the current timing information shared by other terminals.
Referring to the example shown in fig. 7, the terminal timing adopts bidirectional timing (i.e. the timing of the master control module can be synchronized), and the remote controller timing or other applet timing can be synchronized through the master control module (the applet has a sharing function, the bound device can be shared to other users through the two-dimension code, and other users who control the code scanning are also individual control individuals). The applet sets a fixed interactive logic with the main control module, can communicate with the main control module through a thread or a timer request, and after acquiring protocol content, the applet interprets the protocol according to the agreed content to display timing content.
In some embodiments, at the first terminal side, at least one additional control procedure of:
first additional control procedure: the process of marking the timing device is as follows:
the obtaining unit 102 is further configured to obtain, at the first terminal side, the tag information of the timing device that sets the current timing time. The specific function and process of the control unit 104 also refer to step S310.
The control unit 104 is further configured to mark the timing device for setting the current timing time according to the obtained marking information, so that a user can know which timing device specifically sets the timing of the target device. The specific function and process of the control unit 104 also refer to step S320.
As shown in the examples of fig. 6 and fig. 7, an apparatus for implementing timing synchronization of a home appliance (such as an air conditioner) based on BLE according to the present invention further includes: and 3, after the main control module receives the timing of the remote controller, the timing bit of the remote controller is set to be 1.
In some embodiments, a second additional control process: and (3) performing an intervention process on the countdown information of the target equipment to improve the timing accuracy of the target equipment, wherein the method comprises the following steps of:
The control unit 104 is further configured to send, on the first terminal side, after determining the current timing information of the target device or after receiving the current timing information shared by other terminals, the current timing information as a new current timing time to the target device, so that the target device sets a new current target timing time based on the new current timing time, and further sets a new current countdown time based on the new current target timing time. The specific function and process of the control unit 104 also refer to step S410.
The obtaining unit 102 is further configured to obtain, at the first terminal side, a new current timing time of the target device, obtain a new current target timing time set by the target device based on the received new current timing time, obtain a new current countdown time of the target device that counts down based on the new current target timing time, and obtain a new current environment time of the location of the target device. The specific function and process of the control unit 104 also refer to step S420.
The control unit 104 is further configured to determine, at the first terminal side, new current timing information of the target device according to the new current target timing time, the new current countdown time, and the new current environment time. The specific function and process of the control unit 104 also refer to step S430.
The control unit 104 is further configured to display and/or remind the new current timing information on the first terminal side. The specific function and processing of the control unit 104 is also referred to in step S440.
Specifically, at the first terminal side, after the current timing information is sent to the target device as a new current timing time, the new current timing time of the target device is acquired, the new current target timing time set by the target device based on the received new current timing time is acquired, a new current countdown time obtained by the target device based on the new current target timing time in a countdown mode is acquired, and a new current environment time of the location of the target device is acquired.
Further, at the first terminal side, new current timing information of the target device is determined according to the new current target timing time, the new current countdown time and the new current environment time.
And further, at the first terminal side, displaying and/or reminding the new current timing information.
As shown in the examples of fig. 6 and fig. 7, an apparatus for implementing timing synchronization of a home appliance (such as an air conditioner) based on BLE according to the present invention further includes:
And 5, turning the timing of the remote controller to the timing of the small program after conversion, defaulting to not change the timing when the timing of the remote controller is not operated, wherein the control frame of the remote controller does not process the timing information, only processing the timing information in the control frame of the small program, and if the timing of the small program or the remote controller is not received, the main control module performs countdown timing.
For example: after 1 hour of timing, the system is shut down, and after the timing is set, some modes (such as a heating mode, a refrigerating mode and the like) are operated, and although timing information exists in the protocol, the system is not processed. As only the timing bits of the timing frame are set. The countdown information is stored in the main control module, for example, the countdown time is 3000s, and the time when the small program is communicated with the main control module is 10:28 minutes (ignoring the time of communication), 3000s is 50 minutes. That applet showed a time of 11: and 18 minutes, when the small program is controlled, the time displayed by the small program is issued to the main control module, and the main control module stores the time.
And 6, after conversion, the applet records the time, and when in each control, the remaining time is recalculated and sent to the main control module, so that the main control module is used for counting down.
For example: the main control module stores two variables, one is time timing (10:29 minutes) and the other is countdown (5558 s), the countdown is performed in units of seconds, and when the countdown is 0, the timing operation is performed. Thus, the BLE is adopted to realize timing synchronization without internet timing and cloud timing.
According to the scheme, based on the BLE low-power consumption mode, the equipment is not required to be connected to the Internet, timing information can be synchronized, timing information is managed uniformly, the counting target timing and the actual counting countdown of the main control module are performed, the time timing conversion is realized through formula conversion, the time timing conversion is presented to a user through visual UI (user interface) interaction, the timing operation of the user is recorded, and more references are made on the timing of the user operation. The small program adopts time timing, so that the participation of the user is increased from interaction, and the timing accuracy is also improved. And through BLE low-power consumption synchronous timing information, the interface synchronously displays timing, so that a user can clearly know whether the current equipment has timing or not and needs to be adjusted or not, and the use of the user is greatly facilitated.
Since the processes and functions implemented by the apparatus of the present embodiment substantially correspond to the embodiments, principles and examples of the foregoing methods, the descriptions of the embodiments are not exhaustive, and reference may be made to the descriptions of the foregoing embodiments and their descriptions are omitted herein.
By adopting the technical scheme of the invention, the small program is arranged on the terminal, so that the small program is communicated with the main control module of the household appliance (such as an air conditioner) based on BLE, the calculation and the display of the timing information received by the main control module of the household appliance (such as the air conditioner) are realized, the synchronization of the timing information arranged on the household appliance (such as the air conditioner) by the remote controller or other terminals is realized, the user can clearly know whether the current equipment has timing or not and needs to be adjusted or not, and the use of the user is greatly facilitated.
According to an embodiment of the present invention, there is also provided a terminal corresponding to a BLE-based timing control apparatus. The terminal may include: the BLE-based timing control apparatus described above.
Since the processes and functions implemented by the terminal of the present embodiment basically correspond to the embodiments, principles and examples of the foregoing apparatus, the description of the present embodiment is not exhaustive, and reference may be made to the related descriptions of the foregoing embodiments, which are not repeated herein.
By adopting the technical scheme of the invention, the small program is arranged on the terminal, so that the small program is communicated with the main control module of the household appliance (such as an air conditioner) based on BLE, the calculation and the display of the timing information received by the main control module of the household appliance (such as the air conditioner) are realized, the synchronization of the timing information arranged on the household appliance (such as the air conditioner) by the remote controller or other terminals is realized, the accurate timing can be realized, and the problem that the calculation timing of the remote controller has larger error is solved.
According to an embodiment of the present invention, there is also provided a storage medium corresponding to a BLE-based timing control method, the storage medium including a stored program, wherein the device in which the storage medium is controlled to execute the above-described BLE-based timing control method when the program is run.
Since the processes and functions implemented by the storage medium of the present embodiment substantially correspond to the embodiments, principles and examples of the foregoing methods, the descriptions of the present embodiment are not exhaustive, and reference may be made to the related descriptions of the foregoing embodiments, which are not repeated herein.
By adopting the technical scheme of the invention, the small program is arranged on the terminal, so that the small program is communicated with the main control module of the household electrical appliance (such as an air conditioner) based on BLE, the calculation and the display of the timing information received by the main control module of the household electrical appliance (such as the air conditioner) are realized, the synchronization of the timing information arranged on the household electrical appliance (such as the air conditioner) through the remote controller or other terminals is realized, the technical limitation that the timing can only exist on the Internet is solved through BLE low-power consumption timing, and the convenience of use of users is improved.
In summary, it is readily understood by those skilled in the art that the above-described advantageous ways can be freely combined and superimposed without conflict.
The above description is only an example of the present invention and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.
Claims (12)
1. A timing control method based on BLE, which is characterized by being applied to timing control between timing equipment and target equipment; the timing device is at least one of a terminal and a remote controller of the target device; the terminal can realize timing control on the target equipment based on BLE;
the BLE-based timing control method comprises the following steps:
acquiring a current target timing time set by the target equipment based on the received current timing time, acquiring a current countdown time of the target equipment which counts down based on the current target timing time, and acquiring a current environment time of a place where the target equipment is located;
determining current timing information of the target device according to the current target timing time, the current countdown time and the current environment time; wherein determining current timing information of the target device according to the current target timing time, the current countdown time, and the current environment time, comprises: the difference between the current environment time and the current countdown time is summed with the current target time to obtain calculation time; the calculated time is used as the current timing information of the target equipment;
Displaying and/or reminding the current timing information;
wherein the current timing time of the target device is the latest timing time among timing times set for the target device by at least one of the remote controller, the terminal, and other terminals;
the current target timing time is a target time set by the target device based on the current timing time set by the timing device;
the current countdown time is the latest time obtained by countdown in the process that the target equipment counts down based on the current target timing time;
the current environmental time is the clock time of the location of the target device.
2. The BLE-based timing control method of claim 1, wherein,
the method for obtaining the current target timing time set by the target device based on the received current timing time, obtaining the current countdown time of the target device for countdown based on the current target timing time, comprises the following steps:
based on BLE access control information of the target equipment, if the control information contains the current target timing time and the current countdown time, acquiring the current target timing time and the current countdown time from the control information;
And/or the number of the groups of groups,
acquiring the current environment time of the location of the target device, including:
and acquiring the clock time of the terminal as the current environment time of the location of the target equipment.
3. The BLE-based timing control method according to any one of claims 1 to 2, wherein displaying and/or alerting the current timing information comprises:
after determining the current timing information of the target equipment, displaying and/or reminding the current timing information through a UI (user interface), and sharing the current timing information to other terminals; or,
and receiving the current timing information shared by other terminals, and displaying and/or reminding the other terminals of the current timing information shared by the other terminals through the UI.
4. The BLE-based timing control method according to any one of claims 1 to 2, further comprising at least one of:
acquiring the marking information of the timing equipment for setting the current timing time;
marking the timing equipment for setting the current timing time according to the obtained marking information;
and/or the number of the groups of groups,
after determining the current timing information of the target device or after receiving the current timing information shared by other terminals, sending the current timing information to the target device as a new current timing time, so that the target device sets a new current target timing time based on the new current timing time, and further sets a new current countdown time based on the new current target timing time;
Acquiring a new current target timing time set by the target equipment based on the received new current timing time, acquiring a new current countdown time counted down by the target equipment based on the new current target timing time, and acquiring a new current environment time of the location of the target equipment;
determining new current timing information of the target device according to the new current target timing time, the new current countdown time and the new current environment time;
and displaying and/or reminding the new current timing information.
5. A BLE-based timing control method according to claim 3, further comprising at least one of:
acquiring the marking information of the timing equipment for setting the current timing time;
marking the timing equipment for setting the current timing time according to the obtained marking information;
and/or the number of the groups of groups,
after determining the current timing information of the target device or after receiving the current timing information shared by other terminals, sending the current timing information to the target device as a new current timing time, so that the target device sets a new current target timing time based on the new current timing time, and further sets a new current countdown time based on the new current target timing time;
Acquiring a new current target timing time set by the target equipment based on the received new current timing time, acquiring a new current countdown time counted down by the target equipment based on the new current target timing time, and acquiring a new current environment time of the location of the target equipment;
determining new current timing information of the target device according to the new current target timing time, the new current countdown time and the new current environment time;
and displaying and/or reminding the new current timing information.
6. A BLE-based timing control apparatus, which is applied to timing control between a timing device and a target device; the timing device is at least one of a terminal and a remote controller of the target device; the terminal can realize timing control on the target equipment based on BLE;
the BLE-based timing control apparatus includes:
an obtaining unit configured to obtain a current target timing time set by the target device based on the received current timing time, obtain a current countdown time counted down by the target device based on the current target timing time, and obtain a current environment time of a location where the target device is located;
A control unit configured to determine current timing information of the target device according to the current target timing time, the current countdown time, and the current environment time; the control unit determines current timing information of the target device according to the current target timing time, the current countdown time and the current environment time, and includes: the difference between the current environment time and the current countdown time is summed with the current target time to obtain calculation time; the calculated time is used as the current timing information of the target equipment;
the control unit is further configured to display and/or remind the current timing information;
wherein the current timing time of the target device is the latest timing time among timing times set for the target device by at least one of the remote controller, the terminal, and other terminals;
the current target timing time is a target time set by the target device based on the current timing time set by the timing device;
the current countdown time is the latest time obtained by countdown in the process that the target equipment counts down based on the current target timing time;
The current environmental time is the clock time of the location of the target device.
7. The BLE-based timing control apparatus of claim 6, wherein,
the obtaining unit obtains a current target timing time set by the target device based on the received current timing time, and obtains a current countdown time counted down by the target device based on the current target timing time, including:
based on BLE access control information of the target equipment, if the control information contains the current target timing time and the current countdown time, acquiring the current target timing time and the current countdown time from the control information;
and/or the number of the groups of groups,
the obtaining unit obtains the current environment time of the location of the target device, including:
and acquiring the clock time of the terminal as the current environment time of the location of the target equipment.
8. The BLE-based timing control apparatus according to any one of claims 6 to 7, wherein the control unit displays and/or alerts the current timing information, comprising:
after determining the current timing information of the target equipment, displaying and/or reminding the current timing information through a UI (user interface), and sharing the current timing information to other terminals; or,
And receiving the current timing information shared by other terminals, and displaying and/or reminding the other terminals of the current timing information shared by the other terminals through the UI.
9. The BLE-based timing control apparatus according to any one of claims 6 to 7, further comprising at least one of:
the acquisition unit is further configured to acquire the marking information of the timing device for setting the current timing time;
the control unit is further configured to mark the timing device for setting the current timing time according to the acquired marking information;
and/or the number of the groups of groups,
the control unit is further configured to send the current timing information as a new current timing time to the target device after determining the current timing information of the target device or after receiving the current timing information shared by other terminals, so that the target device sets a new current target timing time based on the new current timing time, and further sets a new current countdown time based on the new current target timing time;
the acquisition unit is further configured to acquire a new current target timing time set by the target device based on the received new current timing time, acquire a new current countdown time counted down by the target device based on the new current target timing time, and acquire a new current environment time of the location of the target device;
The control unit is further configured to determine new current timing information of the target device according to the new current target timing time, the new current countdown time, and the new current environment time;
the control unit is further configured to display and/or remind the new current timing information.
10. The BLE-based timing control apparatus of claim 8, further comprising at least one of:
the acquisition unit is further configured to acquire the marking information of the timing device for setting the current timing time;
the control unit is further configured to mark the timing device for setting the current timing time according to the acquired marking information;
and/or the number of the groups of groups,
the control unit is further configured to send the current timing information as a new current timing time to the target device after determining the current timing information of the target device or after receiving the current timing information shared by other terminals, so that the target device sets a new current target timing time based on the new current timing time, and further sets a new current countdown time based on the new current target timing time;
The acquisition unit is further configured to acquire a new current target timing time set by the target device based on the received new current timing time, acquire a new current countdown time counted down by the target device based on the new current target timing time, and acquire a new current environment time of the location of the target device;
the control unit is further configured to determine new current timing information of the target device according to the new current target timing time, the new current countdown time, and the new current environment time;
the control unit is further configured to display and/or remind the new current timing information.
11. A terminal, comprising: a BLE-based timing control apparatus according to any one of claims 6 to 10.
12. A storage medium comprising a stored program, wherein the program, when run, controls a device in which the storage medium is located to perform the BLE-based timing control method of any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210736178.7A CN115209520B (en) | 2022-06-27 | 2022-06-27 | BLE-based timing control method, BLE-based timing control device, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210736178.7A CN115209520B (en) | 2022-06-27 | 2022-06-27 | BLE-based timing control method, BLE-based timing control device, terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115209520A CN115209520A (en) | 2022-10-18 |
CN115209520B true CN115209520B (en) | 2023-09-08 |
Family
ID=83578767
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210736178.7A Active CN115209520B (en) | 2022-06-27 | 2022-06-27 | BLE-based timing control method, BLE-based timing control device, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115209520B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106662842A (en) * | 2014-06-25 | 2017-05-10 | 谷歌技术控股有限责任公司 | Electronic timepiece having electronic watch dial display with countdown to scheduled event |
CN206789041U (en) * | 2017-04-06 | 2017-12-22 | 厦门盈趣汽车电子有限公司 | Intelligence obtains the blind guiding system of traffic lights data |
CN107592246A (en) * | 2017-09-29 | 2018-01-16 | 深圳传音通讯有限公司 | A kind of data processing method and device |
CN108234512A (en) * | 2018-01-22 | 2018-06-29 | 成都六零加信息技术有限公司 | A kind of timing control method and system |
CN109121117A (en) * | 2018-07-13 | 2019-01-01 | 上海淞泓智能汽车科技有限公司 | A kind of bus or train route real-time communication system and communication means based on cellular network |
CN110650245A (en) * | 2019-09-25 | 2020-01-03 | Oppo广东移动通信有限公司 | Reminding method, reminding device, mobile terminal and computer readable storage medium |
CN112232454A (en) * | 2019-07-15 | 2021-01-15 | 广东美的制冷设备有限公司 | Data writing method and system, terminal, household appliance and computer device |
CN113114849A (en) * | 2021-03-12 | 2021-07-13 | 宇龙计算机通信科技(深圳)有限公司 | Alarm clock reminding method and device, storage medium and terminal |
CN113566391A (en) * | 2020-04-29 | 2021-10-29 | 青岛海尔空调电子有限公司 | Air conditioner operation control method and device and air conditioner system |
-
2022
- 2022-06-27 CN CN202210736178.7A patent/CN115209520B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106662842A (en) * | 2014-06-25 | 2017-05-10 | 谷歌技术控股有限责任公司 | Electronic timepiece having electronic watch dial display with countdown to scheduled event |
CN206789041U (en) * | 2017-04-06 | 2017-12-22 | 厦门盈趣汽车电子有限公司 | Intelligence obtains the blind guiding system of traffic lights data |
CN107592246A (en) * | 2017-09-29 | 2018-01-16 | 深圳传音通讯有限公司 | A kind of data processing method and device |
CN108234512A (en) * | 2018-01-22 | 2018-06-29 | 成都六零加信息技术有限公司 | A kind of timing control method and system |
CN109121117A (en) * | 2018-07-13 | 2019-01-01 | 上海淞泓智能汽车科技有限公司 | A kind of bus or train route real-time communication system and communication means based on cellular network |
CN112232454A (en) * | 2019-07-15 | 2021-01-15 | 广东美的制冷设备有限公司 | Data writing method and system, terminal, household appliance and computer device |
CN110650245A (en) * | 2019-09-25 | 2020-01-03 | Oppo广东移动通信有限公司 | Reminding method, reminding device, mobile terminal and computer readable storage medium |
CN113566391A (en) * | 2020-04-29 | 2021-10-29 | 青岛海尔空调电子有限公司 | Air conditioner operation control method and device and air conditioner system |
CN113114849A (en) * | 2021-03-12 | 2021-07-13 | 宇龙计算机通信科技(深圳)有限公司 | Alarm clock reminding method and device, storage medium and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN115209520A (en) | 2022-10-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7831282B2 (en) | Wireless node providing improved battery power consumption and system employing the same | |
CN111025925A (en) | Intelligent home furnishing system based on cloud computing | |
US20160179197A1 (en) | Method and system for integrating smart tv program channels with applications | |
CN110716439A (en) | Household appliance state synchronization method, household appliance and medium | |
CN101815159A (en) | Intelligent household TV control system | |
CN110308660A (en) | Smart machine control method and device | |
CN106285443A (en) | Electric rolling control method based on intelligent terminal APP | |
CN106647316A (en) | Smart home control system and control method thereof | |
CN106403186A (en) | Household air conditioner energy consumption comparison system based on social platform | |
CN112152884B (en) | Equipment control method and device and household appliance | |
CN109151561A (en) | The operation control interface creation method and relevant device of smart home system equipment | |
CN104090480A (en) | Intelligent alarm clock | |
CN103873552A (en) | System, method, device and computer readable medium for distributing content easily seen by terminal device having small display part | |
CN112365633A (en) | Control method, device and system of household appliance and computer readable storage medium | |
CN109270848A (en) | Recommended method, server, household appliance and the storage medium of contextual model | |
CN114216239B (en) | Control method and device of air conditioning equipment based on schedule and air conditioning equipment | |
CN108646581A (en) | A kind of intelligent domestic system based on technology of Internet of things | |
CN115209520B (en) | BLE-based timing control method, BLE-based timing control device, terminal and storage medium | |
CN110864406A (en) | Intelligent air conditioner and intelligent air conditioner control method | |
CN113625577B (en) | Smart home equipment control method and device, storage medium and terminal | |
CN114035445A (en) | Intelligent household equipment control method, device and system based on indoor positioning | |
CN104869165B (en) | Double-screen information synchronous transmission system based on cloud | |
CN113513827A (en) | Air conditioner remote controller, control method and device thereof, storage medium and processor | |
CN106058537B (en) | Power socket system based on cloud service | |
CN106056892A (en) | Infrared remote control method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |