CN110446197B - Communication control method, device, equipment and storage medium of intelligent equipment - Google Patents

Communication control method, device, equipment and storage medium of intelligent equipment Download PDF

Info

Publication number
CN110446197B
CN110446197B CN201910744294.1A CN201910744294A CN110446197B CN 110446197 B CN110446197 B CN 110446197B CN 201910744294 A CN201910744294 A CN 201910744294A CN 110446197 B CN110446197 B CN 110446197B
Authority
CN
China
Prior art keywords
target intelligent
mobile terminal
bluetooth
control command
intelligent device
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
CN201910744294.1A
Other languages
Chinese (zh)
Other versions
CN110446197A (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.)
Shandong Edbang Intelligent Technology Co ltd
Original Assignee
Shandong Edbang Intelligent 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 Shandong Edbang Intelligent Technology Co ltd filed Critical Shandong Edbang Intelligent Technology Co ltd
Priority to CN201910744294.1A priority Critical patent/CN110446197B/en
Publication of CN110446197A publication Critical patent/CN110446197A/en
Application granted granted Critical
Publication of CN110446197B publication Critical patent/CN110446197B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/03Protecting confidentiality, e.g. by encryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a communication control method of intelligent equipment, which is applied to a mobile terminal and comprises the following steps: establishing connection with target intelligent equipment through Bluetooth communication in advance; responding to a control command input by a user, and judging whether the intelligent device and the target intelligent device are in a connection state; if so, transmitting the control command to the target intelligent equipment by utilizing Bluetooth communication; and if not, the GPRS network is utilized to send the control command to the target intelligent equipment. The method can preferentially utilize Bluetooth communication to send a control command to the target intelligent equipment so as to realize communication control on the intelligent equipment; compared with a GPRS network, the Bluetooth communication can provide more stable and reliable near field communication, so that the stability and reliability of the intelligent device during communication control can be relatively improved. The application also discloses a communication control device, equipment and a computer readable storage medium of the intelligent equipment, which have the beneficial effects.

Description

Communication control method, device, equipment and storage medium of intelligent equipment
Technical Field
The invention relates to the field of internet of things, in particular to a communication control method, a communication control device, communication control equipment and a computer readable storage medium for intelligent equipment.
Background
In the world of everything interconnection, intelligent devices are rapidly promoting the popularization of intelligent life. In the prior art, a mobile terminal is generally used to send a control command to an intelligent device through a GPRS network to control the intelligent device to execute a corresponding operation. However, due to factors such as unstable GPRS network signals or incomplete coverage, the mobile terminal may not respond to the intelligent device in time due to the limitation of communication quality when sending the control command to the intelligent device, that is, the stability and reliability of the communication control of the intelligent device are low, thereby reducing the user experience.
Therefore, how to improve the stability and reliability of the communication control of the intelligent device is a technical problem that needs to be solved by those skilled in the art.
Disclosure of Invention
In view of this, an object of the present invention is to provide a communication control method for an intelligent device, which can improve stability and reliability when performing communication control on the intelligent device; another object of the present invention is to provide a communication control apparatus for an intelligent device, a device and a computer readable storage medium, all having the above beneficial effects.
In order to solve the above technical problem, the present invention provides a communication control method for an intelligent device, which is applied to a mobile terminal, and includes:
establishing long connection with target intelligent equipment through Bluetooth communication in advance;
responding to a control command input by a user, and judging whether the target intelligent device is in a connection state or not;
if so, sending the control command to the target intelligent equipment by utilizing Bluetooth communication;
and if not, sending the control command to the target intelligent equipment by using a GPRS network.
Preferably, the process of establishing a long connection with a target smart device in advance through bluetooth communication specifically includes:
sending a first Bluetooth name and a first MAC address of the target intelligent device to the target intelligent device through an enterprise platform in advance, and storing a second Bluetooth name and a second MAC address of the target intelligent device fed back by the target intelligent device;
and sending a connection request to the target intelligent equipment so that the target intelligent equipment can carry out identity verification on the mobile terminal, and establishing long connection with the mobile terminal by using the first Bluetooth name, the first MAC address, the second Bluetooth name and the second MAC address under the condition that the identity verification is passed.
Preferably, the process of performing identity verification on the mobile terminal includes:
pre-acquiring a Bluetooth key corresponding to the mobile terminal and sent by the enterprise platform;
after receiving the connection request of the mobile terminal, judging whether the Bluetooth key of the mobile terminal is matched with the Bluetooth key stored by the mobile terminal;
if yes, the identity verification is passed, and the step of establishing long connection with the mobile terminal by using the first Bluetooth name, the first MAC address, the second Bluetooth name and the second MAC address is entered.
Preferably, further comprising:
carrying out encryption operation on the control command in advance;
correspondingly, the process of sending the control command to the target intelligent device by using bluetooth communication specifically includes:
sending the encrypted control command to the target intelligent equipment by utilizing Bluetooth communication;
or, the process of sending the control command to the target intelligent device by using the GPRS network specifically includes:
and sending the encrypted control command to the target intelligent equipment by utilizing a GPRS network.
Preferably, after sending the control command to the target smart device, the method further includes:
and sending out corresponding prompt information.
Preferably, after sending the control command to the target smart device, the method further includes:
and storing the time and the transmission mode corresponding to the transmission of each control command.
In order to solve the above technical problem, the present invention further provides a communication control apparatus for an intelligent device, which is applied to a mobile terminal, and includes:
the connection module is used for establishing long connection with the target intelligent equipment in advance through Bluetooth communication;
the judging module is used for responding to a control command input by a user and judging whether the judging module is in a connection state with the target intelligent equipment or not; if yes, calling a first execution module; if not, calling a second execution module;
the first execution module is used for sending the control command to the target intelligent equipment by utilizing Bluetooth communication;
and the second execution module is used for sending the control command to the target intelligent equipment by utilizing a GPRS network.
In order to solve the above technical problem, the present invention further provides a communication control device for an intelligent device, including:
a memory for storing a computer program;
and the processor is used for realizing the steps of the communication control method of any intelligent equipment when the computer program is executed.
In order to solve the above technical problem, the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps of any one of the above communication control methods for an intelligent device.
The invention provides a communication control method of intelligent equipment, which establishes connection with target intelligent equipment through Bluetooth communication in advance; then, responding to a control command input by a user, and judging whether the target intelligent device and the target intelligent device are in a connection state; if so, sending the control command to the target intelligent equipment by utilizing Bluetooth communication; and if not, sending the control command to the target intelligent equipment by using the GPRS network. Therefore, the method can preferentially utilize the Bluetooth communication to send the control command to the target intelligent equipment so as to realize the communication control of the intelligent equipment; compared with a GPRS network, the Bluetooth communication can provide more stable and reliable near field communication, so that the stability and reliability of the intelligent device during communication control can be relatively improved.
In order to solve the technical problem, the invention also provides a communication control device of the intelligent device, the intelligent device and a computer readable storage medium, which have the beneficial effects.
Drawings
In order to more clearly illustrate the embodiments or technical solutions of the present invention, the drawings used in the embodiments or technical solutions of the present invention will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a communication control method of an intelligent device according to an embodiment of the present invention;
fig. 2 is a structural diagram of a communication control apparatus of an intelligent device according to an embodiment of the present invention;
fig. 3 is a structural diagram of a communication control device of an intelligent device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The core of the embodiment of the invention is to provide a communication control method of intelligent equipment, which can improve the stability and reliability of the communication control of the intelligent equipment; another core of the present invention is to provide a communication control apparatus for an intelligent device, a device and a computer-readable storage medium, all having the above beneficial effects.
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
Fig. 1 is a flowchart of a communication control method for an intelligent device according to an embodiment of the present invention. As shown in fig. 1, a communication control method applied to an intelligent device of a mobile terminal provided in this embodiment includes:
s10: a long connection is established with the target smart device in advance through bluetooth communication.
First, it should be noted that the target smart device in this embodiment refers to a smart device that is set with a corresponding communication connection relationship with the mobile terminal in advance. After the mobile terminal establishes the long connection with the target intelligent device, the mobile terminal and the target intelligent device can be enabled to send a plurality of data packets based on the established long connection.
S20: responding to a control command input by a user, and judging whether the intelligent device and the target intelligent device are in a connection state;
s30: if so, sending the control command to the target intelligent equipment by utilizing Bluetooth communication;
s40: and if not, sending the control command to the target intelligent equipment by using the GPRS network.
When a user inputs a control command to remotely control the target intelligent device, the mobile terminal responds to the control command input by the user and judges whether the mobile terminal and the target intelligent device are in a connection state. It is understood that although a long connection is established with the smart device in advance, the connection may be interrupted due to external factors in actual operation. Therefore, it is necessary to determine whether the target smart device is connected to the target smart device. Specifically, whether the target intelligent device is in a connection state with the target intelligent device or not can be judged by sending a test packet to the target intelligent device, and if information fed back by the target intelligent device after the test packet is obtained is received, the target intelligent device is in the connection state; otherwise, the connection with the target intelligent device is in an interruption state.
Specifically, when the target intelligent device is in a connection state, the control command is sent to the target intelligent device by using bluetooth communication; otherwise, the GPRS network is utilized to send the control command to the target intelligent equipment.
The communication control method of the intelligent device provided by the embodiment of the invention establishes connection with the target intelligent device through Bluetooth communication in advance; then, responding to a control command input by a user, and judging whether the target intelligent device and the target intelligent device are in a connection state; if so, sending the control command to the target intelligent equipment by utilizing Bluetooth communication; and if not, sending the control command to the target intelligent equipment by using the GPRS network. Therefore, the method can preferentially utilize the Bluetooth communication to send the control command to the target intelligent equipment so as to realize the communication control of the intelligent equipment; compared with a GPRS network, the Bluetooth communication can provide more stable and reliable near field communication, so that the stability and reliability of the intelligent device during communication control can be relatively improved.
On the basis of the above embodiments, this embodiment further describes and optimizes the technical solution, and specifically, the process of establishing a long connection with a target intelligent device in advance through bluetooth communication specifically includes:
the method comprises the steps that a first Bluetooth name and a first MAC address of a target intelligent device are sent to the target intelligent device through an enterprise platform in advance, and a second Bluetooth name and a second MAC address of the target intelligent device fed back by the target intelligent device are stored;
and sending a connection request to the target intelligent equipment so that the target intelligent equipment can carry out identity verification on the mobile terminal, and establishing long connection with the mobile terminal by using the first Bluetooth name, the first MAC address, the second Bluetooth name and the second MAC address under the condition that the identity verification is passed.
Specifically, in this embodiment, in the process of establishing a long connection between the mobile terminal and the target intelligent device through bluetooth communication in advance, first, the mobile terminal sends a first bluetooth name and a first MAC address of the mobile terminal to the target intelligent device through the enterprise platform, so that the target intelligent device stores the first bluetooth name and the first MAC address; and then sending an acquisition instruction to the target intelligent device through the enterprise platform, so that the target intelligent device sends the second Bluetooth name and the second MAC address of the target intelligent device to the mobile terminal through the enterprise platform, and the mobile terminal acquires the second Bluetooth name and the second MAC address of the target intelligent device, so that both the target intelligent device and the mobile terminal acquire the Bluetooth name and the MAC address of the other party. The enterprise platform is a platform for providing an interface of data information of the intelligent device for the mobile terminal.
When the requirement for communication control of the target intelligent device exists, the mobile terminal searches whether a second Bluetooth name exists in currently detected Bluetooth names through broadcasting, and when the target exists, the mobile terminal sends a connection request to the target intelligent device by using a second MAC address.
After the target intelligent device receives the connection request of the mobile terminal, the target intelligent device conducts identity verification on the mobile terminal, whether the mobile terminal is a legal corresponding mobile terminal or not is judged, and after the identity verification is passed, long connection between the mobile terminal and the target intelligent device is established by means of the first Bluetooth name, the first MAC address, the second Bluetooth name and the second MAC address.
As a preferred embodiment, the process of performing identity verification on a mobile terminal includes:
the method comprises the steps of obtaining a Bluetooth secret key corresponding to a mobile terminal and sent by an enterprise platform in advance;
after receiving a connection request of the mobile terminal, judging whether a Bluetooth key of the mobile terminal is matched with a Bluetooth key stored by the mobile terminal;
if so, indicating that the identity verification is passed, and entering a step of establishing long connection with the mobile terminal by using the first Bluetooth name, the first MAC address, the second Bluetooth name and the second MAC address.
Specifically, in the process of identity verification of the mobile terminal by the target intelligent device, the mobile terminal calls a bluetooth key generation interface by acquiring a bluetooth key corresponding to the mobile terminal sent by the enterprise platform in advance, and sends an application for applying the bluetooth key to the enterprise platform, and after the enterprise platform generates the corresponding bluetooth key, the enterprise platform sends the bluetooth key to the mobile terminal and the target intelligent device which correspond to each other. And after receiving the Bluetooth key and successfully storing the Bluetooth key, the target intelligent equipment sends response information successfully stored to the enterprise platform, and the enterprise platform forwards the response information to the mobile terminal. And the mobile terminal calls the Bluetooth key acquisition interface again, and sends a request to the target intelligent equipment through the enterprise platform so as to acquire a second Bluetooth name and a second MAC address of the target intelligent equipment.
Specifically, after the target intelligent device receives a connection request sent by the mobile terminal, whether a Bluetooth key of the mobile terminal is matched with a Bluetooth key stored in the target intelligent device or not is judged, if yes, the identity verification is passed, the two parties establish long connection, and the subsequent steps are carried out, such as the step of establishing long connection with the mobile terminal by using a first Bluetooth name, a first MAC address, a second Bluetooth name and a second MAC address; otherwise, the connection is disconnected.
It should be noted that, in this embodiment, "determining whether the bluetooth key of the mobile terminal matches the bluetooth key stored in the mobile terminal" means that the target smart device determines whether the encrypted file obtained by decrypting, by using the bluetooth key of the mobile terminal, the target smart device by using the bluetooth key of the mobile terminal is capable of obtaining a corresponding original file, and if the encrypted file is capable of obtaining the original file, it indicates that the encrypted file is matched; and vice versa. That is to say, mobile terminal sends the connection request to target smart machine, carries out encryption through bluetooth BLE agreement and shakes hands, and the both sides establish long connection successfully shaking hands.
Therefore, in the embodiment, after the target intelligent device performs identity verification on the mobile terminal through the bluetooth key, long connection is established with the mobile terminal, so that the communication security can be further ensured.
On the basis of the above embodiments, the present embodiment further describes and optimizes the technical solution, and specifically, the present embodiment further includes:
carrying out encryption operation on the control command in advance;
correspondingly, the process of sending the control command to the target intelligent device by utilizing the Bluetooth communication specifically comprises the following steps:
sending the encrypted control command to the target intelligent equipment by utilizing Bluetooth communication;
or, the process of sending the control command to the target intelligent device by using the GPRS network specifically includes:
and sending the encrypted control command to the target intelligent equipment by utilizing a GPRS network.
Specifically, in this embodiment, before the control command is sent to the target smart device, and whether the control command is sent in a bluetooth communication manner or in a GPRS network manner, the control command is encrypted in advance, and then the encrypted control command is sent to the target smart device.
It should be noted that, in this embodiment, the control command may be encrypted by using a symmetric encryption method or an asymmetric encryption method, which is not limited in this embodiment. And since symmetric encryption operation or asymmetric encryption operation is common knowledge of those skilled in the art, it is not described herein in detail.
According to the implementation, the control command is encrypted in advance, and then the encrypted control command is sent to the target intelligent device through Bluetooth communication or a GPRS network, so that the safety of control command transmission can be further improved.
On the basis of the foregoing embodiment, the present embodiment further describes and optimizes the technical solution, and specifically, after sending the control command to the target smart device, the method further includes:
and sending out corresponding prompt information.
Specifically, after the control command is sent to the target intelligent device by using bluetooth communication or a GPRS network, the corresponding prompt information is sent according to the specific manner of sending the control command. Specifically, the prompt information may be prompt information sent by a buzzer, an indicator light, or other prompt devices. The sent prompt information may be the prompt information sent by the condition that the control instruction is successfully/unsuccessfully sent, or may specifically include which way, such as bluetooth communication/GPRS network, to send the corresponding prompt information, and the specific type of the prompt information is not limited in this embodiment.
Therefore, the communication control method of the intelligent device provided by the embodiment can further improve the use experience of the user.
On the basis of the foregoing embodiment, the present embodiment further describes and optimizes the technical solution, and specifically, after sending the control command to the target smart device, the method further includes:
and storing the time and the transmission mode corresponding to the transmission of each control command.
Specifically, in this embodiment, after the control command is sent to the target smart device, the time for executing sending the control command is further obtained, the sending mode for sending the control command is determined, and then the time and the sending mode corresponding to sending the control command are stored.
In actual operation, the time and the transmission mode corresponding to each control command may be stored in a text, a table, or a time axis. Specifically, the time and the sending mode corresponding to each control command may be stored in a Memory space, or the time and the sending mode corresponding to each control command may be stored in an external Memory, and the external Memory may be specifically a Memory bank, a hard disk, a TF (Trans-flash Card) Card, an sd (secure Digital Memory Card) Card, or the like, and may be selected according to actual requirements, which is not limited in this embodiment.
Therefore, in the embodiment, the time and the sending mode corresponding to each control command are further stored, so that the situation of performing communication control on the intelligent device can be conveniently checked in the follow-up process, and the use experience of a user can be further improved.
The above detailed description is given for the embodiment of the communication control method of the intelligent device provided by the present invention, and the present invention further provides a communication control apparatus, a device, and a computer-readable storage medium of the intelligent device corresponding to the method.
Fig. 2 is a structural diagram of a communication control apparatus of an intelligent device according to an embodiment of the present invention, and as shown in fig. 2, the communication control apparatus of the intelligent device applied to a mobile terminal includes:
the connection module 21 is used for establishing long connection with the target intelligent device in advance through Bluetooth communication;
the judging module 22 is configured to respond to a control command input by a user and judge whether the target intelligent device and the target intelligent device are in a connected state; if yes, calling a first execution module; if not, calling a second execution module;
a first executing module 23, configured to send a control command to a target smart device by using bluetooth communication;
and the second execution module 24 is configured to send the control command to the target smart device by using the GPRS network.
The communication control device of the intelligent equipment provided by the embodiment of the invention has the beneficial effects of the communication control method of the intelligent equipment.
Fig. 3 is a structural diagram of a communication control device of an intelligent device according to an embodiment of the present invention, and as shown in fig. 3, the communication control device of the intelligent device includes:
a memory 31 for storing a computer program;
the processor 32 is configured to implement the steps of the communication control method of the intelligent device when executing the computer program.
The communication control device of the intelligent device provided by the embodiment of the invention has the beneficial effects of the communication control method of the intelligent device.
In order to solve the above technical problem, the present invention further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the communication control method of the above intelligent device.
The computer-readable storage medium provided by the embodiment of the invention has the beneficial effects of the communication control method of the intelligent device.
The communication control method, the communication control device, the communication control equipment and the computer readable storage medium of the intelligent equipment provided by the invention are described in detail above. The principles and embodiments of the present invention are explained herein using specific examples, which are set forth only to help understand the method and its core ideas of the present invention. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.

Claims (7)

1. A communication control method of intelligent equipment is applied to a mobile terminal, and is characterized by comprising the following steps:
establishing long connection with target intelligent equipment through Bluetooth communication in advance;
responding to a control command input by a user, and judging whether the target intelligent equipment and the target intelligent equipment are in a connection state;
if so, sending the control command to the target intelligent equipment by utilizing Bluetooth communication;
if not, the control command is sent to the target intelligent equipment by utilizing a GPRS network;
wherein, the process of establishing long connection with the target intelligent device through bluetooth communication in advance specifically includes:
sending a first Bluetooth name and a first MAC address of the target intelligent device to the target intelligent device through an enterprise platform in advance, and storing a second Bluetooth name and a second MAC address of the target intelligent device fed back by the target intelligent device;
sending a connection request to the target intelligent device so that the target intelligent device can carry out identity verification on the mobile terminal, and establishing long connection with the mobile terminal by using the first Bluetooth name, the first MAC address, the second Bluetooth name and the second MAC address under the condition that the identity verification is passed;
wherein, the process of performing identity verification on the mobile terminal comprises:
the method comprises the steps that a Bluetooth secret key corresponding to the mobile terminal and sent by the enterprise platform is obtained in advance;
after receiving the connection request of the mobile terminal, judging whether the Bluetooth key of the mobile terminal is matched with the Bluetooth key stored by the mobile terminal;
if so, indicating that the identity verification is passed, and entering the step of establishing long connection with the mobile terminal by using the first Bluetooth name, the first MAC address, the second Bluetooth name and the second MAC address.
2. The method of claim 1, further comprising:
carrying out encryption operation on the control command in advance;
correspondingly, the process of sending the control command to the target intelligent device by using bluetooth communication specifically includes:
sending the encrypted control command to the target intelligent equipment by utilizing Bluetooth communication;
or, the process of sending the control command to the target intelligent device by using the GPRS network specifically includes:
and sending the encrypted control command to the target intelligent equipment by utilizing a GPRS network.
3. The method of claim 1, after sending the control command to the target smart device, further comprising:
and sending out corresponding prompt information.
4. The method of any of claims 1 to 3, further comprising, after sending the control command to the target smart device:
and storing the time and the transmission mode corresponding to the transmission of each control command.
5. The utility model provides a communication control device of smart machine, is applied to mobile terminal, its characterized in that includes:
the connection module is used for establishing long connection with the target intelligent equipment in advance through Bluetooth communication;
the judging module is used for responding to a control command input by a user and judging whether the judging module is in a connection state with the target intelligent equipment or not; if so, calling a first execution module; if not, calling a second execution module;
the first execution module is used for sending the control command to the target intelligent equipment by utilizing Bluetooth communication;
the second execution module is used for sending the control command to the target intelligent equipment by utilizing a GPRS network;
wherein, the process of establishing long connection with the target intelligent device through bluetooth communication in advance specifically includes:
sending a first Bluetooth name and a first MAC address of the target intelligent device to the target intelligent device through an enterprise platform in advance, and storing a second Bluetooth name and a second MAC address of the target intelligent device fed back by the target intelligent device;
sending a connection request to the target intelligent device so that the target intelligent device can carry out identity verification on the mobile terminal, and establishing long connection with the mobile terminal by using the first Bluetooth name, the first MAC address, the second Bluetooth name and the second MAC address under the condition that the identity verification is passed;
wherein, the process of performing identity verification on the mobile terminal comprises:
the method comprises the steps that a Bluetooth secret key corresponding to the mobile terminal and sent by the enterprise platform is obtained in advance;
after receiving the connection request of the mobile terminal, judging whether the Bluetooth key of the mobile terminal is matched with the Bluetooth key stored by the mobile terminal;
if so, indicating that the identity verification is passed, and entering the step of establishing long connection with the mobile terminal by using the first Bluetooth name, the first MAC address, the second Bluetooth name and the second MAC address.
6. A communication control apparatus of an intelligent apparatus, comprising:
a memory for storing a computer program;
processor for implementing the steps of the communication control method of a smart device according to any of claims 1 to 4 when executing said computer program.
7. A computer-readable storage medium, characterized in that a computer program is stored thereon, which, when being executed by a processor, carries out the steps of the communication control method of a smart device according to any one of claims 1 to 4.
CN201910744294.1A 2019-08-13 2019-08-13 Communication control method, device, equipment and storage medium of intelligent equipment Active CN110446197B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910744294.1A CN110446197B (en) 2019-08-13 2019-08-13 Communication control method, device, equipment and storage medium of intelligent equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910744294.1A CN110446197B (en) 2019-08-13 2019-08-13 Communication control method, device, equipment and storage medium of intelligent equipment

Publications (2)

Publication Number Publication Date
CN110446197A CN110446197A (en) 2019-11-12
CN110446197B true CN110446197B (en) 2022-06-07

Family

ID=68435123

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910744294.1A Active CN110446197B (en) 2019-08-13 2019-08-13 Communication control method, device, equipment and storage medium of intelligent equipment

Country Status (1)

Country Link
CN (1) CN110446197B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111918265A (en) * 2020-08-24 2020-11-10 苏州臻迪智能科技有限公司 Connection establishing method and device, electronic equipment and computer readable storage medium
CN115348048B (en) * 2022-04-28 2024-08-23 青岛海尔科技有限公司 Secure communication establishment method and device, storage medium and electronic device
CN118368599A (en) * 2024-06-13 2024-07-19 沃行科技(南京)有限公司 Multi-protocol vehicle networking interaction method and device and Bluetooth equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103763317A (en) * 2014-01-17 2014-04-30 天地融科技股份有限公司 Bluetooth-based data transmission method and system and intelligent secret key device
CN105894627A (en) * 2016-03-30 2016-08-24 北京千丁互联科技有限公司 Bluetooth access control equipment and bluetooth access control management system and method
CN105915250A (en) * 2016-05-31 2016-08-31 青岛海信移动通信技术股份有限公司 Method, device and system for wearable device to synchronize with information in mobile terminal
CN106376098A (en) * 2016-09-02 2017-02-01 上海心书科技发展有限公司 Quick Bluetooth matching method
CN106488537A (en) * 2016-09-18 2017-03-08 珠海格力电器股份有限公司 Sending method, device and mobile terminal
CN107450332A (en) * 2017-07-31 2017-12-08 广东美的制冷设备有限公司 Information transferring method, system, intelligent appliance, control terminal and storage medium
CN107685714A (en) * 2017-08-30 2018-02-13 上海博泰悦臻电子设备制造有限公司 Intelligent vehicle key system and its control method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103763317A (en) * 2014-01-17 2014-04-30 天地融科技股份有限公司 Bluetooth-based data transmission method and system and intelligent secret key device
CN105894627A (en) * 2016-03-30 2016-08-24 北京千丁互联科技有限公司 Bluetooth access control equipment and bluetooth access control management system and method
CN105915250A (en) * 2016-05-31 2016-08-31 青岛海信移动通信技术股份有限公司 Method, device and system for wearable device to synchronize with information in mobile terminal
CN106376098A (en) * 2016-09-02 2017-02-01 上海心书科技发展有限公司 Quick Bluetooth matching method
CN106488537A (en) * 2016-09-18 2017-03-08 珠海格力电器股份有限公司 Sending method, device and mobile terminal
CN107450332A (en) * 2017-07-31 2017-12-08 广东美的制冷设备有限公司 Information transferring method, system, intelligent appliance, control terminal and storage medium
CN107685714A (en) * 2017-08-30 2018-02-13 上海博泰悦臻电子设备制造有限公司 Intelligent vehicle key system and its control method

Also Published As

Publication number Publication date
CN110446197A (en) 2019-11-12

Similar Documents

Publication Publication Date Title
CN109525604B (en) Account number binding method and related equipment
CN110446197B (en) Communication control method, device, equipment and storage medium of intelligent equipment
CN110351269B (en) Method for logging in open platform through third-party server
CN107086979B (en) User terminal verification login method and device
CN105656850B (en) Data processing method, related device and system
CN105635084A (en) Apparatus and method for authenticating terminal
US10938806B2 (en) Communication method and device
CN104821940A (en) Method and equipment for sending portal redirected address
CN109561413B (en) Bluetooth authentication and authorization method and system of BLE equipment
CN104618316A (en) Method, device and system of safety verification
CN107294910B (en) Login method and server
CN109981360A (en) Internet of things equipment website activating method, device, system and storage medium
CN111404695A (en) Token request verification method and device
CN103905408A (en) Information acquisition method and equipment
CN110730446A (en) Login method, terminal and computer storage medium
WO2019091458A1 (en) Wireless connection method, wireless access point, terminal, and device having storage function
CN105553675B (en) Log in the method and device of router
CN105574400A (en) Information processing method and electronic device
CN109450887B (en) Data transmission method, device and system
CN105635060B (en) It is a kind of to obtain method, authentication server and the gateway for applying data
CN104331649A (en) Identity recognition system and method based on network connection
CN105577621B (en) Business operation verification method, device and system
CN109412931B (en) Method, device and terminal equipment for performing knowledge question answering by using instant messaging mode
CN104917730B (en) A kind of method for authenticating and system, authentication server
CN108551456B (en) Intelligent authentication equipment and working method thereof

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