CN106131011A - A kind of license confirmation method and device - Google Patents
A kind of license confirmation method and device Download PDFInfo
- Publication number
- CN106131011A CN106131011A CN201610542290.1A CN201610542290A CN106131011A CN 106131011 A CN106131011 A CN 106131011A CN 201610542290 A CN201610542290 A CN 201610542290A CN 106131011 A CN106131011 A CN 106131011A
- Authority
- CN
- China
- Prior art keywords
- mandate
- authorization
- keep
- authorization server
- lap
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0884—Network architectures or network communication protocols for network security for authentication of entities by delegation of authentication, e.g. a proxy authenticates an entity to be authenticated on behalf of this entity vis-à-vis an authentication entity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Telephonic Communication Services (AREA)
- Computer And Data Communications (AREA)
Abstract
The embodiment of the invention discloses a kind of license confirmation method and device, during authorized applications LAP is authorized by authorization server LicS, empowerment management client-side program LCP records authorization message, when there is the situation connecting hit in LicS, after LCP receives the mandate keep-alive request that LAP sends, judge whether this mandate keep-alive request mates with the authorization message of record, if, the confirmation asked for described mandate keep-alive to this LAP feedback, therefore, ensure that this LAP continues to run with, avoid when LicS connects hit, LAP loses all of authorization message, situation about cannot continue to run with.
Description
Technical field
The present invention relates to networking technology area, particularly to a kind of license confirmation method and device.
Background technology
Authorized applications (LAP, License Application Program): refer to need to rely on authorization
The application program that can run.Authorization server (LicS, License Server): refer to for storing authorization (in below
Hold and be called for short " mandate "), and the server that mandate is managed.
As it is shown in figure 1, multiple LAP connect a LicS.LAP initiates registration request to connected LicS, and LicS sentences
Its registration is agreed to after this LAP disconnected is legal.For the LAP succeeded in registration, when needs application authorizes, LAP sends to LicS
Authorization requests, LicS receives this authorization requests and distributes authorization message.It addition, be assigned to authorization message LAP can timing to
LicS sends and authorizes keep-alive request, confirms that the authorization message of oneself remains valid.
But, for LicS, the situation connecting disconnection between LAP may often occur.So, at one section
In time, if LAP does not receives the feedback of LicS, then can delete the authorization message self preserved, thus cause LAP to continue
Run.
Summary of the invention
The purpose of the embodiment of the present invention is to provide a kind of license confirmation method and device, it is to avoid when LicS connects hit
Time, LAP loses all of authorization message, situation about cannot continue to run with.
For reaching above-mentioned purpose, the embodiment of the invention discloses a kind of license confirmation method, including:
Receive the authorization requests that authorized applications sends, described authorization requests is transmitted to authorization server;
Receiving and record the authorization message that described authorization server sends, described authorization message is transmitted to described mandate should
Use program;
Receive the mandate keep-alive request that described authorized applications sends;
When connection between described authorization server disconnects, it is judged that described mandate keep-alive request and described authorization message
Whether mate;
If it is, the confirmation asked for described mandate keep-alive to described authorized applications feedback.
Optionally, after described reception recording the authorization message that described authorization server sends, described method also may be used
To include:
When connection between described authorization server disconnects, start intervalometer;
When described intervalometer arrives the duration set, delete described authorization message.
Optionally, described method can also include:
When connection between described authorization server disconnects, send spy every preset duration to described authorization server
Observe and predict literary composition, to judge whether the connection between described authorization server recovers;
When connection between described authorization server recovers and do not arrives the duration of described setting, to described mandate
Server sends synchronization request, so that described authorization server updates the authorization message of self according to described authorization message.
Optionally, after receiving the mandate keep-alive request that described authorized applications sends, described method can also include:
When connection between described authorization server does not disconnects, described mandate keep-alive request is transmitted to described mandate
Server;
Receive and record described authorization server send for described mandate keep-alive request confirmation, by described really
Recognize information and be transmitted to described authorized applications.
Optionally, described method can also include:
Record the switching equipment mark residing for the program identification of described authorized applications and described authorized applications;
Described described authorization message is transmitted to described authorized applications, may include that
Identify according to described program identification and described switching equipment, described authorization message is transmitted to described mandate and applies journey
Sequence.
For reaching above-mentioned purpose, the embodiment of the invention also discloses a kind of license confirmation device, including: receiver module, sentence
Disconnected module and sending module, wherein,
Described receiver module, for receiving the authorization requests that authorized applications sends;Described sending module, for by institute
State authorization requests and be transmitted to authorization server;
Described receiver module, is additionally operable to receive and record the authorization message that described authorization server sends;Described transmission mould
Block, is additionally operable to described authorization message is transmitted to described authorized applications;
Described receiver module, is additionally operable to receive the mandate keep-alive request that described authorized applications sends;
Described judge module, when the connection between described authorization server disconnects, it is judged that described mandate keep-alive
Whether request mates with described authorization message;
Described sending module, is additionally operable to when described judge module judged result is for being, anti-to described authorized applications
Present the confirmation for described mandate keep-alive request.
Optionally, described device can also include: startup module and removing module, wherein,
Described startup module, when the connection between described authorization server disconnects, starts intervalometer;
Described removing module, for when described intervalometer arrives the duration set, deleting described authorization message.
Optionally, described sending module, it is also possible to when the connection between described authorization server disconnects, every
Preset duration sends probe messages to described authorization server, the most extensive to judge the connection between described authorization server
Multiple;
Described sending module, it is also possible to recover for working as the connection between described authorization server and do not arrive described
During the duration set, send synchronization request to described authorization server, so that described authorization server is according to described authorization message
Update the authorization message of self.
Optionally, described sending module, it is also possible to for receiving the mandate keep-alive request that described authorized applications sends
Afterwards, when the connection between described authorization server does not disconnects, described mandate keep-alive request is transmitted to described mandate and takes
Business device;
Described receiver module, it is also possible to for receive and record described authorization server send for described mandate keep-alive
The confirmation of request;
Described sending module, it is also possible to for described confirmation is transmitted to described authorized applications.
Optionally, described receiver module, it is also possible to for recording the program identification of described authorized applications and described
Switching equipment mark residing for authorized applications;
Described sending module, it is also possible to for identifying, by described mandate according to described program identification and described switching equipment
Information is transmitted to described authorized applications.
The application embodiment of the present invention, during authorized applications LAP is authorized by authorization server LicS, awards
Power managing customer end program LCP records authorization message, and when the situation connecting hit occurs in LicS, LCP receives what LAP sent
After authorizing keep-alive request, it is judged that whether this mandate keep-alive request mates, if it is, feed back to this LAP with the authorization message of record
For the confirmation of described mandate keep-alive request, thereby it is ensured that this LAP continues to run with, it is to avoid when LicS connects wink
Time disconnected, LAP loses all of authorization message, situation about cannot continue to run with.
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 existing
In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to
Other accompanying drawing is obtained according to these accompanying drawings.
Fig. 1 is the system structure schematic diagram in existing license confirmation scheme;
Fig. 2 is the first application scenarios schematic diagram of the embodiment of the present invention;
Fig. 3 is the second application scenarios schematic diagram of the embodiment of the present invention;
The first schematic flow sheet of the license confirmation method that Fig. 4 provides for the embodiment of the present invention;
The second schematic flow sheet of the license confirmation method that Fig. 5 provides for the embodiment of the present invention;
The first structural representation of the license confirmation device that Fig. 6 provides for the embodiment of the present invention;
The second structural representation of the license confirmation device that Fig. 7 provides for the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under not making creative work premise
Embodiment, broadly falls into the scope of protection of the invention.
During in order to solve LicS appearance connection hit in prior art, LAP may lose all authorization messages, and this is asked
Topic, embodiments provides a kind of license confirmation method and device, is applied to switching equipment, and this switching equipment runs to be had
LAP and LCP (License Client Program, empowerment management client-side program), wherein LCP is used for performing present invention enforcement
The license confirmation method that example provides.
As in figure 2 it is shown, multiple LAP:LAP1, LAP2 can be run on every switching equipment ... LAPn, and, every friendship
Running a LCP on exchange device, it is mutual that the LAP on this TV station equipment carries out information by LCP with LicS on this TV station equipment.Also may be used
With as it is shown on figure 3, multiple LAP:LAP1, LAP2 can be run on every switching equipment ... LAPn, in multiple stage switching equipment
Select a switching equipment (select in Fig. 3 is middle switching equipment), only on selected switching equipment, run one
LCP, it is mutual that the LAP that other switching equipment run carries out information by this LCP with LicS.
Owing to having run LCP, in illustrated embodiment of the present invention, registration process between LAP and LicS, licensing process,
Authorize Keep Alive procedure the most different from prior art.
In illustrated embodiment of the present invention, LCP can be with the connection status between timing probe and LicS, when mandate being detected
When server LicS does not disconnects, the registration process between LAP and LicS may include that
LCP receives the registration request that authorized applications LAP sends, and according to described registration request, recording described mandate should
By the switching equipment mark residing for the program identification of program and described authorized applications;And described registration request is transmitted to
Described authorization server;
Receive and record the transmission of described authorization server registers through information, and the described information that registers through is transmitted to institute
State authorized applications.
As one embodiment of the present invention, SSL between LAP and LCP, between LCP and LicS, can be used
It is mutual that (Secure Sockets Layer SSL) agreement carries out information, naturally it is also possible to uses other agreements, at this
It is not restricted.
In the application scenarios shown in Fig. 2, LAP initiates registration request to LCP, LAP by self program identification and self
Residing switching equipment mark is sent to LCP.Wherein, program identification can include the title of LAP or the unique encodings of LAP
Deng;Self residing switching equipment mark can include SN, CPU unique encodings of switching equipment, MAC Address etc..LCP record
Program identification and switching equipment that LAP sends identify, and this registration request is transmitted to LicS.
According to this registration request, LicS verifies that this LAP is legal after, send to LCP and register through information for this LAP.
LCP receive LicS send for this LAP register through information after, forward that information to this LAP.It addition, LicS can
With program identification and the switching equipment mark of record LAP, use for subsequent authorization.LCP can also recording needle to this LAP's
Register through information.
It should be noted that due to only one of which switching equipment in networking, and LAP and LCP is in an exchange together and sets
In Bei, there is the problem of entanglement in the program identification not havinging LAP, so when registering, can only carry program identification
And do not carry switching equipment mark.
Owing to, in the application scenarios shown in Fig. 2, LAP and LCP runs on same switching equipment, therefore can set in exchange
During standby startup, set up the communication channel between LAP and LCP.In addition, it is necessary to configure the address of LicS in advance on switching equipment
(such as IP address), the information between LicS and LCP is mutual.
In the application scenarios shown in Fig. 3, it is with the difference of such scheme, needs in advance at other off-duties LCP
Switching equipment on configure LCP run address (such as IP address).Other processes are similar to: LAP is run by the LCP configured
Registration request is initiated to LCP in address, and self program identification and self residing switching equipment mark are sent to LCP by LAP.Its
In, program identification can include the title of LAP or the unique encodings etc. of LAP;Self residing switching equipment mark can be wrapped
Include SN, CPU unique encodings of switching equipment, MAC Address etc..The program identification of LCP record LAP transmission and switching equipment mark
Know, and this registration request is transmitted to LicS.
According to this registration request, LicS verifies that this LAP is legal after, send to LCP and register through information for this LAP.
LCP receive LicS send for this LAP register through information after, forward that information to this LAP.It addition, LicS can
With program identification and the switching equipment mark of record LAP, use for subsequent authorization.LCP can also recording needle to this LAP's
Register through information.
During it should be noted that be pre-configured with address (the such as IP address) of LicS, can only set in the exchange running LCP
Standby middle configuration.
The first schematic flow sheet of the license confirmation method that Fig. 4 provides for the embodiment of the present invention, including:
S101: receive the authorization requests that authorized applications sends, described authorization requests is transmitted to authorization server;
S102: receive and record the authorization message that described authorization server sends, is transmitted to described by described authorization message
Authorized applications.
Above-mentioned S101 Yu S102 is it is to be understood that when LCP detects that authorization server LicS does not disconnects, LicS is to LAP
Carry out the process authorized.
Application scenarios shown in Fig. 2 is similar with the licensing process of the application scenarios shown in Fig. 3, the most described separately.
Detailed process can be as follows:
1), when LAP needs to authorize, authorization requests is sent to LCP.
2), after LCP receives this authorization requests, the authorization requests of LAP can be recorded.
3) this authorization requests is sent to LicS by LCP.
4) after LicS receives this authorization requests, it is judged that whether this LAP enjoys this part authorizes, if it is, generate authorization message.
5) authorization message of generation is sent to LCP by LicS.
6), after LCP receives the authorization message of LicS, this authorization message is recorded.
7) this authorization message is transmitted to this LAP by LCP.
8) LAP obtains this authorization message, carries out follow-up work.
As one embodiment of the present invention, authorization message can include the identity information of LicS, the identity letter of LAP
Breath, LAP runs critical data needing mandate etc..
As described above, LCP can record the switching equipment mark residing for the program identification of LAP and this LAP,
Thus, the above-mentioned 7th) in individual step, LCP can identify according to the program identification recorded and switching equipment, by this authorization message
It is transmitted to this LAP.
After LAP obtains authorization message, needing timing to initiate to authorize keep-alive request, replying at LicS please for this mandate keep-alive
After the confirmation asked, LAP just can continue to enjoy this mandate.
In illustrated embodiment of the present invention, when the connection between LCP and LicS does not disconnects, awarding between LAP and LicS
Power Keep Alive procedure may include that
LCP receives the mandate keep-alive request that authorized applications sends, and is transmitted to authorize clothes by described mandate keep-alive request
Business device;
LCP receives and records the confirmation for described mandate keep-alive request that described authorization server sends, by institute
State confirmation and be transmitted to described authorized applications.
Application scenarios shown in Fig. 2 is similar with the licensing process of the application scenarios shown in Fig. 3, the most described separately.
Detailed process can be as follows:
1) LAP sends to LCP and authorizes keep-alive request.
2), after LCP receives this mandate keep-alive request, it can be carried out record, afterwards this mandate keep-alive request be forwarded
To LicS.
3) after LicS receives this mandate keep-alive request, it is judged that whether this LAP continues to enjoy this part authorizes, if it is, to
LCP sends the confirmation for this mandate keep-alive request.
4) LCP receives and records the confirmation for this mandate keep-alive request that LicS sends, and by this confirmation
It is transmitted to LAP.
5), after LAP receives this confirmation, continue properly functioning.
As it has been described above, LCP can be with the connection status between timing probe and LicS, when detecting that authorization server LicS breaks
When opening, LCP can perform the method shown in Fig. 4:
S103: receive the mandate keep-alive request that described authorized applications sends.
As it has been described above, after LAP obtains authorization message, need timing to initiate to authorize keep-alive request.LAP will authorize keep-alive to ask
It is sent to LCP.
S104: when the connection between described authorization server disconnects, it is judged that described mandate keep-alive request is awarded with described
Whether power information mates, if it is, perform S105.
As described above, LCP is during LAP is authorized by LicS, and record obtains this authorization message.
Have recorded this authorization message in LCP, therefore, according to the authorization message of record, LCP can judge that this mandate keep-alive please
Ask and whether mate with this authorization message, namely judge whether this LAP should continue to enjoy request in this mandate keep-alive request
Authorize.
S105: the confirmation asked for described mandate keep-alive to described authorized applications feedback.
If it is determined that this LAP should continue to enjoy the mandate of request in this mandate keep-alive request, then this LCP replaces LicS to send out
Send the confirmation for described mandate keep-alive request.Disconnect it is to say, LAP will not perceive LicS, receiving
After the confirmation of LCP feedback, continue properly functioning.Therefore, it is to avoid when LicS connects hit, LAP loses all of awarding
Power information, situation about cannot continue to run with.
If it is determined that this LAP should not continue to enjoy the mandate of request in this mandate keep-alive request, then this LCP is not to LAP
Feed back the confirmation for described mandate keep-alive request.
In illustrated embodiment of the present invention, when LCP detects that described authorization server disconnects, can be every Preset Time
Section sends probe messages to described authorization server, to judge whether described authorization server recovers to connect.
It is understood that LCP timing can send probe messages to LicS, to obtain the connection status of LicS.Pass through
This mode, LCP can detect that LicS disconnects in time, it is also possible to detect in time LicS recover connect, with facilitate into
The subsequent operation that row LicS disconnects or recovers.
Apply embodiment illustrated in fig. 4 of the present invention, in the mistake that authorized applications LAP is authorized by authorization server LicS
Cheng Zhong, empowerment management client-side program LCP record authorization message, and when the situation connecting hit occurs in LicS, LCP receives
After the mandate keep-alive request that LAP sends, it is judged that whether this mandate keep-alive request mates with the authorization message of record, if it is, to
This LAP feedback is for the confirmation of described mandate keep-alive request, thereby it is ensured that this LAP continues to run with, it is to avoid work as
When LicS connects hit, LAP loses all of authorization message, situation about cannot continue to run with.
The second schematic flow sheet of the license confirmation method that Fig. 5 provides for the embodiment of the present invention, real shown in Fig. 5 of the present invention
Execute example on the basis of embodiment illustrated in fig. 4 of the present invention, increase following steps:
S106: when the connection between described authorization server disconnects, starts intervalometer.
It is to say, after LCP detects that LicS disconnects, the authorization message relevant to this LicS of record can be carried out
Labelling, and start aging mandate.Here intervalometer is the intervalometer of aging mandate.It is understood that after LicS disconnects,
Authorization message in LCP will not continuously effective, LCP simply temporarily replaces LicS to send for the confirmation letter authorizing keep-alive request
Breath, therefore, after detecting that LicS disconnects, it should start to carry out aging to the authorization message in LCP, i.e. start intervalometer.
S107: when described intervalometer arrives the duration set, delete described authorization message.
The intervalometer of this aging mandate can be according to practical situation setting duration, such as 30 days.When detecting that LicS disconnects
After 30 days, LCP deletes the authorization message relevant to this LicS of local record, and the mandate keep-alive the most no longer replying LAP transmission please
Ask.
After the connection of LCP Yu LicS disconnects, LCP can temporarily replace LicS to send for the confirmation authorizing keep-alive request
Information, but can not have no time to limit ground and replace LicS to send for the confirmation authorizing keep-alive request always, otherwise, be
Irrational.
In illustrated embodiment of the present invention, when the connection between LCP and LicS disconnects, LCP can be every preset duration
Probe messages is sent, to judge whether the connection between LCP and LicS recovers to LicS.
When LCP detects that the duration that intervalometer sets is recovered and do not arrived to connecting between LicS, LCP is to LicS
Send synchronization request, so that LicS updates the authorization message of self according to described authorization message.
The duration still set by the intervalometer of aging mandate illustrated as a example by 30 days, if within 30 days, LCP with
LicS recover connect, in this case, LCP sends synchronization request to LicS, LicS after receiving this synchronization request, according to
In LCP, the authorization message of record updates the authorization message of self.
It is understood that due to LicS already off a period of time, the authorization message in LicS may be the most inaccurate,
And the authorization message of record in LCP may be updated by LCP according to for the confirmation authorizing keep-alive to ask.Such as,
Can record LAP application in authorization message and authorize time and the result of keep-alive request, during LicS disconnects, LAP is
To LCP be transmitted across authorize keep-alive request, LCP can record this mandate keep-alive request the initiation time and result, but LicS
In do not exist this mandate keep-alive request the initiation time and result.
Therefore, should be as the criterion with the authorization message in LCP, update the authorization message in LicS, to ensure in LicS Yu LCP
Authorization message is consistent.
In illustrated embodiment of the present invention, if be detected that described authorization server recovers connect and do not arrive aging awarding
During the duration that power intervalometer sets, LCP stops aging mandate, i.e. timeing closing device.
Applying embodiment illustrated in fig. 5 of the present invention, when the connection between LCP and LicS disconnects, LCP starts intervalometer, when
When described intervalometer arrives the duration set, delete the authorization message of local record.Connecting between LCP and LicS disconnects
In the case of, LCP can temporarily replace LicS to send for the confirmation authorizing keep-alive request, but can not have no time to limit
Ground replaces LicS to send for the confirmation authorizing keep-alive request always, otherwise, is irrational.
It should be added that, owing to, in the scene shown in Fig. 2, LAP and LCP belongs to a switching equipment, so
The authorization message of feedback or confirmation can be first sent to LCP by LicS, then confirmed that authorization message or confirmation should by LCP
Which LAP this mails to.
In the scene shown in Fig. 3, comprise LicS and multiple switching equipment, a switching equipment in multiple switching equipment
(referred to as target switching equipment) is connected with LicS, and this target switching equipment can connect its in multiple switching equipment respectively
His switching equipment.When setting up session, the LAP in other switching equipment can set up meeting with the LCP in target switching equipment respectively
Words, the LAP in target switching equipment also can set up session with this LCP.Now, carrying out registering, authorize and authorizing the mistake of keep-alive
Cheng Zhong, needs to carry the switching equipment mark of switching equipment and the program identification of LAP.In registration process, LCP records exchange
Device identification and program identification record are in the conversational list stored;During authorizing and authorizing keep-alive, LCP is according to being remembered
Session entry in the program identification of record and switching equipment mark coupling conversational list, and should by authorization message and confirmation transmission
LAP corresponding to session entry.
Corresponding with above-mentioned embodiment of the method, the embodiment of the present invention also provides for a kind of license confirmation device.
The first structural representation of the license confirmation device that Fig. 6 provides for the embodiment of the present invention, is applied to switching equipment
In, including: receiver module 201, judge module 202 and sending module 203, wherein,
Receiver module 201, for receiving the authorization requests that authorized applications sends;Sending module 203, for by described
Authorization requests is transmitted to authorization server;
Receiver module 201, it is also possible to for receiving and record the authorization message that described authorization server sends;Sending module
203, it is also possible to for described authorization message is transmitted to described authorized applications;
Receiver module 201, it is also possible to for receiving the mandate keep-alive request that described authorized applications sends;
Judge module 202, when the connection between described authorization server disconnects, it is judged that described mandate keep-alive please
Ask and whether mate with described authorization message;
Sending module 203, it is also possible to for when judge module 202 judged result is for being, to described authorized applications
Feed back the confirmation for described mandate keep-alive request.
In illustrated embodiment of the present invention, sending module 203, it is also possible to for receiving what described authorized applications sent
After authorizing keep-alive request, when the connection between described authorization server does not disconnects, described mandate keep-alive request is forwarded
To described authorization server;
Receiver module 201, it is also possible to for receive and record described authorization server send for described mandate keep-alive
The confirmation of request;
Sending module 203, it is also possible to for described confirmation is transmitted to described authorized applications.
In illustrated embodiment of the present invention, receiver module 201, it is also possible to for recording the program of described authorized applications
Switching equipment mark residing for mark and described authorized applications;
Sending module 203, it is also possible to for identifying according to described program identification and described switching equipment, authorize letter by described
Breath is transmitted to described authorized applications.
Apply embodiment illustrated in fig. 6 of the present invention, in the mistake that authorized applications LAP is authorized by authorization server LicS
Cheng Zhong, empowerment management client-side program LCP record authorization message, and when the situation connecting hit occurs in LicS, LCP receives
After the mandate keep-alive request that LAP sends, it is judged that whether this mandate keep-alive request mates with the authorization message of record, if it is, to
This LAP feedback is for the confirmation of described mandate keep-alive request, thereby it is ensured that this LAP continues to run with, it is to avoid work as
When LicS connects hit, LAP loses all of authorization message, situation about cannot continue to run with.
The second structural representation of the license confirmation device that Fig. 7 provides for the embodiment of the present invention, real shown in Fig. 7 of the present invention
Execute example on the basis of embodiment illustrated in fig. 6 of the present invention, it is also possible to including: startup module 204 and removing module 205, wherein,
Start module 204, when the connection between described authorization server disconnects, start intervalometer;
Removing module 205, for when described intervalometer arrives the duration set, deleting described authorization message.
In illustrated embodiment of the present invention, sending module 203, it is also possible to for working as the company between described authorization server
When connecing disconnection, send probe messages every preset duration to described authorization server, to judge between described authorization server
Connection whether recover;
Sending module 203, it is also possible to for when with described authorization server between connection recover and set described in not arriving
During fixed duration, send synchronization request to described authorization server, so that described authorization server is according to described authorization message more
The newly authorization message of self.
Applying embodiment illustrated in fig. 7 of the present invention, when the connection between LCP and LicS disconnects, LCP starts intervalometer, when
When described intervalometer arrives the duration set, delete the authorization message of local record.Connecting between LCP and LicS disconnects
In the case of, LCP can temporarily replace LicS to send for the confirmation authorizing keep-alive request, but can not have no time to limit
Ground replaces LicS to send for the confirmation authorizing keep-alive request always, otherwise, is irrational.
It should be noted that in this article, the relational terms of such as first and second or the like is used merely to a reality
Body or operation separate with another entity or operating space, and deposit between not necessarily requiring or imply these entities or operating
Relation or order in any this reality.And, term " includes ", " comprising " or its any other variant are intended to
Comprising of nonexcludability, so that include that the process of a series of key element, method, article or equipment not only include that those are wanted
Element, but also include other key elements being not expressly set out, or also include for this process, method, article or equipment
Intrinsic key element.In the case of there is no more restriction, statement " including ... " key element limited, it is not excluded that
Including process, method, article or the equipment of described key element there is also other identical element.
Each embodiment in this specification all uses relevant mode to describe, identical similar portion between each embodiment
Dividing and see mutually, what each embodiment stressed is the difference with other embodiments.Real especially for device
For executing example, owing to it is substantially similar to embodiment of the method, so describe is fairly simple, relevant part sees embodiment of the method
Part illustrate.
One of ordinary skill in the art will appreciate that all or part of step realizing in said method embodiment is can
Completing instructing relevant hardware by program, described program can be stored in computer read/write memory medium,
The storage medium obtained designated herein, such as: ROM/RAM, magnetic disc, CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit protection scope of the present invention.All
Any modification, equivalent substitution and improvement etc. made within the spirit and principles in the present invention, are all contained in protection scope of the present invention
In.
Claims (10)
1. a license confirmation method, it is characterised in that including:
Receive the authorization requests that authorized applications sends, described authorization requests is transmitted to authorization server;
Receive and record the authorization message that described authorization server sends, described authorization message is transmitted to described mandate and applies journey
Sequence;
Receive the mandate keep-alive request that described authorized applications sends;
When connection between described authorization server disconnects, it is judged that whether described mandate keep-alive request and described authorization message
Coupling;
If it is, the confirmation asked for described mandate keep-alive to described authorized applications feedback.
Method the most according to claim 1, it is characterised in that described reception and record described authorization server send
After authorization message, described method also includes:
When connection between described authorization server disconnects, start intervalometer;
When described intervalometer arrives the duration set, delete described authorization message.
Method the most according to claim 2, it is characterised in that described method also includes:
When connection between described authorization server disconnects, send detection report every preset duration to described authorization server
Literary composition, to judge whether the connection between described authorization server recovers;
When connection between described authorization server recovers and do not arrives the duration of described setting, to described authorization service
Device sends synchronization request, so that described authorization server updates the authorization message of self according to described authorization message.
Method the most according to claim 1, it is characterised in that the mandate keep-alive receiving the transmission of described authorized applications please
After asking, described method also includes:
When connection between described authorization server does not disconnects, described mandate keep-alive request is transmitted to described authorization service
Device;
Receive and record the confirmation for described mandate keep-alive request that described authorization server sends, by described confirmation letter
Breath is transmitted to described authorized applications.
Method the most according to claim 1, it is characterised in that described method also includes:
Record the switching equipment mark residing for the program identification of described authorized applications and described authorized applications;
Described described authorization message is transmitted to described authorized applications, including:
Identify according to described program identification and described switching equipment, described authorization message is transmitted to described authorized applications.
6. a license confirmation device, it is characterised in that including: receiver module, judge module and sending module, wherein,
Described receiver module, for receiving the authorization requests that authorized applications sends;Described sending module, for awarding described
Power request is transmitted to authorization server;
Described receiver module, is additionally operable to receive and record the authorization message that described authorization server sends;Described sending module, also
For described authorization message is transmitted to described authorized applications;
Described receiver module, is additionally operable to receive the mandate keep-alive request that described authorized applications sends;
Described judge module, when the connection between described authorization server disconnects, it is judged that described mandate keep-alive is asked
Whether mate with described authorization message;
Described sending module, is additionally operable to when described judge module judged result is for being, feeds back pin to described authorized applications
Confirmation to described mandate keep-alive request.
Device the most according to claim 6, it is characterised in that described device also includes: start module and removing module, its
In,
Described startup module, when the connection between described authorization server disconnects, starts intervalometer;
Described removing module, for when described intervalometer arrives the duration set, deleting described authorization message.
Device the most according to claim 7, it is characterised in that described sending module, is additionally operable to work as and described authorization service
When connection between device disconnects, send probe messages every preset duration to described authorization server, to judge and described mandate
Whether the connection between server recovers;
Described sending module, be additionally operable between described authorization server connect recover and do not arrive described setting time
Time long, send synchronization request to described authorization server, so that described authorization server updates self according to described authorization message
Authorization message.
Device the most according to claim 6, it is characterised in that described sending module, is additionally operable to receive described mandate and applies
After the mandate keep-alive request that program sends, when the connection between described authorization server does not disconnects, described mandate is protected
The request of living is transmitted to described authorization server;
Described receiver module, is additionally operable to receive and record asking really for described mandate keep-alive of described authorization server transmission
Recognize information;
Described sending module, is additionally operable to described confirmation is transmitted to described authorized applications.
Device the most according to claim 6, it is characterised in that described receiver module, is additionally operable to record described mandate and applies
Switching equipment mark residing for the program identification of program and described authorized applications;
Described sending module, is additionally operable to identify according to described program identification and described switching equipment, described authorization message is forwarded
To described authorized applications.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610542290.1A CN106131011B (en) | 2016-07-07 | 2016-07-07 | Authorization confirmation method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610542290.1A CN106131011B (en) | 2016-07-07 | 2016-07-07 | Authorization confirmation method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106131011A true CN106131011A (en) | 2016-11-16 |
CN106131011B CN106131011B (en) | 2021-01-22 |
Family
ID=57282517
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610542290.1A Active CN106131011B (en) | 2016-07-07 | 2016-07-07 | Authorization confirmation method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106131011B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109711152A (en) * | 2018-12-25 | 2019-05-03 | 北京潘达互娱科技有限公司 | A kind of application keepalive method calculates equipment and storage medium |
CN114710332A (en) * | 2022-03-23 | 2022-07-05 | 新华三技术有限公司 | License anti-cloning method and device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1874218A (en) * | 2006-01-05 | 2006-12-06 | 华为技术有限公司 | Method, system and equipment for license management |
CN101316182A (en) * | 2007-05-30 | 2008-12-03 | 杭州华三通信技术有限公司 | Authorization number control method and equipment of user terminal |
US20090254449A1 (en) * | 2003-11-20 | 2009-10-08 | Rusk Intellectual Reserve Ag | Access method of regulatory approving data for networked multilateral alliance |
CN102497374A (en) * | 2011-12-13 | 2012-06-13 | 方正国际软件有限公司 | Off-line available software license centralized security authentication system based on cloud computation, and method of the same |
CN103685283A (en) * | 2013-12-18 | 2014-03-26 | 烽火通信科技股份有限公司 | Communication network management certificate authority system and method |
CN103795694A (en) * | 2012-10-31 | 2014-05-14 | 中国电信股份有限公司 | License control method and license control system |
CN104283894A (en) * | 2014-10-28 | 2015-01-14 | 用友软件股份有限公司 | Method and device for managing service usage right |
-
2016
- 2016-07-07 CN CN201610542290.1A patent/CN106131011B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090254449A1 (en) * | 2003-11-20 | 2009-10-08 | Rusk Intellectual Reserve Ag | Access method of regulatory approving data for networked multilateral alliance |
CN1874218A (en) * | 2006-01-05 | 2006-12-06 | 华为技术有限公司 | Method, system and equipment for license management |
CN101316182A (en) * | 2007-05-30 | 2008-12-03 | 杭州华三通信技术有限公司 | Authorization number control method and equipment of user terminal |
CN102497374A (en) * | 2011-12-13 | 2012-06-13 | 方正国际软件有限公司 | Off-line available software license centralized security authentication system based on cloud computation, and method of the same |
CN103795694A (en) * | 2012-10-31 | 2014-05-14 | 中国电信股份有限公司 | License control method and license control system |
CN103685283A (en) * | 2013-12-18 | 2014-03-26 | 烽火通信科技股份有限公司 | Communication network management certificate authority system and method |
CN104283894A (en) * | 2014-10-28 | 2015-01-14 | 用友软件股份有限公司 | Method and device for managing service usage right |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109711152A (en) * | 2018-12-25 | 2019-05-03 | 北京潘达互娱科技有限公司 | A kind of application keepalive method calculates equipment and storage medium |
CN114710332A (en) * | 2022-03-23 | 2022-07-05 | 新华三技术有限公司 | License anti-cloning method and device |
CN114710332B (en) * | 2022-03-23 | 2023-09-15 | 新华三技术有限公司 | License anti-cloning method and device |
Also Published As
Publication number | Publication date |
---|---|
CN106131011B (en) | 2021-01-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6603970B1 (en) | Communications network system with discrete terminal mobility and remote user registration associated with said mobility | |
CN105430760B (en) | Connection method and system between equipment | |
CN103747535B (en) | Method, apparatus and system for recovering CAPWAP control channel | |
CN105933888B (en) | A kind of eSIM card method for burn-recording and device based on NFC | |
CN103874069B (en) | A kind of wireless terminal MAC authentication devices and method | |
CN105659576A (en) | Voice call continuity in hybrid networks | |
US20070218896A1 (en) | Method for reconnecting a mobile terminal in a wireless network | |
KR20050077688A (en) | System and method for reestablishing the session between terminal and server | |
CN105357382B (en) | A kind of remote de-locking method, device and computer-readable recording medium | |
CN104796408B (en) | Single-point live login method and single-point live login device | |
CN110677383A (en) | Firewall opening method and device, storage medium and computer equipment | |
CN104618522B (en) | The method and Ethernet access equipment that IP address of terminal automatically updates | |
CN107465994A (en) | A kind of service data transmission method, apparatus and system | |
CN105722072A (en) | Business authorization method, device, system and router | |
CN106131011A (en) | A kind of license confirmation method and device | |
CN106302459A (en) | Networking operational approach and device | |
CN106453349A (en) | An account number login method and apparatus | |
CN106464521A (en) | Method and system for deterministic auto-configuration of a device | |
CN108900480A (en) | Client certificate management method and device | |
CN104270368A (en) | Authentication method, authentication server and authentication system | |
CN116566994A (en) | Cross-chain data transmission method between blockchains, blockchain system, electronic equipment and storage medium | |
CN114912856B (en) | Flight simulator maintenance method based on block chain | |
CN106357493A (en) | Method and device for binding household appliance and smart terminal | |
CN106341413A (en) | Portal authentication method and device | |
CN104702612A (en) | User authentication processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant after: Xinhua three Technology Co., Ltd. Address before: 310053 Hangzhou science and Technology Industrial Park, high tech Industrial Development Zone, Zhejiang Province, No. six and road, No. 310 Applicant before: Huasan Communication Technology Co., Ltd. |
|
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |