CN112291271B - Method, system and medium for automatically logging in server by mobile equipment - Google Patents

Method, system and medium for automatically logging in server by mobile equipment Download PDF

Info

Publication number
CN112291271B
CN112291271B CN202011523544.8A CN202011523544A CN112291271B CN 112291271 B CN112291271 B CN 112291271B CN 202011523544 A CN202011523544 A CN 202011523544A CN 112291271 B CN112291271 B CN 112291271B
Authority
CN
China
Prior art keywords
login
verification code
short message
server
verification
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
CN202011523544.8A
Other languages
Chinese (zh)
Other versions
CN112291271A (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.)
CHANJET INFORMATION TECHNOLOGY CO LTD
Original Assignee
CHANJET INFORMATION 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 CHANJET INFORMATION TECHNOLOGY CO LTD filed Critical CHANJET INFORMATION TECHNOLOGY CO LTD
Priority to CN202011523544.8A priority Critical patent/CN112291271B/en
Publication of CN112291271A publication Critical patent/CN112291271A/en
Application granted granted Critical
Publication of CN112291271B publication Critical patent/CN112291271B/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
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • 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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides a method, a system and a storage medium for automatically logging in a server by mobile equipment, wherein the method comprises the following steps: the method comprises the steps that a first terminal device detects whether a mobile device sends an automatic login request, and if yes, the first terminal device and the mobile device are in communication connection; the mobile equipment sends the automatic login request to a verification host computer, the verification host computer requests a server for a login verification code based on the automatic login request, and the server generates the login verification code and sends the login verification code to the mobile equipment; the first terminal equipment acquires a login verification code from the mobile equipment and sends the login verification code to a cloud short message pool; and the verification host reads the verification code from the cloud short message pool and sends the verification code to the server for login verification, and after the verification is passed, the mobile equipment logs in the server. The login efficiency and the login success rate of the mobile device are improved, and the user experience is improved.

Description

Method, system and medium for automatically logging in server by mobile equipment
Technical Field
The invention relates to the technical field of computer security, in particular to a method, a system and a storage medium for automatically logging in a server by mobile equipment.
Background
With the development of internet technology, communication devices are rapidly popularized, and in more and more scenes, mobile devices are required to be used for confirming the identity of a user. The user reserves a mobile phone number at the server, when the scenes such as login verification or password recovery are carried out, the server sends a short message to the reserved mobile phone number of the user, the content of the short message comprises a verification code, a dynamic password and the like, the user side receives the short message by the mobile equipment, inputs the short message at a verification page of the server, uploads the short message to the server, and the short message is matched with the content of the server to carry out verification. The above-described authentication techniques have some problems:
1. after receiving the short message, the user needs to check, recite, input the verification code and other links, and may need to switch the software interface back and forth, so that the process is complicated, and the user experience is reduced.
2. According to the investigation of industry related institutions, due to the reasons of communication delay, gateway shielding, short message interception and the like, the average arrival rate of short messages is only 94%, that is, in about 6%, the user cannot complete verification due to non-self reasons.
3. In the scenario of automatic operation, the login of the whole system and the operation of various software processes are automatically operated on a remote computer host. Specifically, in the login link, the steps of clicking the verification code sending button and inputting the verification code are all automatic operations, manual operations are not needed, and even the verification code is invisible to the user. However, the short message verification code is sent to the mobile equipment of the user, the remote host in automatic operation cannot know the content of the short message, and the remote host and the mobile equipment of the user are isolated from each other, so that the automatic operation of the remote host is interrupted, and whether the short message verification code is sent successfully or not is judged by the user, so that the efficiency is low.
Disclosure of Invention
The present invention provides the following technical solutions to overcome the above-mentioned drawbacks in the prior art.
A method of a mobile device automatically logging into a server, the method comprising:
detecting, namely detecting whether the mobile equipment sends an automatic login request or not by the first terminal equipment, and if so, establishing communication connection between the first terminal equipment and the mobile equipment;
a verification code generation step, wherein the mobile equipment sends the automatic login request to a verification host, the verification host requests a server for a login verification code based on the automatic login request, and the server generates a login verification code and sends the login verification code to the mobile equipment;
the method comprises the steps that the first terminal equipment acquires a login verification code from the mobile equipment and sends the login verification code to a cloud short message pool;
and a login step, in which the verification host reads the login verification code from the cloud short message pool and sends the login verification code to the server for login verification, and after the verification is passed, the mobile equipment logs in the server.
Furthermore, the communication connection established between the first terminal device and the mobile device is a serial port, infrared, bluetooth or TCP/IP connection, and the first terminal device interacts with the mobile device using an AT command of GSM 07.07 or GSM 07.05 standard.
Further, the verification code generating step is operated as follows: the method comprises the steps that after the verification host receives an automatic login request sent by the mobile equipment, a login account and a password of a user are analyzed from the automatic login request, the verification host automatically inputs the login account and the password of the user in a login webpage provided by a server and clicks a login verification code obtaining button, the server verifies the effectiveness of the user through the login account and the password of the user, and if verification is successful, a login verification code short message is sent to a mobile phone number reserved on the server by the user.
Further, the operation of clicking the get login verification code button is as follows: the verification host analyzes the login webpage, determines the coordinates of the login verification code button in the login webpage, simulates mouse click operation at the coordinates, and completes click operation of the login verification code button.
Further, the acquiring step operates as: the first terminal equipment monitors a + CMTI or + CMT instruction of the mobile equipment connected with the first terminal equipment to acquire a short message notification of the mobile equipment, judges whether the short message is shielded or not after the first terminal equipment acquires the short message notification, directly analyzes the + CMTI or + CMT instruction to obtain a mobile phone number and a short message content used on the mobile equipment if the short message is not shielded, obtains the mobile phone number and the short message content by using an AT + CMGR command if the short message is shielded, and pops up a mobile phone number and a short message content prompt to a user; the first terminal equipment judges whether the short message content is matched with a login verification code sending template of the server or not, and if the short message content is matched with the login verification code sending template, a login verification code is analyzed based on the login verification code sending template; and the first terminal equipment encrypts the acquired mobile phone number and the login verification code and sends the encrypted mobile phone number and the encrypted login verification code to the cloud short message pool.
Furthermore, the verification host judges whether the login verification code short message on the server is successfully sent, and if the login verification code short message on the server is unsuccessfully sent, the login verification code obtaining button is clicked again.
Furthermore, the operation of the verification host determining whether the login verification code short message on the server is successfully sent is as follows: the verification host records the time of clicking the login verification code acquisition button, reads the short message within a certain threshold time after the time of clicking the login verification code acquisition button from the cloud short message pool, searches for the short message within the certain threshold time after the time of clicking the login verification code acquisition button based on the mobile phone number, and if the search fails, the login verification code short message is failed to be sent.
Still further, the threshold time is 60 seconds.
The invention also provides a system for automatically logging in the server by the mobile equipment, which comprises the following components: the system comprises a first terminal device, a mobile device, a verification host and a server; the method comprises the steps that a first terminal device detects whether a mobile device sends an automatic login request, and if yes, the first terminal device and the mobile device are in communication connection; the mobile equipment sends the automatic login request to a verification host, the verification host requests a server for a login verification code based on the automatic login request, and the server generates the login verification code and sends the login verification code to the mobile equipment; the first terminal equipment acquires a login verification code from the mobile equipment and sends the login verification code to a cloud short message pool; and the verification host reads the login verification code from the cloud short message pool and sends the login verification code to the server for login verification, and after the verification is passed, the mobile equipment logs in the server.
Furthermore, the communication connection established between the first terminal device and the mobile device is a serial port, infrared, bluetooth or TCP/IP connection, and the first terminal device interacts with the mobile device using AT commands of GSM 07.07 or GSM 07.05 standards.
Furthermore, after receiving an automatic login request sent by the mobile device, the verification host analyzes a login account and a password of the user from the automatic login request, automatically inputs the login account and the password of the user in a login webpage provided by the server, clicks a login verification code obtaining button, verifies the validity of the user through the login account and the password of the user, and sends a login verification code short message to a mobile phone number reserved on the server by the user if the verification is successful.
Further, the operation of clicking the get login verification code button is as follows: the verification host analyzes the login webpage, determines the coordinates of the login verification code button in the login webpage, simulates mouse click operation at the coordinates, and completes click operation of the login verification code button.
Furthermore, the first terminal device monitors a + CMTI or + CMT instruction of the mobile device connected with the first terminal device to obtain a short message notification of the mobile device, judges whether the short message is shielded after the short message notification is obtained, if not, directly analyzes the + CMTI or + CMT instruction to obtain a mobile phone number and a short message content used on the mobile device, if yes, obtains the mobile phone number and the short message content by using an AT + CMGR command, and pops up a mobile phone number and a short message content prompt to a user; the first terminal equipment judges whether the short message content is matched with a login verification code sending template of the server or not, and if the short message content is matched with the login verification code sending template, a login verification code is analyzed based on the login verification code sending template; and the first terminal equipment encrypts the acquired mobile phone number and the login verification code and sends the encrypted mobile phone number and the encrypted login verification code to the cloud short message pool.
Furthermore, the verification host judges whether the login verification code short message on the server is successfully sent, and if the login verification code short message on the server is unsuccessfully sent, the login verification code obtaining button is clicked again.
Furthermore, the operation of the verification host determining whether the login verification code short message on the server is successfully sent is as follows: the verification host records the time of clicking the login verification code acquisition button, reads the short message within a certain threshold time after the time of clicking the login verification code acquisition button from the cloud short message pool, searches for the short message within the certain threshold time after the time of clicking the login verification code acquisition button based on the mobile phone number, and if the search fails, the login verification code short message is failed to be sent.
The invention also proposes a computer-readable storage medium having stored thereon computer program code which, when executed by a computer, performs any of the methods described above.
The invention discloses a method, a system and a storage medium for automatically logging in a server by mobile equipment, wherein the method comprises the following steps: detecting, namely detecting whether the mobile equipment sends an automatic login request or not by the first terminal equipment, and if so, establishing communication connection between the first terminal equipment and the mobile equipment; a verification code generation step, wherein the mobile equipment sends the automatic login request to a verification host computer, the verification host computer requests a server for a login verification code based on the automatic login request, and the server generates the login verification code and sends the login verification code to the mobile equipment; the method comprises the steps that the first terminal equipment acquires a login verification code from the mobile equipment and sends the login verification code to a cloud short message pool; and a login step, wherein the verification host reads the login verification code from the cloud short message pool and sends the login verification code to the server for login verification, and after the verification is passed, the mobile equipment logs in the server. According to the invention, a first terminal device is arranged to detect whether a mobile device sends an automatic login request, if so, the first terminal device establishes communication connection with the mobile device to acquire a login verification code sent by a server to the mobile device, and sends the login verification code to a cloud short message pool, and an authentication host reads the login verification code from the cloud short message pool and then enables the mobile device to automatically login to the server, so that the technical problems that in the prior art, after a user receives a short message, links such as checking, reciting and inputting the verification code are required, and a software interface is possibly required to be switched back and forth, and the process is complicated are solved Trojan horse, the technical problem of low security, through managing the first terminal equipment, it is trustable to it, adopt the standard AT order to read the code, has improved the security of the short message read code, the detailed course of generating, obtaining and logging in of the identifying code in the invention, through these operations, make the mobile device even in the situation that the short message is shielded can log on to the server automatically, and does not need any operation of the user, solve the verification host computer of automation operation in the prior art and have no way to know the content of short message, cause the technical problem of automation operation interruption of the remote host computer, have improved and logged on the efficiency.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings.
Fig. 1 is a flowchart of a method for a mobile device to automatically log in to a server according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of a system for automatically logging in a server by a mobile device according to an embodiment of the present invention.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 shows a method for a mobile device to automatically log in a server, the method comprising:
a detection step S101, a first terminal device detects whether a mobile device sends an automatic login request, if so, the first terminal device establishes communication connection with the mobile device; the mobile device in the invention can be other electronic devices which are provided with sim cards and can receive short messages, such as smart phones, notebook computers, IPADs and the like. The first terminal device may be a computer device which is fixedly or movably arranged at a certain position, such as an office, a shopping mall and the like.
A verification code generation step S102, in which the mobile device sends the automatic login request to a verification host, the verification host requests a server to log in a verification code based on the automatic login request, and the server generates a login verification code and sends the login verification code to the mobile device; the above-mentioned detecting, by the first terminal device, whether the mobile device sends the automatic login request may be implemented by obtaining the automatic login request from the authentication host to determine whether the mobile device sends the automatic login request, and if so, establishing a communication connection between the first terminal device and the mobile device.
An obtaining step S103, in which the first terminal device obtains a login verification code from the mobile device and sends the login verification code to a cloud short message pool; the cloud short message pool is a short message memory arranged in the operation server, and stores the short messages by adopting a first-in first-out strategy.
And a login step S104, reading the login verification code from the cloud short message pool by the verification host and sending the login verification code to the server for login verification, wherein the mobile equipment automatically logs in the server after the verification is passed.
The invention sets a first terminal device to detect whether a mobile device sends an automatic login request, if so, the first terminal device establishes communication connection with the mobile device to acquire a login verification code sent to the mobile device by a server, and sends the login verification code to a cloud short message pool, and an authentication host reads the login verification code from the cloud short message pool and then enables the mobile device to automatically log in the server.
In one embodiment, the communication connection established between the first terminal device and the mobile device is a serial port, infrared, bluetooth or TCP/IP connection, and the first terminal device interacts with the mobile device using AT commands of GSM 07.07 or GSM 07.05 standards. The invention sets the first terminal equipment to be connected with the mobile equipment to obtain the verification code, so that the technical problems that some current short message code reading software cannot read short messages which are shielded and intercepted by a gateway, and the code reading software is easy to implant viruses and trojans and has low safety are solved.
In one embodiment, the operation of the verification code generation step S102 is: the method comprises the steps that after the verification host receives an automatic login request sent by the mobile equipment, a login account and a password of a user are analyzed from the automatic login request, the verification host automatically inputs the login account and the password of the user in a login webpage provided by a server and clicks a login verification code obtaining button, the server verifies the effectiveness of the user through the login account and the password of the user, and if verification is successful, a login verification code short message is sent to a mobile phone number reserved on the server by the user.
Further, the operation of clicking the get login verification code button is as follows: the verification host analyzes the login webpage, determines the coordinates of the login verification code button in the login webpage, simulates mouse click operation at the coordinates, and completes click operation of the login verification code button.
In one embodiment, the operation of the acquiring step S103 is: the first terminal equipment monitors a + CMTI or + CMT instruction of the mobile equipment connected with the first terminal equipment to acquire a short message notification of the mobile equipment, judges whether the short message is shielded or not after acquiring the short message notification, directly analyzes the + CMTI or + CMT instruction to obtain a mobile phone number and a short message content used on the mobile equipment if the short message is not shielded, obtains the mobile phone number and the short message content by using an AT + CMGR command if the short message is shielded, and pops up a mobile phone number and a short message content prompt for a user; the first terminal equipment judges whether the short message content is matched with a login verification code sending template of the server or not, and if the short message content is matched with the login verification code sending template, a login verification code is analyzed based on the login verification code sending template; and the first terminal equipment encrypts the acquired mobile phone number and the login verification code and sends the encrypted mobile phone number and the encrypted login verification code to the cloud short message pool.
In the login step S104, the verification host reads the encrypted mobile phone number and login verification code from the cloud short message pool, decrypts the encrypted mobile phone number and login verification code, matches the required verification code based on the mobile phone number of the mobile device, and sends the verification code to the server for login verification, and after the verification is passed, the mobile device automatically logs in the server.
The detailed processes of generating, acquiring and logging in the verification code are introduced in detail, through the operations, the mobile device can automatically log in the server even if the short message is shielded, no operation of a user is needed, the technical problem that the automatic operation of the remote host is interrupted because the automatic operation verification host does not know the content of the short message in the prior art is solved, and the logging efficiency is improved, namely, the detailed processes of generating, acquiring and logging in the verification code belong to another important invention point of the invention.
In one embodiment, the verification host determines whether the login verification code short message on the server is successfully sent, and if the login verification code short message is unsuccessfully sent, the login verification code obtaining button is clicked again. The operation that the verification host judges whether the login verification code short message on the server is successfully sent is as follows: the verification host records the time of clicking the login verification code acquisition button, reads the short message within a certain threshold time after the time of clicking the login verification code acquisition button from the cloud short message pool, searches for the short message within the certain threshold time after the time of clicking the login verification code acquisition button based on the mobile phone number, and if the search fails, the login verification code short message is failed to be sent. The threshold time is 60 seconds.
In order to overcome the technical defect that manual judgment is needed to judge whether the verification code is successfully sent, the invention provides that whether the login verification code short message on the server is successfully sent is judged through a verification host, specifically, the verification host records the time of clicking a login verification code obtaining button, reads the short message within a certain time (for example, within 60 seconds) after the time from the cloud short message pool, searches in the read short message based on the mobile phone number, and if the search fails, the login verification code short message is unsuccessfully sent, and clicks the login verification code obtaining button again. Therefore, whether the sending of the verification code fails or not is automatically judged, and the login efficiency of the mobile equipment is improved.
Fig. 2 shows a system for automatically logging in a server by a mobile device according to the present invention, which comprises: the system comprises a first terminal device, a mobile device, a verification host and a server; the method comprises the steps that a first terminal device detects whether a mobile device sends an automatic login request, and if yes, the first terminal device and the mobile device are in communication connection; the mobile equipment sends the automatic login request to a verification host computer, the verification host computer requests a server for a login verification code based on the automatic login request, and the server generates the login verification code and sends the login verification code to the mobile equipment; the first terminal equipment acquires a login verification code from the mobile equipment and sends the login verification code to a cloud short message pool; and the verification host reads the login verification code from the cloud short message pool and sends the login verification code to the server for login verification, and after the verification is passed, the mobile equipment logs in the server.
The invention sets a first terminal device to detect whether a mobile device sends an automatic login request, if so, the first terminal device establishes communication connection with the mobile device to acquire a login verification code sent by a server to the mobile device, and sends the login verification code to a cloud short message pool, and an authentication host reads the login verification code from the cloud short message pool to enable the mobile device to automatically login to the server.
In one embodiment, the communication connection established between the first terminal device and the mobile device is a serial port, infrared, bluetooth or TCP/IP connection, and the first terminal device interacts with the mobile device using AT commands of GSM 07.07 or GSM 07.05 standards. The invention sets the first terminal equipment to be connected with the mobile equipment to obtain the verification code, so as to solve the technical problems that some current short message code reading software cannot read short messages which are shielded and intercepted by a gateway, viruses and trojans are easily implanted into the code reading software, and the safety is low.
In one embodiment, after receiving an automatic login request sent by the mobile device, the verification host analyzes a login account and a password of a user from the automatic login request, the verification host automatically inputs the login account and the password of the user in a login webpage provided by a server, clicks a login verification code obtaining button, the server verifies the validity of the user through the login account and the password of the user, and if the verification is successful, a login verification code short message is sent to a mobile phone number which is reserved on the server by the user.
Further, the operation of clicking the get login verification code button is as follows: the verification host analyzes the login webpage, determines the coordinates of the login verification code button in the login webpage, simulates mouse click operation at the coordinates, and completes click operation of the login verification code button.
In one embodiment, the first terminal device monitors a + CMTI or + CMT instruction of the mobile device connected with the first terminal device to obtain a short message notification of the mobile device, judges whether the short message is shielded after the short message notification is obtained by the first terminal device, if not, directly analyzes the + CMTI or + CMT instruction to obtain a mobile phone number and a short message content used on the mobile device, if yes, obtains the mobile phone number and the short message content by using an AT + CMGR command, and pops up a mobile phone number and a short message content prompt to a user; the first terminal equipment judges whether the short message content is matched with a sending login verification code template of the server, and if the short message content is matched with the sending login verification code template, the login verification code is analyzed based on the sending login verification code template; and the first terminal equipment encrypts the acquired mobile phone number and the login verification code and sends the encrypted mobile phone number and the encrypted login verification code to the cloud short message pool.
In one embodiment, the verification host reads the encrypted mobile phone number and the login verification code from the cloud short message pool, then decrypts the encrypted mobile phone number and the login verification code, matches the required verification code based on the mobile phone number of the mobile device, and sends the verification code to the server for login verification, and after the verification is passed, the mobile device automatically logs in the server.
The detailed processes of generating, acquiring and logging in the verification code are introduced in detail, through the operations, the mobile device can automatically log in the server even if the short message is shielded, no operation of a user is needed, the technical problem that the automatic operation of the remote host is interrupted because the automatic operation verification host does not know the content of the short message in the prior art is solved, and the logging efficiency is improved, namely, the detailed processes of generating, acquiring and logging in the verification code belong to another important invention point of the invention.
In one embodiment, the verification host judges whether the login verification code short message on the server is successfully sent, and if the login verification code short message is unsuccessfully sent, the login verification code obtaining button is clicked again. The operation that the verification host judges whether the login verification code short message on the server is successfully sent is as follows: the verification host records the time of clicking the login verification code acquisition button, reads the short message within a certain threshold time after the time of clicking the login verification code acquisition button from the cloud short message pool, searches for the short message within the certain threshold time after the time of clicking the login verification code acquisition button based on the mobile phone number, and if the search fails, the login verification code short message is failed to be sent. The threshold time is 60 seconds.
In order to overcome the technical defect that manual judgment is needed when the verification code is successfully sent, the invention provides that whether the login verification code short message on the server is successfully sent is judged through a verification host, specifically, the verification host records the time of clicking a login verification code obtaining button, reads the short message within a certain threshold time after the time from the cloud short message pool, searches in the read short message based on the mobile phone number, and if the search fails, the login verification code short message is unsuccessfully sent, and the login verification code obtaining button is clicked again. Therefore, whether the sending of the verification code fails or not is automatically judged, and the login efficiency of the mobile equipment is improved, which is another important invention point of the invention.
The invention also proposes a computer-readable storage medium having stored thereon computer program code which, when executed by a computer, performs any of the methods described above.
For convenience of description, the above system is described as being divided into various units by functions, which are described separately. Of course, the functionality of the various elements may be implemented in the same one or more pieces of software and/or hardware in the practice of the present application.
From the above description of the embodiments, it is clear to those skilled in the art that the present application can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present application may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments of the present application.
Finally, it should be noted that: although the present invention has been described in detail with reference to the above embodiments, it should be understood by those skilled in the art that: modifications and equivalents may be made thereto without departing from the spirit and scope of the invention and it is intended to cover in the claims the invention as defined in the appended claims.

Claims (8)

1. A method for a mobile device to automatically log into a server, the method comprising:
detecting, namely detecting whether the mobile equipment sends an automatic login request or not by the first terminal equipment, and if so, establishing communication connection between the first terminal equipment and the mobile equipment;
a verification code generation step, wherein the mobile equipment sends the automatic login request to a verification host computer, the verification host computer requests a server for a login verification code based on the automatic login request, and the server generates the login verification code and sends the login verification code to the mobile equipment;
the method comprises the steps that the first terminal equipment acquires a login verification code from the mobile equipment and sends the login verification code to a cloud short message pool;
a login step, in which the verification host reads the login verification code from the cloud short message pool and sends the login verification code to the server for login verification, and after the verification is passed, the mobile equipment logs in the server;
the verification code generating step comprises the following operations: after receiving an automatic login request sent by the mobile equipment, the verification host analyzes a login account and a password of a user from the automatic login request, automatically inputs the login account and the password of the user in a login webpage provided by a server, clicks a login verification code obtaining button, verifies the validity of the user through the login account and the password of the user, and sends a login verification code short message to a mobile phone number which is reserved on the server by the user if the verification is successful;
the operation of clicking the button for acquiring the login verification code is as follows: the verification host analyzes the login webpage, determines the coordinates of the login verification code button in the login webpage, simulates mouse click operation at the coordinates, and completes click operation of the login verification code button.
2. The method according to claim 1, wherein the communication connection established between the first terminal device and the mobile device is a serial, infrared, bluetooth or TCP/IP connection, and the first terminal device interacts with the mobile device using AT commands of GSM 07.07 or GSM 07.05 standards.
3. The method of claim 2, wherein the obtaining step operates to: the first terminal equipment monitors a + CMTI or + CMT instruction of the mobile equipment connected with the first terminal equipment to acquire a short message notification of the mobile equipment, judges whether the short message is shielded or not after the first terminal equipment acquires the short message notification, directly analyzes the + CMTI or + CMT instruction to obtain a mobile phone number and a short message content used on the mobile equipment if the short message is not shielded, obtains the mobile phone number and the short message content by using an AT + CMGR command if the short message is shielded, and pops up a mobile phone number and a short message content prompt to a user; the first terminal equipment judges whether the short message content is matched with a login verification code sending template of the server or not, and if the short message content is matched with the login verification code sending template, a login verification code is analyzed based on the login verification code sending template; and the first terminal equipment encrypts the acquired mobile phone number and the login verification code and sends the encrypted mobile phone number and the encrypted login verification code to the cloud short message pool.
4. The method as claimed in claim 3, wherein the verification host determines whether the login verification code short message on the server is successfully transmitted, and if the transmission fails, the login verification code obtaining button is clicked again.
5. The method as claimed in claim 4, wherein the operation of the verification host determining whether the login verification code short message is successfully sent on the server is: the verification host records the time of clicking the login verification code button, reads the short message within a certain threshold time after the time of clicking the login verification code button from the cloud short message pool, searches for the short message within the certain threshold time after the time of clicking the login verification code button based on the mobile phone number, and if the search fails, the login verification code short message is failed to be sent.
6. The method of claim 5, wherein the threshold time is 60 seconds.
7. A system for automatically logging on a server by a mobile device, the system comprising: the system comprises a first terminal device, a mobile device, a verification host and a server; the method comprises the steps that a first terminal device detects whether a mobile device sends an automatic login request, and if yes, the first terminal device and the mobile device are in communication connection; the mobile equipment sends the automatic login request to a verification host computer, the verification host computer requests a server for a login verification code based on the automatic login request, and the server generates the login verification code and sends the login verification code to the mobile equipment; the first terminal equipment acquires a login verification code from the mobile equipment and sends the login verification code to a cloud short message pool; the verification host reads the login verification code from the cloud short message pool and sends the login verification code to the server for login verification, and after the verification is passed, the mobile equipment logs in the server;
the verification host is further used for analyzing a login account and a password of a user from an automatic login request after receiving the automatic login request sent by the mobile equipment, the verification host automatically inputs the login account and the password of the user in a login webpage provided by a server and clicks a login verification code obtaining button, the server verifies the validity of the user through the login account and the password of the user, and if the verification is successful, a login verification code short message is sent to a mobile phone number which is reserved on the server by the user;
the verification host is further used for analyzing the login webpage, determining coordinates of the login verification code button in the login webpage, simulating mouse click operation at the coordinates, and completing click operation of the login verification code button.
8. A computer-readable storage medium, characterized in that the storage medium has stored thereon computer program code which, when executed by a computer, performs the method of any of claims 1-6.
CN202011523544.8A 2020-12-22 2020-12-22 Method, system and medium for automatically logging in server by mobile equipment Active CN112291271B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011523544.8A CN112291271B (en) 2020-12-22 2020-12-22 Method, system and medium for automatically logging in server by mobile equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011523544.8A CN112291271B (en) 2020-12-22 2020-12-22 Method, system and medium for automatically logging in server by mobile equipment

Publications (2)

Publication Number Publication Date
CN112291271A CN112291271A (en) 2021-01-29
CN112291271B true CN112291271B (en) 2022-09-27

Family

ID=74425972

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011523544.8A Active CN112291271B (en) 2020-12-22 2020-12-22 Method, system and medium for automatically logging in server by mobile equipment

Country Status (1)

Country Link
CN (1) CN112291271B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112818306A (en) * 2021-02-01 2021-05-18 长沙市到家悠享网络科技有限公司 Information processing method and device and server
CN113038399A (en) * 2021-04-14 2021-06-25 广州讯鸿网络技术有限公司 Method, electronic device and storage medium for quickly verifying user identity through 5G message
CN113094290B (en) * 2021-05-21 2024-02-23 珠海金山数字网络科技有限公司 Program testing system and method
CN113849790A (en) * 2021-10-13 2021-12-28 深圳美云集网络科技有限责任公司 Verification code automatic input method and device, storage medium and electronic equipment
CN114090383A (en) * 2021-11-23 2022-02-25 山东体育学院 Method and system for automatically detecting availability of application layer of information system
CN114828000B (en) * 2022-04-14 2023-07-28 中国联合网络通信集团有限公司 Login method, login device and computer readable storage medium
CN115248912B (en) * 2022-09-19 2023-01-31 平安银行股份有限公司 System login method and device based on cloud terminal and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101242404A (en) * 2007-02-08 2008-08-13 联想(北京)有限公司 A validation method and system based on heterogeneous network
CN104954383A (en) * 2015-06-24 2015-09-30 深圳市兰丁科技有限公司 Application program login method and system
KR20150122387A (en) * 2014-04-23 2015-11-02 로데브주식회사 Automatic login system and method that use short message service for member
CN105490815A (en) * 2015-12-11 2016-04-13 北京奇虎科技有限公司 Short message identification code obtaining method and apparatus, and registration method, apparatus and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101242404A (en) * 2007-02-08 2008-08-13 联想(北京)有限公司 A validation method and system based on heterogeneous network
KR20150122387A (en) * 2014-04-23 2015-11-02 로데브주식회사 Automatic login system and method that use short message service for member
CN104954383A (en) * 2015-06-24 2015-09-30 深圳市兰丁科技有限公司 Application program login method and system
CN105490815A (en) * 2015-12-11 2016-04-13 北京奇虎科技有限公司 Short message identification code obtaining method and apparatus, and registration method, apparatus and system

Also Published As

Publication number Publication date
CN112291271A (en) 2021-01-29

Similar Documents

Publication Publication Date Title
CN112291271B (en) Method, system and medium for automatically logging in server by mobile equipment
CN103020687B (en) Quick Response Code sharing method and system
CN103065178B (en) A kind of Quick Response Code sharing apparatus, access means and sharing method
CN107666460B (en) Remote intelligent evidence obtaining system and method based on mobile internet
CN105847245B (en) Electronic mailbox login authentication method and device
CN104811462B (en) A kind of access gateway reorientation method and access gateway
CN107040518B (en) Private cloud server login method and system
US9727739B2 (en) Decrypting files for data leakage protection in an enterprise network
CN106302308B (en) Trust login method and device
WO2014172956A1 (en) Login method,apparatus, and system
CN107508822B (en) Access control method and device
CN111931188B (en) Vulnerability testing method and system in login scene
CN105450643A (en) Network access authentication method, apparatus and system
CN112346751B (en) Application program installation method and device, electronic equipment and storage medium
CN112926059A (en) Data processing method, device, equipment and storage medium
CN112671605A (en) Test method and device and electronic equipment
CN104125205B (en) A kind of communication account number login method, system and terminal
CN104486292A (en) Enterprise-resource safety-access control method, device and system
CN113765912A (en) Distributed firewall device and detection method thereof
CN105207777A (en) Network information verification method and apparatus
CN105577621B (en) Business operation verification method, device and system
CN104021324A (en) Method and device for writing safety verification
CN112822023B (en) Communication information transmitting method, information access method, device and storage medium
CN115664686A (en) Login method, login device, computer equipment and storage medium
US9319358B2 (en) Terminal interaction methods and related devices and systems

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant