Movatterモバイル変換


[0]ホーム

URL:


CN106295310A - Third party's program SDK authentication processing method and device - Google Patents

Third party's program SDK authentication processing method and device
Download PDF

Info

Publication number
CN106295310A
CN106295310ACN201610609686.3ACN201610609686ACN106295310ACN 106295310 ACN106295310 ACN 106295310ACN 201610609686 ACN201610609686 ACN 201610609686ACN 106295310 ACN106295310 ACN 106295310A
Authority
CN
China
Prior art keywords
authentication information
program
party
information
sdk
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610609686.3A
Other languages
Chinese (zh)
Inventor
陈超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Original Assignee
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing 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 LeTV Holding Beijing Co Ltd, LeTV Mobile Intelligent Information Technology Beijing Co LtdfiledCriticalLeTV Holding Beijing Co Ltd
Priority to CN201610609686.3ApriorityCriticalpatent/CN106295310A/en
Publication of CN106295310ApublicationCriticalpatent/CN106295310A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The embodiment of the present invention provides a kind of third party's program SDK authentication processing method and device, and described method includes: after receiving the trigger action using third party's program function, generates current authentication information;Current authentication information is mated with the good authentication information being stored in this locality;If judging to know that current authentication information is consistent with good authentication information, then send current authentication information to third party's program, to obtain the SDK corresponding with described function that third party's program returns.Third party's program SDK authentication processing method of embodiment of the present invention offer and device, by send to third party's program call SDK request time, current authentication information and good authentication information are mated by currently used application program, know that current authentication information is consistent with good authentication information, current authentication information is sent to third party's program, to obtain the SDK that third party's program returns, thus solve in prior art by third party's program carry out information matches unsuccessful after the disabled problem of program function that causes.

Description

Third party's program SDK authentication processing method and device
Technical field
The present embodiments relate to platform service technical field, particularly relate to a kind of third party's program SDK verification process sideMethod and device.
Background technology
SDK (Software Development Kit, i.e. SDK) is usually some by software engineerFor setting up the set of the developing instrument of application software for specific software kit, software frame, hardware platform, operating system etc..
When currently used application call third party's program SDK, need to send testing of self to third party's programCard information, and by third party's program, described checking information is mated with the checking information prestored, if occurring, coupling is unsuccessful,The most currently used application program is not authorized to use third party's program SDK, and then causes program function unavailable, even collapsesBurst.
Summary of the invention
The embodiment of the present invention provides a kind of third party's program SDK authentication processing method and device, in order to solve prior artIn currently used application program when calling third party's program SDK, directly send checking information to third party's program, by the 3rdEquation carry out information matches unsuccessful after the disabled problem of program function that causes.
The embodiment of the present invention provides a kind of third party's program SDK authentication processing method, including:
After receiving the trigger action using third party's program function, generate corresponding with described third party's program functionCurrent authentication information;
Described current authentication information being mated with the history table being stored in this locality, described history table includesWhen using described function before to described third party's program send for requests verification the good authentication information that is proved to be successful;
If judging to know that described current authentication information is consistent with described good authentication information, then send out to described third party's programSend described current authentication information, to obtain the SDK corresponding with described function that described third party's program returns.
Preferably, described method also includes:
If judging to know that described current authentication information is inconsistent with described good authentication information, then terminate handling process.
Preferably, described history table stores multiple described good authentication information sequentially in time.
Preferably, each described good authentication information all with corresponding third party's program one_to_one corresponding.
Preferably, described judgement knows that described current authentication information is inconsistent with described good authentication information, then terminate placeReason flow process, particularly as follows: when knowing that described current authentication information is inconsistent with described good authentication information, then continue display and currently shouldWith the operation interface of program.
The embodiment of the present invention provides a kind of third party's program SDK verification process device, including:
Information generating module, for after receiving the trigger action using third party's program function, generates and described theThe current authentication information that tripartite's program function is corresponding;
Information matches module, for described current authentication information is mated with the history table being stored in this locality,When described history table includes using before described function to described third party's program send for requests verification and verifySuccessfully good authentication information;
In judgement, processing module, for knowing that described current authentication information is consistent with described good authentication information, then to instituteState third party's program and send described current authentication information, to obtain the corresponding with described function of described third party's program returnSDK。
Preferably, described processing module is additionally operable to: know that described current authentication information is believed with described good authentication in judgementCease inconsistent, then terminate handling process.
Preferably, also include information storage module, for storing history table.
Preferably, described processing module specifically for: when knowing described current authentication information and described good authentication informationInconsistent, then continue the operation interface of display current application program.
Preferably, described information storage module specifically for: store multiple described good authentication information sequentially in time.
Third party's program SDK authentication processing method that the embodiment of the present invention provides, by sending tune to third party's programWhen asking with SDK, currently used application program is by the current authentication information of generation and is stored on local history tableGood authentication information mate, know that described current authentication information is consistent with described good authentication information, to the described 3rdEquation sends described current authentication information, to obtain the SDK corresponding with described function that described third party's program returns, thusPrevent by third party's program carry out information matches unsuccessful after the disabled problem of program function that causes.
Third party's program SDK verification process device that the embodiment of the present invention provides, by sending tune to third party's programWhen asking with SDK, currently used application program is by the current authentication information of generation and is stored on local history tableGood authentication information mate, know that described current authentication information is consistent with described good authentication information, to the described 3rdEquation sends described current authentication information, to obtain the SDK corresponding with described function that described third party's program returns, thusPrevent by third party's program carry out information matches unsuccessful after the disabled problem of program function that causes.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existingIn having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is thisSome bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to rootOther accompanying drawing is obtained according to these accompanying drawings.
The schematic flow sheet of third party's program SDK authentication processing method that Fig. 1 provides for the embodiment of the present invention 1;
The schematic flow sheet of third party's program SDK authentication processing method that Fig. 2 provides for the embodiment of the present invention 2;
The structural representation of third party's program SDK verification process device that Fig. 3 provides for the embodiment of the present invention 3;
The structural representation of third party's program SDK verification process device that Fig. 4 provides for the embodiment of the present invention 4.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with the embodiment of the present inventionIn accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment isThe a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the artThe every other embodiment obtained under not making creative work premise, broadly falls into the scope of protection of the invention.
Fig. 1 shows a kind of third party's program SDK authentication processing method that the embodiment of the present invention 1 provides, including:
S11, receive use third party's program function trigger action after, generate with described third party's program function pairThe current authentication information answered.
In this step, it should be noted that receive use third party's program function trigger action after, generate withThe current authentication information that described third party's program function is corresponding.Each checking information and corresponding third party's program one_to_one corresponding,The most each current application program sends to third party's program and uniquely verifies information.
S12, by described current authentication information be stored in this locality history table mate, described history tableIncluding when using described function before to described third party's program send for requests verification the good authentication that is proved to be successfulInformation.
In this step, it should be noted that owing to currently used application program uses described program function beforeTime, it is transmitted across for requests verification the good authentication information that is proved to be successful to described third party's program.And in proof procedureThe good authentication information obtained is stored in history table and is stored in this locality.
Owing to currently used application program realizes multiple program function, need to send to multiple third party's programs and call the 3rdThe checking request of equation correspondence SDK, therefore, can store sequentially in time through each good authentication information being proved to be successfulIn described history table.
During owing to using described program function every time, it is intended to generate new checking information and goes checking.Therefore to third party's journeySequence sends before calling SDK, the good authentication information in the current authentication information of generation and history table is mated.
If S13 judges to know that described current authentication information is consistent with described good authentication information, then to described third party's journeySequence sends described current authentication information, to obtain the SDK corresponding with described function that described third party's program returns.
In this step, it should be noted that when described current authentication information consistent with described good authentication information, then toDescribed third party's program sends described current authentication information.Owing in history table, record has currently used application programThe record of checking information it is transmitted across to third party's program, therefore after third party's program receives current authentication information, with third partyThe checking information that program prestores carries out mating to succeed, thus third party's program can authorize currently used application program to makeUse SDK.
Third party's program SDK authentication processing method that the embodiment of the present invention 1 provides, by sending tune to third party's programWhen asking with SDK, currently used application program is by the current authentication information of generation and is stored on local history tableGood authentication information mate, know that described current authentication information is consistent with described good authentication information, to the described 3rdEquation sends described current authentication information, to obtain the SDK corresponding with described function that described third party's program returns, thusPrevent by third party's program carry out information matches unsuccessful after the disabled problem of program function that causes.
Fig. 2 shows a kind of third party's program SDK authentication processing method that the embodiment of the present invention 2 provides, including:
S21, receive use third party's program function trigger action after, generate with described third party's program function pairThe current authentication information answered.
In this step, it should be noted that receive use third party's program function trigger action after, generate withThe current authentication information that described third party's program function is corresponding.Each checking information and corresponding third party's program one_to_one corresponding,The most each current application program sends to third party's program and uniquely verifies information.
S22, by described current authentication information be stored in this locality history table mate, described history tableIncluding when using described function before to described third party's program send for requests verification the good authentication that is proved to be successfulInformation.
In this step, it should be noted that owing to currently used application program uses described program function beforeTime, it is transmitted across for requests verification the good authentication information that is proved to be successful to described third party's program.And in proof procedureThe good authentication information obtained is stored in history table and is stored in this locality.
Owing to currently used application program realizes multiple program function, need to send to multiple third party's programs and call the 3rdThe checking request of equation correspondence SDK, therefore, can store sequentially in time through each good authentication information being proved to be successfulIn described history table.
During owing to using described program function every time, it is intended to generate new checking information and goes checking.Therefore to third party's journeySequence sends before calling SDK, the good authentication information in the current authentication information of generation and history table is mated.
If S23 judges to know that described current authentication information is inconsistent with described good authentication information, then terminate to process streamJourney.Such as continue back on the operation interface of currently used application program.It is to say, currently used application program is in this journeySequence functionally cannot call third party's program SDK, it is impossible to uses this program function.It can be adjusted up at another program functionUse other program functions, to realize the application on other program functions.
Third party's program SDK authentication processing method that the embodiment of the present invention 2 provides, by sending tune to third party's programWhen asking with SDK, currently used application program is by the current authentication information of generation and is stored on local history tableGood authentication information mate, know that described current authentication information is inconsistent with described good authentication information, then terminate placeReason flow process, thus prevent by third party's program carry out information matches unsuccessful after the disabled problem of program function that causes.
Fig. 3 shows a kind of third party's program SDK verification process device that the embodiment of the present invention 3 provides, raw including informationBecome module 21, information matches module 22 and processing module 23, wherein:
Information generating module 21, for after receiving the trigger action using third party's program function, generates with describedThe current authentication information that third party's program function is corresponding;
Information matches module 22, for by described current authentication information and be stored in the history table of this locality and carry outJoin, when described history table includes using before described function to described third party's program send for requests verification and testDemonstrate,prove successful good authentication information;
Processing module 23, for judge know that described current authentication information is consistent with described good authentication information, then toDescribed third party's program sends described current authentication information, to obtain the corresponding with described function of described third party's program returnSDK。
After receiving the trigger action using third party's program function, information generating module 21 generates and described third partyThe current authentication information that program function is corresponding, and described current authentication information is sent to information matches module 22.Information matchesDescribed current authentication information is mated by module 22 with the good authentication information on the history table being stored in this locality, and willMatching result is sent to processing module 23.Processing module 23 is knowing described current authentication information and described good authentication information oneAfter the matching result caused, send described current authentication information to described third party's program, to obtain the return of described third party's programThe SDK corresponding with described function.It addition, also can arrange an information storage module, described history table is storable in informationIn memory module, when needs history table, can call.Owing to currently used application program realizes multiple program meritCan, the checking request calling third party's program correspondence SDK need to be sent to multiple third party's programs, therefore, through be proved to be successfulEach good authentication information can be stored in described history table sequentially in time.
Processing module 23 after knowing the matching result that described current authentication information is inconsistent with described good authentication information,Do not send described current authentication information to described third party's program, the operation interface of currently used application program can be continued back atOn.
Owing to device described in the embodiment of the present invention 3 is identical with the principle of method described in above-described embodiment, in further detailExplanation content do not repeat them here.
Come real it should be noted that the embodiment of the present invention can be passed through hardware processor (hardware processor)Existing related function module.
Third party's program SDK verification process device that the embodiment of the present invention 3 provides, by sending tune to third party's programWhen asking with SDK, currently used application program is by the current authentication information of generation and is stored on local history tableGood authentication information mate, know that described current authentication information is consistent with described good authentication information, to the described 3rdEquation sends described current authentication information, to obtain the SDK corresponding with described function that described third party's program returns, thusSolve application program currently used in prior art when calling third party's program SDK, directly send to third party's programChecking information, by third party's program carry out information matches unsuccessful after the disabled problem of program function that causes.
Fig. 4 shows that the entity structure of a kind of third party's program SDK verification process device that the embodiment of the present invention 4 provides is shownBeing intended to, as shown in Figure 4, this device may include that processor (processor) 31, communication interface (CommunicationsInterface) 34, memorizer (memory) 32 and communication bus 33, wherein, processor, communication interface, memorizer is by communicationBus completes mutual communication.Communication interface may be used for the information transmission between described processing means and display device.PlaceReason device can call the history table in memorizer, to perform following method: uses third party's program function receivingAfter trigger action, generate the current authentication information corresponding with described third party's program function;By described current authentication information with depositStore up and mate at local history table, to described third party when described history table includes using before described functionProgram send for requests verification the good authentication information that is proved to be successful;If judging to know described current authentication information and instituteState good authentication information consistent, then send described current authentication information to described third party's program, to obtain described third party's journeyThe SDK corresponding with described function that sequence returns.
Additionally, the history table in above-mentioned memorizer can be stored in a computer read/write memory medium.Based on such understanding, part that prior art is contributed by technical scheme the most in other words or this technologyThe part of scheme can embody with the form of software product, and this computer software product is stored in a storage medium,Including some instructions with so that a computer equipment (can be personal computer, server, or the network equipment etc.) is heldAll or part of step of method described in each embodiment of the row present invention.And aforesaid storage medium includes: USB flash disk, portable hard drive,Read only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magneticThe various medium that can store program code such as dish or CD.
Device embodiment described above is only schematically, and the wherein said unit illustrated as separating component canTo be or to may not be physically separate, the parts shown as unit can be or may not be physics listUnit, i.e. may be located at a place, or can also be distributed on multiple NE.Can be selected it according to the actual needsIn some or all of module realize the purpose of the present embodiment scheme.Those of ordinary skill in the art are not paying creativenessWork in the case of, be i.e. appreciated that and implement.
Through the above description of the embodiments, those skilled in the art it can be understood that to each embodiment canThe mode adding required general hardware platform by software realizes, naturally it is also possible to pass through hardware.Based on such understanding, onState the part that prior art contributes by technical scheme the most in other words to embody with the form of software product, shouldComputer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD etc., including some fingersMake with so that a computer equipment (can be personal computer, server, or the network equipment etc.) performs each and implementsThe method described in some part of example or embodiment.
Last it is noted that above example is only in order to illustrate technical scheme, it is not intended to limit;AlthoughWith reference to previous embodiment, the present invention is described in detail, it will be understood by those within the art that: it still may be usedSo that the technical scheme described in foregoing embodiments to be modified, or wherein portion of techniques feature is carried out equivalent;And these amendment or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit andScope.

Claims (10)

CN201610609686.3A2016-07-282016-07-28Third party's program SDK authentication processing method and devicePendingCN106295310A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201610609686.3ACN106295310A (en)2016-07-282016-07-28Third party's program SDK authentication processing method and device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201610609686.3ACN106295310A (en)2016-07-282016-07-28Third party's program SDK authentication processing method and device

Publications (1)

Publication NumberPublication Date
CN106295310Atrue CN106295310A (en)2017-01-04

Family

ID=57663174

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201610609686.3APendingCN106295310A (en)2016-07-282016-07-28Third party's program SDK authentication processing method and device

Country Status (1)

CountryLink
CN (1)CN106295310A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107329742A (en)*2017-06-142017-11-07北京小米移动软件有限公司SDK call method and device
CN109117647A (en)*2018-07-172019-01-01众安信息技术服务有限公司A kind of the permission control management method and management system of mobile application SDK
CN115167325A (en)*2022-08-232022-10-11郑州华泰联合工业自动化有限公司Intelligent processing control method, system, equipment and storage medium for cable

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20110185189A1 (en)*2010-01-262011-07-28Kyocera Mita CorporationSDK Use-Restriction Imposing Device, Use-Restriction-Imposed SDK Developing System, and SDK Use-Restriction Imposing Method
CN103595770A (en)*2013-10-292014-02-19北京奇虎科技有限公司Method and device for achieving file downloading through SDK
CN103617394A (en)*2013-12-042014-03-05北京网秦天下科技有限公司SDK providing and invoking method and associated device
CN103685192A (en)*2012-09-182014-03-26百度在线网络技术(北京)有限公司Method and device for limiting calling launched by third-party application
CN104836784A (en)*2014-09-252015-08-12腾讯科技(北京)有限公司Information processing method, client, and server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20110185189A1 (en)*2010-01-262011-07-28Kyocera Mita CorporationSDK Use-Restriction Imposing Device, Use-Restriction-Imposed SDK Developing System, and SDK Use-Restriction Imposing Method
CN103685192A (en)*2012-09-182014-03-26百度在线网络技术(北京)有限公司Method and device for limiting calling launched by third-party application
CN103595770A (en)*2013-10-292014-02-19北京奇虎科技有限公司Method and device for achieving file downloading through SDK
CN103617394A (en)*2013-12-042014-03-05北京网秦天下科技有限公司SDK providing and invoking method and associated device
CN104836784A (en)*2014-09-252015-08-12腾讯科技(北京)有限公司Information processing method, client, and server

Cited By (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107329742A (en)*2017-06-142017-11-07北京小米移动软件有限公司SDK call method and device
CN107329742B (en)*2017-06-142021-01-29北京小米移动软件有限公司Software development kit calling method and device
CN109117647A (en)*2018-07-172019-01-01众安信息技术服务有限公司A kind of the permission control management method and management system of mobile application SDK
CN115167325A (en)*2022-08-232022-10-11郑州华泰联合工业自动化有限公司Intelligent processing control method, system, equipment and storage medium for cable
CN115167325B (en)*2022-08-232023-12-19郑州华泰联合工业自动化有限公司Intelligent processing control method, system, equipment and storage medium for cable

Similar Documents

PublicationPublication DateTitle
CN114945021B (en)Unmanned vehicle remote debugging method, device, system and storage medium
CN109583857B (en) Public invitation task processing method, system, device and storage medium
CN110071876B (en)Block chain-based data transmission method and device and electronic equipment
CN111209578A (en)Application service access method and device
KR102252520B1 (en)Quick service management service apparatus that enables management of quick service delivery information based on a block chain and operating method thereof
CN105262588A (en)Log-in method based on dynamic password, account number management server and mobile terminal
CN110096511B (en)Data consistency verification method, device, equipment and medium based on private chain
CN103747013A (en)Cloud terminal login verification method and device
CN111598650A (en)Resource request transaction method based on block chain network and related device
CN106295310A (en)Third party's program SDK authentication processing method and device
CN114565378B (en) NFT ownership transfer method, computer device and storage medium
CN110321219A (en)A kind of parallel execution method, apparatus, equipment and the medium of transactions requests
JP2019208351A (en)Method and server for managing power supply
CN108848061B (en) User information transmission method and terminal device
CN112819479A (en)Order state processing method and device, storage medium and server
CN106980969A (en)A kind of data processing method, system and device
CN110599274B (en)Bill processing method, bill processing device, bill processing equipment and computer storage medium
CN110879787B (en)Client testing method and system
CN104917763B (en)A kind of PIN cache method
CN105592029B (en)The synchronous method and server of virtual resource transfer operation state
CN111754348A (en)Scene combined transaction method and device
CN106020912A (en)Cloud-based SELinux strategy loading method, device, terminal equipment and system
CN115827431A (en)Counter system testing method and device and electronic equipment
CN117196615A (en)Cross-blockchain transaction method, device, equipment and storage medium
US9210147B1 (en)Method, apparatus and computer program product for assessing risk associated with authentication requests

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
WD01Invention patent application deemed withdrawn after publication
WD01Invention patent application deemed withdrawn after publication

Application publication date:20170104


[8]ページ先頭

©2009-2025 Movatter.jp