CN110493184A - The processing method of login page, device, electronic device in the client - Google Patents

The processing method of login page, device, electronic device in the client Download PDF

Info

Publication number
CN110493184A
CN110493184A CN201910615730.5A CN201910615730A CN110493184A CN 110493184 A CN110493184 A CN 110493184A CN 201910615730 A CN201910615730 A CN 201910615730A CN 110493184 A CN110493184 A CN 110493184A
Authority
CN
China
Prior art keywords
sign
client
voucher
log
page
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.)
Granted
Application number
CN201910615730.5A
Other languages
Chinese (zh)
Other versions
CN110493184B (en
Inventor
许剑勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
OneConnect Smart Technology Co Ltd
Original Assignee
OneConnect Smart 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 OneConnect Smart Technology Co Ltd filed Critical OneConnect Smart Technology Co Ltd
Priority to CN201910615730.5A priority Critical patent/CN110493184B/en
Publication of CN110493184A publication Critical patent/CN110493184A/en
Application granted granted Critical
Publication of CN110493184B publication Critical patent/CN110493184B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0815Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Landscapes

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

Abstract

The present invention provides a kind of processing method of login page, device, electronic devices in the client, wherein this method comprises: receiving the service request for logging in the target H5 page in the client;Obtain the single-sign-on voucher being locally stored in the client, wherein single-sign-on voucher is the voucher of the client-based local log-on authorization granting in single sign-on authentication center;Based on single-sign-on voucher to single sign-on authentication center requests authorization, to log in the target H5 page.Through the invention, it solves and user is needed to repeat the technical issues of inputting log-on message in the H5 page when logging in the H5 page in listed client in the related technology.

Description

The processing method of login page, device, electronic device in the client
Technical field
The present invention relates to computer fields, in particular to a kind of processing method of login page in the client, dress It sets, electronic device.
Background technique
It, can be using native+h5's in order to realize the demand of the browsing web page in native client (APP) Hybrid mixed developing mode, wherein native is the nation method that client is realized by Java and C code, and h5 is then realized The function of showing web page in the client can be passed through in the client by the combination of native mode and h5 mode Web page shows relevant information, or client and web page is combined to realize certain function.
But in the prior art, the native of client is logged in is independent from each other with h5 login, that is, if user It logs in the client, there is still a need for users when entering the h5 page in the client logs in the h5 page, and user needs Register is performed a plurality of times, experiences bad.
For the above problem present in the relevant technologies, at present it is not yet found that the solution of effect.
Summary of the invention
The embodiment of the invention provides a kind of processing method of login page, device, electronic devices in the client, so that It is few to solve that user's repetition input in the H5 page is needed to log in when logging in the H5 page in listed client in the prior art The technical issues of information.
According to one embodiment of present invention, a kind of processing method of login page in the client is provided, comprising: connect Receive the service request for logging in the target H5 page in the client;The single-sign-on voucher being locally stored in the client is obtained, In, single-sign-on voucher is the voucher of the client-based local log-on authorization granting in single sign-on authentication center;Based on single-point Logging on authentication is to single sign-on authentication center requests authorization, to log in the target H5 page.
Further, the single-sign-on voucher being locally stored in the client is obtained, comprising: there is no single in the client In the case where point logging on authentication, the local log-on interface of client is recalled, to receive the login letter of the user account of user's input Breath;Log-on message is sent to single sign-on authentication center;Single sign-on authentication center is received and stored to verify log-on message The single-sign-on voucher that authorization is provided after success.
Further, single-sign-on voucher has effective time, is based on single-sign-on voucher to single sign-on authentication center Request authorization, to log in the target H5 page, comprising: after beyond effective time, be based on single-sign-on voucher to single-sign-on Authentication center requests authorization failure;The local log-on interface of client is recalled, to receive the login of the user account of user's input Information;Log-on message is sent to single sign-on authentication center;Single sign-on authentication center is received and stored to test log-on message The single-sign-on voucher that authorization is provided after demonstrate,proving successfully.
Further, the local log-on interface of client is recalled, comprising: pass through the default JS function tune in the target H5 page With target native interface function, wherein target native interface function is in advance in the net at the local log-on interface of client The native interface function added in page Visual program;The corresponding method of performance objective native interface function.
Further, the local log-on interface of client is recalled, comprising: by being in operation in advance for the target H5 page The schemaURL registered in system jumps to the jump target page indicated in schemaURL, wherein institute in schemaURL The jump target page of instruction is local log-on interface.
Further, single-sign-on voucher is based on to single sign-on authentication center requests authorization, comprising: letter is adjusted back by JS Number monitors whether to receive single-sign-on voucher, and single-sign-on voucher is sent to list after receiving single-sign-on voucher Point login authentication center requests authorization.
According to another embodiment of the invention, a kind of processing unit of login page in the client is provided, comprising: Receiving module, for receiving the service request for logging in the target H5 page in the client;Module is obtained, for obtaining in client In the single-sign-on voucher that is locally stored, wherein single-sign-on voucher is the client-based local in single sign-on authentication center Log in the voucher that authorization is provided;Request module, for based on single-sign-on voucher to single sign-on authentication center requests authorization, with Log in the target H5 page.
Further, obtaining module includes: call unit, for the case where there is no single-sign-on vouchers in the client Under, the local log-on interface of client is recalled, to receive the log-on message of the user account of user's input;Transmission unit is used for Log-on message is sent to single sign-on authentication center;Receiving unit, for receiving and storing single sign-on authentication center to stepping on Record the Information Authentication success single-sign-on voucher that authorization is provided later.
Further, single-sign-on voucher has effective time, request module further include: request unit, for exceeding After effective time, single-sign-on voucher is based on to single sign-on authentication center requests authorization failure;Call unit, for recalling The local log-on interface of client, to receive the log-on message of the user account of user's input;Transmission unit, for letter will to be logged in Breath is sent to single sign-on authentication center;Receiving unit tests log-on message for receiving and storing single sign-on authentication center The single-sign-on voucher that authorization is provided after demonstrate,proving successfully.
Further, request unit is also used to through the default JS function call target native interface in the target H5 page Function, wherein target native interface function is to add in the webpage view program at the local log-on interface of client in advance Native interface function;The corresponding method of performance objective native interface function.
Further, request unit is also used to register in an operating system in advance by being directed to the target H5 page SchemaURL jumps to the jump target page indicated in schemaURL, wherein indicated in schemaURL to jump Target pages are local log-on interface.
Further, request module is also used to monitor whether to receive by JS call back function single-sign-on voucher, and It receives single-sign-on voucher and single-sign-on voucher is sent to single sign-on authentication center requests authorization later.
According to still another embodiment of the invention, a kind of storage medium is additionally provided, meter is stored in the storage medium Calculation machine program, wherein the computer program is arranged to execute the step in any of the above-described embodiment of the method when operation.
According to still another embodiment of the invention, a kind of electronic device, including memory and processor are additionally provided, it is described Computer program is stored in memory, the processor is arranged to run the computer program to execute any of the above-described Step in embodiment of the method.
Through the invention, the service request of the target H5 page is logged in the client by receiving;It obtains in the client The single-sign-on voucher being locally stored, wherein single-sign-on voucher is that the client-based local in single sign-on authentication center is stepped on The voucher that record authorization is provided;Based on single-sign-on voucher to single sign-on authentication center requests authorization, to log in the target H5 page, It solves and user is needed to repeat to input login in the H5 page when logging in the H5 page in listed client in the related technology The technical issues of information, inputs log-on message without user repeatedly, in the listed situation of client, can directly log into Enter the H5 page.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the processing method of login page in the client according to an embodiment of the present invention;
Fig. 2 is the schematic diagram of the processing unit of login page in the client according to an embodiment of the present invention;
Fig. 3 is a kind of hardware block diagram of electronic device of the embodiment of the present invention.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only The embodiment of the application a part, instead of all the embodiments, in the absence of conflict, embodiment and reality in the application The feature applied in example can be combined with each other.Based on the embodiment in the application, those of ordinary skill in the art are not making wound Every other embodiment obtained under the premise of the property made labour, shall fall within the protection scope of the present application.
It should be noted that the description and claims of this application and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to embodiments herein described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product Or other step or units that equipment is intrinsic.
Embodiment 1
The processing method for present embodiments providing a kind of login page in the client, can be applied to client-side, In, client can run among mobile terminal, handheld terminal or similar arithmetic facility.Operate in different arithmetic facilities It is only difference of the scheme in executing subject, those skilled in the art are contemplated that in nonidentity operation equipment, operation can generate identical Technical effect.
As shown in Figure 1, the processing method of login page in the client provided in this embodiment includes the following steps:
Step 101, the service request for logging in the target H5 page in the client is received.
Client is mounted in the client software (APP) in terminal device (such as mobile phone), and the local log-on of client is It is realized by native, native operating sys-tern (such as iOS, Android, WP) of the native based on terminal device writes operation. In addition, can also log in the H5 page in client, the H5 page is for providing service request corresponding business.
The business provided in the native business and webpage provided in client can be belonging respectively to independent operation system For example, the business that client provides such as can be the inquiry for bank account, transfer accounts at the operation, and the operation system of the H5 page is The fund business information that the bank provides.
Step 102, the single-sign-on voucher being locally stored in the client is obtained, wherein single-sign-on voucher is single-point The voucher of the client-based local log-on authorization granting in login authentication center;
In the present embodiment, the operation system provided in the native business and webpage provided in client all passes through single-point (Single Sign-On, abbreviation SSO) authentication center is logged in manage.
When client receives the service request for needing to log in the target H5 page, single-point can be provided with requesting client and stepped on The single-sign-on voucher that authentication center is client granting is recorded, and is based on single-sign-on voucher to single sign-on authentication center requests Authorization.
Single sign-on authentication center can control the access authority of multiple systems related but independent of each other, possess this visit Ask that single User ID and password can be used (for example, pre-registered account and password or cell-phone number and short in the user of permission Believe identifying code) each system of access, to avoid using different user name or password in each operation system.
After user inputs User ID and the successful local log-on of password in the client, the meeting of single sign-on authentication center Authorization (such as session) is generated to client, trusts client in other words, and generate single-sign-on voucher (such as sessionID) Feed back to client, wherein single-sign-on voucher is the mark of single sign-on authentication center finding authorization.Arbitrary system is to list After point login authentication center provides correct single-sign-on voucher, the authorization of single sign-on authentication center offer can be got, To log into corresponding operation system.
In a kind of optional application scenarios, the single-sign-on voucher that local log-on generates each time is different, and every One single-sign-on voucher has timeliness, that is, the timeliness of single-sign-on voucher can be in the period predetermined Or opportunity is by for example, the timeliness of single-sign-on voucher can be preset duration or exit terminal device in client End when front end.After obtaining single-sign-on voucher, if client needs to request a certain local service, single sign-on authentication The single-sign-on voucher that center can be sent based on client searches corresponding authorization (the corresponding session of such as sessionID), If having found corresponding authorization, client is allowed to access corresponding business.
In this application scenarios, single-sign-on voucher is being based on to single sign-on authentication center requests authorization, to log in When the target H5 page, if being based on single-sign-on voucher to single sign-on authentication center requests authorization beyond after effective time It will fail, then client can recall the local log-on interface of client, to receive the log-on message of the user account of user's input, Log-on message is sent to single sign-on authentication center;Single sign-on authentication center is received and stored to be proved to be successful log-on message The single-sign-on voucher of granting is authorized later.
Optionally, when obtaining the single-sign-on voucher being locally stored in the client, there can be two kinds of situations:
The first situation is that local log-on is crossed in client, can be requested in single sign-on authentication center at this time It is realized corresponding to authorization so that operation system corresponding to the business of the logging request H5 page, realizes the access to the H5 page Business function.
Second situation is not local log-on mistake in client, in this case, it is not possible in single sign-on authentication Request is to authorization in center, thus can not operation system corresponding to the business of the logging request H5 page, visitor can be recalled at this time The local log-on interface at family end receives the account number cipher of user's input by local log-on interface.
Optionally, the above-mentioned mode for recalling local log-on interface can pass through the side such as js-native or schemaUrl Formula is realized.
If the step of recalling the local log-on interface of client, may include: to pass through mesh using js-native mode Mark the default JS function call target native interface function in the H5 page, wherein target native interface function is to exist in advance The native interface function added in the webpage view program at the local log-on interface of client;Performance objective native interface letter The corresponding method of number.
For example, one can be added in the webpage view program at the local log-on interface of client in advance for H5 pages The native interface function that face is called;When the H5 page receives access instruction, the H5 page passes through preset Js letter in the H5 page It is several that native interface function name is sent to native, it is connect with being invoked at preset native in the local log-on interface of client The title of mouth function, realizes H5 page invocation local log-on interface.
If realized by the way of schemaUrl, the local log-on interface of client is recalled, comprising: by being directed to mesh The schemaURL that the mark H5 page is registered in an operating system in advance, jumps to jump target page indicated in schemaURL Face, wherein the indicated jump target page is local log-on interface in schemaURL.
For example, a schemaUrl is registered to operating system in advance, includes URL chain in the schemaUrl of registration It connects and the jump target page (namely login interface of local client).When registration URL page link (URL page link The parameter for being used to indicate and needing to log in and be currently not logged in is carried in parameter, that is, the URL page link of access is to need to step on The page of record, and being currently not logged in) it is accessed when, the page jump routing center of operating system is according to pre-registered SchemaURL determines the jump target page, to indicate that client jumps to the local log-on interface specified in schemaURL.
After the account password for receiving user's input by local log-on interface, account password is sent to single-point and is stepped on Record authentication center.Wherein, if single sign-on authentication central authentication logins successfully, a single-sign-on voucher can be fed back to client End, all operation systems that single sign-on authentication center is managed, including this implementation can be logged in by possessing the single-sign-on voucher Operation system corresponding to the business in the corresponding operation system of business and the H5 page in local client in example.In turn, After client gets single-sign-on voucher, the H5 page can reacquire the single-point of client by the method for adjusting back JS Logging on authentication, and the automated log in the H5 page is realized to single sign-on authentication center requests authorization based on single-sign-on voucher Effect.
Step 103, based on single-sign-on voucher to single sign-on authentication center requests authorization, to log in the target H5 page.
After getting single-sign-on voucher, single sign-on authentication center is sent to request to authorize.In single-sign-on After authentication center's authorization, the target H5 page is logged into.
Single-sign-on voucher is being based on to single sign-on authentication center requests authorization, comprising: monitor by JS call back function Single-sign-on voucher whether is received, and single-sign-on voucher is sent to single-sign-on after receiving single-sign-on voucher Authentication center's request authorization.
The present embodiment uniformly manages the mutual login authentication of all operation systems by single sign-on authentication center, So that after the corresponding operation system of local service logins successfully in the client, it can be by the industry of the business provided in the H5 page Business system is approved, and realizes the single-point to client local log-on using the mutual calling between the H5 page and client native The acquisition of logging on authentication, and in the non-local log-on of client, it recalls local log-on interface and executes login process, stepped on by local The mode of record realizes the operating process for simplifying in the effect that the H5 page logs in and logging in the H5 page in client, exists without user It is logged in client and respectively in the H5 page, greatly improves user experience.
It should be noted that step shown in the flowchart of the accompanying drawings can be in such as a group of computer-executable instructions It is executed in computer system, although also, logical order is shown in flow charts, and it in some cases, can be with not The sequence being same as herein executes shown or described step.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing The part that technology contributes can be embodied in the form of software products, which is stored in a storage In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Embodiment 2
A kind of processing unit of login page in the client is additionally provided in the present embodiment, and the device is for realizing upper Embodiment 1 and its preferred embodiment are stated, to the term or implementation not being described in detail in this present embodiment, reference can be made to embodiment 1 In related description, the descriptions that have already been made will not be repeated.
Term " module " as used below, can be achieved on the combination of the software and/or hardware of predetermined function.Although Device described in following embodiment is preferably realized with software, but the combined realization of hardware or software and hardware And can be contemplated.
Fig. 2 is the schematic diagram of the processing unit of login page in the client according to an embodiment of the present invention, such as Fig. 2 institute Show, which includes: receiving module 10, obtains module 20, request module 30.
Receiving module, for receiving the service request for logging in the target H5 page in the client;Module is obtained, for obtaining The single-sign-on voucher being locally stored in the client, wherein single-sign-on voucher is that single sign-on authentication center is based on client The voucher of the local log-on authorization granting at end;Request module, for being asked based on single-sign-on voucher to single sign-on authentication center Authorization is asked, to log in the target H5 page.
Optionally, obtaining module includes: call unit, for the case where there is no single-sign-on vouchers in the client Under, the local log-on interface of client is recalled, to receive the log-on message of the user account of user's input;Transmission unit is used for Log-on message is sent to single sign-on authentication center;Receiving unit, for receiving and storing single sign-on authentication center to stepping on Record the Information Authentication success single-sign-on voucher that authorization is provided later.
Optionally, single-sign-on voucher has effective time, request module further include: request unit, for beyond having After imitating duration, single-sign-on voucher is based on to single sign-on authentication center requests authorization failure;Call unit, for recalling visitor The local log-on interface at family end, to receive the log-on message of the user account of user's input;Transmission unit is used for log-on message It is sent to single sign-on authentication center;Receiving unit verifies log-on message for receiving and storing single sign-on authentication center The single-sign-on voucher that authorization is provided after success.
Optionally, request unit is also used to through the default JS function call target native interface letter in the target H5 page Number, wherein target native interface function is to add in the webpage view program at the local log-on interface of client in advance Native interface function;The corresponding method of performance objective native interface function.
Optionally, request unit is also used to register in an operating system in advance by being directed to the target H5 page SchemaURL jumps to the jump target page indicated in schemaURL, wherein indicated in schemaURL to jump Target pages are local log-on interface.
Optionally, request module is also used to monitor whether by JS call back function to receive single-sign-on voucher, and is connecing It receives single-sign-on voucher and single-sign-on voucher is sent to single sign-on authentication center requests authorization later.
Through the invention, the service request of the target H5 page is logged in the client by receiving;It obtains in the client The single-sign-on voucher being locally stored, wherein single-sign-on voucher is that the client-based local in single sign-on authentication center is stepped on The voucher that record authorization is provided;Based on single-sign-on voucher to single sign-on authentication center requests authorization, to log in the target H5 page, It solves and user is needed to repeat to input login in the H5 page when logging in the H5 page in listed client in the related technology The technical issues of information, inputs log-on message without user repeatedly, in the listed situation of client, can directly log into Enter the H5 page.
It should be noted that above-mentioned modules can be realized by software or hardware, for the latter, Ke Yitong Following manner realization is crossed, but not limited to this: above-mentioned module is respectively positioned in same processor;Alternatively, above-mentioned modules are with any Combined form is located in different processors.
Obviously, those skilled in the art should be understood that each module of the above invention or each step can be with general Computing device realize that they can be concentrated on a single computing device, or be distributed in multiple computing devices and formed Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored It is performed by computing device in the storage device, and in some cases, it can be to be different from shown in sequence execution herein Out or description the step of, perhaps they are fabricated to each integrated circuit modules or by them multiple modules or Step is fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific hardware and softwares to combine.
Embodiment 3
The embodiments of the present invention also provide a kind of storage medium, computer program is stored in the storage medium, wherein The computer program is arranged to execute the step in any of the above-described embodiment of the method when operation.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to: USB flash disk, read-only memory (Read- Only Memory, referred to as ROM), it is random access memory (Random Access Memory, referred to as RAM), mobile hard The various media that can store computer program such as disk, magnetic or disk.
The present embodiment uniformly manages the mutual login authentication of all operation systems by single sign-on authentication center, So that after the corresponding operation system of local service logins successfully in the client, it can be by the industry of the business provided in the H5 page Business system is approved, and realizes the single-point to client local log-on using the mutual calling between the H5 page and client native The acquisition of logging on authentication, and in the non-local log-on of client, it recalls local log-on interface and executes login process, stepped on by local The mode of record realizes the operating process for simplifying in the effect that the H5 page logs in and logging in the H5 page in client, exists without user It is logged in client and respectively in the H5 page, greatly improves user experience.
Embodiment 4
The embodiments of the present invention also provide a kind of electronic device, including memory and processor, stored in the memory There is computer program, which is arranged to run computer program to execute the step in any of the above-described embodiment of the method Suddenly.
The present embodiment uniformly manages the mutual login authentication of all operation systems by single sign-on authentication center, So that after the corresponding operation system of local service logins successfully in the client, it can be by the industry of the business provided in the H5 page Business system is approved, and realizes the single-point to client local log-on using the mutual calling between the H5 page and client native The acquisition of logging on authentication, and in the non-local log-on of client, it recalls local log-on interface and executes login process, stepped on by local The mode of record realizes the operating process for simplifying in the effect that the H5 page logs in and logging in the H5 page in client, exists without user It is logged in client and respectively in the H5 page, greatly improves user experience.
Optionally, above-mentioned electronic device can also include transmission device and input-output equipment, wherein the transmission device It is connected with above-mentioned processor, which connects with above-mentioned processor.By taking electronic device is electronic device as an example, Fig. 3 It is a kind of hardware block diagram of electronic device of the embodiment of the present invention.As shown in figure 3, electronic device may include one or more (processor 302 can include but is not limited to Micro-processor MCV or programmable logic to a (one is only shown in Fig. 3) processor 302 The processing unit of device FPGA etc.) and memory 304 for storing data, optionally, above-mentioned electronic device can also include Transmission device 306 and input-output equipment 308 for communication function.It will appreciated by the skilled person that Fig. 3 institute The structure shown is only to illustrate, and does not cause to limit to the structure of above-mentioned electronic device.For example, electronic device may also include than figure More perhaps less component shown in 3 or with the configuration different from shown in Fig. 3.
Memory 304 can be used for storing computer program, for example, the software program and module of application software, such as this hair The corresponding computer program of the recognition methods of image in bright embodiment, processor 302 are stored in memory 304 by operation Computer program realize above-mentioned method thereby executing various function application and data processing.Memory 304 can wrap Include high speed random access memory, may also include nonvolatile memory, as one or more magnetic storage device, flash memory or Other non-volatile solid state memories.In some instances, memory 304 can further comprise long-range relative to processor 302 The memory of setting, these remote memories can pass through network connection to electronic device.The example of above-mentioned network includes but not It is limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Transmitting device 306 is used to that data to be received or sent via a network.Above-mentioned network specific example may include The wireless network that the communication providers of electronic device provide.In an example, transmitting device 306 includes a network adapter (Network Interface Controller, referred to as NIC), can be connected by base station with other network equipments so as to It is communicated with internet.In an example, transmitting device 306 can be radio frequency (Radio Frequency, referred to as RF) Module is used to wirelessly be communicated with internet.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.It is all within principle of the invention, it is made it is any modification, etc. With replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of processing method of login page in the client, which is characterized in that the described method includes:
Receive the service request for logging in the target H5 page in the client;
Obtain the single-sign-on voucher being locally stored in the client, wherein the single-sign-on voucher is single-sign-on The voucher of the client-based local log-on authorization granting of authentication center;
Based on the single-sign-on voucher to the single sign-on authentication center requests authorization, to log in the target H5 page.
2. the method according to claim 1, wherein described obtain the single-point being locally stored in the client Logging on authentication, comprising:
In the case where the single-sign-on voucher is not present in the client, local log-on circle of the client is recalled Face, to receive the log-on message of the user account of user's input;
The log-on message is sent to the single sign-on authentication center;
Receive and store the list that authorization is provided after the single sign-on authentication center is proved to be successful the log-on message Point logging on authentication.
3. the method according to claim 1, wherein the single-sign-on voucher has effective time, the base In the single-sign-on voucher to the single sign-on authentication center requests authorization, to log in the target H5 page, comprising:
After beyond the effective time, the single-sign-on voucher is based on to the single sign-on authentication center requests authorization Failure;
The local log-on interface of the client is recalled, to receive the log-on message of the user account of user's input;
The log-on message is sent to the single sign-on authentication center;
Receive and store the list that authorization is provided after the single sign-on authentication center is proved to be successful the log-on message Point logging on authentication.
4. according to the method in claim 2 or 3, which is characterized in that the local log-on interface for recalling the client, Include:
Pass through the default JS function call target native interface function in the target H5 page, wherein the target Native interface function is that the native added in the webpage view program at the local log-on interface of the client in advance connects Mouth function;
Execute the corresponding method of the target native interface function.
5. according to the method in claim 2 or 3, which is characterized in that the local log-on interface for recalling the client, Include:
By the schemaURL registered in an operating system in advance for the target H5 page, the schemaURL is jumped to In the indicated jump target page, wherein the indicated jump target page is the local log-on in the schemaURL Interface.
6. the method according to claim 1, wherein described stepped on based on the single-sign-on voucher to the single-point Record authentication center's request authorization, comprising:
Monitor whether to receive the single-sign-on voucher by JS call back function, and receive the single-sign-on voucher it The single-sign-on voucher is sent to the single sign-on authentication center requests authorization afterwards.
7. a kind of processing unit of login page in the client, which is characterized in that described device includes:
Receiving module, for receiving the service request for logging in the target H5 page in the client;
Obtain module, for obtaining the single-sign-on voucher being locally stored in the client, wherein the single-sign-on with Card is the voucher of the client-based local log-on authorization granting in single sign-on authentication center;
Request module, for being based on the single-sign-on voucher to the single sign-on authentication center requests authorization, to log in State the target H5 page.
8. device according to claim 7, which is characterized in that the acquisition module includes:
Call unit recalls the client in the case where for the single-sign-on voucher to be not present in the client Local log-on interface, with receive user input user account log-on message;
Transmission unit, for the log-on message to be sent to the single sign-on authentication center;
Receiving unit is authorized for receiving and storing after the single sign-on authentication center is proved to be successful the log-on message The single-sign-on voucher provided.
9. a kind of storage medium, which is characterized in that be stored with computer program in the storage medium, wherein the computer Program is arranged to perform claim when operation and requires method described in 1 to 6 any one.
10. a kind of electronic device, including memory and processor, which is characterized in that be stored with computer journey in the memory Sequence, the processor are arranged to run the computer program in method described in perform claim 1 to 6 any one of requirement.
CN201910615730.5A 2019-07-09 2019-07-09 Method and device for processing login page in client and electronic device Active CN110493184B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910615730.5A CN110493184B (en) 2019-07-09 2019-07-09 Method and device for processing login page in client and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910615730.5A CN110493184B (en) 2019-07-09 2019-07-09 Method and device for processing login page in client and electronic device

Publications (2)

Publication Number Publication Date
CN110493184A true CN110493184A (en) 2019-11-22
CN110493184B CN110493184B (en) 2022-10-14

Family

ID=68546871

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910615730.5A Active CN110493184B (en) 2019-07-09 2019-07-09 Method and device for processing login page in client and electronic device

Country Status (1)

Country Link
CN (1) CN110493184B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111381824A (en) * 2020-03-11 2020-07-07 苏州金羲智慧科技有限公司 Method, system, device and medium for synchronizing user data in multi-architecture
CN111556060A (en) * 2020-04-29 2020-08-18 上海中通吉网络技术有限公司 Method, device, equipment and storage medium for embedding target software into external H5 page
CN111770072A (en) * 2020-06-23 2020-10-13 北京思特奇信息技术股份有限公司 Method and device for accessing function page through single sign-on
CN112416462A (en) * 2020-11-28 2021-02-26 郑州信大捷安信息技术股份有限公司 Offline H5 application loading method and system
CN113051492A (en) * 2021-04-30 2021-06-29 中国银行股份有限公司 Method and device for inquiring information of bank outlets
CN113452693A (en) * 2021-06-24 2021-09-28 青岛海尔科技有限公司 Login method and device for page back end, storage medium and electronic device
CN113824691A (en) * 2021-08-25 2021-12-21 浪潮软件股份有限公司 Method for implementing silent login strategy applied by mobile terminal third party H5
CN115134110A (en) * 2021-03-25 2022-09-30 国际商业机器公司 Injecting risk assessment in user authentication

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105791324A (en) * 2016-05-12 2016-07-20 腾讯科技(深圳)有限公司 Account login method and device
US20160301685A1 (en) * 2015-04-13 2016-10-13 Ilantus Technologies Pvt. Ltd. System and method for web single sign-on through a browser extension
WO2017080385A1 (en) * 2015-11-10 2017-05-18 阿里巴巴集团控股有限公司 Webpage application acquiring method, device and system
CN107026847A (en) * 2017-02-09 2017-08-08 阿里巴巴集团控股有限公司 One kind trusts login method, server and system
CN108259435A (en) * 2016-12-29 2018-07-06 中国移动通信集团浙江有限公司 Access the implementation method and device of the mixing application of Web components
CN109165499A (en) * 2018-08-21 2019-01-08 努比亚技术有限公司 Single-point logging method, mobile terminal and computer readable storage medium
CN109362074A (en) * 2018-09-05 2019-02-19 福建福诺移动通信技术有限公司 The method of h5 and server-side safety communication in a kind of mixed mode APP
CN109660487A (en) * 2017-10-10 2019-04-19 武汉斗鱼网络科技有限公司 Authorization method, storage medium, electronic equipment and system based on H5 webpage
CN109815115A (en) * 2018-12-14 2019-05-28 深圳壹账通智能科技有限公司 Method and device, the computer equipment, storage medium of debugging bridge joint mouth

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160301685A1 (en) * 2015-04-13 2016-10-13 Ilantus Technologies Pvt. Ltd. System and method for web single sign-on through a browser extension
WO2017080385A1 (en) * 2015-11-10 2017-05-18 阿里巴巴集团控股有限公司 Webpage application acquiring method, device and system
CN105791324A (en) * 2016-05-12 2016-07-20 腾讯科技(深圳)有限公司 Account login method and device
CN108259435A (en) * 2016-12-29 2018-07-06 中国移动通信集团浙江有限公司 Access the implementation method and device of the mixing application of Web components
CN107026847A (en) * 2017-02-09 2017-08-08 阿里巴巴集团控股有限公司 One kind trusts login method, server and system
CN109660487A (en) * 2017-10-10 2019-04-19 武汉斗鱼网络科技有限公司 Authorization method, storage medium, electronic equipment and system based on H5 webpage
CN109165499A (en) * 2018-08-21 2019-01-08 努比亚技术有限公司 Single-point logging method, mobile terminal and computer readable storage medium
CN109362074A (en) * 2018-09-05 2019-02-19 福建福诺移动通信技术有限公司 The method of h5 and server-side safety communication in a kind of mixed mode APP
CN109815115A (en) * 2018-12-14 2019-05-28 深圳壹账通智能科技有限公司 Method and device, the computer equipment, storage medium of debugging bridge joint mouth

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
伍孟轩等: "跨域单点登录解决方案研究", 《网络安全技术与应用》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111381824A (en) * 2020-03-11 2020-07-07 苏州金羲智慧科技有限公司 Method, system, device and medium for synchronizing user data in multi-architecture
CN111556060A (en) * 2020-04-29 2020-08-18 上海中通吉网络技术有限公司 Method, device, equipment and storage medium for embedding target software into external H5 page
CN111770072A (en) * 2020-06-23 2020-10-13 北京思特奇信息技术股份有限公司 Method and device for accessing function page through single sign-on
CN111770072B (en) * 2020-06-23 2022-04-19 北京思特奇信息技术股份有限公司 Method and device for accessing function page through single sign-on
CN112416462A (en) * 2020-11-28 2021-02-26 郑州信大捷安信息技术股份有限公司 Offline H5 application loading method and system
CN112416462B (en) * 2020-11-28 2022-04-08 郑州信大捷安信息技术股份有限公司 Offline H5 application loading method and system
CN115134110A (en) * 2021-03-25 2022-09-30 国际商业机器公司 Injecting risk assessment in user authentication
CN113051492A (en) * 2021-04-30 2021-06-29 中国银行股份有限公司 Method and device for inquiring information of bank outlets
CN113452693A (en) * 2021-06-24 2021-09-28 青岛海尔科技有限公司 Login method and device for page back end, storage medium and electronic device
CN113452693B (en) * 2021-06-24 2024-01-23 青岛海尔科技有限公司 Login method and device for page back end, storage medium and electronic device
CN113824691A (en) * 2021-08-25 2021-12-21 浪潮软件股份有限公司 Method for implementing silent login strategy applied by mobile terminal third party H5

Also Published As

Publication number Publication date
CN110493184B (en) 2022-10-14

Similar Documents

Publication Publication Date Title
CN110493184A (en) The processing method of login page, device, electronic device in the client
CN105007280B (en) A kind of application login method and device
CN110730153B (en) Account configuration method, device and system of cloud equipment and data processing method
CN104378342B (en) Many accounts verification method, Apparatus and system
US20190251293A1 (en) Techniques for facilitating secure, credential-free user access to resources
CN110351228A (en) Remote entry method, device and system
US20170324728A1 (en) Resource access control for virtual machines
EP2533172B1 (en) Secure access to data in a device
CN103428179B (en) A kind of log in the method for many domain names website, system and device
CN112800411B (en) Multi-protocol and multi-mode supporting safe and reliable identity authentication method and device
CN111131242A (en) Authority control method, device and system
CN107172054A (en) A kind of purview certification method based on CAS, apparatus and system
CN107690792A (en) The single-sign-on of mobile device without management
CN105430102B (en) The integrated approach of the websites SaaS and third party system, system and its apparatus
CN110278179A (en) Single-point logging method, device and system and electronic equipment
CN105991709A (en) Cloud desktop account number management method and apparatus thereof
CN107566382A (en) Auth method, service platform, carrier authorization gateway and mobile terminal
EP3909221B1 (en) Method for securely providing a personalized electronic identity on a terminal
US7506363B2 (en) Methods, systems, and computer program products for user authorization levels in aggregated systems
KR102354759B1 (en) System, mobile terminal device, server, program and method for visit confirmation
CN101771993A (en) System and method thereof for realizing polymerization application based on mobile network
US20150350214A1 (en) Individualized audit log access control for virtual machines
CN105825101A (en) Account number management method and device for smart home platform
EP3908946B1 (en) Method for securely providing a personalized electronic identity on a terminal
CN111737681A (en) Resource acquisition method and device, storage medium and electronic device

Legal Events

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