CN109639692B - Offline login method, device, equipment, system and storage medium - Google Patents
Offline login method, device, equipment, system and storage medium Download PDFInfo
- Publication number
- CN109639692B CN109639692B CN201811560597.XA CN201811560597A CN109639692B CN 109639692 B CN109639692 B CN 109639692B CN 201811560597 A CN201811560597 A CN 201811560597A CN 109639692 B CN109639692 B CN 109639692B
- Authority
- CN
- China
- Prior art keywords
- login
- control terminal
- user
- authentication request
- zigbee gateway
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000004891 communication Methods 0.000 claims abstract description 16
- 238000012795 verification Methods 0.000 claims abstract description 14
- 230000001360 synchronised effect Effects 0.000 claims abstract description 7
- 230000010354 integration Effects 0.000 claims description 13
- 238000012790 confirmation Methods 0.000 claims description 4
- 230000004044 response Effects 0.000 claims description 4
- 230000002159 abnormal effect Effects 0.000 abstract description 4
- 239000002609 medium Substances 0.000 description 13
- 230000005540 biological transmission Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 239000012120 mounting media Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
- G05B19/4185—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the network communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2642—Domotique, domestic, home control, automation, smart house
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computing Systems (AREA)
- Computer Security & Cryptography (AREA)
- Automation & Control Theory (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Manufacturing & Machinery (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the application discloses a method, a device, equipment, a system and a storage medium for off-line login, which are connected with a control terminal in current communication through a local network by confirming at a ZigBee gateway; receiving a login authentication request sent by the control terminal, wherein the login authentication request carries user login information corresponding to the control terminal; matching the user login information with a pre-stored user information list, wherein the user information list is generated by synchronizing with a cloud home server; if the user login information is successfully matched, passing a login verification request of the control terminal; otherwise, the login authentication request of the control terminal is refused. The user information list is synchronized with the cloud home server in the ZigBee gateway, login authentication in the offline state of the ZigBee gateway is achieved, and normal use of the intelligent home in the abnormal state of the network is guaranteed.
Description
Technical Field
The embodiment of the application relates to the field of smart home, in particular to a method, a device, equipment, a system and a storage medium for offline login.
Background
With the development of computer networks and electronic technologies, the concept of digital home has been gradually put into practical use, and smart home is one of the earliest technical fields in which the digital home is put into use. The intelligent gateway is one of protocol conversion devices commonly used in the smart home as an intelligent device located between a networked information device and an intelligent broadband access network in the smart home system, and generally has two functions of an intelligent home control hub and a wireless router.
In the existing intelligent home system, the login of the control terminal is realized through the cloud home server, the control terminal can be connected to the target intelligent gateway only after the cloud home server passes through the login request, and if the intelligent gateway cannot be connected with the cloud home server, the control terminal cannot log in the intelligent gateway.
Disclosure of Invention
The application provides an offline login method, device, equipment, system and storage medium, so as to realize effective access of an intelligent gateway in an offline state.
In a first aspect, an offline login method is provided, which is used for a ZigBee gateway, and includes:
confirming that a control terminal in current communication is connected through a local network;
receiving a login authentication request sent by the control terminal, wherein the login authentication request carries user login information corresponding to the control terminal;
matching the user login information with a pre-stored user information list, wherein the user information list is generated by synchronizing with a cloud home server;
if the user login information is successfully matched, passing a login verification request of the control terminal; otherwise, the login authentication request of the control terminal is refused.
Wherein the method further comprises:
receiving a user updating instruction, switching to enter a signal broadcasting state, wherein the ZigBee gateway can be detected in the signal broadcasting state;
and updating the user login information in the user information list.
Wherein the method further comprises:
and the period and the cloud home server are synchronized in a user information list integration manner.
Wherein, the login authentication request is encrypted data.
In a second aspect, an offline login device is provided, which is disposed in a ZigBee gateway, and includes:
a connection confirmation unit for confirming that the control terminal is connected to the local network;
a request receiving unit, configured to receive a login authentication request sent by the control terminal, where the login authentication request carries user login information corresponding to the control terminal;
the login matching unit is used for matching the user login information with a pre-stored user information list, and the user information list is generated synchronously with the cloud home server;
the login response unit is used for passing the login verification request of the control terminal if the user login information is successfully matched; otherwise, the login authentication request of the control terminal is refused.
Wherein the apparatus further comprises:
the state switching unit is used for receiving a user updating instruction and switching to enter a signal broadcasting state, and the ZigBee gateway can be detected in the signal broadcasting state;
and the information updating unit is used for updating the user login information in the user information list.
Wherein the apparatus further comprises:
and the integration synchronization unit is used for periodically performing integration synchronization of the user information list with the cloud home server.
In a third aspect, an offline login device is provided, including: one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method of offline login as defined in any one of the first aspects.
In a fourth aspect, a system for offline login is provided, which includes a cloud home server and the device of the third aspect.
In a fifth aspect, there is provided a storage medium containing computer executable instructions for performing the method of offline login as defined in any one of the first aspects when executed by a computer processor.
The embodiment of the application confirms that the ZigBee gateway is connected with the current communication control terminal through the local network; receiving a login authentication request sent by the control terminal, wherein the login authentication request carries user login information corresponding to the control terminal; matching the user login information with a pre-stored user information list, wherein the user information list is generated by synchronizing with a cloud home server; if the user login information is successfully matched, passing a login verification request of the control terminal; otherwise, the login authentication request of the control terminal is refused. The user information list is synchronized with the cloud home server in the ZigBee gateway, login authentication in the offline state of the ZigBee gateway is achieved, and normal use of the intelligent home in the abnormal state of the network is guaranteed.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1 is a flowchart of a method for offline login according to an embodiment of the present disclosure;
fig. 2 is a flowchart of another offline login method provided in an embodiment of the present application;
fig. 3 is a schematic structural diagram of an offline login apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an offline login device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, specific embodiments of the present application will be described in detail with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some but not all of the relevant portions of the present application are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Fig. 1 is a flowchart of an offline login method according to an embodiment of the present application, where the offline login method according to this embodiment may be executed by an offline login device, and the offline login device may be implemented by hardware and/or software and integrated in a device. Specifically, in the smart home control system, the device in this embodiment refers to a ZigBee gateway existing as an indoor data hub in the smart home system. Referring to fig. 1, the offline login method specifically includes:
step 110: the control terminal confirming the current communication is connected through the home network.
The whole login process is controlled by the ZigBee gateway to judge whether the verification is passed. The ZigBee network is a main signal type for communication between the gateway and a single intelligent home node, and correspondingly, the data core is the ZigBee gateway. ZigBee is a wireless connection, which can work on 3 frequency bands of 2.4GHz (popular worldwide), 868MHz (popular European) and 915 MHz (popular United states), respectively, and has the highest transmission rates of 250kbit/s, 20kbit/s and 40kbit/s, and the transmission distance thereof is in the range of 10-75m, but can be increased continuously. As a wireless communication technology, ZigBee has the characteristics of low power consumption, low cost, short time delay, large network capacity, reliable signals, high safety and the like.
Before the control terminal is connected with the ZigBee gateway, a certain judgment mechanism can be provided. For example, the current network connection type of the ZigBee gateway is judged, and if the ZigBee gateway is connected through a mobile network, the ZigBee gateway cannot be connected through a local network. If the current network connection type of the ZigBee gateway is a WiFi network, whether the same hotspot is connected with the ZigBee gateway or not can be further judged, and if the same hotspot is connected with the ZigBee gateway through the local network, the same hotspot is connected with the ZigBee gateway. It should be noted that the ZigBee gateway and the control terminal are not necessarily connected through WiFi to the same hotspot, and the ZigBee gateway and the hotspot may be connected through a wired connection or a wireless connection.
Step 120: and receiving a login authentication request sent by the control terminal, wherein the login authentication request carries user login information corresponding to the control terminal.
After the control terminal is connected to the ZigBee gateway, user information is input in a login interface and login is requested, and the series of information is received by the ZigBee gateway as a login verification request.
Step 130: and matching the user login information with a pre-stored user information list, wherein the user information list is generated synchronously with the cloud home server.
The ZigBee gateway matches the user login information from a user information list stored by the ZigBee gateway, specifically, the user login information can be matched one by one, or the user login information can be searched and matched according to a user name. The user information list pre-stored in the ZigBee gateway is a result of comprehensively updating the user login information by the cloud home server and the ZigBee gateway. And the pre-stored user information list is not invariable, but is continuously updated along with the change of the user.
Step 140: if the user login information is successfully matched, passing a login verification request of the control terminal; otherwise, the login authentication request of the control terminal is refused.
Regardless of the matching mode, the successful matching is confirmed only if the account number and the password of the user login information are matched at the same time, and the login authentication request of the control terminal is passed. If the account number and the password of the user login information are not matched, the matching is confirmed to be failed, and the login authentication request of the control terminal is refused.
In summary, the ZigBee gateway confirms that the control terminal which is currently communicated is connected with the ZigBee gateway through the local network; receiving a login authentication request sent by the control terminal, wherein the login authentication request carries user login information corresponding to the control terminal; matching the user login information with a pre-stored user information list, wherein the user information list is generated by synchronizing with a cloud home server; if the user login information is successfully matched, passing a login verification request of the control terminal; otherwise, the login authentication request of the control terminal is refused. The user information list is synchronized with the cloud home server in the ZigBee gateway, login authentication in the offline state of the ZigBee gateway is achieved, and normal use of the intelligent home in the abnormal state of the network is guaranteed.
On the basis of the foregoing embodiments, fig. 2 is a flowchart of another offline login method provided in the embodiments of the present application. The off-line login method is realized in further detail. Referring to fig. 2, the method of offline login includes:
step 210: the control terminal confirming the current communication is connected through the home network.
Step 220: and receiving a login authentication request sent by the control terminal, wherein the login authentication request carries user login information corresponding to the control terminal.
The login authentication request is encrypted data. The encrypted data can effectively prevent the smart home from being invaded, and especially for the smart home equipment with the camera, the encrypted transmission data can effectively ensure that the privacy of the user is not invaded.
Step 230: and matching the user login information with a pre-stored user information list, wherein the user information list is generated synchronously with the cloud home server.
Step 240: if the user login information is successfully matched, passing a login verification request of the control terminal; otherwise, the login authentication request of the control terminal is refused.
Step 250: and receiving a user updating instruction, switching to enter a signal broadcasting state, wherein the ZigBee gateway can be detected in the signal broadcasting state.
Generally speaking, the ZigBee gateway cannot be detected by any terminal device at will, and only the ZigBee gateway actively opens the right or a control terminal with the right assigned to a certain terminal device is assigned to a control right, so that the ZigBee gateway becomes a control terminal.
Step 260: and updating the user login information in the user information list.
The updating of the user login information mainly includes adding, deleting and modifying operations, and the updating of the user information list after the device is connected is a conventional operation of user management, and is not a key point of the scheme, and a detailed description is not provided herein.
Step 270: and the period and the cloud home server are synchronized in a user information list integration manner.
The positions of user login information modification initiated by the control terminal in different connection states are different, if the user login information modification is realized through mobile network or WiFi remote connection, the change of the user login information in the user information list firstly appears in the cloud home server, and if the user login information modification is realized through local network connection, the change of the user login information in the user information list firstly appears in the ZigBee gateway, so that the integration and synchronization of the user information list are required between the cloud home server and the ZigBee gateway. It should be noted that the period integration synchronization is not necessarily time period, and the integration synchronization is performed by using the determined duration as a period, which is an optional manner, and may also be event trigger as a period, that is, the integration synchronization is performed when the cloud home server or the ZigBee gateway changes the user login information.
In the embodiment, through an updating mechanism of the user login information, the updated user can quickly obtain the login authority or cancel the login authority in any state, and the use experience and the safety factor of the smart home are improved.
Based on the foregoing embodiments, fig. 3 is a schematic structural diagram of an offline login apparatus according to an embodiment of the present application. Referring to fig. 3, the offline login device provided in this embodiment is disposed in a ZigBee gateway, and specifically includes: a connection confirmation unit 310, a request receiving unit 320, a login matching unit 330, and a login response unit 340. Wherein:
a connection confirmation unit 310 for confirming that the control terminal currently communicating is connected through the local network;
a request receiving unit 320, configured to receive a login authentication request sent by the control terminal, where the login authentication request carries user login information corresponding to the control terminal;
the login matching unit 330 is configured to match the user login information with a pre-stored user information list, where the user information list is generated by synchronizing with the cloud home server;
a login response unit 340, configured to pass a login authentication request of the control terminal if the user login information is successfully matched; otherwise, the login authentication request of the control terminal is refused.
Wherein the apparatus further comprises:
the state switching unit is used for receiving a user updating instruction and switching to enter a signal broadcasting state, and the ZigBee gateway can be detected in the signal broadcasting state;
and the information updating unit is used for updating the user login information in the user information list.
Wherein the apparatus further comprises:
and the integration synchronization unit is used for periodically performing integration synchronization of the user information list with the cloud home server.
In summary, the ZigBee gateway confirms that the control terminal which is currently communicated is connected with the ZigBee gateway through the local network; receiving a login authentication request sent by the control terminal, wherein the login authentication request carries user login information corresponding to the control terminal; matching the user login information with a pre-stored user information list, wherein the user information list is generated by synchronizing with a cloud home server; if the user login information is successfully matched, passing a login verification request of the control terminal; otherwise, the login authentication request of the control terminal is refused. The user information list is synchronized with the cloud home server in the ZigBee gateway, login authentication in the offline state of the ZigBee gateway is achieved, and normal use of the intelligent home in the abnormal state of the network is guaranteed. In addition, through an updating mechanism of the user login information, the updated user can quickly obtain the login authority or cancel the login authority in any state, and the safety factor and the use experience of the smart home are improved.
The embodiment of the application provides an offline login device, and the offline login device provided by the embodiment of the application can be integrated in the offline login device. Fig. 4 is a schematic structural diagram of an offline login device according to an embodiment of the present application. Referring to fig. 4, the apparatus includes: a processor 410, a memory 420, an input device 430, an output device 440, and a communication device 450. The number of the processors 410 in the device may be one or more, and one processor 410 is taken as an example in fig. 4. The number of the memory 420 in the device may be one or more, and one memory 420 is taken as an example in fig. 4. The processor 410, the memory 420, the input device 430, the output device 440, and the communication device 450 of the apparatus may be connected by a bus or other means, and fig. 4 illustrates the connection by a bus as an example.
The memory 420 serves as a computer-readable storage medium, and may be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the method for offline login according to any embodiment of the present application (for example, the connection confirming unit 310, the request receiving unit 320, the login matching unit 330, and the login responding unit 340 in the apparatus for offline login). The memory 420 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the device, and the like. Further, the memory 420 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 420 may further include memory located remotely from processor 410, which may be connected to devices through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The communication device 450 is used for network connection and data transmission with other associated hardware hosts in a wireless manner or a wired manner. The communication device 450 does not refer to a hardware module corresponding to one wireless communication method and a driver thereof, but includes a plurality of wireless communication methods that can be arranged on the device, such as a WiFi module and a mobile communication module.
The input device 430 may be used to receive input numeric or character information, or an operation command, in the present case, particularly to receive a login authentication request. The output device 440 may include a speaker, a display screen, and the like. It should be noted that the specific components of the input device 430 and the output device 440 may be set according to actual situations, for example, the input device is respectively configured as a keyboard and a display screen, or the input device and the display device are integrally configured as a touch display screen. It will be appreciated that in practice the device will have other conventional components required for proper functioning, such as a power supply module, etc.
The processor 410 executes various functional applications of the device and data processing by executing software programs, instructions and modules stored in the memory 420, that is, the method of offline login described above is implemented.
The device provided by the above can be used for executing the method for offline login provided by the above embodiment, and has corresponding functions and beneficial effects.
The embodiment of the application further provides an offline login system, which comprises the cloud home server and the device. The two can carry out data transmission through any communication mode, specifically, there can be synchronization of user information lists, login verification of the user to the device completed through the cloud home server, and data transmission of other conventional smart home systems.
Embodiments of the present application also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a method of offline login, the method of offline login comprising: confirming that a control terminal in current communication is connected through a local network; receiving a login authentication request sent by the control terminal, wherein the login authentication request carries user login information corresponding to the control terminal; matching the user login information with a pre-stored user information list, wherein the user information list is generated by synchronizing with a cloud home server; if the user login information is successfully matched, passing a login verification request of the control terminal; otherwise, the login authentication request of the control terminal is refused.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium provided in this embodiment of the present application contains computer-executable instructions, and the computer-executable instructions are not limited to the method for offline login described above, and may also perform related operations in the method for offline login provided in any embodiment of the present application.
The offline login device, the storage medium, and the apparatus provided in the foregoing embodiments may execute the offline login method provided in any embodiment of the present application, and reference may be made to the offline login method provided in any embodiment of the present application without detailed technical details described in the foregoing embodiments.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present application and the technical principles employed. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the appended claims.
Claims (9)
1. An offline login method is used for a ZigBee gateway, and is characterized by comprising the following steps:
the method comprises the steps that connection with a control terminal in current communication through a local network is confirmed, wherein the control terminal judges the current network connection type before being connected with a ZigBee gateway, if the current network connection type of the control terminal is a WiFi network, whether the control terminal is connected with the same hotspot of the ZigBee gateway or not is judged, and if the current network connection type of the control terminal is the same hotspot, the control terminal is connected with the ZigBee gateway through the local network;
receiving a login authentication request sent by the control terminal, wherein the login authentication request carries user login information corresponding to the control terminal;
matching the user login information with a pre-stored user information list, wherein the user information list is generated by synchronizing with a cloud home server;
if the user login information is successfully matched, passing a login verification request of the control terminal; otherwise, refusing the login authentication request of the control terminal;
and the period and the cloud home server are synchronized in a user information list integration manner.
2. The method of claim 1, further comprising:
receiving a user updating instruction, switching to enter a signal broadcasting state, wherein the ZigBee gateway can be detected in the signal broadcasting state;
and updating the user login information in the user information list.
3. The method of claim 1, wherein the login-authentication request is encrypted data.
4. The utility model provides a device of off-line login, sets up in zigBee gateway which characterized in that includes:
a connection confirmation unit for confirming that the control terminal is connected to the local network;
a request receiving unit, configured to receive a login authentication request sent by the control terminal, where the login authentication request carries user login information corresponding to the control terminal;
the login matching unit is used for matching the user login information with a pre-stored user information list, and the user information list is generated synchronously with the cloud home server;
the login response unit is used for passing the login verification request of the control terminal if the user login information is successfully matched; otherwise, the login authentication request of the control terminal is refused.
5. The apparatus of claim 4, further comprising:
the state switching unit is used for receiving a user updating instruction and switching to enter a signal broadcasting state, and the ZigBee gateway can be detected in the signal broadcasting state;
and the information updating unit is used for updating the user login information in the user information list.
6. The apparatus of claim 4 or 5, further comprising:
and the integration synchronization unit is used for periodically performing integration synchronization of the user information list with the cloud home server.
7. An apparatus for offline login, comprising: one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method for offline login as recited in any one of claims 1-3.
8. An offline login system, comprising a cloud home server and the device of claim 7.
9. A storage medium containing computer-executable instructions for performing the method of offline logging of any of claims 1-3 when executed by a computer processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811560597.XA CN109639692B (en) | 2018-12-20 | 2018-12-20 | Offline login method, device, equipment, system and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811560597.XA CN109639692B (en) | 2018-12-20 | 2018-12-20 | Offline login method, device, equipment, system and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109639692A CN109639692A (en) | 2019-04-16 |
CN109639692B true CN109639692B (en) | 2021-09-14 |
Family
ID=66075713
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811560597.XA Active CN109639692B (en) | 2018-12-20 | 2018-12-20 | Offline login method, device, equipment, system and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109639692B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110889122B (en) * | 2019-10-29 | 2023-01-03 | 深圳供电局有限公司 | Communication method of energy gateway |
CN111314346A (en) * | 2020-02-19 | 2020-06-19 | 中国第一汽车股份有限公司 | Account login method and device and vehicle |
DE102020125570A1 (en) * | 2020-09-30 | 2022-03-31 | Novar Gmbh | METHOD, SYSTEM AND COMPUTER PROGRAM FOR AUTHENTICATION OF FIRE CONTROL SYSTEMS |
CN112887677B (en) * | 2021-01-27 | 2022-10-18 | 四川通信科研规划设计有限责任公司 | Method for off-line processing of camera in home network |
CN112905992B (en) * | 2021-03-16 | 2023-03-14 | 深圳市欧瑞博科技股份有限公司 | Intelligent login method and device for local area network, electronic equipment and storage medium |
CN114611079A (en) * | 2022-02-18 | 2022-06-10 | 广州市玄武无线科技股份有限公司 | Mobile terminal login method, device, equipment and storage medium |
CN114679354A (en) * | 2022-04-06 | 2022-06-28 | 北京小米移动软件有限公司 | Gateway device, bridging method and device, and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011076377A (en) * | 2009-09-30 | 2011-04-14 | Hitachi Solutions Ltd | Terminal device and access control policy obtaining method in the terminal device |
CN102739658A (en) * | 2012-06-16 | 2012-10-17 | 华南师范大学 | Offline verification method for single sign on |
CN103023901A (en) * | 2012-12-07 | 2013-04-03 | 北京网秦天下科技有限公司 | Login method and login system of mobile terminal |
CN105049407A (en) * | 2015-05-28 | 2015-11-11 | 深圳市永兴元科技有限公司 | Login method and login device |
CN105099707A (en) * | 2015-08-27 | 2015-11-25 | 赛肯(北京)科技有限公司 | Offline authentication method, server and system |
CN105429979A (en) * | 2015-11-17 | 2016-03-23 | 上海礼源网络科技有限公司 | Cross-platform user certificating method and intelligent router, Internet surfing system |
CN105487516A (en) * | 2015-12-29 | 2016-04-13 | 宇龙计算机通信科技(深圳)有限公司 | Smart home access method and smart home access device |
CN106910057A (en) * | 2016-06-23 | 2017-06-30 | 阿里巴巴集团控股有限公司 | The safety certifying method and device of mobile terminal and mobile terminal side |
CN108566391A (en) * | 2018-03-30 | 2018-09-21 | 阿里巴巴集团控股有限公司 | A kind of login method and device of internet of things equipment |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103856645B (en) * | 2012-12-04 | 2016-05-25 | 华为终端有限公司 | Method, Apparatus and system that a kind of off-line is called out |
CN104009960B (en) * | 2013-02-22 | 2018-01-26 | 中兴通讯股份有限公司 | A kind of method and device for realizing cell-phone customer terminal instant messaging |
US9224277B1 (en) * | 2014-08-06 | 2015-12-29 | Belkin International, Inc. | Detector devices for presenting notifications and supporting context inferences |
CN105825647A (en) * | 2015-01-04 | 2016-08-03 | 济宁智城中科信息技术有限公司 | Smart home gateway and sensor device |
-
2018
- 2018-12-20 CN CN201811560597.XA patent/CN109639692B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011076377A (en) * | 2009-09-30 | 2011-04-14 | Hitachi Solutions Ltd | Terminal device and access control policy obtaining method in the terminal device |
CN102739658A (en) * | 2012-06-16 | 2012-10-17 | 华南师范大学 | Offline verification method for single sign on |
CN103023901A (en) * | 2012-12-07 | 2013-04-03 | 北京网秦天下科技有限公司 | Login method and login system of mobile terminal |
CN105049407A (en) * | 2015-05-28 | 2015-11-11 | 深圳市永兴元科技有限公司 | Login method and login device |
CN105099707A (en) * | 2015-08-27 | 2015-11-25 | 赛肯(北京)科技有限公司 | Offline authentication method, server and system |
CN105429979A (en) * | 2015-11-17 | 2016-03-23 | 上海礼源网络科技有限公司 | Cross-platform user certificating method and intelligent router, Internet surfing system |
CN105487516A (en) * | 2015-12-29 | 2016-04-13 | 宇龙计算机通信科技(深圳)有限公司 | Smart home access method and smart home access device |
CN106910057A (en) * | 2016-06-23 | 2017-06-30 | 阿里巴巴集团控股有限公司 | The safety certifying method and device of mobile terminal and mobile terminal side |
CN108566391A (en) * | 2018-03-30 | 2018-09-21 | 阿里巴巴集团控股有限公司 | A kind of login method and device of internet of things equipment |
Also Published As
Publication number | Publication date |
---|---|
CN109639692A (en) | 2019-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109639692B (en) | Offline login method, device, equipment, system and storage medium | |
CN110740460B (en) | Network access method and device of equipment, network equipment and storage medium | |
US10716164B2 (en) | Methods, systems, and media for managing network connections | |
US9798533B2 (en) | Transferring operating environment of registered network to unregistered network | |
US20180295124A1 (en) | Account login connection method and apparatus, and storage medium | |
US20180159958A1 (en) | Automatic provisioning of devices | |
US20180160252A1 (en) | Pre-provisioning of a device | |
WO2016058254A1 (en) | Home appliance control method and control device, and home data terminal | |
CN104635501A (en) | Intelligent home control method and system | |
WO2018107593A1 (en) | Method and device for sharing file between different terminals | |
CN110824948A (en) | Intelligent household control method and device based on IOT virtual service | |
CN105744555A (en) | Terminal maintenance method, maintenance device and network management server | |
CN104660639B (en) | Cloud terminal upgrade processing method and device | |
CN112968793B (en) | Equipment upgrading method, device, equipment and storage medium based on Internet of things | |
CN108712743B (en) | Method and system for managing wireless networking of device groups | |
WO2017031870A1 (en) | Playing device grouping control method and user terminal | |
CN111491351A (en) | Method and system for sensing online of WiFi terminal based on authentication information | |
CN115904447A (en) | Version updating system, method, electronic equipment and storage medium | |
CN107800715B (en) | portal authentication method and access equipment | |
CN105159168B (en) | Group control method of broadcast equipment and user terminal | |
CN103067053B (en) | Method and device for Bluetooth node processing | |
CN114301628A (en) | Smart home equipment authentication method, device, equipment, system and storage medium | |
CN112738153B (en) | Gateway selection method, system, device, server and medium in service system | |
CN109561484B (en) | Network connection method, device, equipment and storage medium | |
WO2018205941A1 (en) | Information processing method, apparatus and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |