CN112532663A - Gateway login method and device - Google Patents

Gateway login method and device Download PDF

Info

Publication number
CN112532663A
CN112532663A CN201910880429.7A CN201910880429A CN112532663A CN 112532663 A CN112532663 A CN 112532663A CN 201910880429 A CN201910880429 A CN 201910880429A CN 112532663 A CN112532663 A CN 112532663A
Authority
CN
China
Prior art keywords
maintenance
state
login
gateway
terminal
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.)
Pending
Application number
CN201910880429.7A
Other languages
Chinese (zh)
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.)
Hisense Broadband Multimedia Technology Co Ltd
Original Assignee
Hisense Broadband Multimedia 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 Hisense Broadband Multimedia Technology Co Ltd filed Critical Hisense Broadband Multimedia Technology Co Ltd
Priority to CN201910880429.7A priority Critical patent/CN112532663A/en
Publication of CN112532663A publication Critical patent/CN112532663A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/54Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users

Abstract

The embodiment of the invention relates to the technical field of communication, in particular to a gateway login method and a gateway login device, which are used for solving the problem of inconsistent gateway data. The embodiment of the invention comprises the following steps: a gateway receives a maintenance login request sent by a terminal, wherein the maintenance login request comprises a maintenance account identifier; determining that the maintenance login state of the gateway is a non-login state according to the maintenance account identifier; sending a login success response to the terminal; changing the maintenance login state to a logged-in state.

Description

Gateway login method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a gateway login method and an apparatus.
Background
The Gateway (Gateway) is also called an internetwork connector and a protocol converter. A gateway, which implements network interconnection above the network layer, is a computer system or device that acts as a translation. Gateways are used between two systems that differ in communication protocol, data format or language, and even in an entirely different architecture. Instead of the bridge simply communicating the information, the gateway repackages the received information to accommodate the needs of the destination system.
With the promotion of fiber to the home and the great improvement of the bandwidth of the home gateway, the intelligent gateway is more and more popular, and the remote maintenance of the home gateway is more and more frequent. The home gateway is an intelligent gateway between a networked information device and an intelligent broadband access network in a home. The home gateway may receive communication signals from different external networks and send the communication signals to one or more smart devices via the home network.
Remote maintenance, configuration, diagnosis and other operations of the home gateway need a user to log in a maintenance account to execute. For example, important information for the gateway, such as configuring WAN connections, logical ID registration, ITMS management configuration, etc., needs to be set up using a maintenance account. For another example, when a device in a home gateway fails, the home gateway is usually required to open a port on a Wide Area Network (WAN) side, allow an Internet Protocol (IP) address on the WAN side to log in a World Wide WEB (WEB) of the home gateway through the port, and perform maintenance operations such as configuration check, status check, and fault diagnosis on each device in the home gateway so as to locate the fault of the home gateway. The problem of inconsistent data can be caused by setting or modifying the same information after a plurality of maintenance accounts log in the home gateway at the same time.
Disclosure of Invention
The application provides a gateway login method and device, which are used for solving the problem of inconsistent gateway data.
The gateway login method provided by the embodiment of the invention comprises the following steps:
a gateway receives a maintenance login request sent by a terminal, wherein the maintenance login request comprises a maintenance account identifier;
determining that the maintenance login state of the gateway is a non-login state according to the maintenance account identifier;
sending a login success response to the terminal;
changing the maintenance login state to a logged-in state.
In an optional embodiment, the determining that the maintenance login status is the unregistered status according to the maintenance account identifier includes:
acquiring a maintenance login state identifier according to the maintenance account identifier;
and determining that the state corresponding to the maintenance login state identifier is an unregistered state.
In an optional embodiment, after the gateway receives the maintenance login request sent by the terminal, the method further includes:
determining that the maintenance login state is a logged-in state according to the maintenance account identifier;
and sending a login failure response to the terminal.
In an optional embodiment, after the changing the maintenance login state to the logged-in state, the method further includes:
sending a heartbeat packet to the terminal at a set frequency;
judging whether a heartbeat response sent by the terminal is received within a set time length;
if so, keeping the maintenance login state as a logged state;
if not, the maintenance login state is changed into an unregistered state.
In an optional embodiment, the maintenance login request further includes a maintenance account password; after the gateway receives the maintenance login request sent by the terminal, and before the maintenance login state of the gateway is determined to be the unregistered state according to the maintenance account identifier, the method further comprises the following steps:
verifying the maintenance account password;
if the verification is passed, the step of determining the maintenance login state of the gateway as the non-login state according to the maintenance account identifier is executed;
otherwise, sending a login failure response to the terminal.
An embodiment of the present invention further provides a gateway login apparatus, including:
the system comprises a receiving and sending unit, a processing unit and a processing unit, wherein the receiving and sending unit is used for receiving a maintenance login request sent by a terminal, and the maintenance login request comprises a maintenance account identifier;
the state unit is used for determining that the maintenance login state of the gateway is the non-login state according to the maintenance account identifier;
the receiving and sending unit is further configured to send a login success response to the terminal;
the state unit is further configured to change the maintenance login state to a logged-in state.
In an optional embodiment, the state unit is specifically configured to:
acquiring a maintenance login state identifier according to the maintenance account identifier;
and determining that the state corresponding to the maintenance login state identifier is an unregistered state.
In an optional embodiment, the status unit is further configured to determine that the maintenance login status is a logged status according to the maintenance account identifier;
the receiving and sending unit is further configured to send a login failure response to the terminal.
In an optional embodiment, the apparatus further comprises a heartbeat unit configured to:
sending a heartbeat packet to the terminal at a set frequency;
judging whether a heartbeat response sent by the terminal is received within a set time length;
if so, keeping the maintenance login state as a logged state;
if not, the maintenance login state is changed into an unregistered state.
In an optional embodiment, the maintenance login request further includes a maintenance account password;
the verification unit is used for verifying the maintenance account password;
if the verification is passed, the state unit executes the step of determining that the maintenance login state of the gateway is the unregistered state according to the maintenance account identifier;
otherwise, the receiving and sending unit sends a login failure response to the terminal.
An embodiment of the present invention further provides an electronic device, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method as described above.
Embodiments of the present invention also provide a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the method as described above.
In the embodiment of the invention, the terminal sends a maintenance login request to the gateway, wherein the maintenance login request comprises a maintenance account identifier. The gateway determines a maintenance login state according to the maintenance account identifier, and if the maintenance login state is determined to be a non-login state, the gateway indicates that no other terminal uses the maintenance account to log in before, and no terminal uses other maintenance accounts to log in, namely the gateway only applies for login by the maintenance account, so that the gateway can agree with the maintenance login request and reply a login success response to the terminal. Meanwhile, the maintenance login state is changed into the logged-in state, and other terminals are prevented from logging in the gateway by using the maintenance account in the login process of the terminal. According to the embodiment of the invention, at most one terminal can log in the gateway by using the maintenance account at the same time, more terminals are not allowed to log in by using the maintenance account, and only one maintenance account can log in at the same time, so that the problem of inconsistent data caused by the fact that a plurality of terminals simultaneously log in the gateway by using the maintenance account and modify the same data is effectively solved, the data confusion of the gateway is avoided, and the safety of the gateway is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a schematic diagram of a possible system architecture according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a gateway login method according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a gateway login method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a gateway login apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a system architecture diagram of a gateway login system provided in an embodiment of the present application is shown, where the gateway login system includes a terminal 101 and a gateway 102. The terminal 101 may be an electronic device with a wireless communication function, such as a mobile phone, a tablet computer, or a dedicated handheld device. The gateway 102 may be a router, a switch, or a PC, etc. for connecting two different networks, and further, the gateway may be a home intelligent gateway. The network between the terminal 101 and the gateway 102 may be any one of communication networks such as a local area network, a wide area network, or a mobile internet.
The terminal 101 logs in the gateway 102 through the common account, sends common data to the gateway 102, and the gateway 102 forwards the common data to one or more devices. When the gateway 102 needs maintenance, configuration and diagnosis, the terminal 101 may log in the gateway 102 through a maintenance account, send maintenance data to the gateway 102, the gateway 102 executes the maintenance data, and feed back the result to the terminal 101. Here, the main difference between the normal account and the maintenance account is that the authority is different, and a plurality of normal accounts can log in one gateway at the same time, and only one maintenance account can log in the gateway at the same time.
It should be noted that although only one terminal is shown in fig. 1, in the embodiment of the present invention, a plurality of terminals may be connected to the gateway 102, and if the gateway 102 has one maintenance account, all the terminals connected to the gateway 102 may log in the gateway 102 through the maintenance account, but only one terminal may log in through the maintenance account at the same time. If the gateway 102 has more than one maintenance account, multiple terminals can log in the gateway 102 through different maintenance accounts, but only one terminal can log in through the maintenance accounts at the same time, and only one of the maintenance accounts can be used for logging in.
Based on the architecture of fig. 1, an embodiment of the present invention provides a gateway login method, and as shown in fig. 2, the gateway login method provided by the embodiment of the present invention includes the following steps:
step 201, a gateway receives a maintenance login request sent by a terminal, wherein the maintenance login request includes a maintenance account identifier.
The maintenance account identifier may be an account number of the maintenance account.
In order to increase the security of the maintenance login, the maintenance login request also comprises a maintenance account password.
After the step 201, after the gateway receives the maintenance login request sent by the terminal, the method further includes:
verifying the maintenance account password;
if the verification is passed, go to step 202;
and if the verification fails, feeding a login failure response back to the terminal.
Step 202, the gateway determines that the maintenance login state of the gateway is the non-login state according to the maintenance account identifier.
Specifically, the gateway may be configured with various ways to indicate that the login status is maintained. For example, when the maintenance login state is the logged-in state, the maintenance account identifier is stored in association with a special identifier; and if the maintenance login state is the unregistered state, deleting the special identifier corresponding to the maintenance account identifier. For another example, when the maintenance login status is the logged-in status, the maintenance account identifier is stored in a special location; and when the maintenance login state is the non-login state, deleting the maintenance account identifier of the special position.
Preferably, the determining that the maintenance login status is the unregistered status according to the maintenance account identifier includes:
acquiring a maintenance login state identifier according to the maintenance account identifier;
and determining that the state corresponding to the maintenance login state identifier is an unregistered state.
In the specific implementation process, a maintenance login state identifier is set corresponding to the maintenance login state. The maintenance login status identification different characters correspond to different states. For example, the maintenance login state flag is 0 corresponding to the unregistered state, and the maintenance login state flag is 1 corresponding to the logged-in state. After receiving the maintenance login request, the gateway may determine whether the current state is the logged-in state or the non-logged-in state according to the content of the maintenance login state identifier.
And 203, the gateway sends a login success response to the terminal.
And step 204, the gateway changes the maintenance login state into a logged-in state.
It should be noted that there is no necessary precedence relationship between the steps 203 and 204.
In the embodiment of the invention, the terminal sends a maintenance login request to the gateway, wherein the maintenance login request comprises a maintenance account identifier. The gateway determines a maintenance login state according to the maintenance account identifier, and if the maintenance login state is determined to be a non-login state, the gateway indicates that no other terminal uses the maintenance account to log in before, and no terminal uses other maintenance accounts to log in, namely the gateway only applies for login by the maintenance account, so that the gateway can agree with the maintenance login request and reply a login success response to the terminal. Meanwhile, the maintenance login state is changed into the logged-in state, and other terminals are prevented from logging in the gateway by using the maintenance account in the login process of the terminal. According to the embodiment of the invention, at most one terminal can log in the gateway by using the maintenance account at the same time, more terminals are not allowed to log in by using the maintenance account, and only one maintenance account can log in at the same time, so that the problem of inconsistent data caused by the fact that a plurality of terminals simultaneously log in the gateway by using the maintenance account and modify the same data is effectively solved, the data confusion of the gateway is avoided, and the safety of the gateway is improved.
Further, if the gateway determines that the maintenance login state is the logged-in state according to the maintenance account identifier, a login failure response is sent to the terminal.
There are two cases here. In step 201, after the gateway receives the maintenance login request sent by the terminal, the gateway determines that the maintenance login state of the gateway is the logged-in state according to the maintenance account identifier. That is, before the terminal sends the maintenance login request to the gateway, the gateway has a maintenance account login, and only one maintenance account login exists at the same time, so the maintenance login request is rejected, and a login failure response is sent to the terminal.
In another case, in step 204, after the gateway changes the maintenance login state to the logged-in state, the gateway determines that the maintenance login state of the gateway is the logged-in state according to the maintenance account identifier. That is, the terminal sends a maintenance login request to the gateway, and after the terminal has logged in to the gateway using the maintenance account, if the gateway receives a maintenance login request sent by another terminal. Because the gateway has the maintenance account login and only one maintenance account login exists at the same time, the maintenance login request after the current maintenance login request is rejected, and a login failure response is sent aiming at the subsequent maintenance login request.
Further, after the logged-in maintenance account is logged out, the gateway changes the maintenance login state from the logged-in state to the logged-out state in order to ensure that the subsequent maintenance account is logged in again.
Specifically, the terminal responds to the request of the user and sends a maintenance quitting request to the gateway, wherein the maintenance quitting request comprises the maintenance account identification.
And the gateway sends a login logout response to the terminal, inquires a corresponding maintenance login state identifier according to the maintenance account identifier, and changes the state corresponding to the maintenance login state identifier into an unregistered state.
The exit process of maintaining the login state of the account is a normal exit process, and if the maintenance account exits abnormally, the gateway cannot determine that the maintenance account exits according to the login exit request. Therefore, the gateway needs to monitor the login status of the maintenance account after the maintenance account is logged in.
That is, after the maintaining login state is changed to the logged-in state, the method further includes:
sending a heartbeat packet to the terminal at a set frequency;
judging whether a heartbeat response sent by the terminal is received within a set time length;
if so, keeping the maintenance login state as a logged state;
if not, the maintenance login state is changed into an unregistered state.
In a specific implementation process, after maintaining the login state as the logged-in state, the gateway starts a heartbeat link, that is, a heartbeat packet is sent to the terminal at a set frequency by using a process, and whether a heartbeat response sent by the terminal is received within a set time length is monitored. If the log-in state of the maintenance account is received, the log-in state of the maintenance account is considered to be normal, the log-in state of the maintenance account is kept unchanged, if the log-in state of the maintenance account is not received within the set time length, the log-in state of the maintenance account is considered to be abnormal, and the maintenance log-in state is changed into the non-log-in state, so that the follow-up maintenance account can normally log in.
In order to more clearly understand the present invention, the following detailed description of the above process is provided by using a specific embodiment, and the specific steps are shown in fig. 3, and include:
step S301: and the gateway receives a maintenance login request sent by the terminal. The maintenance login request comprises a maintenance account identifier and a maintenance account password.
Step S302: the gateway verifies the maintenance account password. If the verification is passed, step S303 is executed, otherwise, step S311 is executed.
Step S303: and the gateway inquires the maintenance login state identifier according to the maintenance account identifier. For example, when the maintenance login status flag is 0, it indicates that the maintenance login status is not logged in, and when the maintenance login status flag is 1, it indicates that the maintenance login status is logged in.
Step S304: the gateway determines the state corresponding to the maintenance login state identifier, and if the state is an unregistered state, that is, the maintenance login state identifier is 0, step S305 is executed; if the status is logged in, i.e. the maintenance login status flag is 1, step S311 is executed.
Step S305: the gateway sends a login success response to the terminal.
Step S306: and the gateway changes the state corresponding to the maintenance login state identifier into the logged state, namely, the maintenance login state identifier is changed from 0 to 1.
Step S307: and the gateway sends the heartbeat packet to the terminal at a set frequency.
Step S308: the gateway judges whether a heartbeat response fed back by the terminal is received within a set time length, if so, the step S309 is executed; otherwise, step S310 is performed.
Step S309: the gateway keeps the maintenance login state as the logged-in state, namely, the maintenance login state identifier is 1.
Step S310: the gateway changes the maintenance login state to the non-login state, namely, the maintenance login state identifier is changed from 1 to 0.
Step S311: the gateway sends a login failure response to the terminal.
An embodiment of the present invention further provides a gateway login apparatus, as shown in fig. 4, including:
a transceiver unit 401, configured to receive a maintenance login request sent by a terminal, where the maintenance login request includes a maintenance account identifier;
a state unit 402, configured to determine, according to the maintenance account identifier, that a maintenance login state of the gateway is an unregistered state;
the transceiver unit 401 is further configured to send a login success response to the terminal;
the state unit 402 is further configured to change the maintenance login state to a logged state.
In an alternative embodiment, the status unit 402 is specifically configured to:
acquiring a maintenance login state identifier according to the maintenance account identifier;
and determining that the state corresponding to the maintenance login state identifier is an unregistered state.
In an optional embodiment, the status unit 402 is further configured to determine that the maintenance login status is a logged status according to the maintenance account identifier;
the transceiver 401 is further configured to send a login failure response to the terminal.
In an optional embodiment, the apparatus further includes a heartbeat unit 403, configured to:
sending a heartbeat packet to the terminal at a set frequency;
judging whether a heartbeat response sent by the terminal is received within a set time length;
if so, keeping the maintenance login state as a logged state;
if not, the maintenance login state is changed into an unregistered state.
In an optional embodiment, the maintenance login request further includes a maintenance account password;
an authentication unit 404, configured to authenticate the maintenance account password;
if the verification is passed, the state unit executes the step of determining that the maintenance login state of the gateway is the unregistered state according to the maintenance account identifier;
otherwise, the receiving and sending unit sends a login failure response to the terminal.
Based on the same principle, the present invention also provides an electronic device, as shown in fig. 5, including:
the system comprises a processor 501, a memory 502, a transceiver 503 and a bus interface 504, wherein the processor 501, the memory 502 and the transceiver 503 are connected through the bus interface 504;
the processor 501 is configured to read the program in the memory 502, and execute the following method:
receiving a maintenance login request sent by a terminal, wherein the maintenance login request comprises a maintenance account identifier;
determining that the maintenance login state of the gateway is a non-login state according to the maintenance account identifier;
sending a login success response to the terminal;
changing the maintenance login state to a logged-in state.
Further, the processor 501 is configured to perform:
acquiring a maintenance login state identifier according to the maintenance account identifier;
and determining that the state corresponding to the maintenance login state identifier is an unregistered state.
Further, the processor 501 is configured to perform:
determining that the maintenance login state is a logged-in state according to the maintenance account identifier;
and sending a login failure response to the terminal.
Further, the processor 501 is configured to perform:
sending a heartbeat packet to the terminal at a set frequency;
judging whether a heartbeat response sent by the terminal is received within a set time length;
if so, keeping the maintenance login state as a logged state;
if not, the maintenance login state is changed into an unregistered state.
Further, the maintenance login request also comprises a maintenance account password; the processor 501 is configured to perform:
verifying the maintenance account password;
if the verification is passed, the step of determining the maintenance login state of the gateway as the non-login state according to the maintenance account identifier is executed;
otherwise, sending a login failure response to the terminal.
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 flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams 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.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (12)

1. A gateway login method, comprising:
a gateway receives a maintenance login request sent by a terminal, wherein the maintenance login request comprises a maintenance account identifier;
determining that the maintenance login state of the gateway is a non-login state according to the maintenance account identifier;
sending a login success response to the terminal;
changing the maintenance login state to a logged-in state.
2. The method of claim 1, wherein said determining a maintenance login status as an unregistered status from said maintenance account identification comprises:
acquiring a maintenance login state identifier according to the maintenance account identifier;
and determining that the state corresponding to the maintenance login state identifier is an unregistered state.
3. The method of claim 1, wherein after the gateway receives the maintenance login request sent by the terminal, the method further comprises:
determining that the maintenance login state is a logged-in state according to the maintenance account identifier;
and sending a login failure response to the terminal.
4. The method of claim 1 or 2, wherein after said changing said maintenance login state to a logged state, further comprising:
sending a heartbeat packet to the terminal at a set frequency;
judging whether a heartbeat response sent by the terminal is received within a set time length;
if so, keeping the maintenance login state as a logged state;
if not, the maintenance login state is changed into an unregistered state.
5. The method of any of claims 1 to 3, wherein the maintenance login request further comprises a maintenance account password; after the gateway receives the maintenance login request sent by the terminal, and before the maintenance login state of the gateway is determined to be the unregistered state according to the maintenance account identifier, the method further comprises the following steps:
verifying the maintenance account password;
if the verification is passed, the step of determining the maintenance login state of the gateway as the non-login state according to the maintenance account identifier is executed;
otherwise, sending a login failure response to the terminal.
6. A gateway login apparatus, comprising:
the system comprises a receiving and sending unit, a processing unit and a processing unit, wherein the receiving and sending unit is used for receiving a maintenance login request sent by a terminal, and the maintenance login request comprises a maintenance account identifier;
the state unit is used for determining that the maintenance login state of the gateway is the non-login state according to the maintenance account identifier;
the receiving and sending unit is further configured to send a login success response to the terminal;
the state unit is further configured to change the maintenance login state to a logged-in state.
7. The apparatus of claim 6, wherein the status unit is specifically configured to:
acquiring a maintenance login state identifier according to the maintenance account identifier;
and determining that the state corresponding to the maintenance login state identifier is an unregistered state.
8. The apparatus of claim 6,
the state unit is further used for determining that the maintenance login state is a logged-in state according to the maintenance account identifier;
the receiving and sending unit is further configured to send a login failure response to the terminal.
9. The apparatus of claim 6 or 7, further comprising a heartbeat unit to:
sending a heartbeat packet to the terminal at a set frequency;
judging whether a heartbeat response sent by the terminal is received within a set time length;
if so, keeping the maintenance login state as a logged state;
if not, the maintenance login state is changed into an unregistered state.
10. The apparatus according to any one of claims 6 to 8, wherein the maintenance login request further comprises a maintenance account password;
the verification unit is used for verifying the maintenance account password;
if the verification is passed, the state unit executes the step of determining that the maintenance login state of the gateway is the unregistered state according to the maintenance account identifier;
otherwise, the receiving and sending unit sends a login failure response to the terminal.
11. An electronic device, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.
12. A non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method of any one of claims 1 to 5.
CN201910880429.7A 2019-09-18 2019-09-18 Gateway login method and device Pending CN112532663A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910880429.7A CN112532663A (en) 2019-09-18 2019-09-18 Gateway login method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910880429.7A CN112532663A (en) 2019-09-18 2019-09-18 Gateway login method and device

Publications (1)

Publication Number Publication Date
CN112532663A true CN112532663A (en) 2021-03-19

Family

ID=74974999

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910880429.7A Pending CN112532663A (en) 2019-09-18 2019-09-18 Gateway login method and device

Country Status (1)

Country Link
CN (1) CN112532663A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114297597A (en) * 2021-12-29 2022-04-08 渔翁信息技术股份有限公司 Account management method, system, equipment and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110219371A1 (en) * 2010-03-03 2011-09-08 International Business Machines Corporation Managing and Reporting Conflicts Between Multiple Users Accessing A Logically Partitioned Computer System
CN103248489A (en) * 2013-05-17 2013-08-14 刘琦 Method for realizing client login through intelligent terminal, server and intelligent terminal
CN104468553A (en) * 2014-11-28 2015-03-25 北京奇虎科技有限公司 Method, device and system for login of public account
CN107493284A (en) * 2017-08-18 2017-12-19 北京小米移动软件有限公司 Account number login method and device
CN109806593A (en) * 2019-01-23 2019-05-28 无锡天脉聚源传媒科技有限公司 A kind of game account login validation method, system, device and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110219371A1 (en) * 2010-03-03 2011-09-08 International Business Machines Corporation Managing and Reporting Conflicts Between Multiple Users Accessing A Logically Partitioned Computer System
CN103248489A (en) * 2013-05-17 2013-08-14 刘琦 Method for realizing client login through intelligent terminal, server and intelligent terminal
CN104468553A (en) * 2014-11-28 2015-03-25 北京奇虎科技有限公司 Method, device and system for login of public account
CN107493284A (en) * 2017-08-18 2017-12-19 北京小米移动软件有限公司 Account number login method and device
CN109806593A (en) * 2019-01-23 2019-05-28 无锡天脉聚源传媒科技有限公司 A kind of game account login validation method, system, device and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114297597A (en) * 2021-12-29 2022-04-08 渔翁信息技术股份有限公司 Account management method, system, equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
US7720057B2 (en) Packet relay apparatus and control method for data relay apparatus
EP3021549B1 (en) Terminal authentication apparatus and method
CN101917289B (en) System for remotely supervising internet surfing of minors based on computer and mobile phone
CN108667699B (en) Method and device for interconnecting terminal equipment and gateway equipment
CN105429979A (en) Cross-platform user certificating method and intelligent router, Internet surfing system
CN107948063B (en) Method for establishing aggregation link and access equipment
CN112463281A (en) Remote assistance method, device, system, electronic equipment and storage medium
CN103685398A (en) Communication connection establishment method and communication system
CN110781512A (en) Server user permission control method, device and system and springboard machine
CN112532663A (en) Gateway login method and device
CN112817248B (en) Shared equipment management method and device, storage medium and electronic device
CN113396600B (en) Information verification method, device, equipment and storage medium
CN105553675A (en) Method and apparatus for logging in router
CN116208956A (en) Login method and device of intercom terminal, electronic equipment and medium
CN110971426A (en) Method for constructing group session, client and storage medium
EP2891299B1 (en) Systems and methods for efficient remote security panel configuration and management
CN106453400B (en) A kind of authentication method and system
CN111918268B (en) Control method and device of intelligent equipment, electronic equipment and storage medium
CN113573384A (en) Terminal, terminal network distribution method and device, and storage medium
CN106936798B (en) Service authentication method and device
CN112383506A (en) Network control device, method, equipment and medium of non-original module
CN112751706A (en) Target data transmission method and device
CN112219416A (en) Techniques for authenticating data transmitted over a cellular network
CN105323088A (en) Springboard processing method and springboard processing device
US9769140B1 (en) Authentication support for autonomous requests

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