CN109194683A - Logon information processing method, device and client - Google Patents

Logon information processing method, device and client Download PDF

Info

Publication number
CN109194683A
CN109194683A CN201811165320.7A CN201811165320A CN109194683A CN 109194683 A CN109194683 A CN 109194683A CN 201811165320 A CN201811165320 A CN 201811165320A CN 109194683 A CN109194683 A CN 109194683A
Authority
CN
China
Prior art keywords
logon information
page
login page
behalf
sent
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811165320.7A
Other languages
Chinese (zh)
Inventor
钟望
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Cloud Network Technology Co Ltd
Beijing Kingsoft Cloud Technology Co Ltd
Original Assignee
Beijing Kingsoft Cloud Network Technology Co Ltd
Beijing Kingsoft Cloud Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Cloud Network Technology Co Ltd, Beijing Kingsoft Cloud Technology Co Ltd filed Critical Beijing Kingsoft Cloud Network Technology Co Ltd
Priority to CN201811165320.7A priority Critical patent/CN109194683A/en
Publication of CN109194683A publication Critical patent/CN109194683A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0281Proxies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • H04L9/0618Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation
    • H04L9/0625Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation with splitting of the data block into left and right halves, e.g. Feistel based algorithms, DES, FEAL, IDEA or KASUMI

Landscapes

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

Abstract

The present invention provides a kind of logon information processing method, device and clients, it is related to field of computer technology, this method acts on behalf of the page applied to client, acts on behalf of the login page that the page is embedded in the client, acts on behalf of the page from login page and be in different domains;This method comprises: receiving the solicited message for the logon information for logging in login page for request that login page is sent;Logon information is obtained from the default memory block acted on behalf of under domain where the page;Logon information is sent to login page.Since logon information is from the default memory block acted on behalf of under domain where the page, avoids logon information and be directly exposed under the place domain of login page, so that other people can not learn the save location of logon information, therefore improve the safety of logon information.

Description

Logon information processing method, device and client
Technical field
The present invention relates to field of computer technology, more particularly, to a kind of logon information processing method, device and client.
Background technique
With the development of e-commerce, more and more users log in client shopping, financing and payment.In order to improve visitor The safety of family information, user register user name on the client, and corresponding password is arranged, and prevent other people from logging in the account of oneself Number.
In order to realize the convenience logged in, the efficiency of user's login account is improved, usually remembers to use by client at present Name in an account book and cryptographic function realize the Auto-writing of username and password.Specifically, when in login page for the first time use user name When with the success of password login account, the username and password is directly stored in corresponding under the current field on the client and is stored Area;When user is again introduced into login page, login page is obtained from the correspondence memory block under the current field and Auto-writing is protected The username and password deposited.
But in this implementation for remembeing password, username and password is directly stored in corresponding under the current field and is stored Area, true username and password will be exposed to other users, and security risk is relatively high.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of logon information processing method, device and client, to improve The safety of logon information.
In a first aspect, agency's page the embodiment of the invention provides a kind of logon information processing method, applied to client Face, the login page acted on behalf of the page and be embedded in the client, the page and the login page acted on behalf of be not in Same domain;The described method includes:
Receive the request letter for the logon information that the login page is logged in for request that the login page is sent Breath;
The logon information is obtained from the default memory block acted on behalf of under domain where the page;
The logon information is sent to the login page.
With reference to first aspect, the embodiment of the invention provides the first possible embodiments of first aspect, wherein connects The solicited message for receiving the logon information for logging in the login page for request that the login page is sent includes:
Message event by monitoring html5 obtains the solicited message that the login page is sent.
With reference to first aspect, the embodiment of the invention provides second of possible embodiments of first aspect, wherein institute It states and the logon information is sent to the login page, comprising:
The logon information is returned into the login page by postMessage.
With reference to first aspect, the embodiment of the invention provides the third possible embodiments of first aspect, wherein Before the solicited message for receiving the logon information for logging in the login page for request that the login page is sent, institute State method further include:
In the case where logging in the login page for the first time and logging in successful situation, receives the described of login page transmission and step on Land information;
The logon information is stored in the default memory block.
The third possible embodiment with reference to first aspect, the embodiment of the invention provides the 4th kind of first aspect Possible embodiment, wherein the logon information is stored in the default memory block includes:
The logon information is encrypted using symmetric encipherment algorithm;
The encrypted logon information is stored in the default memory block.
The 4th kind of possible embodiment with reference to first aspect, the embodiment of the invention provides the 5th kind of first aspect Possible embodiment, wherein the logon information, which is sent to the login page, includes:
The logon information is decrypted using symmetrical decipherment algorithm corresponding with the symmetric encipherment algorithm;
The logon information after decryption is sent to the login page.
Second aspect, the embodiment of the present invention also provide a kind of logon information processing unit, agency's page applied to client Face, the login page acted on behalf of the page and be embedded in the client, the page and the login page acted on behalf of be not in Same domain;Described device includes:
Receiving module logs in logging in for the login page for receiving the request that is used for that the login page is sent The solicited message of information;
Module is obtained, for obtaining the logon information from the default memory block acted on behalf of under domain where the page;
Sending module, for the logon information to be sent to the login page.
In conjunction with second aspect, the embodiment of the invention provides the first possible embodiments of second aspect, wherein institute Receiving module is stated to be specifically used for:
Message event by monitoring html5 obtains the solicited message that the login page is sent.
In conjunction with second aspect, the embodiment of the invention provides second of possible embodiments of second aspect, wherein institute Sending module is stated to be specifically used for:
The logon information is returned into the login page by postMessage.
In conjunction with second aspect, the embodiment of the invention provides the third possible embodiments of second aspect, wherein institute Stating device further includes preserving module;
The receiving module is also used in the case where logging in the login page for the first time and logging in successful situation, is stepped on described in reception The logon information that the land page is sent;
The preserving module is for the logon information to be stored in the default memory block.
In conjunction with the third possible embodiment of second aspect, the embodiment of the invention provides the 4th kind of second aspect Possible embodiment, wherein the preserving module is specifically used for:
The logon information is encrypted using symmetric encipherment algorithm;
The encrypted logon information is stored in the default memory block.
In conjunction with the 4th kind of possible embodiment of second aspect, the embodiment of the invention provides the 5th kind of second aspect Possible embodiment, wherein the sending module is also used to:
The logon information is decrypted using symmetrical decipherment algorithm corresponding with the symmetric encipherment algorithm;
The logon information after decryption is sent to the login page.
The third aspect, the embodiment of the present invention also provide a kind of client, including memory, processor, in the memory It is stored with the computer program that can be run on the processor, the processor is realized above-mentioned when executing the computer program Method described in first aspect or its any possible embodiment.
Fourth aspect, the embodiment of the present invention also provide a kind of meter of non-volatile program code that can be performed with processor Calculation machine readable medium, said program code make the processor execute above-mentioned first aspect or its any possible embodiment The method.
The embodiment of the present invention bring it is following the utility model has the advantages that
In the embodiment of the present invention, logon information processing method acts on behalf of the page applied to client, acts on behalf of the page and is embedded into To the login page of the client, the page is acted on behalf of from login page and is in different domains;This method comprises: receiving login page hair That send logs in the solicited message of the logon information of login page for request;From the default storage acted on behalf of under domain where the page Logon information is obtained in area;Logon information is sent to login page.Since logon information is from acting on behalf of under domain where the page Default memory block, avoids logon information and is directly exposed under the place domain of login page, so that other people, which can not learn, logs in letter The save location of breath, therefore logon information processing method, device and client provided in an embodiment of the present invention improve and log in letter The safety of breath.
Other features and advantages of the present invention will illustrate in the following description, also, partly become from specification It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention are in specification and attached drawing Specifically noted structure is achieved and obtained.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art Embodiment or attached drawing needed to be used in the description of the prior art be briefly described, it should be apparent that, it is described below Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor It puts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow chart of logon information processing method provided in an embodiment of the present invention;
Fig. 2 is the flow chart of another logon information processing method provided in an embodiment of the present invention;
Fig. 3 is the flow chart of another logon information processing method provided in an embodiment of the present invention;
Fig. 4 is the flow chart of another logon information processing method provided in an embodiment of the present invention;
Fig. 5 is the flow chart of another logon information processing method provided in an embodiment of the present invention;
Fig. 6 is a kind of interaction figure for handling logon information provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of logon information processing unit provided in an embodiment of the present invention;
Fig. 8 is the structural schematic diagram of another logon information processing unit provided in an embodiment of the present invention;
Fig. 9 is a kind of structural schematic diagram of client provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention Technical solution be clearly and completely described, it is clear that described embodiments are some of the embodiments of the present invention, rather than Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise Under every other embodiment obtained, shall fall within the protection scope of the present invention.
Client remembers that username and password function, security risk are relatively high in currently available technology.Inventor is studying It finds in the process, the approach for obtaining logon information when logging in automatically is that correspondence memory block under the current field reads and logs in letter Breath is based on this, a kind of logon information processing method, device and client provided in an embodiment of the present invention, by by logon information It is stored in the correspondence memory block under the domain different from domain where login page, the safety of logon information can be improved.The technology It can be applied in browser, application program etc., be specifically described below.
Fig. 1 is a kind of flow chart of logon information processing method provided in an embodiment of the present invention, as shown in Figure 1, this method The page is acted on behalf of applied to client, the login page that the page is embedded in the client is acted on behalf of, acts on behalf of the page and login page In different domains;Client includes desktop computer, mobile phone, tablet computer or other special-purpose terminals etc.;This method includes Following steps:
Step S102 receives the request letter for the logon information that login page is logged in for request that login page is sent Breath.
It can be, but not limited to be embedded into login page for the page is acted on behalf of by iframe on the client, act on behalf of the page and be in Hidden state can be, but not limited to carry out acting on behalf of the interaction between the page and login page by postMessage.
In some possible embodiments, when the logon information of login page be stored in act on behalf of it is pre- under domain where the page If behind memory block, when user is again introduced into login page, login page can send request to the page is acted on behalf of by postMessage The solicited message of logon information is obtained, the logon information is for logging in the login page;The detailed process of above-mentioned steps S101 is such as Under: it acts on behalf of the page and obtains the solicited message that login page is sent by monitoring the message event of itself, the solicited message quilt It is stored in the data attribute for acting on behalf of the page.
Step S104 obtains logon information from the default memory block acted on behalf of under domain where the page.
Specifically, default memory block can be, but not limited to as cookie or localStorage.
In some possible embodiments, detailed process is as follows by step S104: act on behalf of the page according to above-mentioned solicited message, Corresponding logon information is read from the cookie or localStorage acted on behalf of under domain where the page in client, this logs in letter Breath includes username and password.
Above-mentioned logon information is sent to login page by step S106.
In some possible embodiments, the logon information including username and password that will acquire passes through PostMessage returns to login page, so that username and password is filled into corresponding input frame by login page automatically.
In the embodiment of the present invention, logon information processing method acts on behalf of the page applied to client, acts on behalf of the page and is embedded into To the login page of the client, the page is acted on behalf of from login page and is in different domains;This method comprises: receiving login page hair That send logs in the solicited message of the logon information of login page for request;From the default storage acted on behalf of under domain where the page Logon information is obtained in area;Logon information is sent to login page.Since logon information is from acting on behalf of under domain where the page Default memory block, avoids logon information and is directly exposed under the place domain of login page, so that other people, which can not learn, logs in letter The save location of breath, therefore improve the safety of logon information.
The embodiment of the invention also provides another logon information processing method, this method method shown in above-mentioned Fig. 1 On the basis of realize, in this method, proxy server address are as follows: http://proxy.myweb.com, acting on behalf of the page is Proxy.html acts on behalf of the page and is uploaded on proxy server;Default memory block is localStorage.As shown in Fig. 2, should Method specifically comprises the following steps:
Step S202 obtains the solicited message for request logon information that login page is sent.
Proxy.html obtains the solicited message that login page is sent by monitoring the message event of html5.
Step S204 obtains logon information from the localStorage under the domain of the place proxy.html.
Proxy.html reads from the localStorage under http://proxy.myweb.com in client and logs in Information, the logon information include username and password.
Above-mentioned logon information is sent to login page by postMessage by step S206.
The username and password of reading is returned to login page by postMessage by proxy.html.
In above-mentioned logon information processing method, proxy.html obtains the solicited message that login page is sent, then from its institute Logon information is obtained in the localStorage under domain, logon information is sent to by login page by postMessage.It should Mode avoids logon information and is directly exposed under the place domain of login page, improves the safety of logon information.
Based on above content, the present embodiment additionally provides another logon information processing method, and this method relates generally to step on The preservation of land information, as shown in figure 3, this method comprises the following steps:
Step S302 receives logging in for login page transmission in the case where logging in login page for the first time and logging in successful situation Information.
In some possible embodiments, user first inputs user when logging in login page for the first time in login page Name and password, then click Button Login, if logging in success, login page can be by postMessage by the user of input Name and password transmission are acted on behalf of the page;It acts on behalf of the page and obtains the use that login page is sent by monitoring the message event of itself Name in an account book and password, the username and password are the logon information for logging in the login page.
Above-mentioned logon information is stored in above-mentioned default memory block by step S304.
In some possible embodiments, the page is acted on behalf of with coverage mode, username and password to be saved is stored in generation In cookie or localStorage under domain where managing the page.
In above-mentioned logon information processing method, acts on behalf of the page and be stored in the logon information that login page is sent and act on behalf of the page In default memory block under the domain of place, avoids logon information and be directly exposed under the place domain of login page, improve and log in The safety of information.
On the basis of the above embodiments, the present embodiment additionally provides another logon information processing method, and this method exists Logon information is encrypted before saving logon information, to further increase the safety of logon information;Such as Fig. 4 institute Show, this method comprises the following steps:
Step S402 receives the logon information that login page is sent.
Step S404 encrypts above-mentioned logon information using symmetric encipherment algorithm.
Logon information includes username and password, acts on behalf of the page after receiving logon information, passes through symmetric encipherment algorithm Username and password is encrypted.Symmetric encipherment algorithm can be, but not limited to be any one of following: DES (Data Encrytion Standard) algorithm, 3DES (Triple DES) algorithm, TDEA (Triple Data Encryption Algorithm, three data encryption algorithm), Blowfish algorithm, RC5 algorithm, IDEA algorithm.
Encrypted logon information is stored in above-mentioned default memory block by step S406.
In above-mentioned logon information processing method, acts on behalf of the page and symmetric encipherment algorithm is first used to carry out the logon information of acquisition Encryption, then saved, further improve the safety of logon information.
With logon information processing method shown in Fig. 4 correspondingly, the embodiment of the invention also provides another kinds to log in letter Processing method is ceased, this method is first decrypted logon information before sending logon information;As shown in figure 5, this method includes Following steps:
Step S502 receives the solicited message that login page is sent.
Step S504 obtains logon information from the default memory block acted on behalf of under domain where the page.
Step S506 solves above-mentioned logon information using symmetrical decipherment algorithm corresponding with above-mentioned symmetric encipherment algorithm It is close.
Logon information after decryption is sent to login page by step S508.
In above-mentioned logon information processing method, act on behalf of the page obtain logon information after, first use and symmetric encipherment algorithm pair Logon information is decrypted in the symmetrical decipherment algorithm answered, and is then forwarded to login page, further improves the peace of logon information Quan Xing.
In order to make it easy to understand, the embodiment of the invention provides a kind of interaction figures for handling logon information, as shown in fig. 6, in advance If memory block is localStorage, the process for handling logon information is as follows:
The logon information of input is passed to and acts on behalf of the page by step S602, login page.
Step S604 is acted on behalf of after the page gets logon information from login page, using symmetric encipherment algorithm to logging in letter Breath is encrypted.
Step S606 acts on behalf of the page and is stored in encrypted logon information and acts on behalf of under domain where the page In localStorage.
Step S608, the landing page Agent-oriented page send the solicited message for being used for request logon information.
Step S610 is acted on behalf of after the page receives solicited message, under domain where the page is acted on behalf of from client Logon information is obtained in localStorage.
Step S612 is acted on behalf of the page and is logged in using symmetrical decipherment algorithm corresponding with above-mentioned symmetric encipherment algorithm to acquisition Information is decrypted.
Step S614 acts on behalf of the page for the logon information after decryption and is sent to login page.
After login page receives logon information, logon information is filled into its input frame.
It should be noted that the embodiments are all described in a progressive manner for above-mentioned each method, each embodiment is stressed Be the difference from other embodiments, the same or similar parts between the embodiments can be referred to each other.
Corresponding to above method embodiment, the embodiment of the invention provides a kind of logon information processing unit, which is set Be placed in client acts on behalf of the page, acts on behalf of the login page that the page is embedded in the client, acts on behalf of at the page and login page In different domains;As shown in fig. 7, the device includes:
Receiving module 72, for receiving the logon information for logging in login page for request of login page transmission Solicited message;
Module 74 is obtained, for obtaining logon information from the default memory block acted on behalf of under domain where the page;
Sending module 76, for above-mentioned logon information to be sent to login page.
Above-mentioned receiving module 72 is specifically used for:
Message event by monitoring html5 obtains the solicited message that login page is sent.
Above-mentioned sending module 76 is specifically used for:
Above-mentioned logon information is returned into login page by postMessage.
The embodiment of the invention also provides another logon information processing unit, which is set to agency's page of client The login page that the page is embedded in the client is acted on behalf of in face, is acted on behalf of the page from login page and is in different domains;Such as Fig. 8 institute Show, on the basis of above-mentioned apparatus, which further includes preserving module 82;
Above-mentioned receiving module 72 is also used in the case where logging in login page for the first time and logging in successful situation, receives login page The logon information of transmission;
Above-mentioned preserving module 82 is for above-mentioned logon information to be stored in default memory block.
Above-mentioned preserving module 82 is specifically used for:
Logon information is encrypted using symmetric encipherment algorithm;
Encrypted logon information is stored in default memory block.
Above-mentioned sending module 76 is also used to:
Logon information is decrypted using symmetrical decipherment algorithm corresponding with above-mentioned symmetric encipherment algorithm;
Logon information after decryption is sent to login page.
The technical effect of logon information processing unit provided by the embodiment of the present invention, realization principle and generation and aforementioned Embodiment of the method is identical, and to briefly describe, Installation practice part does not refer to place, can refer to corresponding in preceding method embodiment Content.
The embodiment of the invention also provides a kind of client, which includes memory and processor, and memory is used Processor is supported to execute the program of logon information processing method provided by previous embodiment in storage, processor is configured as using The program stored in execution memory.The client can also include communication interface, be used for and other equipment or communication network Communication.The client can be include mobile phone, tablet computer, PDA (Personal Digital Assistant, individual digital Assistant), any client such as vehicle-mounted computer.
Further, the present embodiment additionally provides a kind of computer storage medium, is provided for being stored as previous embodiment Any one logon information processing unit used in computer software instructions.
A kind of structural schematic diagram of client as shown in Figure 9, the client 100 include: radio frequency (Radio Frequency, RF) circuit 110, memory 120, input unit 130, display unit 140, sensor 150, voicefrequency circuit 160, The components such as Wireless Fidelity (Wireless Fidelity, WiFi) module 170, processor 180 and power supply 190.This field skill Art personnel are appreciated that 100 structure of client shown in Fig. 9 does not constitute the restriction to client 100, may include than figure Show more or fewer components, perhaps combines certain components or different component layouts.
It is specifically introduced below with reference to each component parts of the Fig. 9 to client 100:
RF circuit 110 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, handled to processor 180;In addition, the data for designing uplink are sent to base station.In general, RF circuit 110 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuit 110 can also be communicated with network and other equipment by wireless communication. Any communication standard or agreement, including but not limited to global system for mobile communications (Global can be used in above-mentioned wireless communication System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE), Email, short message service (Short Messaging Service, SMS) etc..
Memory 120 can be used for storing software program and module, such as logon information processing method in the embodiment of the present invention Corresponding program instruction/module, processor 180 is stored in the software program and module of memory 120 by operation, to hold The various function application and data processing of row client 100, such as logon information processing method provided in an embodiment of the present invention.It deposits Reservoir 120 can mainly include storing program area and storage data area, wherein storing program area can storage program area, at least one Application program needed for a function (such as sound-playing function, image player function etc.) etc.;Storage data area can store basis Client 100 uses created data (such as audio data, phone directory etc.) etc..In addition, memory 120 may include height Fast random access memory, can also include nonvolatile memory, a for example, at least disk memory, flush memory device, Or other volatile solid-state parts.
Input unit 130 can be used for receiving the number or character information of input, and generates and set with the user of client 100 It sets and the related key signals of function control inputs.Specifically, input unit 130 may include touch panel 131 and other are defeated Enter equipment 132.Touch panel 131, also referred to as touch screen collect touch operation (such as the user of user on it or nearby Use the operation of any suitable object or attachment such as finger, stylus on touch panel 131 or near touch panel 131), And corresponding attachment device is driven according to preset formula.Optionally, touch panel 131 may include touch detecting apparatus and Two parts of touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation bring letter Number, transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into Contact coordinate, then give processor 180, and order that processor 180 is sent can be received and executed.Furthermore, it is possible to using The multiple types such as resistance-type, condenser type, infrared ray and surface acoustic wave realize touch panel 131.It is defeated in addition to touch panel 131 Entering unit 130 can also include other input equipments 132.Specifically, other input equipments 132 can include but is not limited to physics One of keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Display unit 140 can be used for showing information input by user or the information and client 100 that are supplied to user Various menus.Display unit 140 may include display panel 141, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) To configure display panel 141.Further, touch panel 131 can cover display panel 141, when touch panel 131 detects After touch operation on or near it, processor 180 is sent to determine the type of touch event, is followed by subsequent processing 180 basis of device The type of touch event processes.Although touch panel 131 and display panel 141 are as two independent components in Fig. 9 Realize the input and input function of client 100, but in some embodiments it is possible to by touch panel 131 and display surface Plate 141 is integrated and that realizes client 100 output and input function.
Client 100 may also include at least one sensor 150, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ring The light and shade of border light adjusts the brightness of display panel 141, and proximity sensor can close when client 100 is moved in one's ear Display panel 141 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally Three axis) acceleration size, can detect that size and the direction of gravity when static, can be used to identify answering for 100 posture of client With (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) Deng;Other sensings such as gyroscope, barometer, hygrometer, thermometer, infrared sensor for can also configure as client 100 Device, details are not described herein.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the audio interface between user and client 100.Sound Electric signal after the audio data received conversion can be transferred to loudspeaker 161, be converted to by loudspeaker 161 by frequency circuit 160 Voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, is received by voicefrequency circuit 160 After be converted to audio data, then by after the processing of audio data output processor 180, be sent to through RF circuit 110 such as another Client 100, or audio data is exported to memory 120 to be further processed.
WiFi belongs to short range wireless transmission technology, and client 100 can help user to receive and dispatch electricity by WiFi module 170 Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 9 shows Go out WiFi module 170, but it is understood that, and it is not belonging to must be configured into for client 100, it completely can be according to need It to omit within the scope of not changing the essence of the invention.
Processor 180 is the control centre of client 100, utilizes various interfaces and the entire client 100 of connection Various pieces by running or execute the software program and/or module that are stored in memory 120, and are called and are stored in Data in reservoir 120 execute the various functions and processing data of client 100, to carry out whole prison to client 100 Control.Optionally, processor 180 may include one or more processing units;Preferably, processor 180 can integrate application processor And modem processor, wherein the main processing operation system of application processor, user interface and application program etc., modulatedemodulate Processor is adjusted mainly to handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor In 180.
Client 100 further includes the power supply 190 (such as battery) powered to all parts, it is preferred that power supply can pass through Power-supply management system and processor 180 are logically contiguous, to realize management charging, electric discharge, Yi Jigong by power-supply management system The functions such as consumption management.
It is appreciated that structure shown in Fig. 9 is only to illustrate, client 100 may also include than shown in Fig. 9 more or more Few component, or with the configuration different from shown in Fig. 9.Each component shown in Fig. 9 can use hardware, software or its group It closes and realizes.
The computer program product of logon information processing method, device and client provided by the embodiment of the present invention, packet The computer readable storage medium for storing program code is included, the instruction that said program code includes can be used for executing previous methods Method as described in the examples, specific implementation can be found in embodiment of the method, and details are not described herein.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in the executable non-volatile computer-readable storage medium of a processor.Based on this understanding, of the invention Technical solution substantially the part of the part that contributes to existing technology or the technical solution can be with software in other words The form of product embodies, which is stored in a storage medium, including some instructions use so that One computer equipment (can be personal computer, server or the network equipment etc.) executes each embodiment institute of the present invention State all or part of the steps of method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read- Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can be with Store the medium of program code.
Finally, it should be noted that embodiment described above, only a specific embodiment of the invention, to illustrate the present invention Technical solution, rather than its limitations, scope of protection of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair It is bright to be described in detail, those skilled in the art should understand that: anyone skilled in the art In the technical scope disclosed by the present invention, it can still modify to technical solution documented by previous embodiment or can be light It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make The essence of corresponding technical solution is detached from the spirit and scope of technical solution of the embodiment of the present invention, should all cover in protection of the invention Within the scope of.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (14)

1. a kind of logon information processing method, which is characterized in that applied to the page of acting on behalf of of client, described to act on behalf of the page embedding Enter the login page to the client, it is described to act on behalf of the page and be in different domains from the login page;The described method includes:
Receive the solicited message for the logon information that the login page is logged in for request that the login page is sent;
The logon information is obtained from the default memory block acted on behalf of under domain where the page;
The logon information is sent to the login page.
2. the method according to claim 1, wherein receiving stepping on for request for the login page transmission The solicited message of the logon information of Lu Suoshu login page includes:
Message event by monitoring html5 obtains the solicited message that the login page is sent.
3. the method according to claim 1, wherein described be sent to the landing page for the logon information Face, comprising:
The logon information is returned into the login page by postMessage.
4. the method according to claim 1, wherein being used for request what the reception login page was sent Before the solicited message for logging in the logon information of the login page, the method also includes:
In the case where logging in the login page for the first time and logging in successful situation, receives the described of login page transmission and log in letter Breath;
The logon information is stored in the default memory block.
5. according to the method described in claim 4, it is characterized in that, the logon information is stored in the default memory block Include:
The logon information is encrypted using symmetric encipherment algorithm;
The encrypted logon information is stored in the default memory block.
6. according to the method described in claim 5, it is characterized in that, the logon information is sent to the landing page bread It includes:
The logon information is decrypted using symmetrical decipherment algorithm corresponding with the symmetric encipherment algorithm;
The logon information after decryption is sent to the login page.
7. a kind of logon information processing unit, which is characterized in that applied to the page of acting on behalf of of client, described to act on behalf of the page embedding Enter the login page to the client, it is described to act on behalf of the page and be in different domains from the login page;Described device includes:
Receiving module, the logon information that the login page is logged in for request sent for receiving the login page Solicited message;
Module is obtained, for obtaining the logon information from the default memory block acted on behalf of under domain where the page;
Sending module, for the logon information to be sent to the login page.
8. device according to claim 7, which is characterized in that the receiving module is specifically used for:
Message event by monitoring html5 obtains the solicited message that the login page is sent.
9. device according to claim 7, which is characterized in that the sending module is specifically used for:
The logon information is returned into the login page by postMessage.
10. device according to claim 7, which is characterized in that described device further includes preserving module;
The receiving module is also used in the case where logging in the login page for the first time and logging in successful situation, receives the landing page The logon information that face is sent;
The preserving module is for the logon information to be stored in the default memory block.
11. device according to claim 10, which is characterized in that the preserving module is specifically used for:
The logon information is encrypted using symmetric encipherment algorithm;
The encrypted logon information is stored in the default memory block.
12. device according to claim 11, which is characterized in that the sending module is also used to:
The logon information is decrypted using symmetrical decipherment algorithm corresponding with the symmetric encipherment algorithm;
The logon information after decryption is sent to the login page.
13. a kind of client, including memory, processor, be stored in the memory to run on the processor Computer program, which is characterized in that the processor realizes any one of claim 1-6 institute when executing the computer program The method stated.
14. a kind of computer-readable medium for the non-volatile program code that can be performed with processor, which is characterized in that described Program code makes the processor perform claim require any the method in 1-6.
CN201811165320.7A 2018-09-30 2018-09-30 Logon information processing method, device and client Pending CN109194683A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811165320.7A CN109194683A (en) 2018-09-30 2018-09-30 Logon information processing method, device and client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811165320.7A CN109194683A (en) 2018-09-30 2018-09-30 Logon information processing method, device and client

Publications (1)

Publication Number Publication Date
CN109194683A true CN109194683A (en) 2019-01-11

Family

ID=64947138

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811165320.7A Pending CN109194683A (en) 2018-09-30 2018-09-30 Logon information processing method, device and client

Country Status (1)

Country Link
CN (1) CN109194683A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101132278A (en) * 2006-08-24 2008-02-27 腾讯科技(深圳)有限公司 System, method and scanning server for checking user's network proxy login
CN101441689A (en) * 2007-11-23 2009-05-27 杨筑平 Login protection method
CN102111410A (en) * 2011-01-13 2011-06-29 中国科学院软件研究所 Agent-based single sign on (SSO) method and system
CN102624737A (en) * 2012-03-27 2012-08-01 武汉理工大学 Single sign-on integrated method for Form identity authentication in single login system
CN103930897A (en) * 2011-09-29 2014-07-16 甲骨文国际公司 Mobile application, single sign-on management
CN105306423A (en) * 2014-07-04 2016-02-03 中国银联股份有限公司 Unified login method for distributed web station system
CN107147647A (en) * 2017-05-11 2017-09-08 腾讯科技(深圳)有限公司 A kind of webpage authorization method and device
CN107196892A (en) * 2016-03-15 2017-09-22 阿里巴巴集团控股有限公司 A kind of Website logging method and device
CN107276991A (en) * 2017-05-26 2017-10-20 努比亚技术有限公司 Load method, equipment and the computer-readable recording medium of Web page
CN107819570A (en) * 2016-09-10 2018-03-20 长沙有干货网络技术有限公司 A kind of cross-domain single login method based on variable C ookie
US20180227296A1 (en) * 2017-02-03 2018-08-09 Wyse Technology L.L.C. Authentication on thin clients using independent devices

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101132278A (en) * 2006-08-24 2008-02-27 腾讯科技(深圳)有限公司 System, method and scanning server for checking user's network proxy login
CN101441689A (en) * 2007-11-23 2009-05-27 杨筑平 Login protection method
CN102111410A (en) * 2011-01-13 2011-06-29 中国科学院软件研究所 Agent-based single sign on (SSO) method and system
CN103930897A (en) * 2011-09-29 2014-07-16 甲骨文国际公司 Mobile application, single sign-on management
CN102624737A (en) * 2012-03-27 2012-08-01 武汉理工大学 Single sign-on integrated method for Form identity authentication in single login system
CN105306423A (en) * 2014-07-04 2016-02-03 中国银联股份有限公司 Unified login method for distributed web station system
CN107196892A (en) * 2016-03-15 2017-09-22 阿里巴巴集团控股有限公司 A kind of Website logging method and device
CN107819570A (en) * 2016-09-10 2018-03-20 长沙有干货网络技术有限公司 A kind of cross-domain single login method based on variable C ookie
US20180227296A1 (en) * 2017-02-03 2018-08-09 Wyse Technology L.L.C. Authentication on thin clients using independent devices
CN107147647A (en) * 2017-05-11 2017-09-08 腾讯科技(深圳)有限公司 A kind of webpage authorization method and device
CN107276991A (en) * 2017-05-26 2017-10-20 努比亚技术有限公司 Load method, equipment and the computer-readable recording medium of Web page

Similar Documents

Publication Publication Date Title
US10880746B2 (en) Network connection method, apparatus, storage medium and terminal
CN104618217B (en) Share method, terminal, server and the system of resource
CN104836664B (en) A kind of methods, devices and systems executing business processing
CN104580167B (en) A kind of methods, devices and systems transmitting data
US10304461B2 (en) Remote electronic service requesting and processing method, server, and terminal
CN104376353B (en) The generation of Quick Response Code, read method, terminal and server
CN110198301B (en) Service data acquisition method, device and equipment
WO2020164526A1 (en) Control method for nodes in distributed system and related device
CN104571979B (en) A kind of method and apparatus for realizing split view
CN111478849B (en) Service access method, device and storage medium
CN105389259B (en) A kind of method, apparatus and system for carrying out Application testing
CN106790009B (en) Information processing method and device and mobile terminal
CN104580177B (en) Resource provider method, device and system
CN106254910A (en) A kind of method and apparatus recording image
CN104699501B (en) A kind of method and device for running application program
CN104660769B (en) A kind of methods, devices and systems for adding associated person information
CN107590397A (en) A kind of method and apparatus for showing embedded webpage
WO2015003636A1 (en) Method and device for interception of page elements
CN106685948A (en) Data processing method, terminal, communication device and data processing system
CN108270764B (en) Application login method, server and mobile terminal
CN104573437A (en) Information authentication method, device and terminal
CN104426848B (en) The method and system of log-on webpage application
CN110445746B (en) Cookie obtaining method and device and storage equipment
CN107786423B (en) A kind of method and system of instant messaging
CN107102913B (en) Data back up method, device and computer equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190111