CN114844657B - Website login method, communication system and electronic equipment - Google Patents

Website login method, communication system and electronic equipment Download PDF

Info

Publication number
CN114844657B
CN114844657B CN202110053442.2A CN202110053442A CN114844657B CN 114844657 B CN114844657 B CN 114844657B CN 202110053442 A CN202110053442 A CN 202110053442A CN 114844657 B CN114844657 B CN 114844657B
Authority
CN
China
Prior art keywords
electronic device
website login
website
request
electronic equipment
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
CN202110053442.2A
Other languages
Chinese (zh)
Other versions
CN114844657A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202110053442.2A priority Critical patent/CN114844657B/en
Priority to PCT/CN2021/142338 priority patent/WO2022151974A1/en
Publication of CN114844657A publication Critical patent/CN114844657A/en
Application granted granted Critical
Publication of CN114844657B publication Critical patent/CN114844657B/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
    • 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/0807Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos
    • 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/0815Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/107Network architectures or network communication protocols for network security for controlling access to devices or network resources wherein the security policies are location-dependent, e.g. entities privileges depend on current location or allowing specific operations only from locally connected terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/18Network architectures or network communication protocols for network security using different networks or channels, e.g. using out of band channels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/60Context-dependent security
    • H04W12/63Location-dependent; Proximity-dependent
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Landscapes

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

Abstract

The application discloses a website login method, which comprises the following steps: the first electronic equipment accesses a website and displays a website login interface; if the first electronic device receives a first operation on the website login interface and detects the second electronic device within a preset distance range, the first electronic device sends a first request to the second electronic device which establishes communication connection with the first electronic device; the second electronic equipment receives the first request, and acquires website login authorization information for website login from a server according to the first request; the second electronic device sends website login authorization information to the first electronic device; the first electronic equipment receives the website login authorization information and accesses the server to log in the website according to the website login authorization information. The website login can be realized more conveniently and rapidly, the website login efficiency is effectively improved, and the user experience is improved. The application also discloses a communication system and electronic equipment.

Description

Website login method, communication system and electronic equipment
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a website login method, a communication system, and an electronic device.
Background
In the use of electronic devices such as personal computers (Personal Computer, PC) such as notebook computers, tablet computers, and desktop computers, it is often the case that a website is required to be logged in. At present, website login can be performed by a verification mode of a user name and a password, or by a verification mode of a two-dimensional code displayed on a website login interface of a mobile terminal such as a mobile phone for scanning the website.
However, the two modes can realize website login only by inputting a user name and a password or scanning a two-dimensional code and other operations, so that the operation steps are complicated, and the use experience of the user is affected.
Disclosure of Invention
The application provides a website login method, a communication system and electronic equipment, which are used for solving the problems that the operation steps of the current website login are complicated and the experience of a user is affected, realizing the website login more conveniently and rapidly and improving the experience of the user.
In order to solve the above technical problem, in a first aspect, an embodiment of the present application provides a website login method, which is applied to a communication system including a first electronic device, a second electronic device, and a server, where the method includes: the method comprises the steps that first electronic equipment accesses a website and a website login interface of the website is displayed on the first electronic equipment; if the first electronic device receives a first operation on the website login interface and detects the second electronic device within a preset distance range, the first electronic device sends a first request to the second electronic device which establishes communication connection with the first electronic device; the second electronic equipment receives the first request and acquires website login authorization information from the server according to the first request; the second electronic device sends website login authorization information to the first electronic device; and the first electronic equipment receives the website login authorization information and accesses the server to log in the website according to the website login authorization information.
The first electronic device receives a first operation of the website login interface, which may be that a touch operation of a user on the website login interface is received as the first operation, or that a trigger operation of the user on the website login interface through a mouse, voice or the like is received as the first operation. The first operation may be, for example, a single click operation, a double click operation, or a single click operation on a website login control by a user.
The website login authorization information may be a verification code (or may also be called a short message verification code), a Token (Token), or other information required for website login authentication, request data, or the like.
After the first electronic device and the second electronic device are in communication connection, the first electronic device can acquire website login authorization information from the second electronic device to automatically complete website login, so that a user can not perform other operations such as manual input of a mobile phone number, a user name, a password and the like, and the user does not need to use the second electronic device to perform operations such as two-dimension code scanning operation and the like to operate the second electronic device. The website login can be realized more conveniently and rapidly, the website login efficiency is effectively improved, and the user experience is improved.
In a possible implementation manner of the first aspect, if the first electronic device receives a first operation on the website login interface, the method further includes: the first electronic device displays reminding information, and the reminding information is used for reminding a user to enable the second electronic device to be close to the first electronic device.
The user can conveniently learn the next operation through the reminding information, and the user only needs to approach the second electronic equipment to the first electronic equipment according to the reminding information, and the first electronic equipment can acquire website login authorization information to automatically complete website login, so that the use experience of the user can be improved.
In a possible implementation manner of the first aspect, the reminding information may also be used for reminding the user to approach the first electronic device to the second electronic device, or used for reminding the user to approach the first electronic device and the second electronic device. And may be used to alert the user to approach the first electronic device and the second electronic device such that the distance between the first electronic device and the second electronic device is within the aforementioned preset distance range.
In one possible implementation of the first aspect, the second electronic device obtains, from the server, website login authorization information for website login according to the first request, including: the second electronic device sends a first response to the first electronic device according to the first request; the first electronic equipment receives the first response and sends a second request to the server according to the first response; and the server receives the second request and sends website login authorization information to the second electronic equipment according to the second request. I.e. the first electronic device directly requests the server to enable the second electronic device to obtain the website login authorization information.
In a possible implementation manner of the first aspect, the first response includes unique identification information, where the unique identification information is identification information of the second electronic device and/or identification information of a user of the second electronic device; the second request includes unique identification information.
In a possible implementation of the first aspect, the first request includes a password, where the password is used for secure processing of information transmitted between the second electronic device and the first electronic device, so as to improve information transmission security.
In a possible implementation of the first aspect, the method further includes: the second electronic equipment encrypts the unique identification information through a password and then sends the encrypted unique identification information to the first electronic equipment; and the second electronic equipment encrypts the website login authorization information through the password and then sends the website login authorization information to the first electronic equipment.
The security of website login between the first electronic device and the second electronic device can be improved by transmitting the unique identification information and the website login authorization information through password encryption.
In a possible implementation manner of the first aspect, the unique identification information is an international mobile subscriber identification number, and the website login authorization information is a verification code.
In a possible implementation manner of the first aspect, the unique identification information may also be other identification information that uniquely identifies the second electronic device, for example, may be information such as a product serial number of the second electronic device. In addition, the unique identification information may also be ID information of the user of the second electronic device, for example, identification card number information of the user bound to the international mobile subscriber identification number of the second electronic device, or an application account number, etc.
In one possible implementation of the first aspect, the second electronic device obtains, from the server, website login authorization information for website login according to the first request, including: the second electronic equipment sends a second request to the server according to the first request; and the server receives the second request and sends website login authorization information to the second electronic equipment according to the second request. I.e. the second electronic device directly requests the server to obtain the website login authorization information.
In one possible implementation of the first aspect, the first request includes application identification information corresponding to a website, and the website login authorization information is token information; the second electronic device sending a second request to the server according to the first request, including: the second electronic equipment determines an application according to the application identification information; the second electronic device sends a second request to the server through the application, the second request including application identification information. That is, the second electronic device may send the second request to the server through an application in the second electronic device that corresponds to the website.
In a possible implementation of the first aspect, the first request further includes a password, where the password is used for secure processing of information transmitted between the second electronic device and the first electronic device, so as to improve information transmission security.
In a possible implementation of the first aspect, the method further includes: the second electronic device encrypts the token information through the password and sends the encrypted token information to the first electronic device.
The security of website login between the first electronic device and the second electronic device can be improved through the password encryption transmission token information.
In a possible implementation manner of the first aspect, if the first electronic device receives a first operation on the website login interface, the method further includes: the first electronic device establishes an ultra-short distance communication connection with the second electronic device.
The ultra-short distance communication connection may be an ultra-short distance communication connection established by the first electronic device and the second electronic device through ultra-short distance antennas preset in the first electronic device and the second electronic device and through a close range induction technology. The predetermined distance may be, for example, 0cm to 20cm, such as 2cm, 4cm, 5.5cm, 10cm, 15cm, 20cm, etc. Or may be 0m to 1m, for example 0m, 0.1m, 0.5m, 0..75m, 1m, etc. Of course, the distance range may be other values.
Through the ultra-short distance communication connection, information transmission between the mobile phone 100 and the PC200 can be realized rapidly, website login time is reduced, and website login efficiency is improved.
In a possible implementation of the first aspect, the first electronic device is a personal computer, such as a desktop computer, a notebook computer, etc.; the second electronic device is a mobile terminal, such as a mobile phone. The aforementioned international mobile subscriber identification number may be referred to as a cell phone number or a cell phone number.
In a second aspect, embodiments of the present application provide a website login method, which is applied to a first electronic device, and the method includes: the method comprises the steps that first electronic equipment accesses a website and a website login interface of the website is displayed on the first electronic equipment; if the first electronic device receives a first operation on the website login interface and detects the second electronic device within a preset distance range, the first electronic device sends a first request to the second electronic device which is in communication connection with the first electronic device, so that the second electronic device obtains website login authorization information for website login from a server according to the first request; the first electronic equipment receives website login authorization information sent by the second electronic equipment, and accesses the server to log in according to the website login authorization information.
After the first electronic device and the second electronic device are in communication connection, the first electronic device can acquire website login authorization information from the second electronic device to automatically complete website login, so that a user can not perform other operations such as manual input of a mobile phone number, a user name, a password and the like, and the user does not need to use the second electronic device to perform operations such as two-dimension code scanning operation and the like to operate the second electronic device. The website login can be realized more conveniently and rapidly, the website login efficiency is effectively improved, and the user experience is improved.
In one possible implementation of the second aspect, if the first electronic device receives a first operation on the website login interface, the method further includes: the first electronic device displays reminding information, and the reminding information is used for reminding a user to enable the second electronic device to be close to the first electronic device.
The user can conveniently learn the next operation through the reminding information, and the user only needs to approach the second electronic equipment to the first electronic equipment according to the reminding information, and the first electronic equipment can acquire website login authorization information to automatically complete website login, so that the use experience of the user can be improved.
In a third aspect, embodiments of the present application provide a website login method, applied to a second electronic device, where the method includes: the second electronic equipment receives a first request sent by the first electronic equipment, and acquires website login authorization information for website login from a server according to the first request; the first request is a request sent by the first electronic device to the second electronic device which establishes communication connection with the first electronic device, if the first electronic device receives a first operation on the website login interface and the first electronic device detects the second electronic device within a preset distance range; and the second electronic equipment sends the website login authorization information to the first electronic equipment so that the first electronic equipment accesses the server to log in the website according to the website login authorization information.
After the first electronic device and the second electronic device are in communication connection, the first electronic device can acquire website login authorization information from the second electronic device to automatically complete website login, and the first electronic device can complete website login, so that a user can not input other operations such as mobile phone numbers, user names, passwords and the like manually, and the user does not need to use the second electronic device to perform operations such as two-dimensional code scanning operations and the like. The website login can be realized more conveniently and rapidly, the website login efficiency is effectively improved, and the user experience is improved.
In a fourth aspect, embodiments of the present application provide a communication system including a first electronic device, a second electronic device, and a server, where the method includes: the first electronic equipment is used for accessing a website and displaying a website login interface of the website on the first electronic equipment; if the first electronic device receives a first operation on the website login interface and detects the second electronic device within a preset distance range, the first electronic device sends a first request to the second electronic device which establishes communication connection with the first electronic device; the second electronic equipment is used for receiving the first request and acquiring website login authorization information for website login from the server according to the first request; the second electronic device is further used for sending website login authorization information to the first electronic device; the first electronic equipment is also used for receiving website login authorization information and accessing the server to log in according to the website login authorization information.
The communication system provided by the application comprises the electronic device and the server for executing the website login method provided by the first aspect and/or any one of possible implementation manners of the first aspect, so that the beneficial effects (or advantages) of the website login method provided by the first aspect can be achieved.
In a fifth aspect, embodiments of the present application provide an electronic device, including: a memory for storing a computer program, the computer program comprising program instructions; and a control unit, configured to execute program instructions to cause the electronic device to perform the website login method as provided by the first aspect and/or any one of the possible implementation manners of the first aspect, or the website login method as provided by the second aspect and/or any one of the possible implementation manners of the second aspect, or the website login method as provided by the third aspect and/or any one of the possible implementation manners of the third aspect.
In a sixth aspect, an embodiment of the present application provides a computer readable storage medium, where the computer readable storage medium stores a computer program, where the computer program includes program instructions that are executed by a computer to cause the computer to perform a website logging method as provided by any one of the possible implementations of the first aspect and/or the first aspect, or a website logging method as provided by any one of the possible implementations of the second aspect and/or the second aspect, or a website logging method as provided by any one of the possible implementations of the third aspect and/or the third aspect.
It will be appreciated that the advantages of the second to sixth aspects may be found in the relevant description of the first aspect, and are not described here again.
Drawings
In order to more clearly illustrate the technical solutions of the present application, the following description will briefly explain the drawings used in the description of the embodiments.
FIG. 1 is a schematic diagram illustrating a communication system in accordance with some embodiments of the present application;
FIGS. 2A-2I are schematic interface diagrams of a PC200 and a cell phone 100 for website login in some prior art embodiments according to the present application;
fig. 3A is a schematic diagram illustrating the structure of a mobile phone 100 according to some embodiments of the present application;
FIG. 3B is a schematic diagram illustrating the structure of a PC200 of the present application, according to some embodiments of the present application;
FIGS. 4A-4F are interface diagrams of a PC200 and a cell phone 100 for website login in the present application, according to some embodiments of the present application;
FIG. 5 is a flowchart illustrating a website login method provided herein, according to some embodiments of the present application;
FIG. 6 is a flowchart illustrating another website login method provided herein, according to some embodiments of the present application;
Fig. 7 is a schematic block diagram illustrating a PC200 of the mobile phone 100 according to some embodiments of the present application;
FIG. 8 is a schematic diagram illustrating the structure of an electronic device, according to some embodiments of the present application;
fig. 9 is a schematic diagram illustrating the architecture of a system on a chip (SoC) according to some embodiments of the present application.
Detailed Description
The technical solutions of the present application will be further clearly and completely described below with reference to the accompanying drawings.
Referring to fig. 1, the present application provides a communication system including a mobile phone 100, a PC200, and a server (or may also be referred to as a cloud) 300. Communication connection can be established and communication can be performed among the mobile phone 100, the PC200 and the server 300. A user will typically use PC200 to access a website, i.e., server 300, many of which require a website login party to be available. In one implementation of the present application, PC200 may be a desktop computer. The manner in which PC200 currently performs website login includes the following 3 types.
First, login is carried out by means of account numbers and passwords.
Referring to fig. 2a, the pc200 accesses a website and displays a website login interface, which defaults to an interface corresponding to the "password login" mode. The user needs to move the mouse to click and select the 'mobile phone number or mailbox' input box serving as the account input box, and the mobile phone number or mailbox serving as the account is input in the 'mobile phone number or mailbox' input box. The user then moves the mouse to click on the "password" input box, and inputs a password in the "password" input box, so that the PC200 displays a display interface as shown in fig. 2B. Finally, as shown in FIG. 2B, the user moves the mouse to click on the "login" control. After detecting the account number and the password input by the user and detecting the click operation of the "login" control by the user, the PC200 accesses the server 300 through the account number and the password input by the user to perform website login.
The method requires the user to input the account number and the password, the user needs to move the mouse to click and input for multiple times to finish website login, the problem of complex operation exists, inconvenience is caused to the use of the user, and the use experience of the user is affected. In addition, if the user forgets the account number and the password, the account number and the password are needed to be retrieved, so that the use experience of the user is greatly affected.
And secondly, password login is avoided by means of an account number and an authentication code.
PC200 typically defaults to displaying a website login interface corresponding to the "password login" mode shown in fig. 2A, and the user may move the mouse to click to select the "password-free login" control, and switch to the "password-free login" mode. If the PC200 receives the click operation of the "password-free login" control by the user, the PC200 displays a website login interface as shown in fig. 2C, where the website login interface is an interface corresponding to the "password-free login" mode. Then, the user moves the mouse to click on the "phone number" input box, and inputs the phone number (or called the phone number) in the "phone number" input box, and the PC200 displays the display interface as shown in fig. 2D. Then, the user moves the mouse to click on the "acquire short message verification code" control, and after receiving the click operation of the "acquire short message verification code" control by the user, the PC200 sends a short message verification code acquisition request to the server 300. After receiving the verification code acquisition request, the PC200 sends a short message verification code to the mobile phone 100. Then, the user wakes up the mobile phone 100 (not shown in the wake-up process diagram), checks the short message authentication code on the mobile phone 100 as shown in fig. 2E, clicks the select "authentication code" input box, and inputs the short message authentication code in the "authentication code" input box. The PC200 displays a display interface as shown in fig. 2E. Finally, as shown in FIG. 2E, the user moves the mouse to click on the "register/login" control. After detecting the mobile phone number and the short message verification code input by the user and detecting the click operation of the user on the registration/login control, the PC200 performs website login through the mobile phone number and the verification code input by the user.
The mode needs the user to input the mobile phone number and the short message verification code, the user needs to move the mouse to click and input for multiple times to finish website login, the problem of complex operation exists, inconvenience is caused to the use of the user, and the use experience of the user is affected. And the user needs to check the short message verification code on the mobile phone 100, which is inconvenient to use.
Thirdly, the two-dimension code is scanned for registration.
Referring to fig. 2a, the website login interface displayed by the pc200 further includes a "social account login" manner. The user moves the mouse to click and select one of the social applications (for example, application 1) corresponding to the social account login mode, and if the PC200 detects the click operation of the user on the application 1, the PC200 displays the two-dimensional code as shown in fig. 2F. Then, as shown in fig. 2F, the user first opens the scanning application (i.e., the two-dimensional code scanning application) in the mobile phone 100 using the mobile phone 100, so that the mobile phone 100 displays the mobile phone 100 interface shown in fig. 2G. If the mobile phone 100 detects the click operation of the "sweep" control by the user, the mobile phone 100 displays a display interface as shown in fig. 2H, so that the user performs the authorization operation of the scanning application to allow the application 1 to perform the two-dimensional code scanning. If the mobile phone 100 detects a click operation of the "agree" control by the user, the mobile phone 100 displays a two-dimensional code scan interface as shown in fig. 2I. The user scans the two-dimensional code displayed by the PC200 through the mobile phone 100 and performs an authorization operation to perform website login authorization.
The user can complete website login by clicking, scanning and other operations for many times, the operation is complex, the use of the user is inconvenient, and the use experience of the user is affected.
The application provides a website login method, wherein a PC200 accesses a website and displays a website login interface, and if the PC200 detects a first operation on the website login interface, the first operation may be, for example, a single click operation or a double click operation on the website login interface by a user, or a single click operation on a website login control, etc., the PC200 displays reminding information for reminding the user to bring a mobile phone 100 close to the PC 200. If the PC200 detects that the mobile phone 100 is detected within the preset distance range through the device discovery, the PC200 establishes an ultra-short distance communication connection with the mobile phone 100. Then, the PC200 transmits a first request to the mobile phone 100 so that the mobile phone 100 acquires website login authorization information for website login, which may be information such as a verification code (or may also be referred to as a short message verification code), a Token, or the like, from the server 300 according to the first request. The mobile phone 100 transmits the website login authorization information to the PC200, and the PC200 accesses the server 300 according to the received website login authorization information to achieve website login. The method can realize the direct automatic authentication and authorization of website login among the PC200, the mobile phone 100 and the server 300, can realize the website login more conveniently and rapidly, effectively improves the website login efficiency and improves the user experience.
The ultra-short distance communication connection may be a short distance communication connection established through a short distance induction technology through ultra-short distance communication antennas preset in the mobile phone 100 and the PC 200. Through the ultra-short distance communication connection, information transmission between the mobile phone 100 and the PC200 can be realized rapidly, website login time is reduced, and website login efficiency is improved.
In this implementation, the preset distance range may be, for example, 0m to 1m, such as 0m, 0.1m, 0.5m, 0..75m, 1m, etc. The predetermined distance may be, for example, 0cm to 20cm, such as 2cm, 4cm, 5.5cm, 10cm, 15cm, 20cm, etc. The values of the preset distance ranges may be different based on the differences in the technology of the ultra short range communication connection. Of course, the distance range may be set to other values in view of communication security, communication efficiency, and the like.
In this implementation manner, the user only needs to approach the mobile phone 100 to the PC200 according to the reminding information, and the PC200 can acquire the website login authorization information to complete website login, so that the user can not perform other operations such as inputting the mobile phone number, the user name, the password and the like manually, and does not need to perform operations such as two-dimensional code scanning operation and the like by using the mobile phone 100. The website login can be realized more conveniently and rapidly, the website login efficiency is effectively improved, and the user experience is improved.
Referring to fig. 3A, fig. 3A shows a schematic structural diagram of the mobile phone 100 in an implementation of the present application.
The handset 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) connector 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identity module (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It should be understood that the structure illustrated in the embodiments of the present invention is not limited to the specific embodiment of the mobile phone 100. In other embodiments of the present application, the handset 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components may be provided. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The processor 110 may generate operation control signals according to the instruction operation code and the timing signals to complete instruction fetching and instruction execution control.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
The wireless communication function of the mobile phone 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc. applied to the handset 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2. The wireless communication module 160 may also provide a solution for ultra-short range communication applied on the handset 100, such as providing an antenna (which may be a dual antenna structure) for supporting ultra-short range communication.
The mobile phone 100 implements display functions through a GPU, a display 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like.
The internal memory 121 may be used to store computer executable program code including instructions. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data (e.g., audio data, phonebook, etc.) created during use of the handset 100, etc. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like. The processor 110 performs various functional applications and data processing of the mobile phone 100 by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
Referring to fig. 3B, fig. 3B shows a schematic configuration of the PC 200.
PC200 may include a processor 210, a communication module 220, an audio module 230, a display 240, a power module 250, and an internal memory 260.
Processor 210 may include, among other things, one or more processing units, such as: processor 210 may include an application processor (application processor, AP), modem processor, graphics processor (graphics processing unit, GPU), image signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors. The processor can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 210 for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. The memory may hold instructions or data that the processor 210 has just used or recycled. If the processor 210 needs to reuse the instruction or data, it may be called directly from the memory. Repeated accesses are avoided and the latency of the processor 210 is reduced, thereby improving the efficiency of the system.
The communication module 220 may provide a solution for wireless communication including WLAN (Wi-Fi), BT, etc. applied on the PC 200. The communication module 220 may also provide a solution for ultra short range communication applied on the PC200, for example providing an antenna (which may be a dual antenna structure) for supporting ultra short range communication.
PC200 implements display functions through a GPU, display screen 240, and application processor, etc. The GPU is a microprocessor for image processing, and is connected to the display screen 240 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 210 may include one or more GPUs that execute program instructions to generate or change display information.
The PC200 may implement audio functions through an audio module 230, an application processor, and the like. Such as video play, music play, etc.
The PC200 may be self powered by the power module 250.
Internal memory 260 may be used to store computer-executable program code that includes instructions. The internal memory 260 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the PC200 (such as video data), and the like. In addition, the internal memory 260 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like. Processor 210 performs various functional applications and data processing of PC200 by executing instructions stored in internal memory 260 and/or instructions stored in a memory provided in the processor.
It is to be understood that the configuration illustrated in the embodiment of the present application does not constitute a specific limitation to the PC200. In other embodiments of the present application, PC200 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Referring to fig. 4A, in an implementation manner of the present application, PC200 accesses a website to display a website login interface, which may be a login interface corresponding to application a, for example, a video playing application. The website login interface includes a "cell phone login" control 201. If the PC200 detects a click operation of the "phone login" control 201 by the user, the PC200 considers that the first operation of the website login interface by the user is received, and the PC200 displays a display interface as shown in fig. 4B. The display interface includes a reminder 202 "please bring the handset 100 closer to the PC200". The user may hold the mobile phone 100 close to the PC200. If the PC200 detects that the mobile phone 100 is detected within the preset distance range through the device discovery, the PC200 establishes an ultra-short distance communication connection with the mobile phone 100.
In this implementation, the preset distance range may be, for example, 0m to 1m, such as 0m, 0.1m, 0.5m, 0..75m, 1m, etc. The values of the preset distance ranges may be different based on the differences in the technology of the ultra short range communication connection. Of course, the distance range may be set to other values in view of communication security, communication efficiency, and the like.
Then, the PC200 transmits a request for acquiring authorization (as an example of the first request) to the mobile phone 100, so that the mobile phone 100 acquires website login authorization information, which may be information of a verification code, a token, or the like, from the server 300 according to the first request. The mobile phone 100 transmits the website registration authorization information transmitted from the server 300 to the PC200. The PC200 accesses the server 300 according to the received website login authorization information to perform operations such as website login authorization verification to achieve website login. After the login of the PC200 is successful, for example, a display interface as shown in fig. 4C, that is, an interface after the login of the application is successful may be displayed. For example, the interface of PC200 displays a specific video category such as movies, television shows, cartoons, children follow-up documentaries, and video contents in application a.
Referring to fig. 4D, in another implementation of the present application, after the mobile phone 100 receives the first request sent by the PC200, the mobile phone 100 displays a reminder 101 "please confirm whether to authorize the PC200 to log in the website". If the mobile phone 100 detects the click operation of the "confirm" control by the user, the mobile phone 100 performs the operation of obtaining the website login authorization information from the server 300 according to the first request, and displays the display interface shown in fig. 4C after successfully logging in the website. If the mobile phone 100 detects a click operation of the "cancel" control by the user, the mobile phone 100 does not perform an operation of acquiring the website login authorization information from the server 300 according to the first request. And the mobile phone 100 may transmit notification information rejecting website login to the PC200, so that the PC200 displays reminder information according to the notification information to remind the user to log in the website through other manners.
Referring to fig. 4E, in another implementation of the present application, the login interface of PC200 includes a "password-free login" control, a "password login" control, and a "phone login" control 201. And PC200 defaults to displaying an interface for the "password login" mode pair. If the PC200 receives a click operation of the user on the "phone login" control by the mouse, the PC200 switches to display the display interface as shown in fig. 4F. That is, PC200 displays reminder 202 "please bring handset 100 closer to PC200". The user may hold the mobile phone 100 close to the PC200. If the PC200 detects that the mobile phone 100 is detected within the preset distance range through the device discovery, the PC200 establishes an ultra-short distance communication connection with the mobile phone 100. And the display interface shown in fig. 4C is displayed after the website login verification and authorization are automatically and directly performed among the PC200, the mobile phone 100 and the server 300.
In this implementation manner, the user only needs to approach the mobile phone 100 to the PC200 according to the reminding information 202, and the PC200 can complete website login, so that the user can not perform other operations such as manual input of a mobile phone number, a user name, a password, and the like, and does not need to perform operations such as two-dimensional code scanning operation by using the mobile phone 100. The website login can be realized more conveniently and rapidly, the website login efficiency is effectively improved, and the user experience is improved.
In other implementations of the present application, if the PC200 detects a double click operation or a single click operation of the user on the website login interface, or the PC200 detects a click operation of the user on another control on the website login interface, the PC200 considers that the first operation of the user on the website login interface is received, and sends a first request to the mobile phone 100, so that the mobile phone 100 performs the website login authorization operation described above.
In one implementation of the present application, the authentication code (or called short message authentication code) is used as website login authorization information between the PC200, the mobile phone 100 and the server 300 for website login. Referring to fig. 5, the website login method provided by the present implementation manner includes the following steps:
s101, the PC200 receives the operation of selecting the mobile phone 100 to perform the website login authorization by the user, and performs the device discovery.
If the PC200 detects the clicking operation of the "mobile phone login" control 201 shown in fig. 4A or fig. 4E by the user, the PC200 confirms that the operation of selecting the mobile phone 100 to perform the website login authorization is received, that is, the PC200 confirms that the first operation of the website login interface by the user is received, and the PC200 performs the device discovery.
The detection of the approach motion of the PC200 and the mobile phone 100 by the PC200 may be implemented by the ultra short range sensing technology.
In addition, the PC200 may also display the above-mentioned reminding information 202 to remind the user to bring the mobile phone 100 close to the PC200 or bring the PC200 close to the mobile phone 100, i.e. bring the mobile phone 100 and the PC200 close.
S102, the PC200 establishes an ultra-short range communication connection with the mobile phone 100, and the PC200 sends a first request to the mobile phone 100 by sending the first request to include a password (or may also become a password key) based on the ultra-short range communication connection. I.e., the PC200 transmits a password to the mobile phone 100 for requesting the mobile phone 100 to transmit a mobile phone number (or may also be referred to as a mobile phone number).
If the PC200 detects the mobile phone 100 within the foregoing predetermined distance range, the PC200 establishes an ultra-short distance communication connection with the mobile phone 100.
The handset number may also be referred to as an international mobile subscriber identity (International Mobile Subscriber Identity, IMSI).
In other implementations of the present application, the mobile phone number may also be identification information that uniquely identifies the mobile phone 100, for example, may be information such as a product serial number of the mobile phone 100. In addition, the mobile phone number may also be ID information of the user of the mobile phone 100, such as identification card number information of the user bound to the mobile phone number, or an application account number, etc.
S103, after receiving the first request, the mobile phone 100 stores the password. Then S104 is performed.
S104, the mobile phone 100 sends a first response to the PC200 according to the first request, wherein the first response comprises the mobile phone number of the mobile phone 100 after the password encryption. I.e. the handset 100 encrypts the transmission handset number to the PC200.
S105, the PC200 receives the first response, and sends a second request to the server 300 according to the first response, where the second request includes the phone number of the phone 100, and is used to request to obtain the verification code.
S106, the server 300 receives the second request, and sends the verification code to the mobile phone 100 according to the second request, so as to issue the verification code to the mobile phone 100.
After receiving the mobile phone number, the server 300 randomly generates a verification code and sends the verification code to the mobile phone 100. In this embodiment, the authentication code is taken as an example of website login authorization information.
S107, the mobile phone 100 encrypts the verification code by using the password, and transmits the encrypted verification code to the PC200.
S108, the PC200 receives the encrypted verification code and decrypts the verification code to obtain the verification code. Then, the PC200 accesses the server 300 using the authentication code to perform operations such as website login authentication or website login authentication, and completes website login, i.e., logs in to the server 300.
According to the website login method provided by the implementation mode, a user only needs to approach the mobile phone 100 to the PC200 according to the reminding information 202, the mobile phone 100 can automatically acquire the verification code from the server 300 and send the verification code to the PC200, so that the PC200 can conveniently and automatically complete website login according to the verification code. The user can not perform other operations such as manually inputting a mobile phone number, a user name, a password, etc., nor does the user need to perform two-dimensional code scanning operation using the mobile phone 100, etc., nor does the user need to unlock the mobile phone 100. The website login can be realized more conveniently and rapidly, the website login efficiency is effectively improved, and the user experience is improved.
In another implementation of the present application, the token information is used as website login authorization information to perform website login among the PC200, the mobile phone 100 and the server 300. Referring to fig. 6, the website login method provided by the present implementation manner includes the following steps:
s201, the PC200 receives the operation of selecting the mobile phone 100 to perform the website login authorization by the user, and performs the device discovery.
If the PC200 detects the clicking operation of the "mobile phone login" control 201 shown in fig. 4A or fig. 4E by the user, the PC200 confirms that the operation of selecting the mobile phone 100 to perform the website login authorization is received, that is, the PC200 confirms that the first operation of the website login interface by the user is received, and the PC200 performs the device discovery.
The detection of the approach motion of the PC200 and the mobile phone 100 by the PC200 may be implemented by the ultra short range sensing technology.
In addition, the PC200 may also display the above-mentioned reminding information 202 to remind the user to bring the mobile phone 100 close to the PC200 or bring the PC200 close to the mobile phone 100, i.e. bring the mobile phone 100 and the PC200 close.
S202, the PC200 establishes an ultra short range communication connection with the mobile phone 100, and the PC200 transmits a first request to the mobile phone 100 based on the ultra short range communication. The first request includes a password (or may also be a password key) and the aforementioned application identification information of the application a (or may also be referred to as application identification information (Identity document, ID)) for requesting the mobile phone 100 to initiate website login authorization.
If the PC200 detects the mobile phone 100 within the foregoing preset distance range, the PC200 establishes an ultrashort-distance alert connection with the mobile phone 100.
S203, after receiving the first request, the mobile phone 100 stores the password. And performs S204.
S204, the mobile phone 100 determines the application a according to the first request, and sends a second request to the server 300 through the application a, where the second request includes application identification information of the application a, so that the mobile phone 100 requests the token from the server proxy through the application a proxy PC200.
The token is a string of characters generated by the server 300 to serve as authentication information requested by the mobile phone 100. The server 300 generates a token and sends the token to the PC200 via the handset 100. The PC200 then needs to carry the token to authenticate to the server 300 (i.e. perform website login) and request data, without carrying information such as a user name and a password.
S205, the server 300 determines a corresponding token according to the application identification information of the application a, and issues the token to the mobile phone 100. In this embodiment, the token is taken as an example of website login authorization information.
S206, after receiving the token, the mobile phone 100 encrypts the token using the password, and sends the encrypted token to the PC200.
S207, the PC200 receives the encrypted token and decrypts it to obtain the token. Then, the PC200 accesses the server 300 using the token to perform operations such as website login authentication or website login authentication, and completes website login.
According to the website login method provided by the implementation mode, a user only needs to approach the mobile phone 100 to the PC200 according to the reminding information 202, the mobile phone 100 can acquire the token from the server 300 and send the token to the PC200 through the ultra-short distance communication connection, so that the PC200 can conveniently complete website login according to the token. The user can not perform other operations such as manual input of a mobile phone number, a user name, a password, and the like, nor does the user need to perform operations such as two-dimensional code scanning operation by using the mobile phone 100. The website login can be realized more conveniently and rapidly, the website login efficiency is effectively improved, and the user experience is improved.
Referring to fig. 7, in the present application, the PC200 includes a first application and a first communication module, and the mobile phone 100 includes a second application and a second communication module. The first application and the second application are applications related to performing website login authorization (for example, application a described above), the first communication module may be the wireless communication module 160 described above, and the second communication module may be the communication module 220 described above. The first communication module and the second communication module comprise a basic antenna and an ultra-short distance antenna, wherein the basic antenna is used for realizing wireless communication connection such as WALN and the like, for example, realizing that the PC200 accesses the server 300, or the mobile phone 100 accesses the server 300; the ultra short range antenna is used to establish an ultra short range communication connection between PC200 and handset 100. And the first application or an application layer (not shown) of the PC200 may control the use of the basic antenna and the ultra short range antenna in the first communication module, and the second application or an application layer (not shown) of the mobile phone 100 may control the use of the basic antenna and the ultra short range antenna in the second communication module. The ultra-short range antenna may be a dual antenna structure.
In one implementation manner of the present application, the PC200 receives, through a first application, an operation that a user selects the mobile phone 100 to perform website login authorization, and sends first notification information to the first communication module, so that the first communication module performs device discovery according to the first notification information, and establishes an ultrashort-range communication connection with a second communication module in the mobile phone 100 through the first communication module. Then, the first application in the PC200 transmits the first request to the second communication module in the cellular phone 100 through the first communication module. The first request includes a password for requesting acquisition of a handset number of the handset 100.
After receiving the first request, the second communication module in the mobile phone 100 sends the first request to the second application. The second application determines the mobile phone number of the mobile phone 100 according to the first request, encrypts the mobile phone number through a password, and sends the encrypted mobile phone number to the second communication module as a first response. The second communication module sends the first response to the first communication module in the PC 200.
After receiving the first response, the first communication module in the PC200 sends the first response to the first application. The first application sends a second request to the server 300 through a communication channel (e.g., a WLAN wireless network communication channel) between the PC200 and the server 300, the second request including a handset number of the handset 100 for requesting acquisition of the authentication code.
After receiving the second request, the server 300 randomly generates a verification code, sends the verification code to the mobile phone 100 as website login authorization information, and issues the verification code to the mobile phone 100.
The second application in the mobile phone 100 encrypts the verification code through the password and sends the encrypted verification code to the second communication module. And the verification code encrypted by the second communication module is sent to the first communication module.
After receiving the encrypted verification code, the first communication module in the PC200 sends the encrypted verification code to the first application. The first application obtains the authentication code and accesses the server 300 according to the authentication code to realize website login.
In another implementation manner of the present application, the PC200 receives, through the first application, an operation that the user selects the mobile phone 100 to perform website login authorization, and the PC200 performs device discovery through the first communication module and establishes an ultra-short distance communication connection with the second communication module in the mobile phone 100 through the first communication module. The first application in the PC200 sends a first request to the second communication module in the handset 100 through the first communication module. The first request includes a password and application identification information of the first application for requesting the mobile phone 100 to acquire a token.
After receiving the first request, the second communication module in the mobile phone 100 sends the first request to the second application. The second application sends a second request to the server 300 according to the first request, where the second request includes application identification information of the first application of the mobile phone 100, for obtaining the token.
After receiving the second request, the server 300 determines the token, and sends the token to the mobile phone 100 as website login authorization information, and issues the token to the mobile phone 100.
After the second application in the mobile phone 100 encrypts the token with the password, the token is sent to the second communication module. The second communication module sends the token to the first communication module in PC 200.
After the first communication module in the PC200 receives the token, the token is sent to the first application. The first application accesses the server 300 according to the token to enable website login.
In the present application, the PC200 may be a desktop computer, a notebook computer, or a tablet computer. Or PC200 may be other types of non-mobile terminal devices. The mobile phone 100 in the present application may be other types of mobile terminal devices.
Of course, in the present application, the PC200 and the mobile phone 100 may be other types of electronic devices.
In this application, the website login authorization information may be other information besides the verification code and the token, and may be selected according to needs.
In this application, the reminding information 202 may be other reminding information such as sound, text, or picture, for reminding the user to get the mobile phone 100 close to the PC200 or get the PC200 close to the mobile phone 100.
In some embodiments of the present application, the PC200 may not display the foregoing alert 202, and the user may actively approach the mobile phone 100 and the PC200.
In some embodiments of the present application, the mobile phone 100 may also establish other wireless communication connections, such as WiFi, bluetooth, etc., besides the above-mentioned ultra-short range communication connection.
The application scenario of the application is not limited to the system and scenario shown in fig. 4A-4F, and the website login interface may be an interface corresponding to the video playing application scenario of user login, or may be an interface of user login to other applications. The application a in the present implementation may be, for example, various applications such as a music playing application, a mailbox application, a social application, a payment application, and a shopping application. The website login of the electronic equipment when accessing the website can be conveniently and rapidly realized, and the user experience is improved.
In some embodiments of the present application, an electronic device is further provided, and an electronic device in an embodiment of the present application is described below with reference to fig. 8.
Fig. 8 is a schematic structural diagram of an electronic device 900 according to an embodiment of the present disclosure. For at least one embodiment, controller hub 904 communicates with processor 901 via a multi-drop bus such as a Front Side Bus (FSB), a point-to-point interface such as a Quick Path Interconnect (QPI), or similar connection. The processor 901 executes instructions that control the general type of data processing operations. In one embodiment, controller hub 904 includes, but is not limited to, a Graphics Memory Controller Hub (GMCH) (not shown) and an input/output hub (IOH) (which may be on separate chips) (not shown), where the GMCH includes memory and graphics controllers and is coupled to the IOH.
Electronic device 900 may also include a coprocessor 906 and memory 902 coupled to controller hub 904. Alternatively, one or both of the memory 902 and GMCH may be integrated within the processor 901 (as described herein), with the memory 902 and co-processor 906 being directly coupled to the processor 901 and the controller hub 904, the controller hub 904 being in a single chip with the IOH.
In one embodiment, the memory 902 may be, for example, dynamic Random Access Memory (DRAM), phase Change Memory (PCM), or a combination of both. One or more tangible, non-transitory computer-readable media for storing data and/or instructions may be included in memory 902. The computer-readable storage medium has stored therein instructions, and in particular, temporary and permanent copies of the instructions.
In one embodiment, coprocessor 906 is a special-purpose processor, such as, for example, a high-throughput MIC processor, a network or communication processor, compression engine, graphics processor, GPU, embedded processor, or the like. Optional properties of coprocessor 906 are shown in fig. 8 with dashed lines.
In one embodiment, electronic device 900 may further include a Network Interface (NIC) 903. The network interface 903 may include a transceiver to provide a radio interface for the electronic device 900 to communicate with any other suitable device (e.g., front end module, antenna, etc.). In various embodiments, the network interface 903 may be integrated with other components of the electronic device 900. The network interface 903 may implement the functions of the communication units in the above-described embodiments.
In one embodiment, as shown in FIG. 8, electronic device 900 may further include an input/output (I/O) device 905. Input/output (I/O) devices 905 may include: a user interface, the design enabling a user to interact with the electronic device 900; the design of the peripheral component interface enables the peripheral component to also interact with the electronic device 900; and/or sensors designed to determine environmental conditions and/or location information associated with the electronic device 900.
It is noted that fig. 8 is merely exemplary. That is, although fig. 8 shows that the electronic apparatus 900 includes a plurality of devices such as a processor 901, a controller hub 904, and a memory 902, in practical applications, the apparatus using the methods of the present application may include only a part of the devices of the electronic apparatus 900, for example, may include only the processor 901 and the NIC903. The nature of the alternative device is shown in dashed lines in fig. 8.
In some embodiments of the present application, the computer readable storage medium of the electronic device 900 having instructions stored therein may include: instructions that, when executed by at least one unit in a processor, cause the device to implement a collaboration method as described above between electronic devices. The instructions, when executed on the computer, cause the computer to perform the website login method described above as previously.
Referring to fig. 9, fig. 9 is a schematic structural diagram of an SoC (System on Chip) 1000 according to an embodiment of the present application. In fig. 9, similar parts have the same reference numerals. In addition, the dashed box is an optional feature of the more advanced SoC 1000. The SoC1000 may be used in any electronic device according to the present application. Corresponding functions can be implemented according to different devices and different instructions stored therein.
In fig. 9, the SoC1000 includes: an interconnect unit 1002 coupled to the processor 1001; a system agent unit 1006; a bus controller unit 1005; an integrated memory controller unit 1003; a set or one or more coprocessors 1007 which may include integrated graphics logic, image processors, audio processors, and video processors; an SRAM (static random access memory) unit 1008; a DMA (direct memory access) unit 1004. In one embodiment, coprocessor 1007 includes a special-purpose processor, such as, for example, a network or communication processor, compression engine, GPGPU, high-throughput MIC processor, embedded processor, or the like.
One or more computer-readable media for storing data and/or instructions may be included in the SRAM cell 1008. The computer-readable storage medium may have stored therein instructions, and in particular, temporary and permanent copies of the instructions. The instructions may include: execution by at least one unit in the processor causes the electronic device to implement the website login method as mentioned above.
Embodiments of the mechanisms disclosed herein may be implemented in software, hardware, firmware, or a combination of these implementations. Embodiments of the present application may be implemented as a computer program or program code executing on a programmable system comprising at least one processor, memory (or storage system including volatile and non-volatile memory and/or storage units).
It should be noted that the terms "first," "second," and the like are used merely to distinguish between descriptions and should not be construed as indicating or implying relative importance.
It should be noted that in the drawings, some structural or method features may be shown in a specific arrangement and/or order. However, it should be understood that such a particular arrangement and/or ordering may not be required. Rather, in some embodiments, these features may be arranged in a different manner and/or order than shown in the illustrative figures. Additionally, the inclusion of structural or methodological features in a particular figure is not meant to imply that such features are required in all embodiments, and in some embodiments, may not be included or may be combined with other features.
While the present application has been shown and described with respect to certain preferred embodiments thereof, it will be understood by those of ordinary skill in the art that the foregoing is a further detailed description of the present application in conjunction with the specific embodiments and is not intended to limit the practice of the present application to such descriptions. Various changes in form and detail may be made therein by those skilled in the art, including a few simple inferences or alternatives, without departing from the spirit and scope of the present application.

Claims (16)

1. A website login method, applied to a communication system including a first electronic device, a second electronic device, and a server, the method comprising:
the first electronic equipment accesses a website and displays a website login interface of the website on the first electronic equipment;
if the first electronic device receives a first operation on the website login interface, the first electronic device displays reminding information, wherein the first operation is an operation of selecting the second electronic device to perform website login authorization, and the reminding information is used for reminding a user to enable the second electronic device to be close to the first electronic device;
if the first electronic device detects the second electronic device within a preset distance range, the first electronic device establishes communication connection with the second electronic device and sends a first request to the second electronic device;
the second electronic equipment receives the first request and acquires website login authorization information for website login from the server according to the first request;
the second electronic device sends the website login authorization information to the first electronic device;
And the first electronic equipment receives the website login authorization information and accesses the server to log in according to the website login authorization information.
2. The website login method according to claim 1, wherein the second electronic device acquires website login authorization information for website login from the server according to the first request, comprising:
the second electronic equipment sends a first response to the first electronic equipment according to the first request;
the first electronic equipment receives the first response and sends a second request to the server according to the first response;
and the server receives the second request and sends the website login authorization information to the second electronic equipment according to the second request.
3. The website login method according to claim 2, wherein the first response includes unique identification information, the unique identification information being identification information of the second electronic device and/or identification information of a user of the second electronic device; the second request includes the unique identification information.
4. A method of logging onto a website as recited in claim 3, wherein the first request includes a password for secure processing of information transferred between the second electronic device and the first electronic device.
5. The website login method according to claim 4, wherein said method further comprises:
the second electronic equipment encrypts the unique identification information through the password and then sends the encrypted unique identification information to the first electronic equipment; and
and the second electronic equipment encrypts the website login authorization information through the password and then sends the encrypted website login authorization information to the first electronic equipment.
6. The website login method according to claim 5, wherein the unique identification information is an international mobile subscriber identification number and the website login authorization information is a verification code.
7. The website login method according to claim 1, wherein the second electronic device acquires website login authorization information for website login from the server according to the first request, comprising:
the second electronic equipment sends a second request to the server according to the first request;
and the server receives the second request and sends the website login authorization information to the second electronic equipment according to the second request.
8. The website login method according to claim 7, wherein the first request includes application identification information corresponding to the website, and the website login authorization information is token information;
The second electronic device sending a second request to the server according to the first request, including:
the second electronic equipment determines an application according to the application identification information;
the second electronic device sends the second request to the server through the application, wherein the second request comprises the application identification information.
9. The website login method as recited in claim 8, wherein said first request further comprises a password, said method further comprising: and the second electronic equipment encrypts the token information through the password and then sends the encrypted token information to the first electronic equipment.
10. The website login method according to any one of claims 1 to 9, wherein if a first electronic device receives the first operation on the website login interface, the method further comprises:
and the first electronic equipment and the second electronic equipment are connected in an ultra-short distance communication way.
11. The website login method according to any one of claims 1 to 9, wherein the first electronic device is a personal computer and the second electronic device is a mobile terminal.
12. A website login method, applied to a first electronic device, the method comprising:
The first electronic equipment accesses a website and displays a website login interface of the website on the first electronic equipment;
if the first electronic device receives a first operation on the website login interface, the first electronic device displays reminding information, wherein the first operation is an operation of selecting a second electronic device to perform website login authorization, and the reminding information is used for reminding a user to enable the second electronic device to be close to the first electronic device;
if the first electronic device detects the second electronic device within a preset distance range, the first electronic device establishes communication connection with the second electronic device, and sends a first request to the second electronic device, so that the second electronic device obtains website login authorization information for website login from a server according to the first request;
the first electronic equipment receives the website login authorization information sent by the second electronic equipment, and accesses the server to log in according to the website login authorization information.
13. A website login method, applied to a second electronic device, the method comprising:
The second electronic equipment receives a first request sent by the first electronic equipment and acquires website login authorization information for website login from a server according to the first request; the first request is a request that the first electronic device accesses a website and displays a website login interface of the website on the first electronic device, if the first electronic device receives a first operation on the website login interface, the first electronic device displays reminding information, if the first electronic device detects the second electronic device within a preset distance range, the first electronic device establishes communication connection with the second electronic device and sends the request to the second electronic device, the first operation is an operation of selecting the second electronic device to perform website login authorization, and the reminding information is used for reminding a user to enable the second electronic device to be close to the first electronic device;
and the second electronic equipment sends the website login authorization information to the first electronic equipment so that the first electronic equipment accesses the server according to the website login authorization information to perform website login.
14. A communication system is characterized by comprising a first electronic device, a second electronic device and a server,
the first electronic equipment is used for accessing a website and displaying a website login interface of the website on the first electronic equipment; if the first electronic device receives a first operation on the website login interface, the first electronic device displays reminding information, wherein the first operation is an operation of selecting the second electronic device to perform website login authorization, and the reminding information is used for reminding a user to enable the second electronic device to be close to the first electronic device; if the first electronic device detects the second electronic device within a preset distance range, the first electronic device establishes communication connection with the second electronic device and sends a first request to the second electronic device;
the second electronic equipment is used for receiving the first request and acquiring website login authorization information for website login from the server according to the first request;
the second electronic device is further configured to send the website login authorization information to the first electronic device;
the first electronic equipment is also used for receiving the website login authorization information and accessing the server to log in according to the website login authorization information.
15. An electronic device, comprising:
a memory for storing a computer program, the computer program comprising program instructions;
control means for executing the program instructions to cause the electronic device to perform the website login method according to any one of claims 1 to 11, or to cause the electronic device to perform the website login method according to claim 12, or to cause the electronic device to perform the website login method according to claim 13.
16. A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program comprising program instructions that are executed by a computer to cause the computer to perform the website login method of any one of claims 1 to 11, or to cause the computer to perform the website login method of claim 12, or to cause the computer to perform the website login method of claim 13.
CN202110053442.2A 2021-01-15 2021-01-15 Website login method, communication system and electronic equipment Active CN114844657B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110053442.2A CN114844657B (en) 2021-01-15 2021-01-15 Website login method, communication system and electronic equipment
PCT/CN2021/142338 WO2022151974A1 (en) 2021-01-15 2021-12-29 Website login method, communication system and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110053442.2A CN114844657B (en) 2021-01-15 2021-01-15 Website login method, communication system and electronic equipment

Publications (2)

Publication Number Publication Date
CN114844657A CN114844657A (en) 2022-08-02
CN114844657B true CN114844657B (en) 2023-06-27

Family

ID=82446901

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110053442.2A Active CN114844657B (en) 2021-01-15 2021-01-15 Website login method, communication system and electronic equipment

Country Status (2)

Country Link
CN (1) CN114844657B (en)
WO (1) WO2022151974A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115080941B (en) * 2022-08-19 2023-04-28 荣耀终端有限公司 Account login method and electronic equipment
CN115426182B (en) * 2022-09-01 2024-04-30 中国联合网络通信集团有限公司 Information retrieving method and device and electronic equipment
CN115426179B (en) * 2022-09-01 2024-05-03 中国联合网络通信集团有限公司 Information retrieving method and device and electronic equipment
CN116702100B (en) * 2022-10-21 2024-04-16 荣耀终端有限公司 Authority management method and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104346161A (en) * 2013-08-09 2015-02-11 联想(北京)有限公司 Information processing method and electronic equipment
CN105873106A (en) * 2016-04-29 2016-08-17 北京小米移动软件有限公司 Processing method and device for wireless network connection and equipment

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9438575B2 (en) * 2011-12-22 2016-09-06 Paypal, Inc. Smart phone login using QR code
US9363251B2 (en) * 2013-10-01 2016-06-07 Google Technology Holdings LLC Systems and methods for credential management between electronic devices
CN106295271A (en) * 2015-06-29 2017-01-04 阿里巴巴集团控股有限公司 Account automatic logging method, device and related system
CN107359996B (en) * 2016-05-09 2020-05-05 阿里巴巴集团控股有限公司 Automatic login method and device among multiple network stations
CN106453372B (en) * 2016-11-03 2019-10-25 努比亚技术有限公司 A kind of terminal, server and account logon method
CN107682358A (en) * 2017-10-31 2018-02-09 珠海市魅族科技有限公司 Using login method, device, computer installation and computer-readable recording medium
CN108833448A (en) * 2018-08-02 2018-11-16 中国科学院信息工程研究所 A kind of Windows login method for supporting mobile phone terminal safety certification
EP3820077A4 (en) * 2018-09-03 2021-06-09 Huawei Technologies Co., Ltd. Login method, token sending method, and device
CN111625810B (en) * 2020-05-28 2023-09-05 百度在线网络技术(北京)有限公司 Equipment login method, equipment and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104346161A (en) * 2013-08-09 2015-02-11 联想(北京)有限公司 Information processing method and electronic equipment
CN105873106A (en) * 2016-04-29 2016-08-17 北京小米移动软件有限公司 Processing method and device for wireless network connection and equipment

Also Published As

Publication number Publication date
CN114844657A (en) 2022-08-02
WO2022151974A1 (en) 2022-07-21

Similar Documents

Publication Publication Date Title
CN114844657B (en) Website login method, communication system and electronic equipment
US20210243603A1 (en) Wireless network access method, apparatus, device, equipment and system
KR100800733B1 (en) Bluetooth system and bluetooth bonding process method
US9635018B2 (en) User identity verification method and system, password protection apparatus and storage medium
JP2013535860A (en) Indirect device communication
EP3401864A1 (en) Method for selecting transaction application, and terminal
KR102279422B1 (en) Wi-Fi hotspot connection method and terminal
CN107071775B (en) Mobile terminal and method and device for redirecting access to base station
US20150172925A1 (en) Method and Apparatus for Wireless Network Access Parameter Sharing
US20150085848A1 (en) Method and Apparatus for Controlling Wireless Network Access Parameter Sharing
CN108288154B (en) Starting method and device of payment application program and mobile terminal
JP2009135688A (en) Authentication method, authentication system, and on-vehicle device
CN104954126B (en) Sensitive operation verification method, device and system
CN113132091B (en) Method for sharing equipment and electronic equipment
CN108769992B (en) User authentication method, device, terminal and storage medium
WO2015103886A1 (en) Numerical value transferring method, terminal, server, and system
CN107911818B (en) Method and device for data transmission between mobile terminals and mobile terminal
CN110365501A (en) The method and device that processing is added in group is carried out based on graphic code
CN109600340B (en) Operation authorization method, device, terminal and server
KR20090063459A (en) Authentication method using short-range communication and terminal and system using the same
US20230098097A1 (en) Cross platform credential sharing
CN108616873B (en) Data transmission method, information transmission method, device, mobile equipment and storage medium
CN110992014A (en) Payment method and electronic equipment
CN106559850B (en) Network access switching method and device
CN111090894B (en) Method and device for reconstructing data of lock card

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