CN115086097B - Authorization method based on mobile terminal, on-screen control terminal and system - Google Patents

Authorization method based on mobile terminal, on-screen control terminal and system Download PDF

Info

Publication number
CN115086097B
CN115086097B CN202210584121.XA CN202210584121A CN115086097B CN 115086097 B CN115086097 B CN 115086097B CN 202210584121 A CN202210584121 A CN 202210584121A CN 115086097 B CN115086097 B CN 115086097B
Authority
CN
China
Prior art keywords
screen control
control terminal
terminal
binding
gateway
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210584121.XA
Other languages
Chinese (zh)
Other versions
CN115086097A (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.)
Xiamen Leelen Technology Co Ltd
Original Assignee
Xiamen Leelen Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiamen Leelen Technology Co Ltd filed Critical Xiamen Leelen Technology Co Ltd
Priority to CN202210584121.XA priority Critical patent/CN115086097B/en
Publication of CN115086097A publication Critical patent/CN115086097A/en
Application granted granted Critical
Publication of CN115086097B publication Critical patent/CN115086097B/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/2807Exchanging configuration information on appliance services in a home automation network
    • 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
    • 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/283Processing of data at an internetworking point of a home automation network
    • H04L12/2834Switching of information between an external network and a home network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • 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/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • 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
    • H04L63/101Access control lists [ACL]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/163In-band adaptation of TCP data exchange; In-band control procedures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Automation & Control Theory (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to an authorization method based on a mobile terminal, a screen control terminal and a system, comprising the following steps: acquiring a configuration file through a mobile terminal, and analyzing according to the configuration file to obtain an intelligent terminal gateway list; connecting a mobile terminal and a screen control terminal to the same local area network, and generating and displaying a binding two-dimensional code with binding information of the screen control terminal through the screen control terminal; establishing connection with the screen control terminal according to the binding information, and sending the intelligent terminal gateway list to the screen control terminal; and logging in a corresponding gateway through the screen control terminal, acquiring intelligent terminal configuration information according to an intelligent terminal gateway list, and connecting the intelligent terminal. According to the method, the related intelligent terminal configuration information can be obtained from the gateway without inputting the connection account number, the password and other operations of the intelligent terminal, and without performing the connection, authentication and other operations through Bluetooth, and then the intelligent terminal configuration information is connected to the intelligent terminal according to the intelligent terminal configuration information.

Description

Authorization method based on mobile terminal, on-screen control terminal and system
Technical Field
The invention relates to the field of intelligent terminal control, in particular to an authorization method based on a mobile terminal, a control terminal with a screen and a system.
Background
With the popularization of intelligent terminals, more and more screen-carrying devices and more powerful functions, the screen-carrying devices installed in the home are important components for directly controlling household devices, and the intelligent terminals can be controlled as indoor extension sets and the like. In order to control the intelligent terminal, the user needs to log in the control mobile terminal to manage the account, at present, the login scheme has manual input on a screen, bluetooth authorization and the like, and the convenience and the safety of the login scheme are insufficient, so that the user experience and the property safety are affected.
The invention aims at solving the problems existing in the prior art by designing an authorization method based on a mobile terminal, a control terminal with a screen and a system.
Disclosure of Invention
Aiming at the problems in the prior art, the invention aims to provide an authorization method based on a mobile terminal, a screen control terminal and a system, which can effectively solve the problems in the prior art.
The technical scheme of the invention is as follows:
a method for authorizing a on-screen control terminal via a mobile terminal, comprising the steps of:
acquiring a configuration file through a mobile terminal, and analyzing according to the configuration file to obtain an intelligent terminal gateway list;
connecting a mobile terminal and a screen control terminal to the same local area network, and generating and displaying a binding two-dimensional code with binding information of the screen control terminal through the screen control terminal;
the binding two-dimensional code is scanned and analyzed through the mobile terminal, connection is established with the screen control terminal according to the binding information, and the intelligent terminal gateway list is sent to the screen control terminal;
and logging in a corresponding gateway through the screen control terminal, acquiring intelligent terminal configuration information according to an intelligent terminal gateway list, and acquiring authorization and connecting the intelligent terminal according to the intelligent terminal configuration information.
Further, the obtaining, by the mobile terminal, the configuration file includes:
connecting to the Internet, logging in a user account through the mobile terminal, and acquiring a configuration file bound with the user account from a cloud; or alternatively, the process may be performed,
and connecting with a local area network, logging in a debug account through the mobile terminal, and acquiring a configuration file bound with the user account from a gateway.
Further, the binding information includes an IP address of the on-screen control terminal, and one or more of a port number, an authorization mode, a generation time, and a two-dimensional code information abstract, and the generating and displaying, by the on-screen control terminal, the binding two-dimensional code with the binding information of the on-screen control terminal includes:
generating a binding character string based on the binding information through the screen control terminal;
and converting the binding character string into a binding two-dimensional code and displaying the binding two-dimensional code through the screen control terminal.
Further, the establishing connection with the control terminal with screen according to the binding information includes:
and establishing short connection TCP short connection with the screen control terminal according to the IP address of the screen control terminal in the binding information.
Further, after the mobile terminal and the on-screen control terminal are connected to the same local area network, before the binding two-dimensional code with the on-screen control terminal binding information is generated and displayed through the on-screen control terminal, the method comprises the following steps:
and setting the screen control terminal to be in a waiting connection state.
Further, before the configuration file is obtained by the mobile terminal, the method comprises the following steps:
and connecting a plurality of intelligent terminals through a gateway, acquiring and storing configuration information of the intelligent terminals, and generating a white list account number and a password which can be logged in the gateway.
Further, the logging in the corresponding gateway through the control terminal with the screen comprises:
and generating a corresponding white list account number and password of the gateway according to the white list generation algorithm of the gateway, and logging in the corresponding gateway through the white list account number and password of the gateway.
Further, the generating the corresponding white list account number and password of the gateway according to the white list generation algorithm of the gateway includes:
based on the configuration information of the mobile terminal, generating a corresponding white list account number and password of the gateway according to the white list generation algorithm of the gateway, and logging in the corresponding gateway through the white list account number and password of the gateway.
Further, after the mobile terminal scans and parses the binding two-dimensional code, before the connection is established with the on-screen control terminal according to the binding information, the method includes:
and generating a check two-dimensional code according to the generation rule of the binding two-dimensional code by the mobile terminal, analyzing the generation time of the check two-dimensional code and the information abstract of the two-dimensional code, comparing the generation time of the two-dimensional code of the binding two-dimensional code with the information abstract of the two-dimensional code, and refusing to establish connection if the generation time of the two-dimensional code of the binding two-dimensional code is different from the information abstract of the two-dimensional code.
The invention further provides a screen control terminal authorized by the mobile terminal, which comprises the following modules:
the binding module is used for connecting to the local area network which is the same as the mobile terminal, and generating and displaying a binding two-dimensional code with binding information of the control terminal with the screen;
the connection establishment module is used for establishing connection with the mobile terminal through the binding information and receiving the intelligent terminal gateway list sent by the mobile terminal;
and the authorization module is used for logging in the corresponding gateway, acquiring the configuration information of the intelligent terminal according to the gateway list of the intelligent terminal, acquiring authorization according to the configuration information of the intelligent terminal and connecting the intelligent terminal.
The system for authorizing the on-screen control terminal through the mobile terminal further comprises the following modules:
the configuration file acquisition module is used for acquiring a configuration file through the mobile terminal and analyzing the configuration file to obtain an intelligent terminal gateway list;
the binding two-dimensional code generation module is used for generating and displaying a binding two-dimensional code with binding information of the screen control terminal through the screen control terminal after the mobile terminal and the screen control terminal are connected to the same local area network;
the connection establishment module is used for scanning and analyzing the binding two-dimensional code through the mobile terminal, establishing connection with the screen control terminal according to the binding information, and sending the intelligent terminal gateway list to the screen control terminal;
and the authorization module is used for logging in the corresponding gateway through the control terminal with the screen, acquiring the configuration information of the intelligent terminal according to the gateway list of the intelligent terminal, and acquiring authorization and connecting the intelligent terminal according to the configuration information of the intelligent terminal.
Accordingly, the present invention provides the following effects and/or advantages:
according to the method, the related intelligent terminal configuration information can be obtained from the gateway without inputting the connection account number, the password and other operations of the intelligent terminal, and without performing the connection, authentication and other operations through Bluetooth, and then the intelligent terminal configuration information is connected to the intelligent terminal according to the intelligent terminal configuration information. Meanwhile, the method is completed based on the local area network, and connection authorization of the mobile terminal to the terminal with the screen can be completed without the operation of applying a secret key, connection permission and the like through the cloud.
According to the method, the Socket server is started to wait for connection based on the IP address of the Socket server through the on-screen control terminal, then the two-dimensional code is generated at the on-screen control terminal and displayed on the screen, the on-screen control terminal can enter a state of waiting for connection, meanwhile, a connection basis is provided based on the IP address of the on-screen control terminal, and finally short-connection TCP short connection is established between the on-screen control terminal and the on-screen control terminal according to the IP address of the on-screen control terminal in the binding information, so that a connection mode can be simplified.
Based on configuration information of a mobile terminal, a corresponding gateway white list account number and password are generated according to a gateway white list generation algorithm, and the corresponding gateway is logged in through the gateway white list account number and password. After logging in the gateway, the method can acquire and store the configuration information of the intelligent terminal of the gateway, and log in modes such as Bluetooth, inputting account passwords and the like are not needed. Meanwhile, related information does not need to be acquired through the cloud.
The security of the authorization process is improved through multiple encryption and verification modes.
It is to be understood that both the foregoing general description and the following detailed description of the present invention are exemplary and explanatory and are intended to provide further explanation of the invention as claimed.
Drawings
Fig. 1 is a schematic flow chart of the method provided by the invention.
Fig. 2 is a schematic diagram of a gateway list.
Fig. 3 is a logic flow diagram of one embodiment provided herein.
Detailed Description
For the purpose of facilitating understanding to those skilled in the art, the present invention will now be described in further detail with reference to the accompanying drawings: it should be understood that, in this embodiment, the steps mentioned in this embodiment may be performed sequentially or sequentially, or may be performed simultaneously or partially, unless specifically stated otherwise.
After the intelligent terminal establishes connection with the gateway, the gateway stores configuration information of the intelligent terminal. The configuration information of the intelligent terminal includes, but is not limited to, a local area network address, such as an IP (internet protocol) address, a DNS (Domain Name System ) server address of the local area network, and a network address range of a DHCP service, etc., and the network address range of the DHCP service is determined according to the local area network address of the intelligent home gateway. And establishing connection with the intelligent terminal through the gateway by the configuration information. In the application, the intelligent terminal can refer to audio and video equipment, a lighting system, curtain control, air conditioner control, a security system, a digital cinema system, an audio and video server, a video cabinet system, a network household appliance and the like. The intelligent terminal and the gateway do not belong to the improvement points of the application, and the working principle of the intelligent terminal and the gateway are not specifically developed and explained here.
The applicant proposes the following method based on the connection principle of the gateway and the intelligent terminal.
Referring to fig. 1, a method for authorizing a screen-attached control terminal by a mobile terminal includes the steps of:
s0, connecting a plurality of intelligent terminals through a gateway, acquiring and storing configuration information of the intelligent terminals, and generating a white list account number and a password which can be logged in the gateway.
In this embodiment, the intelligent terminal is connected to the gateway through registration, login, and other modes, and at this time, the gateway records configuration information of the intelligent terminal, and is used for maintaining connection with the intelligent terminal, or reconnecting with the intelligent terminal after disconnecting again. The gateway configuration information includes, but is not limited to, local area network addresses such as IP (internet protocol) addresses, DNS (Domain Name System ) server addresses of local area networks, and network address ranges of DHCP services, etc. The gateway is communication equipment for realizing address conversion or protocol conversion, and is used for protocol conversion among different types of perception networks, so that wide area interconnection and local area interconnection can be realized.
The gateway may set a white list, such as a white list account number and a password, or a white list IP, etc., which functions as a device conforming to the account number and the password, the IP address, etc. in the list, and the gateway may allow the device to log in. In the embodiment, the gateway is logged in by adopting a white list account number and a password. After the initialization is completed, the gateway generates a white list account and a password according to the built-in white list generation rule and stores the white list account and the password in a gateway program. The rule for generating the white list is the prior art in the gateway field, and is not specifically described herein.
S1, acquiring a configuration file through a mobile terminal, and analyzing according to the configuration file to obtain an intelligent terminal gateway list;
the mobile terminal can be a mobile phone, a tablet and other devices, and meanwhile, software capable of acquiring configuration files, scanning two-dimensional codes and other related functions can be also installed in the mobile terminal. The configuration file is parsed to obtain information of a gateway list containing the intelligent terminals, the gateway list is shown in fig. 2, and the gateway list function is used for counting information of all intelligent terminals in the scene, such as device names, gateway models, gateway device serial numbers, online states, interface lists, gateway MACs and the like. The information in the gateway list may provide information necessary to connect to the intelligent terminal. The profile contains all the information of the gateway list described above in itself.
S2, connecting the mobile terminal and the screen control terminal to the same local area network, and generating and displaying a binding two-dimensional code with binding information of the screen control terminal through the screen control terminal;
in this embodiment, the same local area network may be one or more of a WIFI network, a wired network, and the like. The control terminal with the screen refers to a control terminal with a screen. After being connected to the same local area network, the screen control terminal generates a binding two-dimensional code for binding the screen control terminal, and attribute information, binding information, configuration information and the like of the screen control terminal are carried in the binding two-dimensional code. The binding two-dimensional code is used for being scanned by the mobile terminal and binding the screen control equipment after being identified. In order to prevent the binding two-dimensional code from being broken maliciously, the binding two-dimensional code can be refreshed every other minute, and decryption difficulty is increased.
S3, scanning and analyzing the binding two-dimensional code through the mobile terminal, establishing connection with the screen control terminal according to the binding information, and sending the intelligent terminal gateway list to the screen control terminal;
in the step, after the mobile terminal analyzes the binding two-dimensional code, binding information is obtained. The attribute information, binding information, configuration information and the like of the screen control terminal can bind the screen terminal and establish short connection. After short connection is established, the mobile terminal and the screen control terminal transmit data, and at the moment, the mobile terminal sends the intelligent terminal gateway list to the screen control terminal.
S4, logging in a corresponding gateway through the control terminal with the screen, acquiring configuration information of the intelligent terminal according to the gateway list of the intelligent terminal, and acquiring authorization and connecting the intelligent terminal according to the configuration information of the intelligent terminal.
In step S0, a white list account and a password that can be logged into the gateway are generated by the gateway. In this step, the gateway may be logged in by obtaining or generating an account number and a password belonging to the white list of the gateway, and then logging in the gateway through the account number and the password, or may be logged in by other means. After logging in the gateway, the control terminal with the screen can read the configuration information of the intelligent terminal stored in the gateway, then the configuration information of the intelligent terminal is read one by one according to the information on the gateway list, and the configuration information of the intelligent terminal is obtained, so that authorization can be obtained according to the configuration information of the intelligent terminal and the intelligent terminal can be connected.
According to the method, the related intelligent terminal configuration information can be obtained from the gateway without inputting the connection account number, the password and other operations of the intelligent terminal, and without performing the connection, authentication and other operations through Bluetooth, and then the intelligent terminal configuration information is connected to the intelligent terminal according to the intelligent terminal configuration information. Meanwhile, the method is completed based on the local area network, and connection authorization of the mobile terminal to the terminal with the screen can be completed without the operation of applying a secret key, connection permission and the like through the cloud.
Several optimizable directions are described next. Fig. 3 is one embodiment that may be implemented in the present application.
Specifically, the acquiring, by the mobile terminal, the configuration file includes:
s1.1, connecting with the Internet, logging in a user account through the mobile terminal, and acquiring a configuration file bound with the user account from a cloud; or alternatively, the process may be performed,
s1.2 is connected with a local area network, the mobile terminal logs in to debug the account, and the configuration file bound with the user account is obtained from a gateway.
In order to obtain the configuration file, a user account can be logged in under the condition of being connected with the Internet, a gateway list bound with the user account is obtained through a network request and then the related configuration file of the gateway is downloaded from the cloud; or under the condition of local area network, engineering personnel logs in engineering debugging account numbers, searches the gateway in the udp mode, logs in the gateway in the engineering mode, and obtains configuration files of the gateway from the gateway.
Specifically, the binding information includes an IP address of the on-screen control terminal, and one or more of a port number, an authorization mode, a generation time, and a two-dimensional code information abstract, and the generating and displaying, by the on-screen control terminal, the binding two-dimensional code with the binding information of the on-screen control terminal includes:
s2.1, generating a binding character string based on the binding information through the screen control terminal;
s2.2, converting the binding character string into a binding two-dimensional code and displaying the binding two-dimensional code through the screen control terminal.
In step S2, the on-screen control terminal generates a binding two-dimensional code for binding the on-screen control terminal, and the attribute information, the binding information, the configuration information and the like of the on-screen control terminal are carried in the binding two-dimensional code. Specifically, firstly, the on-screen control terminal generates a binding character string based on the binding information, for example, an ip, a port number, an authorization mode, generation time, a two-dimensional code information abstract and the like of the on-screen control terminal are obtained, the data are assembled and encrypted through AES, and then the data are encoded into the character string through Base64, and the character string can be used as the binding character string. And then, converting the binding character string into a binding two-dimension code according to a generation rule, an encryption mode and the like of the two-dimension code, and displaying the binding two-dimension code through the screen control terminal. The rule for generating the two-dimensional code is the prior art and is not specifically developed here. And scanning and analyzing the two-dimensional code to obtain the binding character string.
Specifically, after the mobile terminal and the on-screen control terminal are connected to the same local area network, before the binding two-dimensional code with the on-screen control terminal binding information is generated and displayed through the on-screen control terminal, the method comprises the following steps:
and setting the screen control terminal to be in a waiting connection state.
In the step, after the mobile terminal and the on-screen control terminal are connected to the same local area network, a Socket server is started to wait for connection based on an IP address of the on-screen control terminal, then a two-dimensional code is generated at the on-screen control terminal and displayed on a screen, the two-dimensional code has Socket connection IP, port number, authorization mode, generation time and two-dimensional code information abstract, the two-dimensional code information abstract can be generated in an HmacMD5 encryption mode, after the data are assembled, the data are encrypted through AES, the data are encoded into character strings through Base64, the character strings are generated to be displayed on the screen to wait for mobile phone App code scanning connection, and decryption difficulty is increased.
Specifically, the establishing connection with the control terminal with screen according to the binding information includes:
and establishing short connection TCP short connection with the screen control terminal according to the IP address of the screen control terminal in the binding information.
In this step, the short connections are managed relatively simply, and the connections that exist are all useful connections, requiring no additional control means. In the process that the Socket server waits for connection, firstly, a Socket communication is created and used as the server, a Socket responsible for monitoring the IP address and the port number is created at the server, an IP address is provided, and the server is indicated to monitor the activities of the clients on all network interfaces. And then waiting for the connection of the clients, if the connection of the clients is monitored, creating a Socket communicated with the clients, finding a Socket responsible for communication according to the IP address and the port number of the clients, wherein each client corresponds to one Socket responsible for communication), taking the IP address and the port number as keys, and filling the Socket responsible for communication as a value into a dic key value pair to realize the connection success.
Specifically, the intelligent terminal gateway list includes one or more of gateway MACs, IPs, port numbers, and network numbers of a plurality of intelligent terminals.
Specifically, the logging in the corresponding gateway through the on-screen control terminal comprises:
based on the configuration information of the mobile terminal, generating a corresponding white list account number and password of the gateway according to the white list generation algorithm of the gateway, and logging in the corresponding gateway through the white list account number and password of the gateway.
After the initialization is completed, the gateway generates a white list account and a password according to the preset white list generation rule and stores the white list account and the password in the gateway program. In this embodiment, the gateway whitelist generation algorithm is provided in the form of a so library, and by inputting information such as a network number and gateway mac of the mobile terminal, a set of gateway whitelist account numbers and passwords are generated by the gateway whitelist generation algorithm, and the account passwords can be used for logging in the gateway. If the network number is wrong, the white list account number password cannot be obtained, then the gateway is logged in through the white list account number password, after the gateway is logged in successfully, the data under the gateway is synchronized to the local equipment, and the equipment extracts the corresponding data according to the ui to display and control the corresponding intelligent terminal.
Specifically, after the mobile terminal scans and parses the binding two-dimensional code, before the connection is established with the on-screen control terminal according to the binding information, the method includes:
and generating a check two-dimensional code according to the generation rule of the binding two-dimensional code by the mobile terminal, analyzing the generation time of the check two-dimensional code and the information abstract of the two-dimensional code, comparing the generation time of the two-dimensional code of the binding two-dimensional code with the information abstract of the two-dimensional code, and refusing to establish connection if the generation time of the two-dimensional code of the binding two-dimensional code is different from the information abstract of the two-dimensional code.
In order to prevent illegal means such as a static two-dimensional code from being pasted by an illegal molecule, the method is used for providing a false screen-carrying control terminal to be connected with a mobile terminal, and the method further comprises a verification step. After the mobile terminal scans and analyzes the binding two-dimensional code, generating a check two-dimensional code according to a generation rule of the binding two-dimensional code by the mobile terminal, analyzing the generation time of the check two-dimensional code and the information abstract of the two-dimensional code, and then analyzing the generation time of the two-dimensional code of the binding two-dimensional code and the information abstract of the two-dimensional code. And finally, comparing, and if the two are different, refusing to provide connection establishment. For example, a two-dimensional code which is pasted and covered on a screen control terminal is generated in a time of 2020, 1 month, 1 day, 15 points and 00 minutes, the two-dimensional code information abstract records that a hash value obtained by calculating the two-dimensional code through an MD5 algorithm is 123, at the moment, the mobile terminal generates a check two-dimensional code according to a generation rule of binding the two-dimensional code, the generation time obtained by checking the two-dimensional code is 2022, 4 months, 1 day, 18 points and 00 minutes, the two-dimensional code information abstract records that the hash value obtained by calculating the two-dimensional code through the MD5 algorithm is 456, and the two information cannot be matched, so that connection establishment is refused.
The invention further provides a screen control terminal authorized by the mobile terminal, which comprises the following modules:
the binding module is used for connecting to the local area network which is the same as the mobile terminal, and generating and displaying a binding two-dimensional code with binding information of the control terminal with the screen;
the connection establishment module is used for establishing connection with the mobile terminal through the binding information and receiving the intelligent terminal gateway list sent by the mobile terminal;
and the authorization module is used for logging in the corresponding gateway, acquiring the configuration information of the intelligent terminal according to the gateway list of the intelligent terminal, acquiring authorization according to the configuration information of the intelligent terminal and connecting the intelligent terminal.
The operation principle of the on-screen control terminal authorized by the mobile terminal is basically the same as that of a method for authorizing the on-screen control terminal by the mobile terminal, and will not be described herein.
The system for authorizing the on-screen control terminal through the mobile terminal further comprises the following modules:
the configuration file acquisition module is used for acquiring a configuration file through the mobile terminal and analyzing the configuration file to obtain an intelligent terminal gateway list;
the binding two-dimensional code generation module is used for generating and displaying a binding two-dimensional code with binding information of the screen control terminal through the screen control terminal after the mobile terminal and the screen control terminal are connected to the same local area network;
the connection establishment module is used for scanning and analyzing the binding two-dimensional code through the mobile terminal, establishing connection with the screen control terminal according to the binding information, and sending the intelligent terminal gateway list to the screen control terminal;
and the authorization module is used for logging in the corresponding gateway through the control terminal with the screen, acquiring the configuration information of the intelligent terminal according to the gateway list of the intelligent terminal, and acquiring authorization and connecting the intelligent terminal according to the configuration information of the intelligent terminal.
The operation principle of the system for authorizing the on-screen control terminal through the mobile terminal is basically the same as that of a method for authorizing the on-screen control terminal through the mobile terminal, and is not repeated here.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

Claims (10)

1. A method for authorizing a screen-attached control terminal through a mobile terminal, characterized by: comprises the following steps:
acquiring a configuration file through a mobile terminal, and analyzing according to the configuration file to obtain an intelligent terminal gateway list;
connecting a mobile terminal and a screen control terminal to the same local area network, and generating and displaying a binding two-dimensional code with binding information of the screen control terminal through the screen control terminal;
the binding two-dimensional code is scanned and analyzed through the mobile terminal, connection is established with the screen control terminal according to the binding information, and the intelligent terminal gateway list is sent to the screen control terminal;
and logging in a corresponding gateway through the screen control terminal, acquiring intelligent terminal configuration information according to an intelligent terminal gateway list, and acquiring authorization and connecting the intelligent terminal according to the intelligent terminal configuration information.
2. A method of authorizing a on-screen control terminal with a mobile terminal as recited in claim 1, wherein: the obtaining the configuration file through the mobile terminal comprises the following steps:
connecting to the Internet, logging in a user account through the mobile terminal, and acquiring a configuration file bound with the user account from a cloud; or alternatively, the process may be performed,
and connecting with a local area network, logging in a debug account through the mobile terminal, and acquiring a configuration file bound with the user account from a gateway.
3. A method of authorizing a on-screen control terminal with a mobile terminal as recited in claim 1, wherein: the binding information comprises one or more of an IP address of the on-screen control terminal, a port number, an authorization mode, a generation time and a two-dimension code information abstract, and the generation and display of the binding two-dimension code with the binding information of the on-screen control terminal through the on-screen control terminal comprises the following steps:
generating a binding character string based on the binding information through the screen control terminal;
and converting the binding character string into a binding two-dimensional code and displaying the binding two-dimensional code through the screen control terminal.
4. A method of authorizing a on-screen control terminal with a mobile terminal according to claim 3, wherein: the establishing connection with the screen control terminal according to the binding information comprises the following steps:
and establishing short connection TCP short connection with the screen control terminal according to the IP address of the screen control terminal in the binding information.
5. A method of authorizing a on-screen control terminal with a mobile terminal as recited in claim 1, wherein: after the mobile terminal and the on-screen control terminal are connected to the same local area network, before the binding two-dimensional code with the on-screen control terminal binding information is generated and displayed through the on-screen control terminal, the method comprises the following steps:
and setting the screen control terminal to be in a waiting connection state.
6. A method of authorizing a on-screen control terminal with a mobile terminal as recited in claim 1, wherein: before the configuration file is acquired by the mobile terminal, the method comprises the following steps:
and connecting a plurality of intelligent terminals through a gateway, acquiring and storing configuration information of the intelligent terminals, and generating a white list account number and a password which can be logged in the gateway.
7. A method of authorizing a on-screen control terminal with a mobile terminal as recited in claim 6, wherein: the logging in the corresponding gateway through the screen control terminal comprises the following steps:
based on the configuration information of the mobile terminal, generating a corresponding white list account number and password of the gateway according to the white list generation algorithm of the gateway, and logging in the corresponding gateway through the white list account number and password of the gateway.
8. A method of authorizing a on-screen control terminal with a mobile terminal as recited in claim 1, wherein: after the mobile terminal scans and analyzes the binding two-dimensional code, before the connection is established with the control terminal with the screen according to the binding information, the method comprises the following steps:
and generating a check two-dimensional code according to the generation rule of the binding two-dimensional code by the mobile terminal, analyzing the generation time of the check two-dimensional code and the information abstract of the two-dimensional code, comparing the generation time of the two-dimensional code of the binding two-dimensional code with the information abstract of the two-dimensional code, and refusing to establish connection if the generation time of the two-dimensional code of the binding two-dimensional code is different from the information abstract of the two-dimensional code.
9. The utility model provides a take screen control terminal of mobile terminal authorization which characterized in that: the method comprises the following modules:
the binding module is used for connecting to the local area network which is the same as the mobile terminal, and generating and displaying a binding two-dimensional code with binding information of the control terminal with the screen;
the connection establishment module is used for establishing connection with the mobile terminal through the binding information and receiving an intelligent terminal gateway list sent by the mobile terminal;
and the authorization module is used for logging in the corresponding gateway, acquiring the configuration information of the intelligent terminal according to the gateway list of the intelligent terminal, acquiring authorization according to the configuration information of the intelligent terminal and connecting the intelligent terminal.
10. A system for authorizing a on-screen control terminal via a mobile terminal, characterized by: the method comprises the following modules:
the configuration file acquisition module is used for acquiring a configuration file through the mobile terminal and analyzing the configuration file to obtain an intelligent terminal gateway list;
the binding two-dimensional code generation module is used for generating and displaying a binding two-dimensional code with binding information of the screen control terminal through the screen control terminal after the mobile terminal and the screen control terminal are connected to the same local area network;
the connection establishment module is used for scanning and analyzing the binding two-dimensional code through the mobile terminal, establishing connection with the screen control terminal according to the binding information, and sending the intelligent terminal gateway list to the screen control terminal;
and the authorization module is used for logging in the corresponding gateway through the control terminal with the screen, acquiring the configuration information of the intelligent terminal according to the gateway list of the intelligent terminal, and acquiring authorization and connecting the intelligent terminal according to the configuration information of the intelligent terminal.
CN202210584121.XA 2022-05-27 2022-05-27 Authorization method based on mobile terminal, on-screen control terminal and system Active CN115086097B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210584121.XA CN115086097B (en) 2022-05-27 2022-05-27 Authorization method based on mobile terminal, on-screen control terminal and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210584121.XA CN115086097B (en) 2022-05-27 2022-05-27 Authorization method based on mobile terminal, on-screen control terminal and system

Publications (2)

Publication Number Publication Date
CN115086097A CN115086097A (en) 2022-09-20
CN115086097B true CN115086097B (en) 2023-06-02

Family

ID=83249224

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210584121.XA Active CN115086097B (en) 2022-05-27 2022-05-27 Authorization method based on mobile terminal, on-screen control terminal and system

Country Status (1)

Country Link
CN (1) CN115086097B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005333271A (en) * 2004-05-18 2005-12-02 Dowango:Kk Cm link system, cm linking method, and cm linking program
EP2549421A1 (en) * 2011-07-22 2013-01-23 Marco Cavaterra Method and apparatus for the transfer of a money amount by using a two-dimension image code
CN106850361A (en) * 2017-01-13 2017-06-13 武汉亚讯环保科技有限公司 A kind of apparatus and method for controlling intelligent home device
CN107911233A (en) * 2017-10-30 2018-04-13 上海斐讯数据通信技术有限公司 A kind of router network configuration, the method and system of intelligent terminal configuration router
CN109922154A (en) * 2019-03-14 2019-06-21 珠海格力电器股份有限公司 Intelligently pushing information approach, device, system and line control machine
CN110099383A (en) * 2019-05-16 2019-08-06 深圳市远弗科技有限公司 A kind of method and system based on sweeping robot configuration wireless network
JP2020095514A (en) * 2018-12-13 2020-06-18 株式会社寺岡精工 Information display device
CN213279698U (en) * 2020-11-02 2021-05-25 睿住科技有限公司 Communication gateway with screen

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7175634B2 (en) * 2018-05-30 2022-11-21 キヤノン株式会社 Communication device, control method and program

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005333271A (en) * 2004-05-18 2005-12-02 Dowango:Kk Cm link system, cm linking method, and cm linking program
EP2549421A1 (en) * 2011-07-22 2013-01-23 Marco Cavaterra Method and apparatus for the transfer of a money amount by using a two-dimension image code
CN106850361A (en) * 2017-01-13 2017-06-13 武汉亚讯环保科技有限公司 A kind of apparatus and method for controlling intelligent home device
CN107911233A (en) * 2017-10-30 2018-04-13 上海斐讯数据通信技术有限公司 A kind of router network configuration, the method and system of intelligent terminal configuration router
JP2020095514A (en) * 2018-12-13 2020-06-18 株式会社寺岡精工 Information display device
CN109922154A (en) * 2019-03-14 2019-06-21 珠海格力电器股份有限公司 Intelligently pushing information approach, device, system and line control machine
CN110099383A (en) * 2019-05-16 2019-08-06 深圳市远弗科技有限公司 A kind of method and system based on sweeping robot configuration wireless network
CN213279698U (en) * 2020-11-02 2021-05-25 睿住科技有限公司 Communication gateway with screen

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于Android平台的智能网络摄像头应用程序设计与开发;刘成;《中国优秀硕士学位论文全文数据库 (信息科技辑)》;I138-460 *
基于云平台的家庭智能门禁系统的设计;胡锋;《中国优秀硕士学位论文全文数据库 (工程科技Ⅱ辑)》;C038-221 *

Also Published As

Publication number Publication date
CN115086097A (en) 2022-09-20

Similar Documents

Publication Publication Date Title
US9992176B2 (en) Systems and methods for encrypted communication in a secure network
US11483143B2 (en) Enhanced monitoring and protection of enterprise data
CN105119939B (en) The cut-in method and device, providing method and device and system of wireless network
TWI705349B (en) Terminal authentication processing, authentication method, device and system
CN105376216B (en) A kind of remote access method, proxy server and client
JP4507623B2 (en) Network connection system
CN112187831B (en) Equipment network access method and device, storage medium and electronic equipment
CN106330816B (en) A kind of method and system logging in cloud desktop
CN109936547A (en) Identity identifying method, system and calculating equipment
CN104270338A (en) A method and system of electronic identity registration and authentication login
CN105392136A (en) Method and device for access to router based on two-dimensional code
CN104580553A (en) Identification method and device for network address translation device
JP2011077769A (en) Vpn system and operation control method thereof
CN107070931A (en) Cloud application data upload/access method, system and cloud proxy server
US20230037520A1 (en) Blockchain schema for secure data transmission
CN106257888A (en) Privately owned high in the clouds routing server connection mechanism for privately owned communication construction
Adiono et al. Device Protocol Design for Security on Internet of Things based Smart Home.
CN114390524A (en) Method and device for realizing one-key login service
CN115086097B (en) Authorization method based on mobile terminal, on-screen control terminal and system
CN105577657A (en) SSL/TLS algorithm suite expansion method
CN106972928B (en) Bastion machine private key management method, device and system
CN113507707B (en) Distribution network method and system of intelligent teaching equipment
CN115801345A (en) PKI (public Key infrastructure) -based personal strong password management method and system and electronic equipment
CN112953711B (en) Database security connection system and method
KR100958098B1 (en) Virtual private network service method and its 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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Unit 403-12, 4th Floor, No. 56, Chengyi North Street, Phase III, Software Park, Torch High-tech Zone, Xiamen, Fujian 361000

Applicant after: XIAMEN LEELEN TECHNOLOGY Co.,Ltd.

Address before: 2-5 / F, 780 Tieshan Road, Guankou Town, Jimei District, Xiamen City, Fujian Province 361021

Applicant before: XIAMEN LEELEN TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant