CN109086596A - The authentication method of application program, apparatus and system - Google Patents
The authentication method of application program, apparatus and system Download PDFInfo
- Publication number
- CN109086596A CN109086596A CN201810898883.0A CN201810898883A CN109086596A CN 109086596 A CN109086596 A CN 109086596A CN 201810898883 A CN201810898883 A CN 201810898883A CN 109086596 A CN109086596 A CN 109086596A
- Authority
- CN
- China
- Prior art keywords
- application
- server
- authentication
- shareware
- program
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/41—User authentication where a single sign-on provides access to a plurality of computers
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
This application discloses a kind of authentication methods of application program, apparatus and system.This method comprises: the first application sends logging request to server, wherein carry the equipment mark code of the client of the first application of installation in logging request, the first application is embedded with shareware development kit, is used for sharing application data;First application receives the second application that server is determined, wherein the second application is the listed application program that server inquires on the client according to equipment mark code, and the second application is interior to be also embedded with shareware development kit, is used for sharing application data;Authentication request message is sent to the second application by the interface of shareware development kit by the first application, wherein, authentication field is sent to server by the second application, to request the certification to the first application, by the application, solve the problems, such as that current mobile terminal is difficult to complete login authentication according to the application program currently logged in the related technology.
Description
Technical field
This application involves certification login techniques field, in particular to a kind of authentication method of application program, device and
System.
Background technique
The OAuth protocol entry of current mobile terminal needs a selected fixed application program to carry out login authentication, example
Such as, it is logged in using wechat account, can only just select to be authenticated with wechat.It is therefore desirable to must be mounted with this on user mobile phone
A application program just being answered without authenticating as OAuth for such application program for the manufacturer of no high installation
Use program.
In view of the above problems in the related art, currently no effective solution has been proposed.
Summary of the invention
The main purpose of the application is to provide authentication method, the apparatus and system of a kind of application program, to solve correlation
Current mobile terminal is difficult to the problem of completing login authentication according to the application program currently logged in technology.
To achieve the goals above, according to the one aspect of the application, a kind of authentication method of application program is provided.It should
Method includes: that the first application sends logging request to server, wherein carries installation described first in the logging request and answers
The equipment mark code of client, first application are embedded with shareware development kit, are used for sharing application data;
First application receives the second application that the server is determined, wherein second application be the server according to
The listed application program that the equipment mark code inquires in the client, second application are interior also embedded with described
Shareware development kit is used for sharing application data;First application passes through the interface of shareware development kit
Authentication request message is sent to second application, wherein certification word is sent to the server by second application
Section, to request the certification to first application.
Further, authentication field is sent to the server by second application, is answered with request described first
Certification includes: to be authenticated by the authentication field to first application;If certification passes through, the server is sent
Logging on authentication to it is described first application;The login of first application is completed in the client.
Further, authentication request message is sent by the interface of shareware development kit in first application
To before second application, further includes: first application is by calling the web page address agreement of the second application to wake up
State the second application.
Further, the authentication request message includes at least: session identification, web page address agreement, communications command.
Further, authentication request message is sent by the interface of shareware development kit in first application
It further include the security verification that second application receives the server, wherein the safety to before second application
Property verification use the server be it is described second application distribute public key, the server local store match with the public key
Pair private key and described first apply the security key prestored in the server to complete.
To achieve the goals above, according to the one aspect of the application, a kind of Verification System of application program is provided,
It is characterized in that, the authentication method applied to above-mentioned any one application program, comprising: client, wherein pacify in the client
Equipped with multiple application programs, the multiple application program includes the first application and the second application, and first application, which is sent, to be logged in
It requests to server, wherein the equipment mark code for installing the client of first application, institute are carried in the logging request
It states the first application and is embedded with shareware development kit, be used for sharing application data;Server, according to the equipment mark code
The listed application program inquired in the client, determines the second application, and the information that described second is applied is sent out
It send to the first application, wherein second application is interior to be also embedded with the shareware development kit, is used for sharing application number
According to, authentication request message is sent to second application by the interface of shareware development kit by first application,
Second application sends authentication field to the server, to request the certification to first application.
To achieve the goals above, according to the another aspect of the application, a kind of authentication device of application program is provided.It should
Device includes: the first transmission unit, sends logging request to server for the first application, wherein take in the logging request
Equipment mark code with the client for installing first application, first application are embedded with shareware developing instrument
Packet is used for sharing application data;Receiving unit receives the second application that the server is determined for first application,
Wherein, it is listed to be that the server inquires in the client according to the equipment mark code for second application
Application program, second application is interior to be also embedded with the shareware development kit, is used for sharing application data;Second sends
Authentication request message is sent to described second by the interface of shareware development kit for first application by unit
Using, wherein authentication field is sent to the server by second application, first application is recognized with request
Card.
Further, second transmission unit includes: authentication module, for passing through the authentication field to described first
Using being authenticated;Sending module, in the case where certification passes through, the server to send logging on authentication to described first
Using;Login module, for completing the login of first application in the client.
Further, further includes: call unit, in the first application connecing by shareware development kit
Before authentication request message is sent to second application by mouth, first application is by calling the second web page address applied
Agreement is applied to wake up described second.
Further, the authentication request message includes at least: session identification, web page address agreement, communications command.
Further, further includes: verification unit, in the first application connecing by shareware development kit
Before authentication request message is sent to second application by mouth, second application receives the safety school of the server
It tests, wherein the security verification uses the server to deposit for public key, the server local of the second application distribution
Storage applies the security key prestored in the server to complete with the private key of public key pairing and described first.
To achieve the goals above, according to the another aspect of the application, a kind of storage medium is provided, which is characterized in that
The storage medium includes the program of storage, wherein described program executes the authentication method of the application program of above-mentioned any one.
To achieve the goals above, according to the another aspect of the application, a kind of processor is provided, which is characterized in that institute
Processor is stated for running program, wherein described program executes the authentication method of the application program of above-mentioned any one when running.
To achieve the goals above, according to the another aspect of the application, a kind of electronic equipment is provided, which is characterized in that
It include: one or more processors, memory, display device and one or more programs, wherein one or more of journeys
Sequence is stored in the memory, and is configured as being executed by one or more of processors, one or more of
Program includes the authentication method for executing the application program of above-mentioned any one.
By the application, using following steps: the first application sends logging request to server, wherein in logging request
The equipment mark code of the client of the first application of installation is carried, the first application is embedded with shareware development kit, is used for
Sharing application data;First application receives the second application that server is determined, wherein the second application is server according to equipment
The listed application program that identification code inquires on the client, the second application is interior to be also embedded with shareware development kit,
For sharing application data;Authentication request message is sent to second by the interface of shareware development kit by the first application
Using, wherein authentication field is sent to server by the second application, to request to solve correlation to the certification of the first application
Current mobile terminal is difficult to the problem of completing login authentication according to the application program currently logged in technology.By according in client
The application program for holding currently logged level of application to treat login is authenticated, and is stepped on to reach application program rapid authentication
The effect of record.
Detailed description of the invention
The attached drawing constituted part of this application is used to provide further understanding of the present application, the schematic reality of the application
Example and its explanation are applied for explaining the application, is not constituted an undue limitation on the present application.In the accompanying drawings:
Fig. 1 is the flow chart according to the authentication method of application program provided by the embodiments of the present application;
Fig. 2 is the schematic diagram of information exchange in the authentication method according to application program provided by the embodiments of the present application;And
Fig. 3 is the schematic diagram according to the authentication device of application program provided by the embodiments of the present application.
Specific embodiment
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
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.Based on the embodiment in the application, ordinary skill people
Member's every other embodiment obtained without making creative work, all should belong to the model of the application protection
It encloses.
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.In addition, term " includes " and " tool
Have " and their any deformation, it is intended that cover it is non-exclusive include, for example, containing a series of steps or units
Process, method, system, product or equipment those of are not necessarily limited to be clearly listed step or unit, but may include without clear
Other step or units listing to Chu or intrinsic for these process, methods, product or equipment.
For ease of description, below to the invention relates to part noun or term be illustrated:
Share SDK: the SDK for message distribution from each other being embedded in multiple application program App.
Share Service: the background service for being used to exchange message run in the App of insertion Share SDK.
The server that Share SDKServer:Share SDK is connected.
OAuth certification: referring here to certification when App is logged on mobile platform, such as: it is stepped on using wechat, QQ account
Record.
UDID: full name User Device Identifier can be used by the equipment feature for the user that certain algorithm obtains
To distinguish different user equipmenies.
According to an embodiment of the present application, a kind of authentication method of application program is provided.
Fig. 1 is the flow chart according to the authentication method of the application program of the embodiment of the present application.As shown in Figure 1, this method packet
Include following steps:
Step S101, the first application send logging request to server, wherein carry installation first in logging request and answer
The equipment mark code of client, the first application are embedded with shareware development kit, are used for sharing application data.
Above-mentioned shareware development kit can be Share SDK, apply for first and disappear between other application
Breath distribution.Above-mentioned equipment mark code is UDID.
When one also not client log in application program when client is opened, i.e., can trigger logging request to take
Business device, requests login authentication.
Step S102, the first application receive the second application that server is determined, wherein the second application be server according to
The listed application program that equipment mark code inquires on the client, the second application is interior to be also embedded with shareware developing instrument
Packet is used for sharing application data.
Above-mentioned server is Share SDK Server, receives the logging request that the first application issues in server
Afterwards, according to the UDID of client where the first application, inquire whether user on this client device has logged in other accesses
The application program of Share SDK has logged in if inquiring the second application, and the relevant parameter of the second application will be issued to the
One application, wherein relevant parameter may include: the fields such as url shceme (web page address agreement), session (session).
Authentication request message is sent to second by the interface of shareware development kit by step S103, the first application
Using, wherein authentication field is sent to server by the second application, to request the certification to the first application.
In above-mentioned steps, the first application sends API using the message of Share SDK, that is called to have logged on
Second application carries out OAuth certification to the first application.
Through the above steps, recognized according to the application program for treating login in the currently logged level of application of client
Card solves the problems, such as that current mobile terminal is difficult to complete login authentication according to the application program currently logged in the related technology.
To achieve the effect that application program rapid authentication logs in.
Optionally, it in the authentication method of application program provided by the embodiments of the present application, applies by second to server
Authentication field is sent, includes: to be authenticated by authentication field to the first application to request the certification to the first application;If certification
Pass through, server sends logging on authentication to the first application;The login of the first application is completed on the client.
In above scheme, authentication field is correlation OAuth certification request, for example, verifying field (Refresh Token),
The first application is authenticated by authentication field, completes that logging on authentication is directly dealt into the first application by server after authenticating,
Complete login authentication.
Optionally, soft by sharing in the first application in the authentication method of application program provided by the embodiments of the present application
Authentication request message is sent to before the second application by the interface of part development kit, further includes: the first application is by calling the
The web page address agreements of two applications wake up the second application.
In the above scheme, the first application wakes up the second application by calling the Url Scheme of the second application, calls
The second application after wake-up carries out OAuth certification to the first application.
Optionally, in the authentication method of application program provided by the embodiments of the present application, authentication request message is included at least:
Session identification, web page address agreement, communications command.
In the above scheme, authentication request message includes at least: Url Scheme, session and Command.
Optionally, soft by sharing in the first application in the authentication method of application program provided by the embodiments of the present application
It further include that the second application receives server before authentication request message is sent to the second application by the interface of part development kit
Security verification, wherein security verification use server for second application distribution public key, server local storage with public affairs
The private key of key pairing and first the security key prestored in server is applied to complete.
In the above scheme, if there is the second application is pretended to be in malice App Malicious2 application, disappear to server pull
Breath, actually or at this time server needs to verify real second application of the second application Malicious2.For server
With second application between communication, server can by each App be packaged a RSA public key, server repository private key,
As soon as and this App is pre-stored in the security key of server end, whether the App that can verify client is real second to answer
With.Since the logging on authentication of the first application is to be determined by server according to the authentication field that the second application is sent, the is being determined
In the case that two applications are real first application, to just can guarantee that the first application gets accurate logging on authentication, also protect
The safety of data interaction is demonstrate,proved.
In the authentication method of application program provided by the embodiments of the present application, basic principle is, as shown in Fig. 2,
Step 1, the first application initiates logging request to server, sends the UDID of current device.
Step 2, server finds facility information according to UDID, and inquires the App having logged on, and the second application of discovery is
Through logging in, the fields such as url shceme and session (not sectioning out in figure) that listed second applies just are issued into visitor
Family end.
Step 3, Url Scheme and session and Command are sent to by the first application by Share SDK API
Second application.
Step 4, the second application sends correlation OAuth certification request to Share SDK server.
Step 5, token is distributed to the corresponding A pp of corresponding equipment according to session and UDID by server.
Step 6, Access Token is handed down to the first application by server, completes login authentication.
It should be noted that API Login With Share SDK and Send Command here can have others
Implementation.
In the authentication method of application program provided by the embodiments of the present application, all relevant App fill the same SDK
(Share SDK).The App (for example, App A) for needing to log in calls a listed App (App B) on a user device
Login authentication is carried out, this listed App (App B) is by server (Share SDK Server) according to equipment UDID
(equipment uniquely distinguishes code), come what is found out.An a little authenticators are sent to server by that listed App (App B)
Section (Refresh Token), to complete login authentication.If the verification passes, then server directly by logging on authentication (Access
Token) it is sent to the App (App A) for needing to log in.To which App A completes login authentication by App B, answered to reach
The effect logged in program rapid authentication.
In conclusion the authentication method of application program provided by the embodiments of the present application, sends to log in and ask by the first application
It asks to server, wherein the equipment mark code of the client of the first application of installation is carried in logging request, the first application is embedded
There is shareware development kit, is used for sharing application data;First application receives the second application that server is determined,
In, the second application is the listed application program that server inquires on the client according to equipment mark code, the second application
It is inside also embedded with shareware development kit, is used for sharing application data;First application passes through shareware development kit
Authentication request message is sent to the second application by interface, wherein authentication field is sent to server by the second application, with request
Certification to the first application solves current mobile terminal in the related technology and is difficult to be stepped on according to the application program completion currently logged in
The problem of record certification.It is authenticated by basis in the application program that the currently logged level of application of client treats login,
To achieve the effect that application program rapid authentication logs in.
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.
The embodiment of the present application also provides a kind of authentication devices of application program, it should be noted that the embodiment of the present application
The authentication device of application program can be used for executing the authentication method that application program is used for provided by the embodiment of the present application.With
Under the authentication device of application program provided by the embodiments of the present application is introduced.
Fig. 3 is the schematic diagram according to the authentication device of the application program of the embodiment of the present application.As shown in figure 3, the device packet
It includes: the first transmission unit 301, receiving unit 302 and the second transmission unit 303.
Specifically, the first transmission unit 301 sends logging request to server for the first application, wherein logging request
In carry installation first application client equipment mark code, first application be embedded with shareware development kit, use
In sharing application data;
Receiving unit 302 receives the second application that server is determined for the first application, wherein the second application is clothes
The listed application program that business device inquires on the client according to equipment mark code, the second application is interior to be also embedded with shareware
Development kit is used for sharing application data;
Second transmission unit 303 is disappeared certification request by the interface of shareware development kit for the first application
Breath is sent to the second application, wherein sends authentication field to server by the second application, is recognized with request the first application
Card.
Optionally, in the authentication device of application program provided by the embodiments of the present application, the second transmission unit 303 includes:
Authentication module, for being authenticated by authentication field to the first application;Sending module, in the case where certification passes through,
Server sends logging on authentication to the first application;Login module, for completing the login of the first application on the client.
Optionally, in the authentication device of application program provided by the embodiments of the present application, further includes: call unit is used for
Before authentication request message is sent to the second application by the interface of shareware development kit by the first application, first is answered
The second application is waken up with by calling the web page address agreement of the second application.
Optionally, in the authentication device of application program provided by the embodiments of the present application, authentication request message is included at least:
Session identification, web page address agreement, communications command.
Optionally, in the authentication device of application program provided by the embodiments of the present application, further includes: verification unit is used for
Before authentication request message is sent to the second application by the interface of shareware development kit by the first application, second is answered
With the security verification for receiving server, wherein security verification uses server for public key, the server of the second application distribution
What is be locally stored applies the security key prestored in server to complete with the private key of public key pairing and first.
The authentication device of application program provided by the embodiments of the present application is sent by the application of the first transmission unit 301 first
Logging request is to server, wherein the equipment mark code of the client of the first application of installation is carried in logging request, first answers
With shareware development kit is embedded with, it to be used for sharing application data;The application of receiving unit 302 first receives server and determines
The second application out, wherein the second application is server listed answers according to what equipment mark code inquired on the client
With program, the second application is interior to be also embedded with shareware development kit, is used for sharing application data;Second transmission unit 303
Authentication request message is sent to the second application by the interface of shareware development kit by one application, wherein passes through second
Authentication field is sent using to server, to request to solve current mobile terminal in the related technology to the certification of the first application
It is difficult to the problem of login authentication is completed according to the application program currently logged in.By according to the application currently logged in client
The application program that degree treats login is authenticated, to achieve the effect that application program rapid authentication logs in.
The authentication device of the application program includes processor and memory, and the first above-mentioned transmission unit 301 receives list
Member 302 and the second transmission unit 303 etc. store in memory as program unit, are stored in memory by processor execution
In above procedure unit realize corresponding function.
The embodiment of the present application also provides a kind of Verification Systems of application program.The system includes: client and service
Device.
The Verification System of the application program of the embodiment of the present application can be applied to the certification of above-mentioned any one application program
Method specifically includes: client, wherein multiple application programs is equipped in client, multiple application programs include the first application
With the second application, the first application sends logging request to server, wherein the visitor of the first application of installation is carried in logging request
The equipment mark code at family end, the first application are embedded with shareware development kit, are used for sharing application data;Server, root
The listed application program inquired on the client according to equipment mark code, determines the second application, by the letter of the second application
Breath is sent to the first application, wherein and the second application is interior to be also embedded with shareware development kit, is used for sharing application data, the
Authentication request message is sent to the second application by the interface of shareware development kit by one application, and second applies to service
Device sends authentication field, to request the certification to the first application.
The Verification System of application program provided by the embodiments of the present application, passes through client, wherein is equipped in client more
A application program, multiple application programs are applied including the first application and second, the first application transmission logging request to server,
In, the equipment mark code of the client of the first application of installation is carried in logging request, the first application is embedded with shareware and opens
Kit is sent out, sharing application data are used for;Server, the listed application inquired on the client according to equipment mark code
Program determines the second application, the information of the second application is sent to the first application, wherein the second application is interior also embedded with shared
Software Development Kit, is used for sharing application data, and the first application is asked certification by the interface of shareware development kit
Message is asked to be sent to the second application, the second application sends authentication field to server, to request to solve the certification of the first application
Current mobile terminal is difficult to the problem of completing login authentication according to the application program currently logged in the related technology.Pass through basis
It is authenticated in the application program that the currently logged level of application of client treats login, so that it is quick to have reached application program
Authenticate the effect logged in.
Include kernel in processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can be set one
Or more, by adjusting kernel parameter come according to the currently logged level of application of client treat the application program of login into
Row certification.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, if read-only memory (ROM) or flash memory (flash RAM), memory include that at least one is deposited
Store up chip.
The embodiment of the invention provides a kind of storage mediums, are stored thereon with program, real when which is executed by processor
The authentication method of existing application program.
The embodiment of the invention provides a kind of processor, the processor is for running program, wherein described program operation
The authentication method of application program described in Shi Zhihang.
The embodiment of the invention provides a kind of equipment, equipment include processor, memory and storage on a memory and can
The program run on a processor, processor perform the steps of the first application and send logging request to service when executing program
Device, wherein carried in logging request installation first application client equipment mark code, first application be embedded with share it is soft
Part development kit is used for sharing application data;First application receives the second application that server is determined, wherein second answers
With being listed application program that server inquires on the client according to equipment mark code, the second application is interior also embedded with altogether
Software Development Kit is enjoyed, sharing application data are used for;First application will be authenticated by the interface of shareware development kit
Request message is sent to the second application, wherein sends authentication field to server by the second application, is applied with request to first
Certification.
Authentication field is sent to server by the second application, includes: to pass through certification to request the certification to the first application
Field authenticates the first application;If certification passes through, server sends logging on authentication to the first application;It completes on the client
The login of first application.
Authentication request message is sent to second using it by the interface of shareware development kit in the first application
Before, further includes: the first application wakes up the second application by calling the web page address agreement of the second application.
Authentication request message includes at least: session identification, web page address agreement, communications command.
Authentication request message is sent to second using it by the interface of shareware development kit in the first application
Before, it further include the security verification that the second application receives server, wherein security verification uses server for the second application point
What public key, the server local matched stored applies the security key prestored in server with the private key of public key pairing and first
It completes.Equipment herein can be server, PC, PAD, mobile phone etc..
Present invention also provides a kind of computer program products, when executing on data processing equipment, are adapted for carrying out just
The program of beginningization there are as below methods step: the first application sends logging request to server, wherein peace is carried in logging request
The equipment mark code of the client of the first application is filled, the first application is embedded with shareware development kit, is used for sharing application
Data;First application receives the second application that server is determined, wherein the second application is that server exists according to equipment mark code
The listed application program inquired in client, the second application is interior to be also embedded with shareware development kit, for sharing
Using data;Authentication request message is sent to the second application by the interface of shareware development kit by the first application,
In, authentication field is sent to server by the second application, to request the certification to the first application.
Authentication field is sent to server by the second application, includes: to pass through certification to request the certification to the first application
Field authenticates the first application;If certification passes through, server sends logging on authentication to the first application;It completes on the client
The login of first application.
Authentication request message is sent to second using it by the interface of shareware development kit in the first application
Before, further includes: the first application wakes up the second application by calling the web page address agreement of the second application.
Authentication request message includes at least: session identification, web page address agreement, communications command.
Authentication request message is sent to second using it by the interface of shareware development kit in the first application
Before, it further include the security verification that the second application receives server, wherein security verification uses server for the second application point
What public key, the server local matched stored applies the security key prestored in server with the private key of public key pairing and first
It completes.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable Jie
The example of matter.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including element
There is also other identical elements in process, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product.
Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application
Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code
The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
The above is only embodiments herein, are not intended to limit this application.To those skilled in the art,
Various changes and changes are possible in this application.It is all within the spirit and principles of the present application made by any modification, equivalent replacement,
Improve etc., it should be included within the scope of the claims of this application.
Claims (14)
1. a kind of authentication method of application program characterized by comprising
First application sends logging request to server, wherein installation first application is carried in the logging request
The equipment mark code of client, first application are embedded with shareware development kit, are used for sharing application data;
First application receives the second application that the server is determined, wherein second application is the server
The listed application program inquired in the client according to the equipment mark code, second application is interior to be also embedded with
The shareware development kit is used for sharing application data;
Authentication request message is sent to second application by the interface of shareware development kit by first application,
Wherein, authentication field is sent to the server by second application, to request the certification to first application.
2. being authenticated the method according to claim 1, wherein being sent by second application to the server
Field, to request the certification to first application to include:
First application is authenticated by the authentication field;
If certification passes through, the server sends logging on authentication to first application;
The login of first application is completed in the client.
3. the method according to claim 1, wherein passing through shareware development kit in first application
Interface by authentication request message be sent to it is described second application before, further includes:
First application wakes up second application by calling the web page address agreement of the second application.
4. the method according to claim 1, wherein the authentication request message includes at least: session identification, net
Page address agreement, communications command.
5. the method according to claim 1, wherein passing through shareware development kit in first application
Interface by authentication request message be sent to it is described second application before, further includes:
Second application receives the security verification of the server, wherein the security verification uses the server
The private key and described first with public key pairing stored for public key, the server local of the second application distribution
The security key prestored in the server is applied to complete.
6. a kind of Verification System of application program, which is characterized in that it is any one to claim 5 to be applied to the claims 1
The authentication method of application program described in, comprising:
Client, wherein multiple application programs are installed in the client, the multiple application program include the first application and
Second application, first application send logging request to server, wherein installation described the is carried in the logging request
The equipment mark code of the client of one application, first application are embedded with shareware development kit, are used for sharing application
Data;
Server, the listed application program inquired in the client according to the equipment mark code determine
Two applications, are sent to the first application for the information that described second applies, wherein second application it is interior also embedded with it is described share it is soft
Part development kit, is used for sharing application data, and first application will be authenticated by the interface of shareware development kit
Request message is sent to second application, and second application sends authentication field to the server, to request to described
The certification of first application.
7. a kind of authentication device of application program characterized by comprising
First transmission unit sends logging request to server for the first application, wherein peace is carried in the logging request
The equipment mark code of the client of first application is filled, first application is embedded with shareware development kit, is used for
Sharing application data;
Receiving unit receives the second application that the server is determined for first application, wherein second application
It is the listed application program that the server inquires in the client according to the equipment mark code, described second
It is also embedded with the shareware development kit using interior, is used for sharing application data;
Second transmission unit is sent out authentication request message by the interface of shareware development kit for first application
It send to second application, wherein authentication field is sent to the server by second application, with request to described the
The certification of one application.
8. device according to claim 7, which is characterized in that second transmission unit includes:
Authentication module, for being authenticated by the authentication field to first application;
Sending module, in the case where certification passes through, the server to send logging on authentication to first application;
Login module, for completing the login of first application in the client.
9. device according to claim 7, which is characterized in that further include:
Call unit, for being sent authentication request message by the interface of shareware development kit in first application
To before second application, first application is by calling the web page address agreement of the second application to answer to wake up described second
With.
10. device according to claim 7, which is characterized in that the authentication request message includes at least: session identification,
Web page address agreement, communications command.
11. device according to claim 7, which is characterized in that further include:
Verification unit, for being sent authentication request message by the interface of shareware development kit in first application
To before second application, second application receives the security verification of the server, wherein the security verification
Use the server for the public key of the second application distribution, the private with public key pairing of server local storage
Key and described first the security key prestored in the server is applied to complete.
12. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein described program right of execution
Benefit require any one of 1 to 6 described in application program authentication method.
13. a kind of processor, which is characterized in that the processor is for running program, wherein right of execution when described program is run
Benefit require any one of 1 to 6 described in application program authentication method.
14. a kind of electronic equipment characterized by comprising one or more processors, memory, display device and one
Or multiple programs, wherein one or more of programs are stored in the memory, and are configured as by one
Or multiple processors execute, one or more of programs include for answering described in any one of perform claim requirement 1 to 6
With the authentication method of program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810898883.0A CN109086596B (en) | 2018-08-08 | 2018-08-08 | Authentication method, device and system for application program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810898883.0A CN109086596B (en) | 2018-08-08 | 2018-08-08 | Authentication method, device and system for application program |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109086596A true CN109086596A (en) | 2018-12-25 |
CN109086596B CN109086596B (en) | 2022-03-22 |
Family
ID=64834067
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810898883.0A Active CN109086596B (en) | 2018-08-08 | 2018-08-08 | Authentication method, device and system for application program |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109086596B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110311895A (en) * | 2019-05-28 | 2019-10-08 | 深圳壹账通智能科技有限公司 | Session authorization check method, system and the electronic equipment of identity-based verifying |
CN111221648A (en) * | 2019-12-27 | 2020-06-02 | 山东乾云启创信息科技股份有限公司 | Application sharing method, device and medium based on spread processor |
CN111241499A (en) * | 2020-01-07 | 2020-06-05 | 腾讯科技(深圳)有限公司 | Application program login method, device, terminal and storage medium |
CN111901346A (en) * | 2020-07-29 | 2020-11-06 | 北京奇艺世纪科技有限公司 | Identity authentication system |
CN111949308A (en) * | 2020-08-07 | 2020-11-17 | 北京字节跳动网络技术有限公司 | Software package publishing method and device |
CN113449944A (en) * | 2020-03-27 | 2021-09-28 | 中国移动通信集团山东有限公司 | Work order processing method and device based on hardware sharing and computer equipment |
CN113656787A (en) * | 2021-08-12 | 2021-11-16 | 青岛海信智慧生活科技股份有限公司 | Service providing device, terminal, authentication device, resource access method and system |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120266229A1 (en) * | 2011-04-12 | 2012-10-18 | Salesforce.Com, Inc. | Inter-application management of user credential data |
CN103188207A (en) * | 2011-12-27 | 2013-07-03 | 北大方正集团有限公司 | Cross-domain single sign-on realization method and system |
US20140143145A1 (en) * | 2012-11-20 | 2014-05-22 | Braintree Payment Solutions, Llc | Environment and methods for enabling electronic transactions |
CN103942093A (en) * | 2013-01-23 | 2014-07-23 | 阿里巴巴集团控股有限公司 | Service processing method and system |
CN105141624A (en) * | 2015-09-17 | 2015-12-09 | 网易(杭州)网络有限公司 | Login method, account management server and client system |
CN106559386A (en) * | 2015-09-25 | 2017-04-05 | 阿里巴巴集团控股有限公司 | A kind of authentication method and device |
CN106888202A (en) * | 2016-12-08 | 2017-06-23 | 阿里巴巴集团控股有限公司 | Authorize login method and device |
CN107645486A (en) * | 2016-12-28 | 2018-01-30 | 平安科技(深圳)有限公司 | Login authentication method and device |
CN107948204A (en) * | 2017-12-29 | 2018-04-20 | 咪咕文化科技有限公司 | One-key login method and system, related equipment and computer readable storage medium |
-
2018
- 2018-08-08 CN CN201810898883.0A patent/CN109086596B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120266229A1 (en) * | 2011-04-12 | 2012-10-18 | Salesforce.Com, Inc. | Inter-application management of user credential data |
CN103188207A (en) * | 2011-12-27 | 2013-07-03 | 北大方正集团有限公司 | Cross-domain single sign-on realization method and system |
US20140143145A1 (en) * | 2012-11-20 | 2014-05-22 | Braintree Payment Solutions, Llc | Environment and methods for enabling electronic transactions |
CN103942093A (en) * | 2013-01-23 | 2014-07-23 | 阿里巴巴集团控股有限公司 | Service processing method and system |
CN105141624A (en) * | 2015-09-17 | 2015-12-09 | 网易(杭州)网络有限公司 | Login method, account management server and client system |
CN106559386A (en) * | 2015-09-25 | 2017-04-05 | 阿里巴巴集团控股有限公司 | A kind of authentication method and device |
CN106888202A (en) * | 2016-12-08 | 2017-06-23 | 阿里巴巴集团控股有限公司 | Authorize login method and device |
CN107645486A (en) * | 2016-12-28 | 2018-01-30 | 平安科技(深圳)有限公司 | Login authentication method and device |
CN107948204A (en) * | 2017-12-29 | 2018-04-20 | 咪咕文化科技有限公司 | One-key login method and system, related equipment and computer readable storage medium |
Non-Patent Citations (3)
Title |
---|
NICHOLASYZD: "友盟第三方登录实现QQ和微信登录", 《HTTPS://BLOG.CSDN.NET/QQ_27942511/ARTICLE/DETAILS/71123931》 * |
XYQ全哥: "iOS:shareSDK第三方登录", 《HTTPS://WWW.CNBLOGS.COM/XYQ-208910/P/5514805.HTML》 * |
介龙梅等: "基于Android平台的移动社交APP设计与实现", 《福建电脑》 * |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110311895A (en) * | 2019-05-28 | 2019-10-08 | 深圳壹账通智能科技有限公司 | Session authorization check method, system and the electronic equipment of identity-based verifying |
CN111221648A (en) * | 2019-12-27 | 2020-06-02 | 山东乾云启创信息科技股份有限公司 | Application sharing method, device and medium based on spread processor |
CN111241499A (en) * | 2020-01-07 | 2020-06-05 | 腾讯科技(深圳)有限公司 | Application program login method, device, terminal and storage medium |
CN113449944A (en) * | 2020-03-27 | 2021-09-28 | 中国移动通信集团山东有限公司 | Work order processing method and device based on hardware sharing and computer equipment |
CN111901346A (en) * | 2020-07-29 | 2020-11-06 | 北京奇艺世纪科技有限公司 | Identity authentication system |
CN111901346B (en) * | 2020-07-29 | 2022-10-25 | 北京奇艺世纪科技有限公司 | Identity authentication system |
CN111949308A (en) * | 2020-08-07 | 2020-11-17 | 北京字节跳动网络技术有限公司 | Software package publishing method and device |
CN113656787A (en) * | 2021-08-12 | 2021-11-16 | 青岛海信智慧生活科技股份有限公司 | Service providing device, terminal, authentication device, resource access method and system |
CN113656787B (en) * | 2021-08-12 | 2023-10-27 | 青岛海信智慧生活科技股份有限公司 | Service providing device, terminal, authentication device, resource access method and system |
Also Published As
Publication number | Publication date |
---|---|
CN109086596B (en) | 2022-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109086596A (en) | The authentication method of application program, apparatus and system | |
CN107483509B (en) | A kind of auth method, server and readable storage medium storing program for executing | |
CN102394887B (en) | OAuth protocol-based safety certificate method of open platform and system thereof | |
US20190165947A1 (en) | Signatures for near field communications | |
CN110336833A (en) | Image content common recognition method, server based on block chain | |
CN103780396B (en) | Token acquisition methods and device | |
CN107918731A (en) | Method and apparatus for controlling the authority to access to open interface | |
CN108933838A (en) | Application data processing method and device | |
CN106341233A (en) | Authentication method for client to log into server, device, system and electronic device | |
CN106953831A (en) | A kind of authorization method of user resources, apparatus and system | |
CN113472807B (en) | Private communication method and device between users | |
CN109218028B (en) | A kind of method, apparatus and system for signing and issuing eSIM certificate online | |
JP4897503B2 (en) | Account linking system, account linking method, linkage server device | |
CN116458117A (en) | Secure digital signatures | |
CN109102401A (en) | Method and apparatus for running intelligent contract in block chain network | |
CN110049032A (en) | A kind of the data content encryption method and device of two-way authentication | |
CN109088890A (en) | A kind of identity identifying method, relevant apparatus and system | |
CN109218334A (en) | Data processing method, device, access control equipment, certificate server and system | |
CN110298691A (en) | Legality identification method, device and electronic equipment | |
Karthick et al. | Modeling and verifying a resource allocation algorithm for secure service migration for commercial cloud systems | |
CN110166471A (en) | A kind of portal authentication method and device | |
CN110248356A (en) | Information acquisition method and device | |
Zhang et al. | Efficient privacy protection authentication protocol for vehicle network in 5G | |
CN106534047B (en) | A kind of information transferring method and device based on Trust application | |
CN106027639B (en) | A kind of wide-area network access method and device of PAAS platform |
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 |