CN114785629B - Intelligent gateway interaction method and system - Google Patents

Intelligent gateway interaction method and system Download PDF

Info

Publication number
CN114785629B
CN114785629B CN202210683271.6A CN202210683271A CN114785629B CN 114785629 B CN114785629 B CN 114785629B CN 202210683271 A CN202210683271 A CN 202210683271A CN 114785629 B CN114785629 B CN 114785629B
Authority
CN
China
Prior art keywords
information
control signal
external control
receiving
path 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
Application number
CN202210683271.6A
Other languages
Chinese (zh)
Other versions
CN114785629A (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.)
Tianjin Vocational Institute
Original Assignee
Tianjin Vocational Institute
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 Tianjin Vocational Institute filed Critical Tianjin Vocational Institute
Priority to CN202210683271.6A priority Critical patent/CN114785629B/en
Publication of CN114785629A publication Critical patent/CN114785629A/en
Application granted granted Critical
Publication of CN114785629B publication Critical patent/CN114785629B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • H04L63/126Applying verification of the received information the source of the received data
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/60Context-dependent security
    • H04W12/69Identity-dependent
    • 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
    • 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
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention is suitable for the technical field of digital transmission, and particularly relates to an intelligent gateway interaction method and an intelligent gateway interaction system, wherein the method comprises the following steps: receiving a mode switching instruction from an authorized user, and switching to a visitor access mode according to the mode switching instruction; detecting and receiving an external control signal, and synchronously receiving multi-path information verification information; verifying the identity of the source device of the external control signal and determining whether to grant control right; and receiving an external control signal and executing a control instruction contained in the external control signal. The invention opens the visitor access mode based on the instruction of the authorized user, determines the granted object of the control authority according to the multi-path information verification information, further executes the instruction of the granted object, completes the execution of the instruction, only receives the instruction from the authorized user when the authorized user does not open the visitor access mode, and provides a quick access way for other users on the premise of ensuring that the control authority of the equipment is mastered in the hands of the authorized user.

Description

Intelligent gateway interaction method and system
Technical Field
The invention belongs to the technical field of digital transmission, and particularly relates to an intelligent gateway interaction method and an intelligent gateway interaction system.
Background
The intelligent gateway is a network device, is a key for the intellectualization of the local area network, generally supports virtual network access, wifi access, wired broadband access and the like, and can realize the functions of information acquisition, information input, information output, centralized control, remote control, linkage control and the like of each sensor, network device, camera, host and other devices in the local area network.
The current smart home devices are usually provided with gateways, and the smart devices are connected with other devices in the local area network through the built-in gateways, specifically including data acquisition, data transmission, data interception and the like.
For the existing household intelligent equipment, the intelligent gateway is built in the household intelligent equipment, when a user interacts with the intelligent gateway through the mobile equipment, the intelligent equipment needs to be added through corresponding software, and then the control is performed through the software, which means that other users cannot enjoy the control right of the intelligent equipment at the same time.
Disclosure of Invention
An object of the embodiments of the present invention is to provide an intelligent gateway interaction method, which is to solve the problems proposed in the third part of the background art.
The embodiment of the invention is realized in such a way that an intelligent gateway interaction method comprises the following steps:
receiving a mode switching instruction from an authorized user, and switching to a visitor access mode according to the mode switching instruction;
detecting and receiving an external control signal, synchronously receiving multi-path information verification information, wherein the external control signal comprises an equipment unique identifier and a control instruction, and the multi-path information verification information also comprises the equipment unique identifier and is transmitted through a local area network constructed by a gateway;
verifying the identity of the source equipment of the external control signal based on the multi-path information verification information, and determining whether to grant control right;
and receiving an external control signal of a source device obtaining the control right, and executing a control instruction contained in the external control signal.
Preferably, the step of detecting and receiving an external control signal and synchronously receiving the multi-path information verification information includes:
detecting all devices in the gateway signal range, and receiving external control signals sent by all the devices;
synchronously receiving the multi-path information verification information, and extracting equipment unique identifiers contained in all the multi-path information verification information;
corresponding multi-path information authentication information from a device used by an authorized user is identified based on the device unique identifier.
Preferably, the step of verifying the identity of the source device of the external control signal based on the multi-path information verification information and determining whether to grant control right thereto includes:
analyzing multi-path information verification information corresponding to all equipment, and identifying communication paths contained in the multi-path information verification information, wherein the communication paths comprise transmission nodes and node transmission sequences;
determining a communication path contained in multi-path information verification information corresponding to equipment corresponding to the authorized user according to the unique identifier;
and calculating the contact ratio between the communication paths contained in the multi-path information verification information corresponding to all other equipment except the equipment corresponding to the authorized user and the communication paths contained in the multi-path information verification information corresponding to the equipment corresponding to the authorized user, and judging whether the corresponding equipment is granted to control the right one by one.
Preferably, the step of receiving an external control signal of a source device that obtains a control right and executing a control instruction contained therein specifically includes:
receiving an external control signal corresponding to the equipment obtaining the control right, and extracting a control instruction contained in the external control signal;
numbering the control instructions according to the generation time sequence of the control instructions;
and executing the control instructions one by one according to the numbering sequence, and sending feedback information when the execution is finished.
Preferably, after the control command is executed, the device information corresponding to the control command and the control command are recorded.
Preferably, the external control signal and the multi-path information authentication information from any device other than the authorized user device are not accepted when not in the guest access mode.
Another objective of an embodiment of the present invention is to provide an intelligent gateway interaction system, where the system includes:
the mode switching module is used for receiving a mode switching instruction from an authorized user and switching to a visitor access mode according to the mode switching instruction;
the system comprises an information receiving module, a multipath information verifying module and a gateway, wherein the information receiving module is used for detecting and receiving an external control signal, synchronously receiving multipath information verifying information, and transmitting the multipath information verifying information through a local area network constructed by the gateway, wherein the external control signal comprises an equipment unique identifier and a control instruction;
the device verification module is used for verifying the identity of the source device of the external control signal based on the multi-path information verification information and determining whether to grant the control right;
and the instruction execution module is used for receiving the external control signal of the source equipment obtaining the control right and executing the control instruction contained in the external control signal.
Preferably, the information receiving module includes:
the device detection unit is used for detecting all devices in the gateway signal range and receiving external control signals sent by all the devices;
the information extraction unit is used for synchronously receiving the multi-path information verification information and extracting the unique device identifier contained in all the multi-path information verification information;
and the information identification unit is used for identifying the multi-path information verification information corresponding to the equipment used by the authorized user based on the equipment unique identifier.
Preferably, the device authentication module includes:
the path identification unit is used for analyzing the multi-path information verification information corresponding to all the equipment and identifying a communication path contained in the multi-path information verification information, wherein the communication path comprises transmission nodes and a node transmission sequence;
the authorized user identification unit is used for determining a communication path contained in the multi-path information verification information corresponding to the equipment corresponding to the authorized user according to the unique identifier;
and the authorization judging unit is used for calculating the coincidence degree between the communication paths contained in the multi-path information verification information corresponding to all other devices except the device corresponding to the authorized user and the communication paths contained in the multi-path information verification information corresponding to the device corresponding to the authorized user, and judging whether the corresponding devices are granted one by one to control the right.
Preferably, the instruction execution module includes:
the instruction extracting unit is used for receiving an external control signal corresponding to the equipment obtaining the control right and extracting a control instruction contained in the external control signal;
the instruction numbering unit is used for numbering the control instructions according to the generation time sequence of the control instructions;
and the information feedback unit is used for executing the control instructions one by one according to the numbering sequence and sending feedback information when the execution is finished.
According to the intelligent gateway interaction method provided by the embodiment of the invention, the visitor access mode is started based on the instruction of the authorized user, the control signal of the equipment and the multi-path information verification information are detected through the gateway, the granted object of the control authority is determined according to the multi-path information verification information, the instruction of the granted object is executed, the instruction is executed, when the visitor access mode is not started by the authorized user, the instruction from the authorized user is only received, and on the premise that the control authority of the equipment is mastered in the hands of the authorized user, a quick access way is provided for other users.
Drawings
Fig. 1 is a flowchart of an intelligent gateway interaction method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating steps for detecting and receiving an external control signal and synchronously receiving multi-path information verification information according to an embodiment of the present invention;
FIG. 3 is a flowchart of the steps for verifying the identity of a source device of an external control signal based on multi-path information verification information and determining whether to grant control thereof according to an embodiment of the present invention;
FIG. 4 is a flowchart of steps for receiving an external control signal from a source device that obtains control and executing control instructions contained therein, according to an embodiment of the present invention;
fig. 5 is an architecture diagram of an intelligent gateway interaction system according to an embodiment of the present invention;
fig. 6 is an architecture diagram of an information receiving module according to an embodiment of the present invention;
FIG. 7 is a block diagram of an apparatus verification module according to an embodiment of the present invention;
fig. 8 is an architecture diagram of an instruction execution module according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements should not be limited by these terms unless otherwise specified. These terms are only used to distinguish one element from another. For example, a first xx script may be referred to as a second xx script, and similarly, a second xx script may be referred to as a first xx script, without departing from the scope of the present application.
The current smart home devices are usually provided with gateways, and the smart devices are connected with other devices in the local area network through the built-in gateways, specifically including data acquisition, data transmission, data interception and the like. For the existing household intelligent equipment, the intelligent gateway is built in the household intelligent equipment, when a user interacts with the intelligent gateway through the mobile equipment, the intelligent equipment needs to be added through corresponding software, and then the control is performed through the software, which means that other users cannot enjoy the control right of the intelligent equipment at the same time.
In the invention, a visitor access mode is started based on an instruction of an authorized user, a device control signal and multi-path information verification information are detected through a gateway, a granted object of a control authority is determined according to the multi-path information verification information, and then the instruction of the granted object is executed to complete the execution of the instruction.
As shown in fig. 1, a flowchart of an intelligent gateway interaction method provided in an embodiment of the present invention includes:
s100, receiving a mode switching instruction from an authorized user, and switching to a visitor access mode according to the mode switching instruction.
In the step, a mode switching instruction from an authorized user is received, for the intelligent device, at the beginning of use, the user will connect the intelligent device through an App, and the user who connects the intelligent device through the App is the authorized user, and has absolute control right for the intelligent device, when other users need to be given access right, the mode switching instruction is sent to an intelligent gateway in the intelligent device, before switching, the intelligent network manager only receives a signal sent by the device used by the authorized user, and after switching to a visitor access mode, temporary connection needs to be established with the device except the device used by the authorized user; when not in the guest access mode, external control signals and multi-path information authentication information from any device other than the authorized user device are not accepted.
S200, detecting and receiving an external control signal, synchronously receiving multi-path information verification information, wherein the external control signal comprises an equipment unique identifier and a control instruction, and the multi-path information verification information also comprises the equipment unique identifier and is transmitted through a local area network constructed by a gateway.
In this step, detecting and receiving the external control signal, after switching to the visitor access mode, detecting all devices in the signal range by using the gateway, that is, detecting the devices which are installed with the App and send out the external control signal nearby, recording all the detected devices and the corresponding external control signals, and synchronously sending out multi-path information verification information when the nearby devices send out the external control signal, in the process, the nearby devices will detect the number of bluetooth devices contained in the local area network in the current environment, because the bluetooth devices are connected with each other in the current environment, a bluetooth local area network formed by bluetooth device components is formed, the multi-path information verification information will traverse all bluetooth nodes in the bluetooth local area network and is finally transmitted to the intelligent gateway in the intelligent device, and the multi-path information verification information has various communication paths in the bluetooth local area network, therefore, the multi-path information verification information traverses each communication path in the bluetooth local area network, and each communication path is guaranteed not to pass through the same bluetooth node twice, and the sequence of passing through the bluetooth node is recorded in the multi-path information verification information, so that the multi-path information verification information sent by each device comprises a plurality of communication paths, and the device used by the authorized user also sends the multi-path information verification information to execute the operation.
And S300, verifying the identity of the source device of the external control signal based on the multi-path information verification information, and determining whether to grant control right.
In this step, the identity of the source device of the external control signal is verified based on the multi-path information verification information, after the previous step, each device corresponds to one multi-path information verification information, a plurality of communication paths are recorded in the multi-path information verification information, meanwhile, the multi-path information verification information sent by the device used by the authorized user also comprises a plurality of communication paths, the multi-path information verification information sent by the device used by the authorized user is counted to comprise a plurality of communication paths, the communication paths in the multi-path information verification information corresponding to each device are compared with the communication paths in the device used by the authorized user, when the number of the communication paths in the device used by the authorized user is larger than a preset value, the device and the device used by the authorized user are in the same environment, the control right is granted, otherwise, the authorization is not granted.
S400, receiving an external control signal of a source device obtaining the control right, and executing a control instruction contained in the external control signal.
In this step, an external control signal of a source device that obtains a control right is received, and for an authorized device, the command is directly executed.
As shown in fig. 2, as a preferred embodiment of the present invention, the step of detecting and receiving an external control signal, and synchronously receiving the multi-path information verification information specifically includes:
s201, detecting all devices in the gateway signal range, and receiving external control signals sent by all the devices.
In this step, all devices in the gateway signal range are detected, all devices are detected, some devices are provided with apps, but some devices do not send out control instructions, so that external control signals sent by the devices cannot be received, only apps are installed, and when a user sends out control instructions based on the apps, external control signals are generated and received by a gateway, which can be a bluetooth gateway.
S202, the multi-path information verification information is synchronously received, and the device unique identifiers contained in all the multi-path information verification information are extracted.
In this step, the device that synchronously receives the multi-path information verification information and sends the external control signal detects the bluetooth local area network in the current environment to generate different communication paths, which cover the transmission scheme that different bluetooth nodes are used as the first bluetooth node, for example, the bluetooth local area network is composed of three bluetooth nodes, all of which can be connected with the intelligent device, the device that sends the external control signal numbers 1, 2 and 3 to the three bluetooth nodes, so that the communication paths include the device a-1-2-3-intelligent device, the device a-1-3-2-intelligent device, the device a-2-1-3-intelligent device and the device a-2-3-1-intelligent device that need to be accessed temporarily, the device A-3-2-1-intelligent device and the device A-3-1-2-intelligent device obtain six communication paths, multi-path information verification information is repeatedly transmitted through the six communication paths, the transmission condition of the Bluetooth node is recorded when each piece of multi-path information verification information is transmitted, and the device unique identifier is finally extracted from the multi-path information verification information.
And S203, identifying the corresponding multi-path information verification information from the equipment used by the authorized user based on the equipment unique identifier.
In this step, the unique identifier is identified, and since the external control signal is directly received by the intelligent gateway in the intelligent device, which also includes the unique identifier, the corresponding relationship between the device and the multi-path information authentication information can be determined according to the unique identifier.
As shown in fig. 3, as a preferred embodiment of the present invention, the step of verifying the identity of the source device of the external control signal based on the multi-path information verification information and determining whether to grant control right thereof specifically includes:
s301, analyzing the multi-path information verification information corresponding to all the devices, and identifying communication paths contained in the multi-path information verification information, wherein the communication paths comprise transmission nodes and node transmission sequences.
In this step, the multi-path information verification information corresponding to all the devices is analyzed, after the unique identifier is identified, the corresponding relationship between the devices and the multi-path information verification information is determined, and the communication paths therein are extracted to obtain the transmission nodes (i.e., bluetooth nodes) and the sequence of the transmission nodes.
S302, determining a communication path contained in the multi-path information verification information corresponding to the equipment corresponding to the authorized user according to the unique identifier.
In this step, the device corresponding to the authorized user is determined according to the unique identifier, and similarly, the corresponding transmission node (i.e., bluetooth node) and the sequence in which the transmission node passes through the transmission node are obtained.
And S303, calculating the contact ratio between the communication paths contained in the multi-path information verification information corresponding to all other devices except the device corresponding to the authorized user and the communication paths contained in the multi-path information verification information corresponding to the device corresponding to the authorized user, and judging whether the corresponding devices are granted with control right one by one.
In this step, the overlap ratio of the communication paths corresponding to the device corresponding to the authorized user and the other devices is calculated, if the multi-path information verification information corresponding to the device corresponding to the authorized user includes 10 communication paths, the number of the communication paths included in the multi-path information verification information corresponding to the other devices is calculated to be the same as that of the communication paths included in the multi-path information verification information corresponding to the other devices, if the communication paths included in the multi-path information verification information corresponding to a certain device overlap with the communication paths in the multi-path information verification information corresponding to the device corresponding to the authorized user, the overlap ratio is 80%, the preset value is 70%, and then the device with the overlap ratio of 70% or more can obtain the control right.
As shown in fig. 4, as a preferred embodiment of the present invention, the step of receiving an external control signal of a source device obtaining control right and executing a control instruction contained therein specifically includes:
s401, receiving an external control signal corresponding to the device obtaining the control right, and extracting a control instruction contained in the external control signal.
S402, numbering the control commands according to the generation time sequence of the control commands.
In this step, the external control signal corresponding to the device that obtains the control right is received, and since each device may issue a plurality of control instructions, when obtaining the control instructions, the control instructions may be numbered according to the generation time sequence of the control instructions, or may be numbered according to the time when the control instructions are extracted.
And S403, executing the control instructions one by one according to the numbering sequence, and sending feedback information when the execution is finished.
In this step, control instructions are executed one by one according to the serial number sequence, when the instructions are successfully executed, feedback information is sent to the equipment, and meanwhile, equipment information corresponding to the control instructions and the control instructions can be recorded and backed up to the cloud or the local.
As shown in fig. 5, an intelligent gateway interaction system provided in an embodiment of the present invention includes:
the mode switching module 100 is configured to receive a mode switching instruction from an authorized user, and switch to a visitor access mode according to the mode switching instruction.
In the system, a mode switching module 100 receives a mode switching instruction from an authorized user, for an intelligent device, at the beginning of use, the user is connected with the intelligent device through an App, the user connected with the intelligent device through the App is the authorized user and has absolute control right for the intelligent device, when other users need to be given access rights, the mode switching instruction is sent to an intelligent gateway in the intelligent device, before switching, an intelligent network manager only receives a signal sent by the device used by the authorized user, and after switching to a visitor access mode, temporary connection needs to be established with devices except the device used by the authorized user; when not in the guest access mode, external control signals and multi-path information authentication information from any device other than the authorized user device are not accepted.
The information receiving module 200 is configured to detect and receive an external control signal, and synchronously receive multi-path information verification information, where the external control signal includes an apparatus unique identifier and a control instruction, and the multi-path information verification information also includes an apparatus unique identifier, and is transmitted through a local area network constructed by a gateway.
In the system, the information receiving module 200 detects and receives an external control signal, after switching to a visitor access mode, the gateway is used for detecting all devices in a signal range, namely, devices which are installed with the App and send out the external control signal nearby, all detected devices and corresponding external control signals are recorded, and when the nearby devices send out the external control signal, multipath information verification information is synchronously sent out, in the process, the nearby devices detect the number of Bluetooth devices in the local area network in the current environment, because the Bluetooth devices are connected with each other in the current environment, a Bluetooth local area network formed by Bluetooth device components is formed, the multipath information verification information traverses all Bluetooth nodes in the Bluetooth local area network and is finally transmitted to an intelligent gateway in the intelligent device, and the communication paths of the multipath information verification information in the Bluetooth local area network are various, therefore, the multi-path information verification information traverses each communication path in the bluetooth local area network, and each communication path is guaranteed not to pass through the same bluetooth node twice, and the sequence of passing through the bluetooth node is recorded in the multi-path information verification information, so that the multi-path information verification information sent by each device comprises a plurality of communication paths, and the device used by the authorized user also sends the multi-path information verification information to execute the operation.
The device authentication module 300 is configured to authenticate an identity of a source device of the external control signal based on the multipath information authentication information, and determine whether to grant control right.
In the present system, the device authentication module 300 authenticates the identity of a source device of an external control signal based on the multi-path information authentication information, after the previous step, each device corresponds to one multi-path information authentication information, a plurality of communication paths are recorded in the multi-path information authentication information, meanwhile, the multi-path information authentication information sent by the device used by the authorized user also includes a plurality of communication paths, the multi-path information authentication information sent by the device used by the authorized user includes a plurality of communication paths, the communication paths in the multi-path information authentication information corresponding to each device are compared with the communication paths, when the number of the communication paths coinciding with the communication paths in the device used by the authorized user exceeds a preset value, the device and the device used by the authorized user are in the same environment, the control right is granted, otherwise, the authorization is not granted.
The command execution module 400 is configured to receive an external control signal from a source device that obtains control right, and execute a control command contained therein.
In the present system, the instruction execution module 400 receives an external control signal from a source device that obtains a control right, and directly executes an instruction for an authorized device, or determines an execution sequence according to a generation time of the instruction when there are a plurality of devices authorized.
As shown in fig. 6, as a preferred embodiment of the present invention, the information receiving module 200 includes:
the device detecting unit 201 is configured to detect all devices within a gateway signal range, and receive external control signals sent by all devices.
In this module, the device detection unit 201 detects all devices in the gateway signal range, detects all devices, and some devices are installed with apps, but do not send a control instruction, and therefore cannot receive the external control signal sent by the device, and only the apps are installed, and when the user sends a control instruction based on the apps, the external control signal is generated and received by the gateway, which may be a bluetooth gateway.
An information extraction unit 202, configured to synchronously receive the multipath information authentication information and extract the device unique identifier included in all the multipath information authentication information.
In this module, the information extraction unit 202 synchronously receives the multi-path information verification information, and the device sending the external control signal detects the bluetooth local area network in the current environment to generate different communication paths, which cover a transmission scheme using different bluetooth nodes as the first bluetooth node, for example, the bluetooth local area network is composed of three bluetooth nodes, all of which can be connected with the intelligent device, and the device sending the external control signal numbers 1, 2, and 3 for the three bluetooth nodes, so that the communication path includes a device a-1-2-3-intelligent device, a device a-1-3-2-intelligent device, and a device a-2-1-3-intelligent device that need to be temporarily accessed, the method comprises the steps that equipment A-2-3-1-intelligent equipment, the equipment A-3-2-1-intelligent equipment and the equipment A-3-1-2-intelligent equipment are used, six communication paths are obtained, multi-path information verification information is repeatedly transmitted through the six communication paths, the transmission condition of a Bluetooth node is recorded when each piece of multi-path information verification information is transmitted, and finally an equipment unique identifier is extracted from the multi-path information verification information.
An information identification unit 203, configured to identify corresponding multi-path information authentication information from a device used by an authorized user based on the device unique identifier.
In this module, the information identification unit 203 identifies the unique identifier, and since the external control signal is directly received by the intelligent gateway in the intelligent device, which also includes the unique identifier, the corresponding relationship between the device and the multi-path information verification information can be determined according to the unique identifier.
As shown in fig. 7, as a preferred embodiment of the present invention, the device authentication module 300 includes:
the path identifying unit 301 is configured to parse the multi-path information verification information corresponding to all the devices, and identify a communication path included in the multi-path information verification information, where the communication path includes a transmission node and a node transmission sequence.
In this module, the path identifying unit 301 analyzes the multi-path information verification information corresponding to all devices, determines the correspondence between the devices and the multi-path information verification information after identifying the unique identifier, and extracts the communication paths therein to obtain the transmission nodes (i.e., bluetooth nodes) and the order in which the transmission nodes pass through the transmission nodes.
And an authorized user identification unit 302, configured to determine, according to the unique identifier, a communication path included in the multi-path information verification information corresponding to the device corresponding to the authorized user.
In this module, the authorized user identification unit 302 determines the corresponding device of the authorized user according to the unique identifier, and similarly, obtains the corresponding transmission node (i.e. bluetooth node) and the sequence of the transmission node.
The authorization determining unit 303 is configured to calculate overlap ratios between communication paths included in the multi-path information verification information corresponding to all other devices except the device corresponding to the authorized user and communication paths included in the multi-path information verification information corresponding to the device corresponding to the authorized user, and determine whether to grant the corresponding devices one by one to control the authorization.
In this module, the authorization determining unit 303 calculates the degree of coincidence between the device corresponding to the authorized user and the respective communication paths corresponding to the other devices, and if the multi-path information verification information corresponding to the device corresponding to the authorized user includes 10 communication paths, calculates the number of the communication paths included in the multi-path information verification information corresponding to the other devices, and if the communication paths included in the multi-path information verification information corresponding to a certain device include 8 communication paths that coincide with the communication paths in the multi-path information verification information corresponding to the device corresponding to the authorized user, the degree of coincidence is 80%, the preset value is 70%, and then the device with the degree of coincidence of 70% or more can obtain the control right.
As shown in fig. 8, as a preferred embodiment of the present invention, the instruction execution module 400 includes:
the instruction extracting unit 401 is configured to receive an external control signal corresponding to a device that obtains a control right, and extract a control instruction contained therein.
An instruction numbering unit 402, configured to number the control instructions in order of their generation time.
In this module, the instruction extracting unit 401 receives an external control signal corresponding to a device that obtains a control right, and since each device may issue a plurality of control instructions, when obtaining a control instruction, the control instructions may be numbered according to a generation time sequence of the control instructions, or may be numbered according to a time when obtaining the control instruction.
And an information feedback unit 403, configured to execute the control instructions one by one according to the numbering sequence, and send feedback information when the execution is completed.
In this module, the information feedback unit 403 executes the control instructions one by one according to the serial number sequence, and when the instructions are successfully executed, sends feedback information to the device, and simultaneously can record the device information corresponding to the control instructions and the control instructions, and backup the device information and the control instructions to the cloud or the local.
It should be understood that, although the steps in the flowcharts of the embodiments of the present invention are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in various embodiments may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus (Rambus) direct RAM (RDRAM), direct bused dynamic RAM (DRDRAM), and bused dynamic RAM (RDRAM).
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent should be subject to the appended claims.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (8)

1. An intelligent gateway interaction method, the method comprising:
receiving a mode switching instruction from an authorized user, and switching to a visitor access mode according to the mode switching instruction;
detecting and receiving an external control signal, and synchronously receiving multipath information verification information, wherein the external control signal comprises an equipment unique identifier and a control instruction, the multipath information verification information also comprises an equipment unique identifier and is transmitted through a local area network constructed by a gateway, the equipment unique identifier is a machine code with uniqueness, and the multipath information verification information comes from equipment sending the external control signal;
verifying the identity of the source device of the external control signal based on the multi-path information verification information, and determining whether to grant the control right;
receiving an external control signal of a source device obtaining control right, and executing a control instruction contained in the external control signal;
the step of verifying the identity of the source device of the external control signal based on the multi-path information verification information and determining whether to grant the control right thereof specifically includes:
analyzing multi-path information verification information corresponding to all equipment, and identifying communication paths contained in the multi-path information verification information, wherein the communication paths comprise transmission nodes and node transmission sequences;
determining a communication path contained in multi-path information verification information corresponding to equipment corresponding to the authorized user according to the unique identifier;
and calculating the coincidence degree between the communication paths contained in the multi-path information verification information corresponding to all other devices except the device corresponding to the authorized user and the communication paths contained in the multi-path information verification information corresponding to the device corresponding to the authorized user, and judging whether the corresponding devices are granted one by one to control the right.
2. The intelligent gateway interaction method according to claim 1, wherein the step of detecting and receiving the external control signal and synchronously receiving the multi-path information authentication information specifically comprises:
detecting all devices in the gateway signal range, and receiving external control signals sent by all the devices;
synchronously receiving multi-path information verification information, and extracting equipment unique identifiers contained in all the multi-path information verification information;
corresponding multi-path information authentication information from a device used by an authorized user is identified based on the device unique identifier.
3. The intelligent gateway interaction method according to claim 1, wherein the step of receiving the external control signal of the source device that obtains the control right and executing the control command included therein specifically comprises:
receiving an external control signal corresponding to the equipment obtaining the control right, and extracting a control instruction contained in the external control signal;
numbering the control instructions according to the generation time sequence of the control instructions;
and executing the control instructions one by one according to the numbering sequence, and sending feedback information when the execution is finished.
4. The intelligent gateway interaction method of claim 1, wherein after the control command is executed, the device information corresponding to the control command and the control command are recorded.
5. The intelligent gateway interaction method of claim 1, wherein the external control signal and the multi-path information authentication information from any device other than the authorized user device are not accepted when not in the guest access mode.
6. An intelligent gateway interaction system, the system comprising:
the mode switching module is used for receiving a mode switching instruction from an authorized user and switching to a visitor access mode according to the mode switching instruction;
the system comprises an information receiving module, a multi-path information verifying module and a data processing module, wherein the information receiving module is used for detecting and receiving an external control signal, synchronously receiving multi-path information verifying information, transmitting the multi-path information verifying information through a local area network constructed by a gateway, and transmitting the multi-path information verifying information, wherein the external control signal comprises an equipment unique identifier and a control instruction;
the device verification module is used for verifying the identity of the source device of the external control signal based on the multi-path information verification information and determining whether to grant the control right;
the instruction execution module is used for receiving an external control signal of a source device obtaining the control right and executing a control instruction contained in the external control signal;
the device authentication module includes:
the path identification unit is used for analyzing the multi-path information verification information corresponding to all the equipment and identifying a communication path contained in the multi-path information verification information, wherein the communication path comprises transmission nodes and a node transmission sequence;
the authorized user identification unit is used for determining a communication path contained in the multi-path information verification information corresponding to the equipment corresponding to the authorized user according to the unique identifier;
and the authorization judging unit is used for calculating the coincidence degree between the communication paths contained in the multi-path information verification information corresponding to all other devices except the device corresponding to the authorized user and the communication paths contained in the multi-path information verification information corresponding to the device corresponding to the authorized user, and judging whether the corresponding devices are granted one by one to control the right.
7. The intelligent gateway interaction system of claim 6, wherein the information receiving module comprises:
the device detection unit is used for detecting all devices in the gateway signal range and receiving external control signals sent by all the devices;
the information extraction unit is used for synchronously receiving the multi-path information verification information and extracting the unique device identifier contained in all the multi-path information verification information;
and the information identification unit is used for identifying the multi-path information verification information corresponding to the equipment used by the authorized user based on the equipment unique identifier.
8. The intelligent gateway interaction system of claim 6, wherein the instruction execution module comprises:
the instruction extracting unit is used for receiving an external control signal corresponding to the equipment obtaining the control right and extracting a control instruction contained in the external control signal;
the instruction numbering unit is used for numbering the control instructions according to the generation time sequence of the control instructions;
and the information feedback unit is used for executing the control instructions one by one according to the numbering sequence and sending feedback information when the execution is finished.
CN202210683271.6A 2022-06-17 2022-06-17 Intelligent gateway interaction method and system Active CN114785629B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210683271.6A CN114785629B (en) 2022-06-17 2022-06-17 Intelligent gateway interaction method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210683271.6A CN114785629B (en) 2022-06-17 2022-06-17 Intelligent gateway interaction method and system

Publications (2)

Publication Number Publication Date
CN114785629A CN114785629A (en) 2022-07-22
CN114785629B true CN114785629B (en) 2022-09-02

Family

ID=82420739

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210683271.6A Active CN114785629B (en) 2022-06-17 2022-06-17 Intelligent gateway interaction method and system

Country Status (1)

Country Link
CN (1) CN114785629B (en)

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4039794B2 (en) * 2000-08-18 2008-01-30 富士通株式会社 Multipath computer system
US8001267B2 (en) * 2005-12-15 2011-08-16 International Business Machines Corporation Apparatus, system, and method for automatically verifying access to a multipathed target at boot time
CA2902093C (en) * 2014-08-28 2023-03-07 Kevin Alan Tussy Facial recognition authentication system including path parameters
CN104753926B (en) * 2015-03-11 2019-04-12 华中科技大学 A kind of gateway admittance control method
GB2553060B (en) * 2015-05-29 2019-04-10 Google Llc Controlling access to resource functions at a control point of the resource via a user device
US10021109B2 (en) * 2016-02-24 2018-07-10 Xerox Corporation System and method for automatically providing proximity based guest access to a network of resource devices
CN110932944A (en) * 2018-09-19 2020-03-27 海信集团有限公司 Method and system for controlling intelligent household equipment by visitor terminal
CN112787986B (en) * 2019-11-11 2023-04-07 千寻位置网络有限公司 Multi-path bidirectional authentication method and device
CN112261058A (en) * 2020-03-16 2021-01-22 陈力 Smart home access authorization method, smart home system and server
CN112134954A (en) * 2020-09-22 2020-12-25 京东数字科技控股股份有限公司 Service request processing method and device, electronic equipment and storage medium
CN114241634A (en) * 2021-12-02 2022-03-25 泰仕达电子(深圳)有限公司 Management control method of intelligent door lock system and intelligent door lock management system

Also Published As

Publication number Publication date
CN114785629A (en) 2022-07-22

Similar Documents

Publication Publication Date Title
US11038879B2 (en) Identity authentication method and apparatus, and user equipment
CN109920114B (en) Door lock control method and system based on geographic position
CN107222373B (en) Control method, system and terminal of smart home, FIDO server and safety equipment
KR20130042447A (en) Apparatus and method for access control
CN107426160B (en) Control method, system and terminal of smart home, FIDO server and safety equipment
KR101960799B1 (en) biometric recognition access control system having IoT and its control methods
CN106992956B (en) Method, device and system for realizing authentication between devices
CN105259771A (en) Authentication method and associated device
CN105488875B (en) A kind of gate inhibition's verification method and device
CN109273009A (en) Access control method, device, computer equipment and storage medium
CN111917981A (en) Privacy protection method, device, equipment and computer readable storage medium
CN112991599A (en) Passage control method of multifunctional access control machine
CN112162491A (en) Intelligent household authority control method and intelligent household system
CN114785629B (en) Intelligent gateway interaction method and system
CN111368721B (en) Identity recognition processing method and device, electronic equipment and storage medium
CN110768942B (en) Identity authentication system
CN104113418A (en) Rule-configuration-based compound identity authentication method in ERP (enterprise resource planning) system
KR20170083778A (en) Fingerprint recognition security system for visitors access management
CN110956723A (en) Encryption verification communication method and device for Bluetooth intelligent lock and storage medium
CN107371160B (en) Method and equipment for carrying out wireless connection pre-authorization on user equipment
WO2016123891A1 (en) Antitheft processing method and device
CN110738759A (en) fingerprint storage method, identity verification method, device and system
KR20150112655A (en) Wireless access scheme and service authentication method and print code generating method and terminal unit
US20180114005A1 (en) System and method for managing identity information stored in a cloud server
CN110641415A (en) Equipment security method, server and intelligent terminal equipment

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