CN112929863B - Bluetooth information transmission method, and remote control method and device for intelligent door lock - Google Patents

Bluetooth information transmission method, and remote control method and device for intelligent door lock Download PDF

Info

Publication number
CN112929863B
CN112929863B CN202110213971.4A CN202110213971A CN112929863B CN 112929863 B CN112929863 B CN 112929863B CN 202110213971 A CN202110213971 A CN 202110213971A CN 112929863 B CN112929863 B CN 112929863B
Authority
CN
China
Prior art keywords
bluetooth
information
door lock
protocol
gateway
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
Application number
CN202110213971.4A
Other languages
Chinese (zh)
Other versions
CN112929863A (en
Inventor
潘锦铮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua 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 Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN202110213971.4A priority Critical patent/CN112929863B/en
Publication of CN112929863A publication Critical patent/CN112929863A/en
Application granted granted Critical
Publication of CN112929863B publication Critical patent/CN112929863B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00571Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • 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)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a Bluetooth information transmission method, a remote control method and a remote control device for an intelligent door lock, wherein the Bluetooth information transmission method comprises the following steps: generating Bluetooth information based on a Bluetooth protocol; packaging the Bluetooth information; and transmitting the packaged Bluetooth information to the Bluetooth gateway based on the cloud service protocol of the Internet of things so that the Bluetooth gateway analyzes and acquires the Bluetooth information and sends the Bluetooth information to the Bluetooth equipment through Bluetooth. Through the mode, the method and the device can give consideration to both the forwarding efficiency and the conversion efficiency of the Bluetooth information.

Description

Bluetooth information transmission method, and remote control method and device of intelligent door lock
Technical Field
The invention relates to the technical field of communication, in particular to a Bluetooth information transmission method, a remote control method of an intelligent door lock and equipment.
Background
Bluetooth is an open global specification for wireless data and voice communication that is based on short-range wireless connections to establish a special connection for fixed and mobile device communication environments. With the continuous development of bluetooth communication technology, the cost thereof is lower and lower, and the bluetooth communication equipment is widely applied to the personal communication field, computer networks and external bluetooth equipment thereof.
At present, the technology of directly controlling the intelligent Bluetooth equipment through local Bluetooth in a short distance is mature, but when the intelligent Bluetooth equipment needs to be controlled in a long distance, the control is still needed to be realized through a PaaS protocol, so that a large amount of information conversion work of a gateway is caused, and a control end cannot use the previous local Bluetooth technology.
Disclosure of Invention
The invention mainly solves the technical problem of providing a Bluetooth information transmission method, a remote control method and equipment of an intelligent door lock, which can give consideration to the forwarding efficiency and the conversion efficiency of Bluetooth information.
In order to solve the technical problems, the invention adopts a technical scheme that: a Bluetooth information transmission method is provided, which includes: generating Bluetooth information based on a Bluetooth protocol; packaging the Bluetooth information; and transmitting the packaged Bluetooth information to the Bluetooth gateway based on the cloud service protocol of the Internet of things so that the Bluetooth gateway analyzes and acquires the Bluetooth information and sends the Bluetooth information to the Bluetooth equipment through Bluetooth.
Wherein, include before encapsulating the bluetooth information: the bluetooth information is encoded.
Wherein encoding the bluetooth information comprises: the bluetooth information is base64 encoded.
Wherein, give the bluetooth information after the bluetooth gateway transmission encapsulation based on thing networking cloud service agreement and include: and transmitting the encapsulated Bluetooth information based on a Json protocol.
In order to solve the technical problem, the invention adopts another technical scheme that: a remote control method of an intelligent door lock comprises the following steps: the electronic equipment generates a door lock control request based on a Bluetooth protocol; encapsulating the door lock control request and the circulation information to obtain control information, wherein the circulation information at least comprises identification information of the door lock to be controlled; control information is transmitted to the Bluetooth gateway based on an Internet of things cloud service protocol, so that the Bluetooth gateway analyzes and obtains door lock control request information, and the door lock control request is sent to the corresponding intelligent door lock through Bluetooth.
Wherein, give bluetooth gateway transmission control information based on thing networking cloud service agreement to make bluetooth gateway analysis obtain lock control request information include: and transmitting the control information to a cloud server so that the cloud server analyzes and acquires the circulation information, and forwarding the door lock control request to the corresponding Bluetooth gateway according to the circulation information.
In order to solve the technical problem, the invention adopts another technical scheme that: an electronic device comprises a processor for executing instructions to implement the above method.
In order to solve the above-mentioned technical problems, the invention adopts another technical scheme that: a bluetooth gateway, comprising: a cloud service communication device, a controller and a Bluetooth device; the cloud service communication device is connected with the controller and used for receiving the packaged Bluetooth information and sending the packaged Bluetooth information to the controller; the controller is connected with the Bluetooth device and used for analyzing the packaged Bluetooth information to acquire Bluetooth information and sending the Bluetooth information to the Bluetooth equipment through the Bluetooth device.
Wherein the controller is further configured to decode the encoded bluetooth information.
In order to solve the technical problem, the invention adopts another technical scheme that: a computer readable storage medium for storing instructions/program data that can be executed to implement the above-described method.
The invention has the beneficial effects that: different from the situation of the prior art, the generated Bluetooth request information is packaged into the Internet of things cloud service protocol and transmitted to the Bluetooth gateway, the forwarding efficiency of Bluetooth information transmission is improved through the Internet of things cloud service protocol, the Bluetooth gateway directly analyzes and obtains the Bluetooth information and forwards the Bluetooth information to the requested Bluetooth equipment, the information conversion work of the Bluetooth gateway is reduced, and the conversion efficiency of the Bluetooth information transmission is improved.
Drawings
Fig. 1 is a flowchart illustrating a bluetooth information transmission method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of another bluetooth information transmission method according to an embodiment of the present application;
FIG. 3 is a schematic flow chart illustrating a method for remotely controlling an intelligent door lock according to an embodiment of the present application;
FIG. 4 is an interaction diagram illustrating a method for remotely controlling an intelligent door lock according to an embodiment of the present application;
FIG. 5 is a schematic structural diagram of a first electronic device according to an embodiment of the present disclosure;
FIG. 6 is a schematic structural diagram of a second electronic device according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a bluetooth gateway in an embodiment of the present application;
fig. 8 is a schematic structural diagram of a computer-readable storage medium in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and effects of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples.
Referring to fig. 1, fig. 1 is a flowchart illustrating a bluetooth information transmission method according to an embodiment of the present disclosure. It should be noted that, if the result is substantially the same, the flow sequence shown in fig. 1 is not limited in this embodiment. As shown in fig. 1, the present embodiment includes:
s110: bluetooth information is generated based on the bluetooth protocol.
The Bluetooth control device generates Bluetooth information based on a Bluetooth protocol, the Bluetooth control device can be a mobile device and other devices capable of generating the Bluetooth information, and the Bluetooth information comprises various request information for the Bluetooth device, such as request of starting, closing, function adjustment and the like of the Bluetooth device.
S130: and packaging the Bluetooth information.
And the Bluetooth control equipment packages the Bluetooth information into a data format of an Internet of things cloud service protocol.
S150: and transmitting the packaged Bluetooth information to the Bluetooth gateway based on the cloud service protocol of the Internet of things so that the Bluetooth gateway analyzes and acquires the Bluetooth information and sends the Bluetooth information to the Bluetooth equipment through Bluetooth.
PaaS protocols are established between the Bluetooth control equipment and the Internet of things cloud platform and between the Internet of things cloud platform and the Bluetooth gateway, and adopt an Internet of things cloud service protocol. PaaS (Platform as a Service) is a cloud computing model in which a third party provider provides services such as hardware and software tools to a user through an internet server Platform or a development environment.
The Bluetooth control equipment transmits the packaged Bluetooth information to the Internet of things cloud platform through the Internet of things cloud service protocol, and the Internet of things cloud platform forwards the packaged Bluetooth information to the corresponding Bluetooth gateway through the Internet of things cloud service protocol. The Bluetooth gateway analyzes and acquires Bluetooth information and sends the Bluetooth information to the Bluetooth equipment through a Bluetooth protocol, and the Bluetooth equipment acquires the Bluetooth information and responds to a Bluetooth request of the Bluetooth control equipment to perform a corresponding request task.
In the embodiment, the generated Bluetooth request information is packaged into the Internet of things cloud service protocol and transmitted to the Bluetooth gateway, the forwarding efficiency of the Bluetooth information transmission is improved through the Internet of things cloud service protocol, the Bluetooth gateway directly analyzes and acquires the Bluetooth information and forwards the Bluetooth information to the requested Bluetooth equipment, the Bluetooth gateway information conversion work is reduced, and the conversion efficiency of the Bluetooth information transmission is improved.
Referring to fig. 2, fig. 2 is a flowchart illustrating another bluetooth information transmission method according to an embodiment of the present application. It should be noted that, if the result is substantially the same, the flow sequence shown in fig. 2 is not limited in this embodiment. As shown in fig. 2, the present embodiment includes:
s210: bluetooth information is generated based on the bluetooth protocol.
The Bluetooth control device generates Bluetooth information based on a Bluetooth protocol, the Bluetooth control device may be a mobile device or other devices capable of generating Bluetooth information, and the Bluetooth information includes various request information for the Bluetooth device, such as a request for the Bluetooth device to turn on or off.
S230: the bluetooth information is encoded.
The Bluetooth control equipment performs base64 coding on the Bluetooth information, so that the length of the Bluetooth information is shortened, and the Bluetooth information is conveniently transmitted on the Internet of things cloud service protocol. base64 is one of the most common encoding methods for transmitting 8-Bit byte codes on a network, and is a method for representing binary data based on 64 printable characters.
S250: and packaging the Bluetooth information.
And packaging the coded Bluetooth information into a data format of a Json protocol. Json (JavaScript Object Notation) is a lightweight data exchange format that stores and represents data in a text format that is completely independent of the programming language.
S270: and transmitting the encapsulated Bluetooth information to the Bluetooth gateway based on a Json protocol so that the Bluetooth gateway analyzes and acquires the Bluetooth information and sends the Bluetooth information to the Bluetooth equipment through Bluetooth.
PaaS protocols are established between the Bluetooth control equipment and the Internet of things cloud platform and between the Internet of things cloud platform and the Bluetooth gateway, and Json protocols are adopted by the PaaS protocols. The Bluetooth control equipment transmits the packaged Bluetooth information to the Internet of things cloud platform through the Json protocol, and the Internet of things cloud platform forwards the packaged Bluetooth information to the corresponding Bluetooth gateway through the Json protocol. The Bluetooth gateway analyzes and acquires Bluetooth information and sends the Bluetooth information to the Bluetooth equipment through a Bluetooth protocol, and the Bluetooth equipment acquires the Bluetooth information and responds to a Bluetooth request of the Bluetooth control equipment to perform a corresponding request task.
In the embodiment, the generated Bluetooth request information is encoded and then packaged into the Json protocol to be transmitted to the Bluetooth gateway, the Json protocol is used for facilitating circulation processing of the server and improving the forwarding efficiency of Bluetooth information transmission, the Bluetooth gateway directly analyzes and acquires the Bluetooth information and forwards the Bluetooth information to the requested Bluetooth equipment, the Bluetooth gateway information conversion work is reduced, and the conversion efficiency of the Bluetooth information transmission is improved.
The Bluetooth information transmission method can be applied to various intelligent Bluetooth devices, such as an intelligent Bluetooth sound box, an intelligent Bluetooth door lock, an intelligent Bluetooth desk lamp and the like.
Referring to fig. 3, fig. 3 is a schematic flowchart of a remote control method for an intelligent door lock according to an embodiment of the present disclosure. Referring to fig. 4, fig. 4 is an interaction diagram of a remote control method for an intelligent door lock according to an embodiment of the present disclosure. It should be noted that, if the result is substantially the same, the flow sequence shown in fig. 3 is not limited in this embodiment. As shown in fig. 3, the present embodiment includes:
s310: the electronic device generates a door lock control request based on a bluetooth protocol.
Electronic equipment generates bluetooth information based on bluetooth agreement, and in this embodiment, electronic equipment is the mobile device, installs the APP that can control intelligent lock in the mobile device, binds the intelligent lock that the correspondence can be controlled in the intelligent lock APP. A user uses a door lock control APP in a mobile device, selects a controlled door lock in the door lock control APP, and issues control requests for the intelligent door lock, such as unlocking, locking, setting a password, modifying a password, etc., the door lock control APP generates a Bluetooth request in a Bluetooth chip based on a Bluetooth protocol, the Bluetooth request including one or more of the intelligent door lock control requests, such as the control request is [ locking ], and the corresponding generated Bluetooth request is [0x31,0x32,0x33,0x34,0x35]. In an embodiment, the mobile device is closer to the smart door lock, and the mobile device may directly perform bluetooth direct connection with the smart door lock, and directly send a bluetooth request to the smart device, and perform the following step S370.
S330: and encapsulating the door lock control request and the circulation information to obtain control information.
The mobile device performs base64 coding on the bluetooth request, shortens the length of the bluetooth information, and facilitates transmission of the bluetooth information on the internet of things cloud service protocol, for example, the obtained coded bluetooth request is [ "MTIzNDU =" ]. Meanwhile, circulation information is generated according to the controlled intelligent door lock, and the circulation information comprises identification information of a Bluetooth gateway corresponding to the requested intelligent door lock, identification information of the controlled intelligent door lock and the like. The identification information of the bluetooth gateway comprises a gateway position, a serial number and the like, the identification information of the requested intelligent door lock comprises a door lock position, a door lock number and the like, and if the serial number of the corresponding bluetooth gateway is [ "wg001" ], the door lock number of the intelligent door lock is [ "a123456" ]. And encapsulating the coded Bluetooth request and the flow information into a Json protocol to obtain control information.
S350: control information is transmitted to the Bluetooth gateway based on an Internet of things cloud service protocol, so that the Bluetooth gateway analyzes and obtains door lock control request information, and the door lock control request is sent to the corresponding intelligent door lock through Bluetooth.
PaaS protocols are established between the mobile equipment and the Internet of things cloud platform and between the Internet of things cloud platform and the Bluetooth gateway, and the Json protocols are adopted by the PaaS protocols. The mobile device transmits the control information to the Internet of things cloud platform through a Json protocol, and the Internet of things cloud platform selects circulation information from the control information and acquires identification information of the Bluetooth gateway. And the Internet of things cloud platform loses packets of the identification information of the Bluetooth gateway, and sends control information to the corresponding Bluetooth gateway according to the gateway number of the Bluetooth gateway in the circulation information, such as [ wg001 ], wherein the control information comprises the coded Bluetooth information and the identification information of the intelligent door lock.
A WiFi chip of the Bluetooth gateway acquires control information, transmits the control information to a main chip, and the main chip analyzes the control information, acquires Bluetooth information of a Bluetooth protocol, decodes the Bluetooth information in a base64 coding form, and decodes the Bluetooth information to obtain original Bluetooth information, such as [0x31,0x32,0x33,0x34,0x35]; the main chip selects the circulation information from the control information to acquire the identification information of the intelligent door lock. The Bluetooth gateway carries out packet loss on the identification information of the intelligent door lock, and sends the Bluetooth information to the corresponding controlled intelligent door lock through a Bluetooth Mesh protocol at the Bluetooth module according to the door lock number of the intelligent door lock in the circulation information, such as [ 'a 123456' ]. The bluetooth Mesh protocol is a binary protocol that facilitates transmission over bluetooth of low bandwidth.
S370: the smart door lock responds to the bluetooth request.
The Bluetooth module of the intelligent door lock acquires a Bluetooth request, and the single chip microcomputer acquires Bluetooth information and controls the intelligent door lock to respond to the control request of the mobile device, so that a corresponding request task is performed, and the lock is closed according to a [ lock closing ] request.
In the embodiment, the Bluetooth request information generated by the mobile equipment is encoded and then encapsulated into the Json protocol together with the identification information of the gateway and the door lock to be transmitted to the Bluetooth gateway, the Json protocol is used for facilitating circulation processing of the server and improving the forwarding efficiency of Bluetooth information transmission, and the Json protocol contains the identification information of the gateway and the door lock and can more accurately and quickly transmit the Bluetooth information. The direct analysis of bluetooth gateway obtains bluetooth information and forwards to the intelligent lock that is requested control, and the lock responds according to the request, reduces bluetooth gateway information conversion work, improves bluetooth information transmission's conversion efficiency.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a first electronic device according to an embodiment of the present disclosure. In this embodiment, the first electronic device includes a first generation module 51, a first encapsulation module 52, and a first transmission module 53.
Wherein the first generating module 51 is configured to generate bluetooth information based on the bluetooth protocol; the first encapsulation module 52 is used for encapsulating the bluetooth information; the first transmission module 53 is configured to transmit the encapsulated bluetooth information to the bluetooth gateway based on the internet of things cloud service protocol, so that the bluetooth gateway parses the encapsulated bluetooth information to obtain the bluetooth information, and sends the bluetooth information to the bluetooth device through bluetooth. This first electron device sends for the bluetooth gateway through the cloud service agreement of thing networking of encapsulating into with the bluetooth request information that generates, improves bluetooth information transmission's forwarding efficiency through thing networking cloud service agreement, and the bluetooth gateway directly analyzes to obtain bluetooth information and forwards to the bluetooth equipment that is requested, reduces bluetooth gateway information conversion work, improves bluetooth information transmission's conversion efficiency.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a second electronic device according to an embodiment of the present disclosure. In this embodiment, the second electronic device includes a second generating module 61, an encoding module 62, a second encapsulating module 63, and a second transmitting module 64.
The second generating module 61 is configured to generate bluetooth information based on a bluetooth protocol; the encoding module 62 is used for encoding the bluetooth information; the second encapsulation module 63 is used for encapsulating the bluetooth information; the second transmission module 64 is configured to transmit the encapsulated bluetooth information to the bluetooth gateway based on the Json protocol, so that the bluetooth gateway parses the encapsulated bluetooth information to obtain the bluetooth information, and sends the bluetooth information to the bluetooth device via bluetooth. This second electron device encapsulates into the Json agreement after through the bluetooth request information code that will generate and gives the bluetooth gateway for, through the Json agreement circulation of being convenient for the server handle and improve bluetooth information transmission's the efficiency of forwarding, the bluetooth gateway directly resolves and acquires bluetooth information and forwards requested bluetooth equipment, reduces bluetooth gateway information conversion work, improves bluetooth information transmission's conversion efficiency.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a bluetooth gateway according to an embodiment of the present application. In this embodiment, the bluetooth gateway includes a cloud service communication device 71, a controller 72, and a bluetooth device 73.
The cloud service communication device 71 is connected with the controller and used for receiving the packaged Bluetooth information and sending the packaged Bluetooth information to the controller; the controller 72 is connected with the bluetooth device and used for analyzing the encapsulated bluetooth information to acquire bluetooth information; the bluetooth device 73 is used to transmit bluetooth information to the bluetooth apparatus. In this embodiment, the bluetooth gateway directly obtains original bluetooth request through analyzing bluetooth information, and the rethread bluetooth module is sent for bluetooth equipment, reduces bluetooth gateway information conversion work, improves bluetooth information transmission's conversion efficiency.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present disclosure. The computer-readable storage medium 81 of the present application stores instructions/program data 82, and the instructions/program data 82 when executed implement the method provided by any embodiment of the present application, and any non-conflicting combination, of the bluetooth information transmission method or the remote control method of the smart door lock. The instructions/program data 82 may form a program file stored in the storage medium 81 in the form of a software product, so as to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute all or part of the steps of the methods according to the embodiments of the present application. And the aforementioned storage medium 81 includes: various media capable of storing program codes, such as a usb disk, a mobile hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, or terminal devices, such as a computer, a server, a mobile phone, and a tablet.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The above description is only an embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes performed by the content of the present specification and the attached drawings, or applied to other related technical fields directly or indirectly, are included in the scope of the present invention.

Claims (8)

1. A method for bluetooth information transmission, the method comprising:
the Bluetooth control equipment generates Bluetooth information based on a Bluetooth protocol;
encoding and packaging the Bluetooth information;
the Bluetooth control equipment comprises a Bluetooth control device and an Internet of things cloud platform, wherein the Bluetooth control device is used for transmitting packaged Bluetooth information to the Internet of things cloud platform based on a Json protocol, the Internet of things cloud platform is used for forwarding the packaged Bluetooth information to a Bluetooth gateway based on the Json protocol, so that the Bluetooth gateway analyzes and acquires the Bluetooth information, the Bluetooth information is sent to Bluetooth equipment through Bluetooth, a PaaS protocol is established between the Bluetooth control device and the Internet of things cloud platform, and a PaaS protocol is established between the Internet of things cloud platform and the Bluetooth gateway.
2. The method of claim 1, wherein the encoding the bluetooth information comprises:
and performing base64 coding on the Bluetooth information.
3. A remote control method of an intelligent door lock is characterized by comprising the following steps:
the electronic equipment generates a door lock control request based on a Bluetooth protocol;
coding and packaging the door lock control request and the circulation information to obtain control information, wherein the circulation information at least comprises identification information of a door lock to be controlled;
the control information is transmitted to an internet of things cloud platform based on a Json protocol, the internet of things cloud platform is utilized to forward the control information to a Bluetooth gateway based on the Json protocol, so that the Bluetooth gateway analyzes and acquires the door lock control request information, the door lock control request is sent to a corresponding intelligent door lock through Bluetooth, a PaaS protocol is established between the electronic equipment and the internet of things cloud platform, and a PaaS protocol is established between the internet of things cloud platform and the Bluetooth gateway.
4. The remote control method of the intelligent door lock according to claim 3, wherein the transmitting the control information to an internet of things cloud platform based on a Json protocol and forwarding the control information to a Bluetooth gateway by using the internet of things cloud platform based on the Json protocol, so that the Bluetooth gateway analyzes and acquires the door lock control request information includes:
and transmitting the control information to a cloud server so that the cloud server analyzes and acquires the circulation information, and forwarding the door lock control request to a corresponding Bluetooth gateway according to the circulation information.
5. An electronic device, characterized in that the electronic device comprises a processor for executing instructions to implement the method according to any of claims 1-4.
6. A bluetooth gateway, comprising:
a cloud service communication device, a controller and a Bluetooth device;
the cloud service communication device is connected with the controller and used for receiving the packaged and coded Bluetooth information and sending the packaged Bluetooth information to the controller based on a Json protocol;
the controller is connected with the Bluetooth device and used for analyzing the packaged Bluetooth information to acquire the Bluetooth information and sending the Bluetooth information to Bluetooth equipment through the Bluetooth device, and a PaaS protocol is established between the cloud service communication device and the controller.
7. The Bluetooth gateway of claim 6,
the controller is also configured to decode the encoded bluetooth information.
8. A computer-readable storage medium for storing instructions/program data executable to implement the method of any one of claims 1-4.
CN202110213971.4A 2021-02-25 2021-02-25 Bluetooth information transmission method, and remote control method and device for intelligent door lock Active CN112929863B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110213971.4A CN112929863B (en) 2021-02-25 2021-02-25 Bluetooth information transmission method, and remote control method and device for intelligent door lock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110213971.4A CN112929863B (en) 2021-02-25 2021-02-25 Bluetooth information transmission method, and remote control method and device for intelligent door lock

Publications (2)

Publication Number Publication Date
CN112929863A CN112929863A (en) 2021-06-08
CN112929863B true CN112929863B (en) 2023-04-07

Family

ID=76172072

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110213971.4A Active CN112929863B (en) 2021-02-25 2021-02-25 Bluetooth information transmission method, and remote control method and device for intelligent door lock

Country Status (1)

Country Link
CN (1) CN112929863B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114399854A (en) * 2021-12-30 2022-04-26 荣耀终端有限公司 Unlocking method of intelligent door lock, mobile device and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107515740A (en) * 2016-06-17 2017-12-26 中兴通讯股份有限公司 Long-range control method, the apparatus and system of mobile terminal

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102915630A (en) * 2012-10-10 2013-02-06 鸿富锦精密工业(深圳)有限公司 Remote doorbell control system and intelligent doorbell device thereof
US9690272B2 (en) * 2015-02-16 2017-06-27 Polaris Tech Global Limited Indoor automation and control method and system thereof using RFID-to-Bluetooth selective adapter
CN105654592A (en) * 2016-01-12 2016-06-08 中科院微电子研究所昆山分所 Intelligent door lock system based on cloud technology and wireless technology
CN105847093B (en) * 2016-02-04 2019-02-15 四川长虹电器股份有限公司 A kind of system that interconnects, network-building method and communication means based on Internet of Things
TW201824806A (en) * 2016-12-26 2018-07-01 系微股份有限公司 System for ensuring security control and information broadcasting in Bluetooth low energy communication technology which provides the convenience of the door lock for users and administrators by using the Bluetooth low energy communication technology
CN108616855A (en) * 2018-04-02 2018-10-02 上海仪电数字技术股份有限公司 Bluetooth equipment tele-control system and method
CN108667696A (en) * 2018-04-28 2018-10-16 烽火祥云网络科技有限公司 A kind of intelligent domestic system
CN111105528B (en) * 2020-02-20 2021-09-10 南京艾弗雷德网络技术有限公司 Intelligent door lock system based on Bluetooth broadcast

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107515740A (en) * 2016-06-17 2017-12-26 中兴通讯股份有限公司 Long-range control method, the apparatus and system of mobile terminal

Also Published As

Publication number Publication date
CN112929863A (en) 2021-06-08

Similar Documents

Publication Publication Date Title
WO2011137788A1 (en) Device management method, middleware, and machine-to-machine communication platform, device and system
CN109412937A (en) Gateway, LoRa network system, gateway operation method and storage medium
CN112399130B (en) Processing method and device of cloud video conference information, storage medium and communication equipment
WO2009014875A1 (en) Data stream control for network devices
WO2017143743A1 (en) Heterogeneous protocol communication method and controller
CN105068854A (en) Method for controlling different products by using same rule
CN113316124A (en) Vehicle machine interconnection method and device
CN106603579B (en) The tele-control system and method and its wireless terminal of a kind of wireless terminal
CN112929863B (en) Bluetooth information transmission method, and remote control method and device for intelligent door lock
CN113705245A (en) Semantic communication method, device, system, computer equipment and storage medium
CN112804338A (en) Method for remote communication between Web front end and Internet of things equipment
CN106130855B (en) The method and device of data processing
CN106453629B (en) A kind of automobile electronic system remote update system and its method based on mobile network
CN108363588B (en) Method for realizing interaction between web and native function, electronic device and readable storage medium
CN109639703A (en) A kind of radio station remote control method and system based on B/S framework
JP5678184B2 (en) Remote user interface management apparatus and method and system therefor
CN111740960A (en) Communication method of Internet of things equipment, Internet of things equipment and storage medium
CN114499990A (en) Vehicle control method, device, equipment and storage medium
CN114221909A (en) Data transmission method, device, terminal and storage medium
CN112235734B (en) Method, device and equipment for realizing unicast service in broadcast mode
KR101554760B1 (en) Network message transformation device and methods thereof
CN108924773B (en) Message processing method and device
JP4536029B2 (en) Interconnection method and apparatus using communication protocol
CN114114933B (en) Control method, device and equipment of Internet of things equipment and storage medium
CN102480463B (en) Network interaction method and network interaction 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