Disclosure of Invention
In view of the above, the present invention has been made to provide a method and a corresponding system for logging in by borrowing another person's account, which overcome or at least partially solve the above-mentioned problems.
According to one aspect of the invention, a method for realizing login by borrowing an account of another person is provided, which comprises the following steps:
according to the account borrowing request of the borrower, the borrower browser sends the temporary password input by the borrower to the account borrowing management server;
the method comprises the steps that a borrower browser receives a first account authentication cache file corresponding to a temporary password returned by an account borrowing management server and stores the first account authentication cache file at a specified position, wherein the first account authentication cache file contains first account authentication cache information required by a borrowed party to log in a specified application website;
and according to the first account authentication cache file stored in the appointed position, the borrower browser logs in to the server of the appointed application website by using the first account authentication cache information contained in the first account authentication cache file.
Optionally, the borrower does not have an account with the specified application website;
the specifically step of the borrower browser logging in to the server of the specified application website by using the first account authentication cache information contained in the first account authentication cache file includes:
and the borrower browser acquires the first account authentication cache file from a specified position and directly initiates login to the server of the specified application website by using the first account authentication cache information contained in the first account authentication cache file.
Optionally, the borrower has an account of the specified application website, and a second account authentication cache file of the borrower is stored in the specified location, where the second account authentication cache file includes second account authentication cache information required by the borrower to log in the specified application website;
the storing the first account authentication cache file in a designated location specifically includes:
overwriting the second account authentication cache file with the first account authentication cache file at the designated position;
the specifically step of the borrower browser logging in to the server of the specified application website by using the first account authentication cache information contained in the first account authentication cache file includes:
and the borrower browser acquires the first account authentication cache file from the specified position and initiates login to the server of the specified application website by using the first account authentication cache information contained in the first account authentication cache file.
Optionally, the borrower has an account of the specified application website, and second account authentication cache information of the borrower is stored in the specified location, and the second account authentication cache file contains second account authentication cache information required by the borrower to log in the specified application website;
the storing the first account authentication cache file in a designated location specifically includes:
storing the first account authentication cache file and the second account authentication cache file at the designated position simultaneously;
the specifically step of the borrower browser logging in to the server of the specified application website by using the first account authentication cache information contained in the first account authentication cache file includes:
and constructing the first account authentication cache file and the second account authentication cache file stored in the designated position as an account authentication cache file list, wherein the borrower browser preferentially selects the first account authentication cache file in the list, acquires the first account authentication cache file from the designated position and initiates login to the server of the designated application website by using the first account authentication cache information contained in the first account authentication cache file.
Optionally, when the first account authentication cache file is the designated application website logged by the borrowed party, the server of the designated application website sends a first cookie file to the browser of the borrowed party, where the first cookie file includes first account authentication cache information required by the borrowed party to log in the designated application website.
Optionally, the second account authentication cache file is a second cookie file sent to the browser of the borrower by the server of the specified application website when the borrower logs in the specified application website, and the second cookie file contains second account authentication cache information required by the borrower to log in the specified application website.
According to an aspect of the present invention, there is provided an account borrowing management method including:
receiving a first account authentication cache file sent by a borrowed browser, wherein the first account authentication cache file comprises first account authentication cache information required by the borrowed to log in a specified application website;
generating a mapping relation between the first account authentication cache file and the corresponding temporary password;
inquiring the mapping relation according to a temporary password sent by a browser of a borrower to obtain a first account authentication cache file corresponding to the temporary password;
and sending the first account authentication cache file to a borrower browser, wherein the borrower browser stores the first account authentication cache file at a specified position and logs in a specified application website by using first account authentication cache information contained in the first account authentication cache file.
Optionally, the temporary password is a temporary password randomly and dynamically generated corresponding to the first account authentication cache file;
after the generating of the mapping relationship between the first account authentication cache file and the corresponding temporary password, the method further includes:
and sending the temporary password to the borrowed browser.
Optionally, the temporary password is a temporary password specified by the borrowed party and received from the borrowed browser.
Optionally, when the first account authentication cache file is the designated application website logged by the borrowed party, the server of the designated application website sends a first cookie file to the browser of the borrowed party, where the first cookie file includes first account authentication cache information required by the borrowed party to log in the designated application website.
According to an aspect of the present invention, there is provided a browser including a borrowed account processing module, the borrowed account processing module including:
the temporary password sending and processing module is used for sending the temporary password input by the borrower to the account borrowing management server according to the account borrowing request of the borrower;
a first account authentication cache file receiving processing module, configured to receive a first account authentication cache file corresponding to the temporary password returned by the account borrowing management server and store the first account authentication cache file at a specified location, where the first account authentication cache file includes first account authentication cache information required by a borrowed party to log in a specified application website;
and the login processing module is used for logging in the server of the specified application website by using the first account authentication cache information contained in the first account authentication cache file according to the first account authentication cache file stored in the specified position.
Optionally, the borrower does not have an account with the specified application website;
and the login processing module acquires the first account authentication cache file from a specified position and directly initiates login to the server of the specified application website by using the first account authentication cache information contained in the first account authentication cache file.
Optionally, the borrower has an account of the specified application website, and a second account authentication cache file of the borrower is stored in the specified location, where the second account authentication cache file includes second account authentication cache information required by the borrower to log in the specified application website;
the first account authentication cache file receiving and processing module covers the second account authentication cache file with the first account authentication cache file at the designated position;
and the login processing module acquires the first account authentication cache file at a designated position and initiates login to the server of the designated application website by using the first account authentication cache information contained in the first account authentication cache file.
Optionally, the borrower has an account of the specified application website, and second account authentication cache information of the borrower is stored in the specified location, and the second account authentication cache file contains second account authentication cache information required by the borrower to log in the specified application website;
the first account authentication cache file receiving and processing module stores the first account authentication cache file and the second account authentication cache file at the designated position at the same time;
the login processing module constructs the first account authentication cache file and the second account authentication cache file stored in the designated position into an account authentication cache file list, preferentially selects the first account authentication cache file in the list, acquires the first account authentication cache file from the designated position, and initiates login to the server of the designated application website by using the first account authentication cache information contained in the first account authentication cache file.
Optionally, the method further comprises:
and the borrowing account processing module is used for sending a first account authentication cache file of the borrowed party to the account borrowing management server according to an account borrowing request of the borrowed party, wherein the first account authentication cache file contains first account authentication cache information required by the borrowed party to log in a specified application website.
Optionally, when the first account authentication cache file is the designated application website logged by the borrowed party, the server of the designated application website sends a first cookie file to the browser of the borrowed party, where the first cookie file includes first account authentication cache information required by the borrowed party to log in the designated application website.
Optionally, the second account authentication cache file is a second cookie file sent to the browser of the borrower by the server of the specified application website when the borrower logs in the specified application website, and the second cookie file contains second account authentication cache information required by the borrower to log in the specified application website.
According to an aspect of the present invention, there is provided an account borrowing management server including:
the system comprises a receiving processing module, a first account authentication cache module and a second account authentication cache module, wherein the receiving processing module is used for receiving a first account authentication cache file sent by a borrowed browser, and the first account authentication cache file comprises first account authentication cache information required by the borrowed to log in a specified application website;
the mapping relation generation processing module is used for generating the mapping relation between the first account authentication cache file and the corresponding temporary password;
the first account authentication cache file acquisition processing module is used for inquiring the mapping relation according to the temporary password sent by the browser of the borrower so as to acquire a first account authentication cache file corresponding to the temporary password;
and the sending processing module is used for sending the first account authentication cache file to a borrower browser, wherein the borrower browser stores the first account authentication cache file at a specified position and logs in a specified application website by using first account authentication cache information contained in the first account authentication cache file.
Optionally, the temporary password is a temporary password randomly and dynamically generated corresponding to the first account authentication cache file;
the sending processing module further sends the temporary password to the borrowed browser after generating the mapping relation between the first account authentication cache file and the corresponding temporary password.
Optionally, the temporary password is a temporary password specified by the borrowed party and received from the borrowed browser.
Optionally, when the first account authentication cache file is the designated application website logged by the borrowed party, the server of the designated application website sends a first cookie file to the browser of the borrowed party, where the first cookie file includes first account authentication cache information required by the borrowed party to log in the designated application website.
According to an aspect of the present invention, there is also provided a system for logging in by borrowing an account of another person, including: the above browser and the above account borrowing management server.
According to the method and the system for realizing login by borrowing other account, the browser of the borrower sends the temporary password input by the borrower to the account borrowing management server according to the account borrowing request of the borrower; the method comprises the steps that a borrower browser receives a first account authentication cache file corresponding to a temporary password returned by an account borrowing management server and stores the first account authentication cache file at a specified position, wherein the first account authentication cache file contains first account authentication cache information required by a borrowed party to log in a specified application website; and according to the first account authentication cache file stored in the appointed position, the borrower browser logs in to the server of the appointed application website by using the first account authentication cache information contained in the first account authentication cache file. The method has the advantages that the method can realize that other people can log in the appointed application website through the account of the borrowed party without the account and the password of the borrowed party provided by the borrowed party on the appointed application website, so that the user name and the password of the borrowed party can be prevented from being leaked, the risk of personal privacy leakage of the borrowed party is reduced, the borrowed party can be promoted to actively borrow the account, only a person informed of the temporary password by the borrowed party can log in through the account of the borrowed party through the setting of the temporary password, and the borrowed party can conveniently borrow the account to the appointed person.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Referring to fig. 1, this figure is a flowchart of an account borrowing management method according to an embodiment of the present invention, and the account borrowing management method in this embodiment mainly includes the following steps:
step S101, receiving a first account authentication cache file sent by a borrowed browser, wherein the first account authentication cache file comprises first account authentication cache information required by the borrowed to log in a specified application website;
in this embodiment, the specified application website may be, for example, a video website that logs in with member accounts with various permissions or a website forum that needs an administrator permission account and a common permission member, the borrower may be, for example, a common account member of the video website, the borrowed party may be, for example, a VIP account member of the video website, or the borrower may be, for example, a member of a common permission account of the forum, and the borrowed party may be, for example, a member of the forum having an administrator permission account, and in practice, various application scenarios may be used, which is not specifically limited herein.
In addition, in this embodiment, the account authentication cache file refers to a file containing account authentication cache information required by the user to log in the designated application site, for example, the account authentication cache file may be a cookie file, or another file containing account authentication cache information, in practice, for example, after the borrowed party logs in the designated application site, the designated application site stores the account authentication cache information (hereinafter, referred to as first account authentication cache information) required by the borrowed party to log in the designated application site in the account authentication cache file (hereinafter, referred to as a first account authentication cache file), and sends the first account authentication cache file to the borrowed party browser for storage at a designated location, and if the borrowed party requests to borrow its account at the designated application site in this step, the borrowed party sends the first account authentication cache file of the borrowed party to the account borrowing management server, in this step, the account borrowing management server may receive a first account authentication cache file sent by the borrowed browser, where the first account authentication cache file includes first account authentication cache information required by the borrowed to log in the designated application website, and is not described herein again;
step S102, generating a mapping relation between the first account authentication cache file and a corresponding temporary password;
in order to facilitate that only a designated user can log in a designated application website by using an account of a borrowed party, in this embodiment, the borrower is designated by using a temporary password, that is, only a borrower that can provide a correct temporary password can obtain a first account authentication cache file of the borrowed party to log in an account of the borrowed party, for this reason, in this step, a mapping relationship between the first account authentication cache file and a corresponding temporary password needs to be generated, where the mapping relationship may be, for example, a mapping relationship table or other mapping manners, and is not specifically limited herein.
In addition, in this embodiment, the temporary password corresponding to the first account authentication cache file may be specified by the borrower, for example, the temporary password is a temporary password specified by the borrowed party and received from the borrowed party browser, the borrowed party may share the specified temporary password with friends of the borrowed party, the friends may be used as the borrower to obtain the first account authentication cache file of the borrowed party according to the temporary password to log in the account of the borrowed party, and the temporary password may also be generated by the account borrowing management server, for example, the temporary password is a temporary password randomly and dynamically generated corresponding to the first account authentication cache file, that is, a temporary password is randomly and dynamically generated corresponding to one first account authentication cache file, and the temporary password is sent to the borrowed party browser, so that the borrowed party can share the temporary password with other people, in practice, to avoid repetition, various random algorithms may be used to generate the temporary password, which is not limited herein.
Step S103, inquiring the mapping relation according to the temporary password sent by the browser of the borrower to obtain a first account authentication cache file corresponding to the temporary password;
in this embodiment, when a borrower needs to borrow an account of another person to log in a designated application website, for example, after the borrowed party shares a temporary password with another person, the other person can use the temporary password as the borrower to obtain a first account authentication cache file of the borrowed party through the temporary password, in practice, the borrower who knows the temporary password sends the temporary password to an account borrowing management server through a browser of the borrower, and the account borrowing management server can inquire a preset mapping relation according to the temporary password sent by a browser of the borrower to determine whether a first account authentication cache file corresponding to the temporary password exists or not, and if so, obtain the first account authentication cache file corresponding to the temporary password, and trace back is not performed;
step S104, the first account authentication cache file is sent to a borrower browser, wherein the borrower browser stores the first account authentication cache file at a designated position and logs in a designated application website by using first account authentication cache information contained in the first account authentication cache file.
In this embodiment, the specified position is a default position where the borrower browser obtains an account authentication cache file required for logging in a specified application website, that is, when the borrower browser logs in the specified application website, the borrower browser obtains the account authentication cache file required for logging in the specified application website at the specified position by default, and in this embodiment, the first account authentication cache file of the borrowed party is stored at the specified position, so that the borrower browser can log in the specified application website by using the first account authentication cache information included in the first account authentication cache file, which is not described herein again.
For example, in this embodiment, the first account authentication cache file may be a first cookie file sent by a server of the specified application website to a browser of the borrowed party when the borrowed party logs in the specified application website, where the first cookie file includes first account authentication cache information required by the borrowed party to log in the specified application website, and details are not repeated here.
In summary, in the method of the embodiment, since it is possible to log in the specified application website through the account of the borrowed party without the account and the password provided by the borrowed party on the specified application website, it is possible to avoid the leakage of the user name and the password of the borrowed party, reduce the risk of the leakage of the personal privacy of the borrowed party, and promote the borrowed party to actively borrow the account, and only the person who is notified of the temporary password by the borrowed party can log in through the account of the borrowed party by setting the temporary password, so that the borrowed party can conveniently borrow the account only for the specified person.
The method for realizing login by borrowing another person account by the borrower is described in detail below.
Referring to fig. 2, the flowchart is a flowchart of a method for implementing login by borrowing another person account according to an embodiment of the present invention, and the method for implementing login by borrowing another person account mainly includes the following steps:
s201, according to an account borrowing request of a borrower, a borrower browser sends a temporary password input by the borrower to an account borrowing management server;
in this embodiment, in order to facilitate the user to initiate an account borrowing request, for example, a trigger button may be arranged on the borrower browser, when the operation of the trigger button by the user is detected, it is confirmed that the user initiates the account borrowing request, and when the operation is specifically implemented, a page may be popped up to allow the user to input a temporary password, or a temporary password may be input by the user in other manners, which is not specifically limited herein, and after the user inputs the temporary password, the borrower browser sends the temporary password input by the user to the account borrowing management server;
s202, the borrower browser receives a first account authentication cache file corresponding to the temporary password returned by the account borrowing management server and stores the first account authentication cache file at a specified position, wherein the first account authentication cache file comprises first account authentication cache information required by the borrowed to log in a specified application website;
in this embodiment, the first account authentication cache file of the borrowed party is stored in the account borrowing management server, when the temporary password sent by the borrower is correct, the first account authentication cache file of the borrowed party corresponding to the temporary password may be sent to the borrower browser, and after receiving the first account authentication cache file, the borrower browser may store the first account authentication cache file at a specified location, which is, with reference to the foregoing description, the specified location is a default location where the borrower browser obtains the account authentication cache file required for logging in a specified application website, and details are not described here.
And S203, according to the first account authentication cache file stored in the appointed position, the borrower browser logs in to the server of the appointed application website by using the first account authentication cache information contained in the first account authentication cache file.
In this embodiment, the registration may be performed in various manners, for example, if the borrower does not have an account of the specified application website; the borrower browser can acquire the first account authentication cache file from a specified position and directly initiate login to the server of the specified application website by using the first account authentication cache information contained in the first account authentication cache file.
In addition, if the borrower has an account of the specified application website, a second account authentication cache file of the borrower is stored in the specified position, and the second account authentication cache file comprises second account authentication cache information required by the borrower to log in the specified application website; as a possible way, for example, when the first account authentication cache file is stored in a designated location, the second account authentication cache file may be overwritten with the first account authentication cache file at the designated location; and the borrower browser can initiate login to the server of the specified application website by utilizing the first account authentication cache information contained in the replaced first account authentication cache file.
In other cases, for example, if the borrower has an account of the specified application site, the second account authentication cache information of the borrower is stored in the specified location, and the second account authentication cache file includes second account authentication cache information required by the borrower to log in the specified application site; as a possible way, for example, storing the first account authentication cache file in a specified location may employ storing the first account authentication cache file and the second account authentication cache file in the specified location at the same time; and constructing the first account authentication cache file and the second account authentication cache file stored in the designated position as an account authentication cache file list, wherein the borrower browser preferentially selects the first account authentication cache file in the list, acquires the first account authentication cache file from the designated position and initiates login to the server of the designated application website by using the first account authentication cache information contained in the first account authentication cache file.
It should be noted that, in this embodiment, the first account authentication cache file may be a first cookie file sent by the server of the specified application website to the browser of the borrowed party when the borrowed party logs in the specified application website, where the first cookie file includes first account authentication cache information required by the borrowed party to log in the specified application website, and may actually be an account authentication cache file in another form, which is not described herein again.
The second account authentication cache file may be a second cookie file sent to the browser of the borrower by the server of the designated application website when the borrower logs in the designated application website, where the second cookie file includes second account authentication cache information required by the borrower to log in the designated application website, and may actually be an account authentication cache file in another form, which is not described herein again.
In summary, in the method of the embodiment, since it is possible to log in the specified application website through the account of the borrowed party without the account and the password provided by the borrowed party on the specified application website, it is possible to avoid the leakage of the user name and the password of the borrowed party, reduce the risk of the leakage of the personal privacy of the borrowed party, and promote the borrowed party to actively borrow the account, and only the person who is notified of the temporary password by the borrowed party can log in through the account of the borrowed party by setting the temporary password, so that the borrowed party can conveniently borrow the account only for the specified person.
Referring to fig. 3, this figure is a schematic diagram of an overall composition of a browser according to an embodiment of the present invention, in this embodiment, the browser mainly includes a borrowed account processing module 11, where the borrowed account processing module 11 includes:
a temporary password sending processing module 111, configured to send a temporary password input by a borrower to an account borrowing management server according to an account borrowing request of the borrower;
in reference to the foregoing description, in order to facilitate the user initiating an account borrowing request, for example, a trigger button may be arranged on the browser of the borrowing party, for example, when the temporary password sending processing module 111 detects an operation of the trigger button by the user, it is determined that the user initiates the account borrowing request, and when the temporary password sending processing module 111 is specifically implemented, the temporary password sending processing module 111 may control a pop-up page to allow the user to input a temporary password, or to allow the user to input the temporary password in another manner, where specific limitations are not made herein, and after the user inputs the temporary password, the temporary password sending processing module 111 sends the temporary password input by the user to the account borrowing management server;
a first account authentication cache file receiving processing module 112, configured to receive a first account authentication cache file corresponding to the temporary password returned by the account borrowing management server and store the first account authentication cache file in a specified location, where the first account authentication cache file includes first account authentication cache information required by a borrowed party to log in a specified application website;
in this embodiment, the first account authentication cache file of the borrowed party is stored in the account borrowing management server, when the temporary password sent by the borrower is correct, the first account authentication cache file of the borrowed party corresponding to the temporary password may be sent to the borrower browser, and after receiving the first account authentication cache file, the first account authentication cache file receiving and processing module 112 may store the first account authentication cache file at an assigned location, which is, with reference to the foregoing description, the assigned location is a default location where the borrower browser obtains the account authentication cache file required for logging in the specified application website, and details are not described here.
And the login processing module 113 is configured to log in to the server of the specified application website by using the first account authentication cache information included in the first account authentication cache file according to the first account authentication cache file stored in the specified location.
In this embodiment, the registration may be performed in various manners, for example, if the borrower does not have an account of the specified application website; the login processing module 113 may obtain the first account authentication cache file from a specified location and directly initiate login to the server of the specified application website by using the first account authentication cache information included in the first account authentication cache file.
Or, for example, the borrower has an account of the specified application website, and a second account authentication cache file of the borrower is stored in the specified location, where the second account authentication cache file includes second account authentication cache information required by the borrower to log in the specified application website;
the first account authentication cache file receiving processing module 112 may overwrite the second account authentication cache file with the first account authentication cache file at the designated location;
the login processing module 113 obtains the first account authentication cache file at a designated location, and initiates login to the server of the designated application website by using the first account authentication cache information included in the first account authentication cache file.
Or, for another case, for example, the borrower has an account of the specified application website, and the second account authentication cache information of the borrower is stored in the specified location, and the second account authentication cache file contains second account authentication cache information required by the borrower to log in the specified application website;
the first account authentication cache file receiving processing module 112 stores the first account authentication cache file and the second account authentication cache file at the designated location at the same time;
the login processing module 113 constructs the first account authentication cache file and the second account authentication cache file stored in the designated location as an account authentication cache file list, preferentially selects the first account authentication cache file in the list, acquires the first account authentication cache file from the designated location, and initiates login to the server of the designated application website by using the first account authentication cache information included in the first account authentication cache file.
To facilitate the borrower lending his account, referring to fig. 4, this is an overall composition diagram of a browser according to another embodiment of the present invention, which is different from the foregoing embodiment in that the browser further includes:
a borrowing account processing module 12, in this embodiment, the borrowing account processing module 12 is mainly configured to send a first account authentication cache file of a borrowed party to an account borrowing management server according to an account borrowing request of the borrowed party, where the first account authentication cache file includes first account authentication cache information required by the borrowed party to log in a specified application website.
In reference to the foregoing description, in this embodiment, the first account authentication cache file may be a first cookie file that is sent by the server of the specified application website to the browser of the borrowed party when the borrowed party logs in the specified application website, where the first cookie file includes first account authentication cache information required by the borrowed party to log in the specified application website.
And the second account authentication cache file is a second cookie file which is sent to a browser of the borrower by a server of the appointed application website when the borrower logs in the appointed application website, and the second cookie file contains second account authentication cache information required by the borrower to log in the appointed application website.
It should be noted that, the borrowing account processing module and the lending account processing module in the browser may be implemented by one or more plug-ins on the browser, which is not specifically limited herein, and may also be implemented on the browser in other manners in practice, and are not described herein again.
In summary, in the browser of the embodiment, since it is possible to log in the specified application website through the account of the borrowed party without providing the account and the password of the borrowed party on the specified application website, it is possible to avoid leakage of the user name and the password of the borrowed party, reduce the risk of leakage of the personal privacy of the borrowed party, and promote the borrowed party to actively borrow the account, and only the borrowed party who has notified the temporary password can log in through the account of the borrowed party by setting the temporary password, so that the borrowed party can conveniently borrow the account only for the specified person.
Referring to fig. 5, this figure is an overall composition schematic diagram of an account borrowing management server according to an embodiment of the present invention, and in this embodiment, the account borrowing management server mainly includes:
the receiving processing module 21 is configured to receive a first account authentication cache file sent by a borrowed browser, where the first account authentication cache file includes first account authentication cache information required by the borrowed to log in a specified application website;
in this embodiment, the account authentication cache file refers to a file containing account authentication cache information required for logging in a specified application website, for example, the account authentication cache file may be a cookie file or another file containing account authentication cache information, in practice, for example, after a borrowed party logs in a specified application website, the specified application website may store the account authentication cache information (i.e., first account authentication cache information) required for the borrowed party to log in the specified application website in the account authentication cache file (i.e., first account authentication cache file), and send the first account authentication cache file to a borrowed browser for storage at a specified location, if the borrowed party requests to borrow its account at the specified application website, the first account authentication cache file of the borrowed party may be sent to an account management server, and in this embodiment, the receiving processing module 21 may receive the first account authentication cache file sent by the borrowed browser The first account authentication cache file contains first account authentication cache information required by the borrowed party to log in the appointed application website, and the details are not repeated here;
a mapping relationship generation processing module 22, configured to generate a mapping relationship between the first account authentication cache file and a corresponding temporary password;
in order to facilitate that only a designated user can log in a designated application website by using an account of a borrowed party, in this embodiment, the borrower is designated by using a temporary password, that is, only a borrower that can provide a correct temporary password can obtain a first account authentication cache file of the borrowed party to log in an account of the borrowed party, for this reason, the mapping relationship generation processing module 22 needs to generate a mapping relationship between the first account authentication cache file and a corresponding temporary password, where the mapping relationship may be, for example, in the form of a mapping relationship table or in another mapping manner, and is not specifically limited herein.
In addition, in this embodiment, the temporary password corresponding to the first account authentication cache file may be specified by the borrower, for example, the temporary password is a temporary password specified by the borrowed party and received from the browser of the borrowed party, the borrowed party may share the specified temporary password with friends of the borrowed party, the friends may be used as the borrower to acquire the first account authentication cache file of the borrowed party according to the temporary password to log in the account of the borrowed party, or the temporary password may be generated by the account borrowing management server, for example, the temporary password is a temporary password randomly and dynamically generated corresponding to the first account authentication cache file, that is, a temporary password is randomly and dynamically generated corresponding to one first account authentication cache file, and the sending processing module 24 may send the temporary password to the borrower after generating a mapping relationship between the first account authentication cache file and the corresponding temporary password The borrowed browser sends the temporary password to the borrowed browser, and the borrowed can share the temporary password with other people.
The first account authentication cache file obtaining processing module 23 is configured to query the mapping relationship according to the temporary password sent by the borrower browser to obtain a first account authentication cache file corresponding to the temporary password;
in this embodiment, when a borrower needs to borrow an account of another person to log in a designated application website, for example, after the borrowed party shares a temporary password with another person, the other person can use the temporary password as the borrower to obtain a first account authentication cache file of the borrowed party through the temporary password, in practice, the borrower who knows the temporary password sends the temporary password to an account borrowing management server through a browser of the borrower, and a first account authentication cache file obtaining processing module 23 in the account borrowing management server can query a preset mapping relation according to the temporary password sent by the borrower browser to determine whether a first account authentication cache file corresponding to the temporary password exists, and if so, the first account authentication cache file corresponding to the temporary password is obtained, and tracing is not performed;
and the sending processing module 24 is configured to send the first account authentication cache file to a borrower browser, where the borrower browser stores the first account authentication cache file in a specified location and logs in a specified application website by using first account authentication cache information included in the first account authentication cache file.
In this embodiment, the specified position is a default position where the borrower browser obtains an account authentication cache file required for logging in a specified application website, that is, when the borrower browser logs in the specified application website, the borrower browser obtains the account authentication cache file required for logging in the specified application website at the specified position by default, and in this embodiment, the first account authentication cache file of the borrowed party is stored at the specified position, so that the borrower browser can log in the specified application website by using the first account authentication cache information included in the first account authentication cache file, which is not described herein again.
Similarly, in this embodiment, the first account authentication cache file may be a first cookie file that is sent by the server of the specified application website to the browser of the borrowed party when the borrowed party logs in the specified application website, where the first cookie file includes first account authentication cache information required by the borrowed party to log in the specified application website.
Referring to fig. 6, the overall schematic diagram of a system for realizing login by borrowing another person account according to an embodiment of the present invention, the system for realizing login by borrowing another person account in the embodiment mainly includes:
for the specific description of the browser 1 and the account borrowing management server 2 in the present embodiment, reference may be made to the description of the browser and the account borrowing management server, and details thereof are not described herein.
In summary, in the system of the embodiment, since it is possible to log in the specified application website through the account of the borrowed party without providing the account and the password of the borrowed party on the specified application website, it is possible to avoid the leakage of the user name and the password of the borrowed party, reduce the risk of the leakage of the personal privacy of the borrowed party, and promote the borrowed party to actively borrow the account, and only the borrowed party who is notified of the temporary password can log in through the account of the borrowed party by setting the temporary password, so that the borrowed party can conveniently borrow the account only for the specified person.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It will be appreciated by those skilled in the art that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components of a system for enabling logging by borrowing accounts from others according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
The invention discloses a1 method for realizing login by borrowing accounts of others, which comprises the following steps:
according to the account borrowing request of the borrower, the borrower browser sends the temporary password input by the borrower to the account borrowing management server;
the method comprises the steps that a borrower browser receives a first account authentication cache file corresponding to a temporary password returned by an account borrowing management server and stores the first account authentication cache file at a specified position, wherein the first account authentication cache file contains first account authentication cache information required by a borrowed party to log in a specified application website;
and according to the first account authentication cache file stored in the appointed position, the borrower browser logs in to the server of the appointed application website by using the first account authentication cache information contained in the first account authentication cache file.
A2, the method according to A1, wherein the borrower does not have an account with the specified application website;
the specifically step of the borrower browser logging in to the server of the specified application website by using the first account authentication cache information contained in the first account authentication cache file includes:
and the borrower browser acquires the first account authentication cache file from a specified position and directly initiates login to the server of the specified application website by using the first account authentication cache information contained in the first account authentication cache file.
A3, the method according to A1, characterized in that, the borrower has an account of the specified application website, and a second account authentication cache file of the borrower is stored in the specified location, the second account authentication cache file contains second account authentication cache information required by the borrower to log in the specified application website;
the storing the first account authentication cache file in a designated location specifically includes:
overwriting the second account authentication cache file with the first account authentication cache file at the designated position;
the specifically step of the borrower browser logging in to the server of the specified application website by using the first account authentication cache information contained in the first account authentication cache file includes:
and the borrower browser acquires the first account authentication cache file at a specified position and initiates login to the server of the specified application website by using the first account authentication cache information contained in the first account authentication cache file.
A4, the method according to A1, characterized in that, the borrower has an account of the specified application website, and the second account authentication cache information of the borrower is stored in the specified position, the second account authentication cache file contains the second account authentication cache information required by the borrower to log in the specified application website;
the storing the first account authentication cache file in a designated location specifically includes:
storing the first account authentication cache file and the second account authentication cache file at the designated position simultaneously;
the specifically step of the borrower browser logging in to the server of the specified application website by using the first account authentication cache information contained in the first account authentication cache file includes:
and constructing the first account authentication cache file and the second account authentication cache file stored in the designated position as an account authentication cache file list, wherein the borrower browser preferentially selects the first account authentication cache file in the list, acquires the first account authentication cache file from the designated position and initiates login to the server of the designated application website by using the first account authentication cache information contained in the first account authentication cache file.
A5, the method according to any one of A1-A4, wherein when the first account authentication cache file is the borrowed party logging in the specified application website, the server of the specified application website sends a first cookie file to the borrowed party browser, and the first cookie file contains first account authentication cache information required by the borrowed party logging in the specified application website.
A6, the method according to A3 or A4, wherein the second account authentication cache file is a second cookie file transmitted to the borrower browser by the server of the specified application website when the borrower logs in the specified application website, and the second cookie file contains second account authentication cache information required by the borrower to log in the specified application website.
B7, an account borrowing management method, comprising:
receiving a first account authentication cache file sent by a borrowed browser, wherein the first account authentication cache file comprises first account authentication cache information required by the borrowed to log in a specified application website;
generating a mapping relation between the first account authentication cache file and the corresponding temporary password;
inquiring the mapping relation according to a temporary password sent by a browser of a borrower to obtain a first account authentication cache file corresponding to the temporary password;
and sending the first account authentication cache file to a borrower browser, wherein the borrower browser stores the first account authentication cache file at a specified position and logs in a specified application website by using first account authentication cache information contained in the first account authentication cache file.
B8, the method according to B7, wherein the temporary password is a randomly and dynamically generated temporary password corresponding to the first account authentication cache file;
after the generating of the mapping relationship between the first account authentication cache file and the corresponding temporary password, the method further includes:
and sending the temporary password to the borrowed browser.
B9, the method according to B7, wherein the temporary password is a temporary password specified by the borrowed party and received from the borrowed party browser.
The method according to any one of B10 and B7-B9, wherein when the first account authentication cache file is the borrowed party logging in the specified application site, the server of the specified application site sends a first cookie file to the borrowed party browser, and the first cookie file contains first account authentication cache information required by the borrowed party logging in the specified application site.
C11, a browser, comprising a borrowing account processing module, wherein the borrowing account processing module comprises:
the temporary password sending and processing module is used for sending the temporary password input by the borrower to the account borrowing management server according to the account borrowing request of the borrower;
a first account authentication cache file receiving processing module, configured to receive a first account authentication cache file corresponding to the temporary password returned by the account borrowing management server and store the first account authentication cache file at a specified location, where the first account authentication cache file includes first account authentication cache information required by a borrowed party to log in a specified application website;
and the login processing module is used for logging in the server of the specified application website by using the first account authentication cache information contained in the first account authentication cache file according to the first account authentication cache file stored in the specified position.
C12, the browser according to C11, wherein the borrower does not have an account of the designated application website;
and the login processing module acquires the first account authentication cache file from a specified position and directly initiates login to the server of the specified application website by using the first account authentication cache information contained in the first account authentication cache file.
C13, the browser according to C11, wherein the borrower has an account of the specified application site, and a second account authentication cache file of the borrower is stored at the specified location, the second account authentication cache file containing second account authentication cache information required by the borrower to log in the specified application site;
the first account authentication cache file receiving and processing module covers the second account authentication cache file with the first account authentication cache file at the designated position;
and the login processing module acquires the first account authentication cache file at a designated position, and initiates login to the server of the designated application website by using the first account authentication cache information contained in the first account authentication cache file.
C14, the browser according to C11, wherein the borrower has an account of the specified application site, and second account authentication cache information of the borrower is stored in the specified location, and the second account authentication cache file contains second account authentication cache information required by the borrower to log in the specified application site;
the first account authentication cache file receiving and processing module stores the first account authentication cache file and the second account authentication cache file at the designated position at the same time;
the login processing module constructs the first account authentication cache file and the second account authentication cache file stored in the designated position into an account authentication cache file list, preferentially selects the first account authentication cache file in the list, acquires the first account authentication cache file from the designated position, and initiates login to the server of the designated application website by using the first account authentication cache information contained in the first account authentication cache file.
C15, the browser according to C11, further comprising:
and the borrowing account processing module is used for sending a first account authentication cache file of the borrowed party to the account borrowing management server according to an account borrowing request of the borrowed party, wherein the first account authentication cache file contains first account authentication cache information required by the borrowed party to log in a specified application website.
C16, the browser according to any one of C11 to C15, wherein the first account authentication cache file is a first cookie file that is sent to the borrowed browser by a server of the specified application site when the borrowed party logs in the specified application site, and the first cookie file contains first account authentication cache information required by the borrowed party to log in the specified application site.
C17, the browser according to C13 or C14, wherein the second account authentication cache file is a second cookie file transmitted by the server of the specified application site to the browser of the borrower when the borrower logs in the specified application site, and the second cookie file contains second account authentication cache information required by the borrower to log in the specified application site.
D18, an account borrowing management server, comprising:
the system comprises a receiving processing module, a first account authentication cache module and a second account authentication cache module, wherein the receiving processing module is used for receiving a first account authentication cache file sent by a borrowed browser, and the first account authentication cache file comprises first account authentication cache information required by the borrowed to log in a specified application website;
the mapping relation generation processing module is used for generating the mapping relation between the first account authentication cache file and the corresponding temporary password;
the first account authentication cache file acquisition processing module is used for inquiring the mapping relation according to the temporary password sent by the browser of the borrower so as to acquire a first account authentication cache file corresponding to the temporary password;
and the sending processing module is used for sending the first account authentication cache file to a borrower browser, wherein the borrower browser stores the first account authentication cache file at a specified position and logs in a specified application website by using first account authentication cache information contained in the first account authentication cache file.
D19, the server according to D18, wherein the temporary password is a temporary password randomly and dynamically generated corresponding to the first account authentication cache file;
the sending processing module further sends the temporary password to the borrowed browser after generating the mapping relation between the first account authentication cache file and the corresponding temporary password.
D20, the server according to D18, wherein the temporary password is a temporary password specified by the borrowed party and received from the borrowed party browser.
The server according to any one of D21 and D18-D20, wherein the first account authentication cache file is a first cookie file that is sent to a browser of a borrowed party when the borrowed party logs in the specified application site, and the first cookie file contains first account authentication cache information required by the borrowed party to log in the specified application site.
E22, a system for realizing login by borrowing other people accounts, comprising: the browser of any one of C11-17 and the account borrowing management server of any one of D18-20.