WO2015000320A1 - 一种移动终端跨浏览器登陆的方法和装置 - Google Patents
一种移动终端跨浏览器登陆的方法和装置 Download PDFInfo
- Publication number
- WO2015000320A1 WO2015000320A1 PCT/CN2014/075454 CN2014075454W WO2015000320A1 WO 2015000320 A1 WO2015000320 A1 WO 2015000320A1 CN 2014075454 W CN2014075454 W CN 2014075454W WO 2015000320 A1 WO2015000320 A1 WO 2015000320A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- cookie
- mobile terminal
- user
- browser
- server
- 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.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/14—Details of searching files based on file metadata
- G06F16/148—File search processing
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0876—Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/146—Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0815—Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
Definitions
- the present invention relates to a mobile terminal device, and more particularly to a method and apparatus for landing a mobile terminal across a browser. Background technique
- the technical problem to be solved by the present invention is to provide a method and a device for logging in across a browser of a mobile terminal, aiming at solving the problem that an existing mobile terminal logs in to the same website when switching browsers. Need to re-enter the username and password.
- a method for a mobile terminal to log in across a browser comprising the following steps:
- Any browser of the mobile terminal accepts a web site input by the user, and finds in the cookie folder whether there is a cookie of the web site, and if so, sends the cookie to the server of the web site; , then return to step B;
- the server of the web site reads the IMEI number of the mobile terminal in the cookie, searches for the corresponding registration name according to the IMEI number of the mobile terminal, and returns the page after the registration name is registered to the web site to the browser.
- step E specifically includes:
- the server of the web site reads the IMEI number of the mobile terminal in the cookie, the root Searching for the corresponding registration name according to the IMEI number of the mobile terminal, the server of the web site verifies the cookie, if the verification fails, re-entering the registration name and password; if the verification is successful, logging the registration name into the web site The subsequent page returns to the browser.
- step C further includes:
- the server of Cl and the web site saves the IMSI number of the mobile user under the registration name corresponding to the user.
- a method for a mobile terminal to log in across a browser comprising the following steps:
- Any browser of the mobile terminal accepts a web site input by the user, and finds in the cookie folder whether there is a cookie of the web site, and if so, sends the cookie to the server of the web site; , then return to step B;
- the server of the web site reads the IMEI number of the mobile terminal in the cookie, searches for the corresponding registration name according to the IMEI number of the mobile terminal, and returns the page after the registration name is registered to the web site to the browser;
- the step B further includes:
- the step E specifically includes: the server of the web website reads the IMEI number of the mobile terminal in the cookie, and searches for the corresponding registered name according to the IMEI number of the mobile terminal.
- the server of the web site verifies the cookie, and if the verification fails, re-enter the registration name and password; if the verification is successful, the page after the registration name is logged into the web site is returned to the browser.
- the server of the web site verifies whether the username and password correspond to each other, or whether the expiration period is exceeded.
- the step B further includes: Bl, associating the IMSI number of the mobile user to generate a corresponding cookie, and saving the cookie in the cookie folder.
- the step C further includes: Cl, the server of the web website saves the IMSI number of the mobile user under the registration name corresponding to the user.
- the step E further includes: El, the server of the web website reads the IMSI number of the mobile user in the cookie, according to the IMEI number of the mobile terminal and the IMSI of the mobile user The number is searched for the corresponding registered name, and the page after the registered name is registered on the web site is returned to the browser.
- a device for landing a mobile terminal across a browser wherein:
- a cookie folder generating module configured to create a cookie folder in a storage module of the mobile terminal
- a cookie association generating module configured to associate a web address of a different web website with a registration name and password corresponding to the user on the web website, and an IMEI number of the mobile terminal to generate a corresponding cookie;
- a cookie search module configured to search, in the cookie folder, whether there is a cookie of a web site input by the user
- the cookie reading module is configured to read an IMEI number of the mobile terminal in the cookie, search for a corresponding registration name according to the IMEI number of the mobile terminal, and return the page after the registration name is registered to the web site to the browser.
- the device for logging in across the browser by the mobile terminal wherein the cookie association generating module is further configured to associate the IMSI number of the mobile user to generate a corresponding cookie. And the device for logging in to the mobile terminal, wherein the web website server module is further configured to receive the cookie, and save the IMSI number of the mobile user under a registration name corresponding to the user.
- the device for logging in across the browser by the mobile terminal wherein the cookie reading module is further configured to read an IMSI number of the mobile user in the cookie, and search according to an IMEI number of the mobile terminal and an IMSI number of the mobile user. Registered name, return the page after logging in to the web site to return to the browser.
- the method and device for logging in across a browser of a mobile terminal effectively solve the problem that an existing mobile terminal logs in to a website in a browser, and then needs to input a user in another browser to log in to the same website.
- Name and password problems by creating a cookie folder in the storage module of the mobile terminal in advance; associating the URL of the different web site with the registration name and password of the user corresponding to the web site, and the IMEI number of the mobile terminal a cookie, and storing the cookie in the cookie folder; sending the cookie to a server of a corresponding web site, and saving the IMEI number of the mobile terminal under a registration name corresponding to the user in the server of the web site Any browser of the mobile terminal accepting a web site entered by the user, looking in the cookie folder for a cookie of the web site, and if so, sending the cookie to a server of the web site; if not, Re-association generates a corresponding cookie; the server of the web site reads the IMEI number of the mobile terminal in
- FIG. 1 is a flowchart of a first preferred embodiment of a method for a mobile terminal to log in across a browser according to the present invention.
- FIG. 2 is a structural block diagram of a second preferred embodiment of a method for a mobile terminal to log in across a browser according to the present invention.
- FIG. 3 is a structural block diagram of an apparatus for logging in across a browser of a mobile terminal according to the present invention. detailed description
- the present invention provides a method and apparatus for landing a mobile terminal across a browser.
- the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
- FIG. 1 is a flowchart of a method for logging in across a browser of a mobile terminal according to a first preferred embodiment of the present invention, including the following steps:
- Step S100 Create a cookie folder in the storage module of the mobile terminal in advance;
- Step S200 Associate the URL of the different web site with the registration name and password corresponding to the user on the web site, and the IMEI number of the mobile terminal to generate a corresponding cookie. And saving the cookie in the cookie folder;
- Step S300 Send the cookie to a server of a corresponding web website, where the server of the web website saves the IMEI number of the mobile terminal under the registration name corresponding to the user;
- Step S400 Any browser of the mobile terminal accepts a web site input by the user, and searches for the cookie of the web site in the cookie folder, and if yes, sends the cookie to the server of the web site; If not, return to step S200;
- Step S500 The server of the web site reads the IMEI number of the mobile terminal in the cookie, searches for the corresponding registration name by the IMEI number of the mobile terminal, and returns the page after the registration name is registered to the web site to the browser.
- a cookie is a piece of data that a web server temporarily stores on a mobile phone.
- the web server uses a cookie to identify the user.
- the web server will first send some information such as user ID, password, visited webpage, and time of stay on the user's mobile phone.
- the cookie will help the user to play on the website.
- the text or some choices are recorded.
- the web server will first check whether there is any cookie information left by it last time. If there is any, the user will judge the user according to the content in the cookie, and then display the corresponding content.
- the cookie is generated by the server and sent to the mobile browser.
- the mobile browser saves the cookie to a text file in a certain directory, and generally stores it in a key-value distributed storage manner, and requests the same next time.
- the cookie is sent to the server when the website is available.
- Cookie has the following three characteristics. First, after the browser creates a cookie, for each request for the website, it will be in the header (the PHP header, the server will send the HTML data to the HTTP protocol). The cookie is sent in the string sent before the browser; however, the request cookie for other websites will never be sent. And the browser will always send this until the cookie expires. Second, if multiple browsers are installed on a single phone, each browser will store C00 kie in a separate space.
- the cookie can not only confirm the user, but also the information of the mobile phone and the browser, so when a user logs in with a different browser or logs in with a different mobile phone, different cookie information will be obtained.
- the cookie is always stored in the client, that is, in the mobile phone. According to the storage location in the client, it can be divided into a memory cookie and a hard disk cookie.
- the memory cookie is maintained by the browser, stored in the memory, and disappears after the browser is closed. Its existence time is short.
- the hard disk cookie is saved on the hard disk and has an expiration time. Unless the user manually cleans up or expires, the hard disk cookie will not be deleted, and its existence time is long-term.
- the present invention uses a hard disk cookie to create a cookie folder in the ROM partition of the mobile phone in advance, and the cookie folder is used to store cookie information of all browsers.
- the cookie is generated by a web address of a different web site associated with a registration name and password corresponding to the user at the web site, and an IMEI number of the mobile terminal.
- IMEI International Mobile Equipment Identity
- the international mobile equipment identification code is an "electronic serial number" consisting of 15 digits. It corresponds to each mobile phone, and the code is worldwide. only. Each handset will be assigned a globally unique set of numbers after assembly, and this number will be recorded by the manufacturer of the manufacturing process from production to delivery.
- cookies generated based on the associated IMEI number have uniquely determined characteristics.
- the mobile phone sends the user information to the web server through the browser, the associated cookie is simultaneously sent to the website service.
- the web server will save the IMEI number of the mobile terminal under the corresponding registration name of the user.
- the mobile phone When the user logs in to a website using any browser of the mobile phone, the mobile phone first searches for the cookie of the web website from the cookie folder, and if so, sends the cookie to the server of the web website; Then, the process returns to step S200, that is, re-establishing a cookie corresponding to the web site in the cookie file.
- the server of the web site After the server of the web site receives the cookie associated with the IMEI number of the mobile phone, reading the IMEI number of the mobile phone in the cookie, searching for the corresponding registration name according to the IMEI number of the mobile phone in the website server, and then searching for the registered name
- the page after logging in to the web site returns to the browser, so that the user does not need to enter the username and password to log in to the web site again.
- the step S200 further includes: S210: associate a web address of a different web website with a registration name, a password, a valid time, and an IMEI number of the mobile terminal corresponding to the user, to generate a corresponding cookie, and generate the corresponding cookie.
- the cookie is saved in the cookie folder. Specifically, since the cookie has a certain period of validity, such as three days, one month, or one year, adding the time attribute to the cookie generated by the association is more in line with the user's needs.
- the step S500 further includes: S510: The server of the web website reads the IMEI number of the mobile terminal in the cookie, searches for a corresponding registration name according to the IMEI number of the mobile terminal, and the server pair of the web website The cookie is verified. If the verification fails, the registration name and password are re-entered; if the verification is successful, the page after the registration name is logged into the web site is returned to the browser. Specifically, in the web After accepting the cookie sent by the mobile terminal, the station also verifies the cookie, such as whether the username and password correspond, whether the expiration date is exceeded, etc. If the verification fails, the user name and password are re-entered, and then the process proceeds to re-association in step S200. Corresponding cookie; if the verification is successful, return to the website page after logging in to the web site in the browser.
- the present invention provides a method for a mobile terminal to log in across a browser.
- the IMSI number of the SIM card is associated with a cookie. Specifically, the method includes the following steps:
- S220 Associate a web address of a different web website with a registration name and password corresponding to the user on the web website, an IMEI number of the mobile terminal, and an IMSI number of the mobile user, and generate a corresponding cookie, and save the cookie in the cookie folder. ;
- S320 Send the cookie to a server of a corresponding web website, where the server of the web website saves the IMEI number of the mobile terminal and the IMSI number of the mobile user under the registration name corresponding to the user;
- Any browser of the mobile terminal accepts a web site input by the user, and searches the cookie folder for a cookie of the web site, and if so, sends the cookie to the server of the web site; if not , returning to step S220;
- the server of the web website reads the IMEI number of the mobile terminal in the cookie and the IMSI number of the mobile user, according to the IMEI number of the mobile terminal and the mobile user.
- the IMSI number is searched for the corresponding registration name, and the page after the registration name is registered on the web site is returned to the browser.
- the second preferred embodiment of the present invention adds an IMSI number of the SIM card to generate a cookie, thereby further determining the identity of the mobile phone user, thereby promoting Use your mobile terminal to log in to the site for security.
- the IMSI International Mobile Subscriberdentification Number
- the total length is no more than 15 digits. The same number is used from 0 to 9. .
- the second preferred embodiment of the present invention uses a hard disk cookie to create a cookie folder in the ROM partition of the mobile phone in advance, which is used to store cookie information of all browsers.
- the cookie is generated by the URL of a different web site associated with the registration name and password of the user on the web site, the IMEI number of the mobile terminal, and the IMSI number of the mobile user.
- the mobile phone sends the user information to the website server through the browser, the associated cookie is simultaneously sent to the website server, and the website server saves the IMEI number of the mobile terminal and the IMSI number of the mobile user under the corresponding registration name of the user.
- the mobile phone When the user logs in to a website using any browser of the mobile phone, the mobile phone first searches the cookie folder for a cookie of the web website, and if so, sends the cookie to the server of the web website; , returning to step S200, that is, re-establishing a cookie corresponding to the web site in the cookie file, that is, re-associating the web site URL, the user's corresponding registration name and password on the web site, the IMEI number of the mobile terminal, and the mobile user's IMSI number.
- the reading office After the server of the web site receives the cookie associated with the IMEI number and the IMSI number of the mobile phone, the reading office Referring to the IMEI number and the IMSI number of the mobile phone in the cookie, searching for the corresponding registration name according to the IMEI number and the IMSI number of the mobile phone in the website server, and then returning the registered name to the browser after returning the page to the browser, thereby making The user does not need to enter the username and password again to log in to the web site.
- the cookie generation process in the present invention will be described below with a specific application embodiment.
- the IMEI number is an international mobile device identity code that identifies the identity of the mobile device;
- IMSI is an international mobile subscriber identity that identifies the user's valid identity. These two numbers will be used as the user's identification number.
- the cookie when the user opens the browser abc, the cookie records the information input by the user in the login box on the website, and creates a login_abc folder in the folder 1 to store the recorded user information.
- the user's registered name is XX
- the password is 123456
- the time attribute expires Saturday, 01-Mar-2014 00:00:01 GMT.
- Table 1 The numbers of IMEI and IMSI in Table 1 are for illustrative purposes only and are not limited.
- Website is a site.
- the IMEI and the IMSI are simultaneously sent to the server as part of the user information, and the server of the web website stores the IMEI and IMSI of the user under the user name.
- the information stored on the mobile phone and the server side is as shown in Table 2:
- the mobile phone When a user logs in to a website using any browser in the mobile phone, the mobile phone first searches the Web list in the cookie folder to retrieve whether the website has been logged in. If there is a record of the website, the user inputs the website address, the browser IMEI and IMSI corresponding to ⁇ are sent to the server as the attributes of the cookie. When the server receives the cookie information, it extracts the IMEI and IMSI information contained in the database, and finds the user name corresponding to the IMEI and IMSI in the database. Through the browser's sending verification information, return to the customized page, such as using the user name to log in to the browser.
- the present invention further provides a device for logging in across the browser of the mobile terminal. As shown in FIG. 3, the method includes:
- the cookie folder generating module 10 is configured to create a cookie folder in the storage module of the mobile terminal; specifically, as described in step S100.
- the cookie association generating module 20 is configured to associate the web address of the different web website with the registration name and password corresponding to the user on the web website, and the IMEI number of the mobile terminal to generate a corresponding cookie; as described in step S200.
- the web site server module 30 is configured to receive the cookie, and save the IMEI number of the mobile terminal under the registration name corresponding to the user; specifically, as described in step S300.
- the cookie search module 40 is configured to search, in the cookie folder, whether the cookie of the web site input by the user is used; specifically, as described in step S400.
- a cookie reading module 50 configured to read an IMEI of the mobile terminal in the cookie And searching for the corresponding registration name according to the IMEI number of the mobile terminal, and returning the page after the registration name is registered to the web site to the browser; specifically, as described in step S500.
- the cookie folder generating module 10 creates a cookie folder in the ROM of the mobile phone, and all the cookie information of the browser is saved in the cookie folder. Then, when the mobile phone logs in to the web site, the cookie association generation module 20 associates the URL of the different web site with the registration name and password corresponding to the user on the web site, and the IMEI number of the mobile terminal to generate a corresponding cookie, and saves the cookie. In the cookie folder. While the mobile phone is logged into the web site, the web site server module 30 receives the cookie corresponding to the web site, reads the IMEI number therein, and saves the IMEI number of the mobile terminal under the registration name corresponding to the user.
- the cookie lookup module 40 in the mobile phone first searches the cookie folder for whether there is a cookie of the web site input by the user, if any , the cookie is sent to the server of the web site; if not, the registration name and password are re-entered, and then the cookie of the website is generated.
- the server of the web site reads the IMEI number of the mobile phone in the cookie through the cookie reading module 50, and searches for the corresponding registration name according to the IMEI number of the mobile phone in the server, and logs the registered name into the server. The subsequent page is returned to the browser, so that the user directly enters the page after logging in to the web site.
- the cookie association generating module 20 is further configured to associate a web address of a different web website with a registration name and password corresponding to the user on the web website, an IMEI number of the mobile terminal, and an IMSI number of the mobile user to generate a corresponding cookie.
- the web website server module 30 is further configured to receive the cookie, And storing the IMEI number of the mobile terminal and the IMSI number of the mobile user under the registration name corresponding to the user.
- the cookie reading module 50 is further configured to read an IMEI number of the mobile terminal in the cookie and an IMSI number of the mobile user, and locate the corresponding registration between the IMEI number of the mobile terminal and the IMSI number of the mobile user. Name, return the page after logging in to the browser.
- the present invention provides a method and apparatus for landing a mobile terminal across a browser, the method for creating a cookie folder in a storage module of a mobile terminal in advance; Corresponding registration name and password of the web site, and the IMEI number of the mobile terminal are associated to generate a corresponding cookie, and the cookie is saved in the cookie folder; the cookie is sent to the server of the corresponding web site, the web site
- the server saves the IMEI number of the mobile terminal under the registration name corresponding to the user; any browser of the mobile terminal accepts a web site input by the user, and searches for the cookie of the web site in the cookie folder, if any, Sending the cookie to the server of the web site; if not, re-associating to generate a corresponding cookie; the server of the web site reads the IMEI number of the mobile terminal in the cookie, 4 according to the IMEI of the mobile terminal Search for the corresponding registration name, return the page after the registration name is returned to the browser, so that the user is using the same mobile terminal
- the IMEI number of the mobile phone and the IMSI number of the SIM card are associated with the registered name and password of the website to generate a cookie, so that the user only makes When you log in again with the same mobile phone and the same SIM card, you can not enter the registration name and password, which improves security.
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Data Mining & Analysis (AREA)
- Power Engineering (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- Human Computer Interaction (AREA)
- Library & Information Science (AREA)
- Information Transfer Between Computers (AREA)
- Telephonic Communication Services (AREA)
Abstract
本发明公开了移动终端跨浏览器登陆的方法和装置,所述方法通过预先在移动终端的存储模块中创建一cookie文件夹;web网站的服务器在用户对应的注册名下保存所述移动终端的IMEI号;移动终端的任一浏览器接受用户输入的web网站,在所述cookie文件夹中查找是否有该web网站的cookie,如果有,则将所述cookie发送至该web网站的服务器;web网站的服务器读取所述cookie中的移动终端的IMEI号,查找对应的注册名,将该注册名登录该web网站后的页面返回浏览器,从而解决了在移动终端上多个浏览器之间的免重复登录问题,无须再次输入用户名和密码,为用户带来了大大的方便。
Description
一种移动终端跨浏览器登陆的方法和装置 技术领域
本发明涉及移动终端设备,尤其涉及的是一种移动终端跨浏览器 登陆的方法和装置。 背景技术
随着移动终端特别是 3G智能手机的普及, 移动互联网的发展随 之突飞猛进。 用户原先在电脑上使用的功能渐渐地移到了手机上, 特 别是手机上网功能。作为移动互联网的入口, 移动浏览器功能也越来 越强大, 譬如高速上网性能及强劲内核等, 但有一个问题一直没有解 决, 就是跨手机浏览器的登陆问题。 众所周知, 所有浏览器在用户第 一次登陆某网站时, Cookie记录了你的用户 ID, 密码、 浏览过的网 页及停留的时间等信息, 当你再次来到该网站时, 网站服务器通过读 取 Cookie, 得知你的相关信息, 就可以做出相应的动作, 你不用输入 ID、 密码就直接登录等。 但每个浏览器都会按照自己的规则记录 Cookie, 以至于用户的手机里有多个浏览器时, 用不同的浏览器登陆 同一个网站, 会重复输入用户名和密码等, 记录的 Cookie不具有通 用性, 给用户带来了大大的不便。
因此, 现有技术还有待于改进和发展。
发明内容
本发明要解决的技术问题在于, 针对现有技术的上述缺陷, 提供 一种移动终端跨浏览器登陆的方法和装置, 旨在解决现有的移动终端 在切换浏览器时登录同样的网站时, 需重新输入用户名和密码的问 题。
本发明解决技术问题所釆用的技术方案如下:
一种移动终端跨浏览器登陆的方法, 其中, 包括以下步骤:
A、 预先在移动终端的存储模块中创建一 cookie文件夹;
B、将不同 web网站的网址与用户在该 web网站对应的注册名和 密码、及移动终端的 IMEI号关联生成对应的 cookie,并将所述 cookie 保存在所述 cookie文件夹中;
C、 将所述 cookie发送至对应的 web网站的服务器, web网站的 服务器在用户对应的注册名下保存所述移动终端的 IMEI号;
D、 移动终端的任一浏览器接受用户输入的 web 网站, 在所述 cookie文件夹中查找是否有该 web网站的 cookie, 如果有, 则将所述 cookie发送至该 web网站的服务器; 如果没有, 则返回步骤 B;
E、 web网站的服务器读取所述 cookie中的移动终端的 IMEI号, 根据所述移动终端的 IMEI 号查找对应的注册名, 将该注册名登录 web网站后的页面返回所述浏览器。
所述的移动终端跨浏览器登陆的方法,其中,所述步骤 E具体包 括:
web网站的服务器读取所述 cookie中的移动终端的 IMEI号, 根
据所述移动终端的 IMEI号查找对应的注册名, 所述 web网站的服务 器对所述 cookie进行验证, 若验证失败, 则重新输入注册名和密码; 若验证成功, 则将该注册名登录 web网站后的页面返回所述浏览器。
所述的移动终端跨浏览器登陆的方法, 其中, web网站的服务器 在验证时, 验证用户名和密码是否对应, 或者是否超过时效期。
所述的移动终端跨浏览器登陆的方法, 其中, 所述步骤 B 还包 括:
Bl、 将移动用户的 IMSI 号关联生成对应的 cookie, 并将所述 cookie保存在所述 cookie文件夹中。
所述的移动终端跨浏览器登陆的方法, 其中, 所述步骤 C还包 括:
Cl、 web网站的服务器在用户对应的注册名下保存所述移动用户 的 IMSI号。
所述的移动终端跨浏览器登陆的方法,其中,所述步骤 E还包括: El、 web网站的服务器读取所述 cookie中移动用户的 IMSI号, 根据所述移动终端的 IMEI号和移动用户的 IMSI号查找对应的注册 名, 将该注册名登录 web网站后的页面返回所述浏览器。
一种移动终端跨浏览器登陆的方法, 其包括以下步骤:
A、 预先在移动终端的存储模块中创建一 cookie文件夹;
B、将不同 web网站的网址与用户在该 web网站对应的注册名和 密码、及移动终端的 IMEI号关联生成对应的 cookie,并将所述 cookie 保存在所述 cookie文件夹中;
C、 将所述 cookie发送至对应的 web网站的服务器, web网站的 服务器在用户对应的注册名下保存所述移动终端的 IMEI号;
D、 移动终端的任一浏览器接受用户输入的 web 网站, 在所述 cookie文件夹中查找是否有该 web网站的 cookie, 如果有, 则将所述 cookie发送至该 web网站的服务器; 如果没有, 则返回步骤 B;
E、 web网站的服务器读取所述 cookie中的移动终端的 IMEI号, 根据所述移动终端的 IMEI 号查找对应的注册名, 将该注册名登录 web网站后的页面返回所述浏览器;
所述步骤 B还包括:
Bl、 将不同 web网站的网址与用户在该 web网站对应的有效时 间关联生成对应的 cookie, 并将所述 cookie保存在所述 cookie文件 夹中。
所述的移动终端跨浏览器登陆的方法中, 所述步骤 E具体包括: web网站的服务器读取所述 cookie中的移动终端的 IMEI号, 根 据所述移动终端的 IMEI号查找对应的注册名, 所述 web网站的服务 器对所述 cookie进行验证, 若验证失败, 则重新输入注册名和密码; 若验证成功, 则将该注册名登录 web网站后的页面返回所述浏览器。
所述的移动终端跨浏览器登陆的方法中, web网站的服务器在验 证时, 验证用户名和密码是否对应, 或者是否超过时效期。
所述的移动终端跨浏览器登陆的方法中, 所述步骤 B还包括: Bl、 将移动用户的 IMSI 号关联生成对应的 cookie, 并将所述 cookie保存在所述 cookie文件夹中。
所述的移动终端跨浏览器登陆的方法中, 所述步骤 C还包括: Cl、 web网站的服务器在用户对应的注册名下保存所述移动用户 的 IMSI号。
所述的移动终端跨浏览器登陆的方法中, 所述步骤 E还包括: El、 web网站的服务器读取所述 cookie中移动用户的 IMSI号, 根据所述移动终端的 IMEI号和移动用户的 IMSI号查找对应的注册 名, 将该注册名登录 web网站后的页面返回所述浏览器。
一种移动终端跨浏览器登陆的装置, 其中, 包括:
cookie 文件夹生成模块, 用于在移动终端的存储模块中创建一 cookie文件夹;
cookie关联生成模块, 用于将不同 web 网站的网址与用户在该 web网站对应的注册名和密码、 及移动终端的 IMEI号关联生成对应 的 cookie;
web网站服务器模块, 用于接收所述 cookie, 并在用户对应的注 册名下保存所述移动终端的 IMEI号;
cookie查找模块,用于在所述 cookie文件夹中查找是否有用户输 入的 web网站的 cookie;
cookie读取模块,用于读取所述 cookie中的移动终端的 IMEI号, 根据所述移动终端的 IMEI 号查找对应的注册名, 将该注册名登录 web网站后的页面返回浏览器。
所述的移动终端跨浏览器登陆的装置, 其中, 所述 cookie 关联 生成模块还用于将移动用户的 IMSI号关联生成对应的 cookie。
所述的移动终端跨浏览器登陆的装置, 其中, 所述 web 网站服 务器模块还用于接收所述 cookie,并在用户对应的注册名下保存所述 移动用户的 IMSI号。
所述的移动终端跨浏览器登陆的装置, 其中, 所述 cookie读取 模块还用于读取所述 cookie中移动用户的 IMSI号, 根据所述移动终 端的 IMEI号和移动用户的 IMSI号查找对应的注册名, 将该注册名 登录 web网站后的页面返回浏览器。
本发明所提供的一种移动终端跨浏览器登陆的方法和装置,有效 地解决了现有的移动终端在一个浏览器里登陆某个网站,再在其它浏 览器登陆同样的网站仍需要输入用户名和密码的问题,其方法通过预 先在移动终端的存储模块中创建一 cookie文件夹; 将不同 web网站 的网址与用户在该 web 网站对应的注册名和密码、 及移动终端的 IMEI号关联生成对应的 cookie, 并将所述 cookie保存在所述 cookie 文件夹中;将所述 cookie发送至对应的 web网站的服务器,并在 web 网站的服务器中用户对应的注册名下保存所述移动终端的 IMEI号; 移动终端的任一浏览器接受用户输入的 web网站, 在所述 cookie文 件夹中查找是否有该 web 网站的 cookie, 如果有, 则将所述 cookie 发送至该 web 网站的服务器; 如果没有, 则重新关联生成对应的 cookie; web网站的服务器读取所述 cookie中的移动终端的 IMEI号, 根据所述移动终端的 IMEI号查找对应的注册名, 将该注册名登录后 的页面返回浏览器,从而解决了在移动终端上多个浏览器之间的免重 复登录问题, 只需在移动终端上登录一次, 后续只要使用同样的移动
终端登录, 无须再次输入用户名和密码, 为用户带来了大大的方便。 附图说明
图 1 为本发明提供的移动终端跨浏览器登陆的方法第一较佳实 施例的流程图。
图 2 为本发明提供的移动终端跨浏览器登陆的方法第二较佳实 施例的结构框图。
图 3为本发明提供的移动终端跨浏览器登陆的装置的结构框图。 具体实施方式
本发明提供一种移动终端跨浏览器登陆的方法和装置,为使本发 明的目的、 技术方案及优点更加清楚、 明确, 以下参照附图并举实施 例对本发明进一步详细说明。应当理解, 此处所描述的具体实施例仅 仅用以解释本发明, 并不用于限定本发明。
请参阅图 1, 图 1为本发明提供的移动终端跨浏览器登陆的方法 第一较佳实施例的流程图, 包括以下步骤:
步骤 S100、预先在移动终端的存储模块中创建一 cookie文件夹; 步骤 S200、 将不同 web网站的网址与用户在该 web网站对应的 注册名和密码、 及移动终端的 IMEI号关联生成对应的 cookie, 并将 所述 cookie保存在所述 cookie文件夹中;
步骤 S300、将所述 cookie发送至对应的 web网站的服务器, web 网站的服务器在用户对应的注册名下保存所述移动终端的 IMEI号;
步骤 S400、 移动终端的任一浏览器接受用户输入的 web网站, 在所述 cookie文件夹中查找是否有该 web网站的 cookie, 如果有, 则将所述 cookie发送至该 web网站的服务器; 如果没有, 则返回步 骤 S200;
步骤 S500、 web网站的服务器读取所述 cookie中的移动终端的 IMEI号, 居所述移动终端的 IMEI号查找对应的注册名,将该注册 名登录 web网站后的页面返回所述浏览器。
所述移动终端一般为手机或平板电脑等,下面以手机为例结合具 体的实施例对上述步骤进行详细的描述。
首先简单说明一下 cookie的原理。 cookie是网站服务器暂存在手 机上的一笔资料, 网站服务器通过 cookie 来辨认用户。 当用户打开 浏览器浏览网站的时候, Web服务器会先送部分资料譬如用户 ID、 密码、浏览过的网页、及停留的时间等信息放在用户的手机上, Cookie 会帮用户在网站上所打的文字或是一些选择, 都记录下来。 当用户下 次打开同一个网站, Web服务器会先看看有没有它上次留下的 Cookie 资料, 有的话, 就会依据 Cookie里的内容来判断使用者, 从而显示 相应的内容。 一般来说, Cookie是由服务器端生成, 发送给手机浏览 器, 手机浏览器会将 Cookie保存到某个目录下的文本文件内, 一般 釆用 key-value分布式存储方式存储, 下次请求同一网站时就发送该 Cookie给服务器。 Cookie具有以下三个特性, 第一、 浏览器创建了 一个 Cookie 后, 对于每一个针对该网站的请求, 都会在 Header ( header, 即 PHP标头, 是服务器以 HTTP协议传 HTML资料到浏
览器前所送出的字串)中带着这个 Cookie; 不过, 对于其他网站的请 求 Cookie是绝对不会跟着发送的。 而且浏览器会这样一直发送, 直 到 Cookie过期为止。 第二、 如果在一台手机中安装多个浏览器, 每 个浏览器都会以独立的空间存放 C00kie。因为 cookie中不但可以确认 用户,还能包含手机和浏览器的信息, 所以一个用户用不同的浏览器 登录或者用不同的手机登录, 都会得到不同的 cookie信息。 第三、 Cookie总是保存在客户端也就是手机中, 按在客户端中的存储位置, 可分为内存 Cookie和硬盘 Cookie。 内存 Cookie由浏览器维护, 保存 在内存中,浏览器关闭后就消失了,其存在时间是短暂的。硬盘 Cookie 保存在硬盘里,有一个过期时间,除非用户手工清理或到了过期时间, 硬盘 Cookie不会被删除, 其存在时间是长期的。
基于上述 cookie的原理, 本发明釆用硬盘 cookie的方式, 预先 在手机的 ROM分区里创建一个 cookie文件夹,所述 cookie文件夹用 于存储所有浏览器的 cookie信息。 所述 cookie由不同 web网站的网 址与用户在该 web网站对应的注册名和密码、及移动终端的 IMEI号 关联生成。 IMEI(International Mobile Equipment Identity)是国际移动设 备身份码的缩写, 国际移动装备辨识码, 是由 15位数字组成的 "电子 串号", 它与每台手机——对应, 而且该码是全世界唯一的。 每一只 手机在组装完成后都将被赋予一个全球唯一的一组号码,这个号码从 生产到交付使用都将被制造生产的厂商所记录。因此,基于关联 IMEI 号生成的 cookie 具有唯一确定的特性。 当手机通过浏览器将用户信 息发送给网站服务器时, 同时将这些关联后的 cookie发送给网站服
务器, 网站服务器会在用户对应的注册名下保存该移动终端的 IMEI 号。
当用户使用手机的任何一个浏览器登陆某网站时,手机先从所述 cookie文件夹中查找是否有该 web网站的 cookie, 如果有, 则将所述 cookie发送至该 web网站的服务器; 如果没有, 则返回步骤 S200, 也就是重新在 cookie文件中建立一个该 web网站对应的 cookie。 当 web网站的服务器接收关联有手机的 IMEI号的 cookie后, 读取所述 cookie 中的手机的 IMEI号, 在网站服务器中根据所述手机的 IMEI 号查找对应的注册名, 然后将该注册名登录该 web 网站后的页面返 回浏览器, 从而使得用户无须再次输入用户名和密码登陆该 web 网 站。
进一步地, 所述步骤 S200还包括: S210、 将不同 web网站的网 址与用户在该 web 网站对应的注册名、 密码、 有效时间、 及移动终 端的 IMEI号关联生成对应的 cookie, 并将所述 cookie保存在所述 cookie文件夹中。 具体来说, 由于 cookie有一定的时间有效期, 譬如 三天、 一个月或一年等, 因此, 在关联生成的 cookie 中加入时间属 性更符合用户的需要。
进一步地, 所述步骤 S500还包括: S510、 web网站的服务器读 取所述 cookie中的移动终端的 IMEI号, 根据所述移动终端的 IMEI 号查找对应的注册名, 所述 web网站的服务器对所述 cookie进行验 证, 若验证失败, 则重新输入注册名和密码; 若验证成功, 则将该注 册名登录所述 web网站后的页面返回浏览器。 具体来说, 在 web网
站接受移动终端发送来的 cookie后, 还会对 cookie进行验证, 譬如 用户名和密码是否对应、 是否超过时效期等等, 验证失败的话, 则重 新输入用户名和密码, 然后进入步骤 S200 中重新关联生成对应的 cookie;若验证成功,则在浏览器中返回登录 web网站后的网站页面。
由于用户使用第一较佳实施例的移动终端,即使用户在更换 SIM 卡后,也能通过任一浏览器登录曾经登录过的页面而无需再次输入用 户名和密码, 为提高 cookie的安全性, 进一步地, 请参阅图 2, 本发 明提供了一种移动终端跨浏览器登陆的方法, 在第一实施例的基础 上, 还将 SIM卡的 IMSI号关联生成 cookie, 具体来说, 包括以下步 骤:
S100、 预先在移动终端的存储模块中创建一 cookie文件夹;
S220、 将不同 web网站的网址与用户在该 web网站对应的注册 名和密码、 移动终端的 IMEI号及移动用户的 IMSI号关联生成对应 的 cookie, 并将所述 cookie保存在所述 cookie文件夹中;
S320、 将所述 cookie发送至对应的 web网站的服务器, web网 站的服务器在用户对应的注册名下保存所述移动终端的 IMEI号和移 动用户的 IMSI号;
S400、 移动终端的任一浏览器接受用户输入的 web 网站, 在所 述 cookie文件夹中查找是否有该 web网站的 cookie, 如果有, 则将 所述 cookie发送至该 web网站的服务器;如果没有,则返回步骤 S220;
S520、 web网站的服务器读取所述 cookie中的移动终端的 IMEI 号和移动用户的 IMSI号, 才艮据所述移动终端的 IMEI号和移动用户
的 IMSI号查找对应的注册名, 将该注册名登录 web网站后的页面返 回所述浏览器。
具体来说, 本发明提供的第二较佳实施例, 在第一较佳实施例的 基础上, 再增加 SIM卡的 IMSI号来关联生成 cookie, 从而进一步确 定手机用户的身份, 从而提搞了使用移动终端登录网站的安全性。 国 际移动用户识别码 ( IMSI: International Mobile Subscriberldentification Number )是区别移动用户的标志, 储存在 SIM卡中, 可用于区别移 动用户的有效信息, 其总长度不超过 15位, 同样使用 0 ~ 9的数字。 本发明提供的第二较佳实施例釆用硬盘 cookie 的方式, 预先在手机 的 ROM分区里创建一个 cookie文件夹,所述 cookie文件夹用于存储 所有浏览器的 cookie信息。 所述 cookie由不同 web网站的网址与用 户在该 web网站对应的注册名和密码、移动终端的 IMEI号及移动用 户的 IMSI号关联生成。 当手机通过浏览器将用户信息发送给网站服 务器时, 同时将这些关联后的 cookie发送给网站服务器, 网站服务 器会在用户对应的注册名下保存该移动终端的 IMEI号和移动用户的 IMSI 号。 当用户使用手机的任何一个浏览器登陆某网站时, 手机先 从所述 cookie文件夹中查找是否有该 web网站的 cookie, 如果有, 则将所述 cookie发送至该 web网站的服务器; 如果没有, 则返回步 骤 S200, 也就是重新在 cookie文件中建立一个该 web 网站对应的 cookie, 即重新关联 web网站的网址、 用户在该 web网站对应的注册 名和密码、 移动终端的 IMEI号及移动用户的 IMSI号。 当 web网站 的服务器接收关联有手机的 IMEI号和 IMSI号的 cookie后, 读取所
述 cookie中的手机的 IMEI号和 IMSI号, 在网站服务器中根据所述 手机的 IMEI号和 IMSI号查找对应的注册名, 然后将该注册名登录 该 web 网站后的页面返回浏览器, 从而使得用户无须再次输入用户 名和密码登陆该 web网站。
以下以一具体应用实施例来说明本发明中的 cookie生成流程。 首先在手机的 ROM partition分区里创建一个文件名为 Cookie的 文件夹, 所有浏览器的 Cookie信息都会作为子文件夹保存在这个文 件夹里。然后在 Cookie的文件夹新建一个文件夹 1,保存手机的 IMEI 号和 IMSI号。 IMEI号是国际移动设备身份码, 用来识别手机设备身 份; IMSI是国际移动用户识别码, 用来识别用户的有效身份。 这两 个号会作为用户的身份识别码。 以浏览器 abc为例进行说明, 当用户 打开浏览器 abc时, Cookie把用户在网站上登陆框内输入的信息记录 下来, 在文件夹 1建一个 login_abc的文件夹, 存储所记录的用户信 息。 假设用户的注册名是 XX , 密码是 123456, 时效属性 expires=Saturday,01-Mar-2014 00:00:01 GMT。在创建 login_abc Cookie 的同时, 把 IMEI和 IMSI作为属性添加在 login_abc的属性里, 即出
表 1
其中表 1中 IMEI和 IMSI的号码只是举例说明, 并不做限定, Website为站点。当手机通过 HTTPS把用户信息发送给网站服务器时, 同时会把 IMEI和 IMSI作为用户信息的一部分发送给服务器, web 网站的服务器会在这个用户名下存储该用户的 IMEI和 IMSI。 这时, 手机端和服务器端的各自存储的信息如表 2所示:
表 2
当用户增加登陆的网站时, 手机上的 Cookie文件夹里面的 web list会增加, 如表 3所示:
手机上存储的信息,即 Cookie
文件夹
IMEL IMSL222222222222222
Web list
www.soso.com
www.haha.com
表 3
当用户使用手机里的任何一个浏览器登陆某网站时,手机会先到 Cookie文件夹内的 Web list里检索是否有登陆过该网站,如果有该网 址的记录, 则当用户输入网址, 浏览器会 ·ί巴对应的 IMEI和 IMSI作 为 Cookie的属性发送给服务器, 当服务器收到 Cookie信息后, 会抽 取出里面包含的 IMEI和 IMSI信息,在数据库里找到该 IMEI和 IMSI 所对应的用户名, 通过浏览器的发送验证信息, 返回定制的页面, 如 使用该用户名登陆后的页面给浏览器。
基于上述移动终端跨浏览器登陆的方法,本发明还提供了一种移 动终端跨浏览器登陆的装置, 如图 3所示, 包括:
cookie 文件夹生成模块 10, 用于在移动终端的存储模块中创建 一 cookie文件夹; 具体如步骤 S100所述。
cookie关联生成模块 20, 用于将不同 web网站的网址与用户在 该 web网站对应的注册名和密码、及移动终端的 IMEI号关联生成对 应的 cookie; 具体如步骤 S200所述。
web网站服务器模块 30,用于接收所述 cookie, 并在用户对应的 注册名下保存所述移动终端的 IMEI号; 具体如步骤 S300所述。
cookie查找模块 40, 用于在所述 cookie文件夹中查找是否有用 户输入的 web网站的 cookie; 具体如步骤 S400所述。
cookie读取模块 50, 用于读取所述 cookie中的移动终端的 IMEI
号, 根据所述移动终端的 IMEI号查找对应的注册名, 将该注册名登 录 web网站后的页面返回浏览器; 具体如步骤 S500所述。
具体来说, 所述 cookie文件夹生成模块 10在手机的 ROM中创 建一 cookie文件夹, 所有浏览器的 cookie信息都会保存在该 cookie 文件夹里。 然后, 在手机登陆 web网站时, cookie关联生成模块 20 将不同 web网站的网址与用户在该 web网站对应的注册名和密码、 及移动终端的 IMEI号关联生成对应的 cookie, 并将所述 cookie保存 在所述 cookie文件夹中。 在手机登陆 web网站的同时, web网站服 务器模块 30接收该 web网站对应的 cookie, 读取其中的 IMEI号, 并在用户对应的注册名下保存所述移动终端的 IMEI 号。 在建立好 cookie文件夹之后, 用户通过手机的任何浏览器登陆某 web网站时, 手机中的 cookie查找模块 40, 首先在所述 cookie文件夹中查找是否 有用户输入的 web网站的 cookie, 若有, 则将所述 cookie发送至该 web网站的服务器; 若没有, 则重新输入注册名和密码, 再关联生成 该网站的 cookie。 Web网站的服务器在接收所述 cookie后,通过 cookie 读取模块 50读取所述 cookie中的手机的 IMEI号, 在服务器中根据 所述手机的 IMEI号查找对应的注册名, 将该注册名登录后的页面返 回浏览器, 从而使得用户直接进入登陆该 web网站后的页面。
进一步地, 所述 cookie关联生成模块 20还用于将不同 web网站 的网址与用户在该 web网站对应的注册名和密码、 移动终端的 IMEI 号及移动用户的 IMSI号关联生成对应的 cookie。
进一步地,所述 web网站服务器模块 30还用于接收所述 cookie,
并在用户对应的注册名下保存所述移动终端的 IMEI号和移动用户的 IMSI号。
进一步地, 所述 cookie读取模块 50还用于读取所述 cookie中的 移动终端的 IMEI号和移动用户的 IMSI号, 居所述移动终端的 IMEI 号和移动用户的 IMSI号查找对应的注册名, 将该注册名登录后的页 面返回浏览器。
综上所述,本发明提供的一种移动终端跨浏览器登陆的方法和装 置, 所述方法通过预先在移动终端的存储模块中创建一 cookie 文件 夹; 将不同 web网站的网址与用户在该 web网站对应的注册名和密 码、 及移动终端的 IMEI号关联生成对应的 cookie, 并将所述 cookie 保存在所述 cookie文件夹中; 将所述 cookie发送至对应的 web网站 的服务器, web 网站的服务器在用户对应的注册名下保存所述移动 终端的 IMEI号; 移动终端的任一浏览器接受用户输入的 web网站, 在所述 cookie文件夹中查找是否有该 web网站的 cookie, 如果有, 则将所述 cookie发送至该 web网站的服务器; 如果没有, 则重新关 联生成对应的 cookie; web网站的服务器读取所述 cookie中的移动终 端的 IMEI号, 4艮据所述移动终端的 IMEI号查找对应的注册名, 将 该注册名登录后的页面返回浏览器,使得用户在使用同一移动终端的 任一浏览器登陆同一网站, 无需再次输入注册名和密码,从而为用户 带来了大大的方便, 即使用户更换 SIM卡也可以进行登陆。 进一步 地, 为提高用户登陆网站的安全性, 将手机的 IMEI号和 SIM卡的 IMSI号与网站的注册名和密码关联生成 cookie, 使得用户只有在使
用同一手机及同一 SIM卡再次登陆时, 才能不输入注册名和密码, 进而提高了安全性。
应当理解的是, 本发明的应用不限于上述的举例, 对本领域普通 技术人员来说, 可以根据上述说明加以改进或变换, 所有这些改进和 变换都应属于本发明所附权利要求的保护范围。
Claims
1、 一种移动终端跨浏览器登陆的方法, 其特征在于, 包括以下 步骤:
A、 预先在移动终端的存储模块中创建一 cookie文件夹;
B、将不同 web网站的网址与用户在该 web网站对应的注册名和 密码、及移动终端的 IMEI号关联生成对应的 cookie,并将所述 cookie 保存在所述 cookie文件夹中;
C、 将所述 cookie发送至对应的 web网站的服务器, web网站的 服务器在用户对应的注册名下保存所述移动终端的 IMEI号;
D、 移动终端的任一浏览器接受用户输入的 web 网站, 在所述 cookie文件夹中查找是否有该 web网站的 cookie, 如果有, 则将所述 cookie发送至该 web网站的服务器; 如果没有, 则返回步骤 B;
E、 web网站的服务器读取所述 cookie中的移动终端的 IMEI号, 根据所述移动终端的 IMEI 号查找对应的注册名, 将该注册名登录 web网站后的页面返回所述浏览器。
2、 根据权利要求 1所述的移动终端跨浏览器登陆的方法, 其特 征在于, 所述步骤 E具体包括:
web网站的服务器读取所述 cookie中的移动终端的 IMEI号, 根 据所述移动终端的 IMEI号查找对应的注册名, 所述 web网站的服务 器对所述 cookie进行验证, 若验证失败, 则重新输入注册名和密码; 若验证成功, 则将该注册名登录 web网站后的页面返回所述浏览器。
3、 根据权利要求 2所述的移动终端跨浏览器登陆的方法, 其特
征在于, web网站的服务器在验证时, 验证用户名和密码是否对应, 或者是否超过时效期。
4、 根据权利要求 1所述的移动终端跨浏览器登陆的方法, 其特 征在于, 所述步骤 B还包括:
Bl、 将移动用户的 IMSI 号关联生成对应的 cookie, 并将所述 cookie保存在所述 cookie文件夹中。
5、 根据权利要求 4所述的移动终端跨浏览器登陆的方法, 其特 征在于, 所述步骤 C还包括:
Cl、 web网站的服务器在用户对应的注册名下保存所述移动用户 的 IMSI号。
6、 根据权利要求 5所述的移动终端跨浏览器登陆的方法, 其特 征在于, 所述步骤 E还包括:
El、 web网站的服务器读取所述 cookie中移动用户的 IMSI号, 根据所述移动终端的 IMEI号和移动用户的 IMSI号查找对应的注册 名, 将该注册名登录 web网站后的页面返回所述浏览器。
7、 一种移动终端跨浏览器登陆的方法, 其特征在于, 包括以下 步骤:
A、 预先在移动终端的存储模块中创建一 cookie文件夹;
B、将不同 web网站的网址与用户在该 web网站对应的注册名和 密码、及移动终端的 IMEI号关联生成对应的 cookie,并将所述 cookie 保存在所述 cookie文件夹中;
C、 将所述 cookie发送至对应的 web网站的服务器, web网站的
服务器在用户对应的注册名下保存所述移动终端的 IMEI号;
D、 移动终端的任一浏览器接受用户输入的 web 网站, 在所述 cookie文件夹中查找是否有该 web网站的 cookie, 如果有, 则将所述 cookie发送至该 web网站的服务器; 如果没有, 则返回步骤 B;
E、 web网站的服务器读取所述 cookie中的移动终端的 IMEI号, 根据所述移动终端的 IMEI 号查找对应的注册名, 将该注册名登录 web网站后的页面返回所述浏览器;
所述步骤 B还包括:
Bl、 将不同 web网站的网址与用户在该 web网站对应的有效时 间关联生成对应的 cookie, 并将所述 cookie保存在所述 cookie文件 夹中。
8、 根据权利要求 7所述的移动终端跨浏览器登陆的方法, 其特 征在于, 所述步骤 E具体包括:
web网站的服务器读取所述 cookie中的移动终端的 IMEI号, 根 据所述移动终端的 IMEI号查找对应的注册名, 所述 web网站的服务 器对所述 cookie进行验证, 若验证失败, 则重新输入注册名和密码; 若验证成功, 则将该注册名登录 web网站后的页面返回所述浏览器。
9、 根据权利要求 8所述的移动终端跨浏览器登陆的方法, 其特 征在于, web网站的服务器在验证时, 验证用户名和密码是否对应, 或者是否超过时效期。
10、根据权利要求 7所述的移动终端跨浏览器登陆的方法, 其特 征在于, 所述步骤 B还包括:
Bl、 将移动用户的 IMSI 号关联生成对应的 cookie, 并将所述 cookie保存在所述 cookie文件夹中。
11、 根据权利要求 10所述的移动终端跨浏览器登陆的方法, 其 特征在于, 所述步骤 C还包括:
Cl、 web网站的服务器在用户对应的注册名下保存所述移动用户 的 IMSI号。
12、 根据权利要求 11所述的移动终端跨浏览器登陆的方法, 其 特征在于, 所述步骤 E还包括:
El、 web网站的服务器读取所述 cookie中移动用户的 IMSI号, 根据所述移动终端的 IMEI号和移动用户的 IMSI号查找对应的注册 名, 将该注册名登录 web网站后的页面返回所述浏览器。
13、 一种移动终端跨浏览器登陆的装置, 其特征在于, 包括: cookie 文件夹生成模块, 用于在移动终端的存储模块中创建一 cookie文件夹;
cookie关联生成模块, 用于将不同 web 网站的网址与用户在该 web网站对应的注册名和密码、 及移动终端的 IMEI号关联生成对应 的 cookie;
web网站服务器模块, 用于接收所述 cookie, 并在用户对应的注 册名下保存所述移动终端的 IMEI号;
cookie查找模块,用于在所述 cookie文件夹中查找是否有用户输 入的 web网站的 cookie;
cookie读取模块,用于读取所述 cookie中的移动终端的 IMEI号,
根据所述移动终端的 IMEI 号查找对应的注册名, 将该注册名登录 web网站后的页面返回浏览器。
14、 根据权利要求 13所述的移动终端跨浏览器登陆的装置, 其 特征在于, 所述 cookie关联生成模块还用于将移动用户的 IMSI号关 联生成对应的 cookie。
15、 根据权利要求 14所述的移动终端跨浏览器登陆的装置, 其 特征在于, 所述 web网站服务器模块还用于接收所述 cookie, 并在用
16、 根据权利要求 15所述的移动终端跨浏览器登陆的装置, 其 特征在于, 所述 cookie读取模块还用于读取所述 cookie中移动用户 的 IMSI号,才艮据所述移动终端的 IMEI号和移动用户的 IMSI号查找 对应的注册名, 将该注册名登录 web网站后的页面返回浏览器。
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US14/422,588 US9628988B2 (en) | 2013-07-05 | 2014-04-16 | Method and device of trans-browser login for mobile terminal |
| EP14819548.0A EP3018884B1 (en) | 2013-07-05 | 2014-04-16 | Mobile terminal cross-browser login method and device |
| ES14819548T ES2702908T3 (es) | 2013-07-05 | 2014-04-16 | Procedimiento y dispositivo de conexión con diferentes navegadores para terminal móvil |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310281386.3 | 2013-07-05 | ||
| CN2013102813863A CN103414745A (zh) | 2013-07-05 | 2013-07-05 | 一种移动终端跨浏览器登陆的方法和装置 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2015000320A1 true WO2015000320A1 (zh) | 2015-01-08 |
Family
ID=49607731
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2014/075454 Ceased WO2015000320A1 (zh) | 2013-07-05 | 2014-04-16 | 一种移动终端跨浏览器登陆的方法和装置 |
Country Status (5)
| Country | Link |
|---|---|
| US (1) | US9628988B2 (zh) |
| EP (1) | EP3018884B1 (zh) |
| CN (1) | CN103414745A (zh) |
| ES (1) | ES2702908T3 (zh) |
| WO (1) | WO2015000320A1 (zh) |
Families Citing this family (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103841188B (zh) * | 2014-02-27 | 2018-10-23 | 北京奇虎科技有限公司 | 一种浏览器中Cookie信息的处理方法和装置 |
| CN104270404B (zh) * | 2014-08-29 | 2018-09-04 | 小米科技有限责任公司 | 一种基于终端标识的登录方法及装置 |
| CN105577619B (zh) * | 2014-10-15 | 2020-03-03 | 腾讯科技(深圳)有限公司 | 一种客户端登录方法、客户端以及系统 |
| CN104468834B (zh) * | 2014-12-26 | 2017-12-26 | 北京奇虎科技有限公司 | 进行Cookie数据处理的方法、装置和浏览器客户端 |
| CN105743700A (zh) * | 2016-01-28 | 2016-07-06 | 北京量科邦信息技术有限公司 | 一种基于app原生页面的模拟登录方法 |
| CN105847422A (zh) * | 2016-05-16 | 2016-08-10 | 乐视控股(北京)有限公司 | 一种用户跟踪方法和服务器 |
| CN107016074B (zh) * | 2017-03-24 | 2023-04-25 | 腾讯科技(深圳)有限公司 | 一种网页加载方法及装置 |
| US10248971B2 (en) * | 2017-09-07 | 2019-04-02 | Customer Focus Software Limited | Methods, systems, and devices for dynamically generating a personalized advertisement on a website for manufacturing customizable products |
| CN108111486B (zh) * | 2017-12-05 | 2021-06-08 | 北京天融信网络安全技术有限公司 | 一种免重复登录的方法及装置 |
| CN110071926B (zh) * | 2019-04-26 | 2021-07-30 | 秒针信息技术有限公司 | 一种数据处理方法及装置 |
| CN110300154B (zh) * | 2019-05-30 | 2020-06-09 | 上海派拉软件股份有限公司 | 基于插件实现多浏览器session共享方法 |
| CN111131208B (zh) * | 2019-12-13 | 2022-03-25 | 广州极晟网络技术有限公司 | 第三方业务应用登录方法、装置、计算机设备和存储介质 |
| RU2740308C1 (ru) * | 2020-02-14 | 2021-01-13 | Общество с ограниченной ответственностью "МКС" | Способ идентификации онлайн-пользователя и его устройства |
| CN112235246A (zh) * | 2020-09-14 | 2021-01-15 | 上海硬通网络科技有限公司 | 跨终端的账号登录方法、装置及电子设备 |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102591916A (zh) * | 2011-12-19 | 2012-07-18 | 李子平 | 一种网页开启方法及一种网站系统 |
| CN102821093A (zh) * | 2012-06-29 | 2012-12-12 | 北京牡丹电子集团有限责任公司 | 一种支持跨终端应用的内容保护授权系统和方法 |
| CN102970284A (zh) * | 2012-11-05 | 2013-03-13 | 北京奇虎科技有限公司 | 用户信息处理方法和服务器 |
Family Cites Families (15)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| GB2367213B (en) * | 2000-09-22 | 2004-02-11 | Roke Manor Research | Access authentication system |
| KR20020078989A (ko) * | 2001-04-12 | 2002-10-19 | (주)엠커머스 | 휴대단말기를 이용한 신용카드 거래인증 시스템 및 그 방법 |
| JP4782139B2 (ja) * | 2004-10-26 | 2011-09-28 | テレコム・イタリア・エッセ・ピー・アー | モバイルユーザーをトランスペアレントに認証してウェブサービスにアクセスする方法及びシステム |
| US8613058B2 (en) * | 2007-05-31 | 2013-12-17 | At&T Intellectual Property I, L.P. | Systems, methods and computer program products for providing additional authentication beyond user equipment authentication in an IMS network |
| US7992197B2 (en) * | 2007-10-29 | 2011-08-02 | Yahoo! Inc. | Mobile authentication framework |
| US20100299745A1 (en) * | 2009-05-22 | 2010-11-25 | Sony Ericsson Mobile Communications Ab | Locking and resetting lock key of communication device |
| US9490984B2 (en) * | 2009-09-14 | 2016-11-08 | Interdigital Patent Holdings, Inc. | Method and apparatus for trusted authentication and logon |
| CN101969636B (zh) * | 2009-12-31 | 2013-10-30 | 优视科技有限公司 | 一种用于移动通讯用户终端的书签管理系统及其应用方法 |
| JP4988003B2 (ja) * | 2010-03-29 | 2012-08-01 | シャープ株式会社 | 複合機、複合機制御システム、プログラムおよび記録媒体 |
| US9413750B2 (en) * | 2011-02-11 | 2016-08-09 | Oracle International Corporation | Facilitating single sign-on (SSO) across multiple browser instance |
| US10290017B2 (en) * | 2011-11-15 | 2019-05-14 | Tapad, Inc. | Managing associations between device identifiers |
| CN103166998B (zh) * | 2011-12-15 | 2016-03-23 | 中国电信股份有限公司 | 用户信息关联方法、系统及服务器 |
| US9642005B2 (en) * | 2012-05-21 | 2017-05-02 | Nexiden, Inc. | Secure authentication of a user using a mobile device |
| US9521548B2 (en) * | 2012-05-21 | 2016-12-13 | Nexiden, Inc. | Secure registration of a mobile device for use with a session |
| CN102790772B (zh) * | 2012-07-25 | 2015-09-16 | 亿赞普(北京)科技有限公司 | Cookie数据的处理方法、服务器和客户端 |
-
2013
- 2013-07-05 CN CN2013102813863A patent/CN103414745A/zh active Pending
-
2014
- 2014-04-16 ES ES14819548T patent/ES2702908T3/es active Active
- 2014-04-16 US US14/422,588 patent/US9628988B2/en active Active
- 2014-04-16 WO PCT/CN2014/075454 patent/WO2015000320A1/zh not_active Ceased
- 2014-04-16 EP EP14819548.0A patent/EP3018884B1/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102591916A (zh) * | 2011-12-19 | 2012-07-18 | 李子平 | 一种网页开启方法及一种网站系统 |
| CN102821093A (zh) * | 2012-06-29 | 2012-12-12 | 北京牡丹电子集团有限责任公司 | 一种支持跨终端应用的内容保护授权系统和方法 |
| CN102970284A (zh) * | 2012-11-05 | 2013-03-13 | 北京奇虎科技有限公司 | 用户信息处理方法和服务器 |
Also Published As
| Publication number | Publication date |
|---|---|
| EP3018884A1 (en) | 2016-05-11 |
| EP3018884A4 (en) | 2016-12-28 |
| ES2702908T3 (es) | 2019-03-06 |
| CN103414745A (zh) | 2013-11-27 |
| US20150220234A1 (en) | 2015-08-06 |
| US9628988B2 (en) | 2017-04-18 |
| EP3018884B1 (en) | 2018-09-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2015000320A1 (zh) | 一种移动终端跨浏览器登陆的方法和装置 | |
| KR102097881B1 (ko) | 단축 링크를 처리하는 방법 및 장치, 및 단축 링크 서버 | |
| CN102752288B (zh) | 网络访问行为识别方法和装置 | |
| AU2012363126B2 (en) | Terminal device and user information synchronization method | |
| CN102215250B (zh) | 用于移动通讯设备终端的自动填表方法、服务器及客户端 | |
| US20130246504A1 (en) | Method for subscribing to notification, apparatus and system | |
| CN101102313B (zh) | 自动更换代理服务器的网络下载系统及方法 | |
| CN103617267B (zh) | 社交化扩展搜索方法及装置、系统 | |
| CN106161669A (zh) | 一种快速域名解析方法和系统、及其终端和服务器 | |
| CN102868719A (zh) | 一种基于缓存的网络访问方法和服务器 | |
| CN105577735A (zh) | 基于浏览器的用户行为追踪方法及装置 | |
| CN102349088A (zh) | 整合多个访问统计服务器运营的系统及其方法 | |
| CN106803032A (zh) | 实现网站指纹登录的方法、装置和客户端设备 | |
| KR101637016B1 (ko) | 이용자 반응형 웹페이지 제공 방법 | |
| CN102023990A (zh) | 一种生成书签的方法、设备与系统 | |
| CN110071926A (zh) | 一种数据处理方法及装置 | |
| KR102093166B1 (ko) | 웹사이트 접속 시간 단축 방법 및 이를 위한 장치 | |
| WO2017181407A1 (zh) | 一种网络认证方法、客户端、终端设备及平台 | |
| KR101140262B1 (ko) | 모바일 검색결과 제공시스템, 방법 및 컴퓨터 판독 가능한 기록매체 | |
| JPWO2008143284A1 (ja) | コンテンツ提供装置、コンテンツ提供方法、およびコンピュータ使用可能な記憶媒体 | |
| CN101827114A (zh) | 失败响应的方法及网关、系统 | |
| KR101061189B1 (ko) | 고유 식별 이미지를 이용한 접속자 인식 방법 및 이를 수행하는 웹 서버 | |
| CN114996621B (zh) | 一种用户自选门户首页的方法、系统和存储介质 | |
| KR20120052913A (ko) | 모바일 검색결과 제공시스템, 방법 및 컴퓨터 판독 가능한 기록매체 | |
| CN103795741B (zh) | 一种服务器及服务器侧用户自选门户首页的方法 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| WWE | Wipo information: entry into national phase |
Ref document number: 14422588 Country of ref document: US |
|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14819548 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2014819548 Country of ref document: EP |

