CN108933646B - Control method of authorized permission service, client and standby server - Google Patents

Control method of authorized permission service, client and standby server Download PDF

Info

Publication number
CN108933646B
CN108933646B CN201810613785.8A CN201810613785A CN108933646B CN 108933646 B CN108933646 B CN 108933646B CN 201810613785 A CN201810613785 A CN 201810613785A CN 108933646 B CN108933646 B CN 108933646B
Authority
CN
China
Prior art keywords
authorization
service information
main server
server side
authorization permission
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.)
Active
Application number
CN201810613785.8A
Other languages
Chinese (zh)
Other versions
CN108933646A (en
Inventor
蔡方朋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Appeon Technology Shenzhen Co ltd
Original Assignee
Appeon Technology Shenzhen 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 Appeon Technology Shenzhen Co ltd filed Critical Appeon Technology Shenzhen Co ltd
Priority to CN201810613785.8A priority Critical patent/CN108933646B/en
Publication of CN108933646A publication Critical patent/CN108933646A/en
Application granted granted Critical
Publication of CN108933646B publication Critical patent/CN108933646B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/22Arrangements for detecting or preventing errors in the information received using redundant apparatus to increase reliability
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/105Arrangements for software license management or administration, e.g. for managing licenses at corporate level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention is suitable for the technical field of data processing, and provides a control method of an authorized license service, a client and a standby server, wherein the authorized license service is obtained by obtaining the authorized license service information provided by the client under the normal operation condition of a main server, or when the client determines that the main server can not provide the authorized license service information at the standby server, the client receives the authorized license service information provided by the standby server to obtain the authorized license service, thereby ensuring that the standby server provides the authorized license service information when the main server fails or cannot provide the authorized license service information due to other unpredictable disastrous accidents, so that the client can obtain the authorized license service, normally operate commercial tool software, and further maintain the authorization reliability and stability of the commercial tool software, the user experience is improved.

Description

Control method of authorized permission service, client and standby server
Technical Field
The invention belongs to the technical field of data processing, and particularly relates to a control method of an authorized permission service, a client and a standby server.
Background
The traditional authorized licensing mode of the business tool software generally provides authorized licensing service for users in the mode of an authorization code or a license file, and the users need to activate the software to start using the authorized licensing service.
With the rapid development of internet and cloud technologies in recent years, a new Subscription (Subscription) authorization manner is rapidly replacing the traditional authorization manner, such as Office 365, Adobe CC, auto Subscription, and the like. It is a payment by time of use rather than purchasing a lifelong license for use of the software. The subscription authorization mode usually needs to rely on the internet and a cloud platform as infrastructure, and a software developer usually selects a cloud platform to provide basic services, so as to update or upgrade the version of software, which is beneficial to the long-term continuous development of the software.
However, in the actual use process, the client cannot acquire the authorized license service, the user cannot continue to use the specific business software, and the existing authorized license service for providing the business tool software has instability and low reliability, so that the user experience is very poor.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method for controlling an authorized license service, a client, and a standby server, so as to solve the problems of instability, low reliability, and poor user experience in the existing authorized license service.
A first aspect of an embodiment of the present invention provides a method for controlling an authorized admission service, including:
the client sends authorization request information to a main server and a standby server, so that the standby server sends authorization inquiry information to the main server according to the authorization request;
the client acquires the authorization permission service information sent by the main server, or receives the authorization permission service information sent by the backup server when the backup server does not receive the authorization reply information sent by the main server within a preset time;
and the client acquires the authorized license service according to the authorized license service information.
A second aspect of the embodiments of the present invention provides another method for controlling an authorized admission service, including:
the standby server receives authorization permission request information sent by the client;
the standby server side searches corresponding authorization permission service information according to the authorization permission request information;
the standby server side searches corresponding authorization permission service information according to the authorization permission request information and sends authorization inquiry information to the main server side;
and the standby server determines whether to send authorization permission service information to the client side according to whether to receive the authorization reply information sent by the main service side within a preset time length or according to the received authorization reply information sent by the main service side.
A third aspect of an embodiment of the present invention provides a client, including:
an authorization request information sending unit, configured to send authorization request information to a main server and a standby server, so that the standby server sends authorization query information to the main server according to the authorization request;
an authorization service information obtaining unit, configured to obtain authorization service information sent by the main server, or receive authorization service information sent by the backup server when the backup server does not receive authorization reply information sent by the main server within a predetermined time period;
and the authorization permission service acquisition unit is used for acquiring the authorization permission service according to the authorization permission service information.
A fourth aspect of an embodiment of the present invention provides a standby server, including:
an authorization permission request information receiving unit, configured to receive authorization permission request information sent by the client;
the authorization permission service information searching unit is used for searching corresponding authorization permission service information according to the authorization permission request information;
the authorization inquiry information sending unit is used for searching corresponding authorization permission service information according to the authorization permission request information and sending authorization inquiry information to the main server side;
and the authorization permission service information sending and judging unit is used for determining whether to send the authorization permission service information to the client side according to whether to receive the authorization reply information sent by the main service side within a preset time length or according to the received authorization reply information sent by the main service side.
A fifth aspect of the embodiments of the present invention provides a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of the method for controlling an authorized admission service provided by the first and second aspects of the embodiments of the present invention.
Wherein the computer program comprises:
an authorization request information sending unit, configured to send authorization request information to a main server and a standby server, so that the standby server sends authorization query information to the main server according to the authorization request;
an authorization service information obtaining unit, configured to obtain authorization service information sent by the main server, or receive authorization service information sent by the backup server when the backup server does not receive authorization reply information sent by the main server within a predetermined time period;
and the authorization permission service acquisition unit is used for acquiring the authorization permission service according to the authorization permission service information.
The computer program further comprises:
an authorization permission request information receiving unit, configured to receive authorization permission request information sent by the client;
the authorization permission service information searching unit is used for searching corresponding authorization permission service information according to the authorization permission request information;
the authorization inquiry information sending unit is used for searching corresponding authorization permission service information according to the authorization permission request information and sending authorization inquiry information to the main server side;
and the authorization permission service information sending and judging unit is used for determining whether to send the authorization permission service information to the client side according to whether to receive the authorization reply information sent by the main service side within a preset time length or according to the received authorization reply information sent by the main service side.
Compared with the prior art, the embodiment of the invention has the following beneficial effects: the client acquires the authorization permission service information provided by the main server under the normal operation condition of the main server to acquire the authorization permission service, or the client receives the authorization permission service information provided by the standby server to acquire the authorization permission service when the standby server determines that the main server cannot provide the authorization permission service information, so that the standby server provides the authorization permission service information when the main server fails or cannot provide the authorization permission service information due to other unpredictable disastrous accidents, the client can acquire the authorization permission service and normally operate the business tool software, the authorization reliability and stability of the business tool software are maintained, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart of an implementation of a method for controlling an authorized admission service according to an embodiment of the present invention;
fig. 2 is a flowchart of another implementation of a method for controlling an authorized admission service according to an embodiment of the present invention;
fig. 3 is a flowchart of a specific implementation of a method for updating authorized license service information according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a client according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a standby server according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Example one
Referring to fig. 1, fig. 1 shows an implementation flow of a control method for an authorization permission service according to an embodiment of the present invention, which is detailed as follows:
in step S101, the client sends authorization request information to the main server and the standby server, so that the standby server sends authorization query information to the main server according to the authorization request.
In the embodiment of the invention, the business tool software which needs a software developer to provide the authorization license service is installed on the client, and when the tool software needs to obtain the authorization license service so as to be used by a user, authorization is requested to a server side which provides the authorization license service through a client side to which the tool software belongs. The server side comprises a main server side and at least one standby server side, wherein relevant information of the authorized license service provided by a software developer is deployed on both the main server side and the standby server side, and the client side can conveniently acquire the authorized license service according to the authorized license service information.
Here, the main server and the standby server include, but are not limited to, cloud platforms, and interact with each other and the client through internet, bluetooth, WIFI, and the like.
Specifically, the authorization inquiry information is information including an execution instruction for confirming whether the main server can provide the authorization permission service information, that is, the standby server inquires the main server whether the main server can provide the credit authorization service.
Here, when the number of the standby server sides is greater than one, the client side simultaneously sends authorization permission request information to the main server side and all the standby server sides.
Preferably, when the number of the standby server sides is more than one, the client side sends authorization permission request information to the main server side and a plurality of standby server sides randomly selected according to random numbers generated by the random function. Here, the random number generated by the random function may be one or an arbitrary number.
In step S102, the client obtains the authorization permission service information sent by the main server, or receives the authorization permission service information sent by the backup server if the backup server does not receive the authorization reply information sent by the main server within a predetermined time.
In the embodiment of the present invention, the authorization reply message is a response message containing information confirming that the host server can provide the authorization permission service message, or a response message confirming that the host server cannot provide the authorization permission service message.
Here, when the main server cannot provide basic services, such as the main server is attacked, scheduled maintenance, burst abnormality, etc., or a communication system with the main server fails, such as the Web server is attacked, the database is dead locked, etc., the main server does not reply to the authorization query message sent by the backup server, that is, the main server does not send an authorization reply message to the backup server, and at this time, by setting that the authorization reply message sent by the main server is not received within a predetermined time period, the client receives the authorization permission service message sent by the backup server to obtain the authorization permission service, the waiting time of the client can be reduced, and the efficiency can be improved.
Specifically, the step of the client obtaining the authorized service information sent by the main server in step S102 is specifically:
when the backup server receives the authorization reply information sent by the main server within a preset time and the authorization reply information contains response information for confirming that the main server can provide authorization permission service information, the client acquires the authorization permission service information sent by the main server.
In the embodiment of the invention, when a software provider upgrades the authorized license service deployed on a main service end, the authorized license service provided by the main server end cannot normally operate at the current period, so that when a client sends an authorized license request message to the client, the main server end cannot provide the authorized license service message for the client, and at the moment, the main server end sends an authorized reply message containing response information for confirming that the main server cannot provide the authorized license service message to a standby server end according to an authorized inquiry message sent by the standby server end, the standby server end provides the authorized license service message and sends the authorized license service message to the client, so that the client can receive the authorized license service message sent by the client to obtain the authorized license service.
It can be understood that, when the main server can provide the authorized license service information, for example, when the main server fails or the authorized license service provided by the main server is not upgraded, the client obtains the authorized license service information sent by the main server.
In step S103, the client acquires an authorized service according to the authorized service information.
In the embodiment of the invention, the client acquires the authorized license service according to the authorized license service information provided by the main server or the standby server, so that the client can normally use the tool software to which the authorized license service belongs.
In the embodiment of the invention, the client acquires the authorized license service information provided by the main server under the normal operation condition of the main server to acquire the authorized license service, or the client receives the authorized license service information provided by the standby server to acquire the authorized license service when the standby server determines that the main server cannot provide the authorized license service information, so that when the main server fails or cannot provide the authorized license service information due to other unpredictable disastrous accidents, the standby server provides the authorized license service information, the client can acquire the authorized license service and normally operate the business tool software, the authorization reliability and stability of the business tool software are maintained, and the user experience is improved.
Example two
Referring to fig. 2, fig. 2 shows an implementation flow of another method for controlling an authorized admission service according to an embodiment of the present invention, which is detailed as follows:
in step S201, the standby server receives the authorization request information sent by the client.
In the embodiment of the invention, the standby server is mainly used for providing the authorization permission service information to the client when the main server cannot provide the authorization permission service information so that the client can acquire the authorization permission service, thereby ensuring the authorization reliability and stability of the business tool software and improving the user experience
In step S202, the standby server searches for corresponding authorization permission service information according to the authorization permission request information, and sends authorization inquiry information to the main server.
In the embodiment of the invention, the standby server side sends the authorization inquiry information to the main server side to inquire whether the main server can provide the authorization permission service information.
In step S203, the standby server determines whether to send authorization permission service information to the client according to whether to receive authorization reply information sent by the primary service end within a predetermined time period or according to received authorization reply information sent by the primary service end.
In the embodiment of the invention, when the authorization reply information sent by the main server is not received within the preset time, the standby server sends the authorization permission service to the client.
It can be understood that, when receiving the authorization reply message sent by the main server within a predetermined time, the backup server determines whether to send the authorization permission service message to the client.
In the embodiment of the invention, whether the main server can provide the authorization permission service information is determined by the standby server, and when the main server cannot provide the authorization permission service information is determined, the standby server sends the authorization permission service information to the client so that the client can normally acquire the authorization permission service and normally run the business tool software, thereby maintaining the authorization reliability and stability of the business tool software and improving the user experience.
EXAMPLE III
In order to ensure the data synchronization in the authorized service information provided by the main server and the standby server, the data between the main server and the standby server needs to be updated synchronously. Referring to fig. 3, fig. 3 shows a specific implementation flow of a method for updating license service information according to an embodiment of the present invention, which is detailed as follows:
in step S301, the standby server obtains the first version identifier in the authorization permission service information provided by the main server.
In the embodiment of the invention, the authorized service information contains the version identification of the authorized service data provided by the authorized service information, and the version of the authorized service data currently provided by the server can be determined according to the version identification so as to determine whether the authorized service data needs to be upgraded to the data of a higher version.
It is understood that the main body of step S301 may also be the main server, that is, step S301 may be:
and the main server side acquires a first version identifier in the authorization permission service information provided by the standby server side.
In step S302, the standby server compares the second version identifier in the license service information provided by the standby server with the acquired first version identifier.
In the embodiment of the present invention, by comparing the version identifiers of the authorized license service information provided by the standby server and the main server, it can be determined whether the version identifier of the authorized license service information provided by the standby server is higher or the version identifier of the authorized license service information provided by the standby server is higher, so as to determine how to update the authorized license service information of the main server or the standby server.
It is understood that the main body of the step S302 may also be the main server, that is, the step S302 may be:
and the main server compares the second version identification in the authorization permission service information provided by the main server with the acquired first version identification.
In step S303, when the first version identifier is higher than the second version identifier, the standby server obtains the authorization permission service information provided by the main server to perform version update.
In the embodiment of the invention, when the version of the authorized service data provided by the main server side is higher, the standby server side acquires the authorized service information provided by the main server side so as to update the authorized service data arranged on the standby server side and update the authorized service information.
It is understood that the main body of the step S303 may also be the main server, that is, the step S302 may be:
and when the first version identification is higher than the second version identification, the main server side acquires the authorization permission service information provided by the standby server side to update the version.
In step S304, when the first version identifier is lower than the second version identifier, the standby server sends currently provided authorization permission service information to the main server, so that the main server performs version update according to the received authorization permission service information.
In the embodiment of the invention, when the version of the authorized service data provided by the standby server side is higher, the main server side acquires the authorized service information provided by the main server side so as to update the authorized service data deployed on the main server side and update the authorized service information.
It is understood that the main body of the step S304 may also be the main server, that is, the step S302 may be:
when the first version identification is lower than the second version identification, the main server side sends the currently provided authorization permission service information to the standby server side so that the standby server side updates the version according to the received authorization permission service information
In the embodiment of the invention, the version identifications in the authorization permission service information provided by the main server side and the standby server side are compared to determine whether the authorization permission service data of a higher version is at the main server side or the standby server side, so that the main server side or the standby server side with the low version identification obtains the authorization permission service data of the higher version identification for updating, and the authorization permission service data in the authorization permission service information of the main server side and the standby server side are kept synchronous.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be controlled by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Example four
Corresponding to the control method for authorizing the license service in the above embodiment, fig. 4 shows a schematic diagram of a client according to an embodiment of the present invention, and for convenience of explanation, only the parts related to the embodiment of the present invention are shown.
Referring to fig. 4, the client includes:
an authorization request information sending unit, configured to send authorization request information to a main server and a standby server, so that the standby server sends authorization query information to the main server according to the authorization request;
an authorization service information obtaining unit, configured to obtain authorization service information sent by the main server, or receive authorization service information sent by the backup server when the backup server does not receive authorization reply information sent by the main server within a predetermined time period;
and the authorization permission service acquisition unit is used for acquiring the authorization permission service according to the authorization permission service information.
Specifically, the authorization query message is a message including an execution instruction for confirming whether the main server can provide the authorization permission service message.
Specifically, the authorization reply message includes a response message confirming that the main server can provide the authorization service information, or a response message confirming that the main server cannot provide the authorization service information.
Preferably, the step of the client obtaining the authorized service permission information sent by the main server is specifically:
when the backup server receives the authorization reply information sent by the main server within a preset time and the authorization reply information contains response information for confirming that the main server can provide authorization permission service information, the client acquires the authorization permission service information sent by the main server.
In the embodiment of the invention, the client acquires the authorized license service information provided by the main server under the normal operation condition of the main server to acquire the authorized license service, or the client receives the authorized license service information provided by the standby server to acquire the authorized license service when the standby server determines that the main server cannot provide the authorized license service information, so that when the main server fails or cannot provide the authorized license service information due to other unpredictable disastrous accidents, the standby server provides the authorized license service information, the client can acquire the authorized license service and normally operate the business tool software, the authorization reliability and stability of the business tool software are maintained, and the user experience is improved.
EXAMPLE five
Corresponding to another method for controlling an authorized license service described in the above embodiment, fig. 5 shows a schematic diagram of a standby server provided in the embodiment of the present invention, and for convenience of description, only the parts related to the embodiment of the present invention are shown.
Referring to fig. 5, the standby server side includes:
an authorization permission request information receiving unit, configured to receive authorization permission request information sent by the client;
the authorization inquiry information sending unit is used for searching corresponding authorization permission service information according to the authorization permission request information and sending authorization inquiry information to the main server side;
and the authorization permission service information sending and judging unit is used for determining whether to send the authorization permission service information to the client side according to whether to receive the authorization reply information sent by the main service side within a preset time length or according to the received authorization reply information sent by the main service side. Preferably, the standby server further includes:
a first version identifier obtaining unit, configured to obtain a first version identifier in the authorization permission service information provided by the main server;
the version identification comparison unit is used for comparing the second version identification in the provided authorized license service information with the acquired first version identification;
the version updating unit is used for acquiring the authorization permission service information provided by the main server side for version updating when the first version identification is higher than the second version identification;
and the authorization permission service information sending unit is used for sending the currently provided authorization permission service information to the main server side by the standby server side so as to enable the main server side to update the version according to the authorization permission service information provided by the standby server side when the first version identification is lower than the second version identification.
The method comprises the steps that version identifications in authorization permission service information provided by a main server side and a standby server side are compared to determine whether higher-version authorization permission service data are on the main server side or the standby server side, so that the main server side or the standby server side with the low version identifications acquire the higher-version authorization permission service data for updating, and the authorization permission service data in the authorization permission service information of the main server side and the standby server side are kept synchronous.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the system is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed system/terminal device and method can be implemented in other ways. For example, the above-described system/terminal device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, systems or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or system capable of carrying said computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, etc. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (7)

1. A method of controlling authorized admission services, the method comprising:
the client sends authorization request information to a main server and a standby server, so that the standby server sends authorization inquiry information to the main server according to the authorization request; the authorization inquiry information is information containing an execution instruction for confirming whether the main server can provide authorization permission service information;
the client acquires the authorization permission service information sent by the main server, or receives the authorization permission service information sent by the standby server when the standby server does not receive the authorization reply information sent by the main server within a preset time;
the client acquires the authorization permission service according to the authorization permission service information;
the standby server side obtains a first version identifier in the authorization permission service information provided by the main server side; the standby server compares the second version identification in the authorization permission service information provided by the standby server with the acquired first version identification; when the first version identification is higher than the second version identification, the standby server side acquires authorization permission service information provided by the main server side to update the version; when the first version identification is lower than the second version identification, the standby server side sends the currently provided authorization permission service information to the main server side so that the main server side updates the version according to the authorization permission service information provided by the standby server side.
2. The method as claimed in claim 1, wherein the authorization reply message is a response message containing information confirming that the host server side can provide the authorized license service message or a response message confirming that the host server side cannot provide the authorized license service message.
3. The method of claim 2, wherein the step of the client acquiring the authorized service permission information sent by the main server is specifically:
when the standby server receives the authorization reply information sent by the main server within a preset time and the authorization reply information contains response information for confirming that the main server can provide authorization permission service information, the client acquires the authorization permission service information sent by the main server.
4. A method of controlling authorized admission services, the method further comprising:
the standby server receives authorization permission request information sent by the client;
the standby server side searches corresponding authorization permission service information according to the authorization permission request information;
the standby server side searches corresponding authorization permission service information according to the authorization permission request information and sends authorization inquiry information to the main server side; the authorization inquiry information is information containing an execution instruction for confirming whether the main server can provide authorization permission service information;
the standby server determines whether to send authorization permission service information to a client side according to whether to receive authorization reply information sent by the main server side within a preset time length or according to received authorization reply information sent by the main server side;
the method further comprises the following steps:
the standby server side acquires a first version identifier in the authorization permission service information provided by the main server side;
the standby server compares the second version identification in the authorization permission service information provided by the standby server with the acquired first version identification;
when the first version identification is higher than the second version identification, the standby server side acquires authorization permission service information provided by the main server side to update the version;
when the first version identification is lower than the second version identification, the standby server side sends the currently provided authorization permission service information to the main server side so that the main server side updates the version according to the authorization permission service information provided by the standby server side.
5. A client, the client comprising:
an authorization request information sending unit, configured to send authorization request information to a main server and a standby server, so that the standby server sends authorization query information to the main server according to the authorization request; the authorization inquiry information is information containing an execution instruction for confirming whether the main server can provide authorization permission service information;
an authorization permission service information obtaining unit, configured to obtain authorization permission service information sent by the main server, or receive authorization permission service information sent by the standby server when the standby server does not receive authorization reply information sent by the main server within a predetermined time period;
an authorization permission service obtaining unit, configured to obtain an authorization permission service according to the authorization permission service information;
the standby server side obtains a first version identifier in the authorization permission service information provided by the main server side; the standby server compares the second version identification in the authorization permission service information provided by the standby server with the acquired first version identification; when the first version identification is higher than the second version identification, the standby server side acquires authorization permission service information provided by the main server side to update the version; when the first version identification is lower than the second version identification, the standby server side sends the currently provided authorization permission service information to the main server side so that the main server side updates the version according to the authorization permission service information provided by the standby server side.
6. A backup server, comprising:
an authorization permission request information receiving unit, configured to receive authorization permission request information sent by a client;
the authorization inquiry information sending unit is used for searching corresponding authorization permission service information according to the authorization permission request information and sending authorization inquiry information to the main server side; the authorization inquiry information is information containing an execution instruction for confirming whether the main server can provide authorization permission service information;
the authorization permission service information sending and judging unit is used for determining whether to send authorization permission service information to the client side according to whether to receive authorization reply information sent by the main server side within a preset time length or according to the received authorization reply information sent by the main server side;
a first version identifier obtaining unit, configured to obtain a first version identifier in the authorization permission service information provided by the main server;
the version identification comparison unit is used for comparing the second version identification in the provided authorized license service information with the acquired first version identification;
the version updating unit is used for acquiring the authorization permission service information provided by the main server side for version updating when the first version identification is higher than the second version identification;
and the authorization permission service information sending unit is used for sending the currently provided authorization permission service information to the main server side by the standby server side so as to enable the main server side to update the version according to the authorization permission service information provided by the standby server side when the first version identification is lower than the second version identification.
7. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method of controlling an authorisation grant service according to any one of claims 1 to 4.
CN201810613785.8A 2018-06-14 2018-06-14 Control method of authorized permission service, client and standby server Active CN108933646B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810613785.8A CN108933646B (en) 2018-06-14 2018-06-14 Control method of authorized permission service, client and standby server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810613785.8A CN108933646B (en) 2018-06-14 2018-06-14 Control method of authorized permission service, client and standby server

Publications (2)

Publication Number Publication Date
CN108933646A CN108933646A (en) 2018-12-04
CN108933646B true CN108933646B (en) 2021-09-28

Family

ID=64446482

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810613785.8A Active CN108933646B (en) 2018-06-14 2018-06-14 Control method of authorized permission service, client and standby server

Country Status (1)

Country Link
CN (1) CN108933646B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1971577A (en) * 2005-11-22 2007-05-30 国际商业机器公司 Method and system for a secure backup license server in a license management system
CN101546366A (en) * 2009-02-11 2009-09-30 广州杰赛科技股份有限公司 Digital copyright management system and management method
CN101945010A (en) * 2010-09-19 2011-01-12 中国联合网络通信集团有限公司 Business license processing method, device and system
US8885594B2 (en) * 2003-08-06 2014-11-11 Panasonic Corporation Master station in communications system and access control method
CN105324774A (en) * 2013-08-02 2016-02-10 博世尼克资讯股份有限公司 Device for permitting program, program transaction device and method for permitting program thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9755774B1 (en) * 2015-06-25 2017-09-05 Juniper Networks, Inc. Master/slave negotiation associated with a synchronous ethernet network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8885594B2 (en) * 2003-08-06 2014-11-11 Panasonic Corporation Master station in communications system and access control method
CN1971577A (en) * 2005-11-22 2007-05-30 国际商业机器公司 Method and system for a secure backup license server in a license management system
CN101546366A (en) * 2009-02-11 2009-09-30 广州杰赛科技股份有限公司 Digital copyright management system and management method
CN101945010A (en) * 2010-09-19 2011-01-12 中国联合网络通信集团有限公司 Business license processing method, device and system
CN105324774A (en) * 2013-08-02 2016-02-10 博世尼克资讯股份有限公司 Device for permitting program, program transaction device and method for permitting program thereof

Also Published As

Publication number Publication date
CN108933646A (en) 2018-12-04

Similar Documents

Publication Publication Date Title
CN108111331B (en) Method, device, storage medium, processor and system for acquiring update data packet
US20170364669A1 (en) Restricted accounts on a mobile platform
CN102982141B (en) A kind of method and device realizing distributed data base agency
CN103309694A (en) Application program updating method and device
CA2988434C (en) Automatic recharging system, method and server
EP2827621B1 (en) Application program distribution method, terminal and server
CN105528205A (en) Update control method and update control system
CN112202747A (en) Target device binding method and device, storage medium and electronic device
CN105453126A (en) Application sharing service method and apparatus applied thereto
CN102760084A (en) Management method of application data, method for partitioning application storage space, on-line application platform and application
JP2011097516A (en) Message distribution system, and message distribution method
CN105511273A (en) Client operation management method and client
CN112235474B (en) Method, device and equipment for scheduling prepaid flow code number
CN108933646B (en) Control method of authorized permission service, client and standby server
US20210084076A1 (en) Remote management of a user device
KR101882685B1 (en) Method for providing cloud-based service
KR20120117504A (en) Communication system and method for updating software thereof
CN110366164B (en) Method for remotely controlling terminal, server, terminal and computing equipment
KR101672962B1 (en) Adaptive device software management system and management method of device software
US20210256600A1 (en) Connector leasing for long-running software operations
CN115617823A (en) Map updating data downloading method, device, equipment and readable medium
KR101666282B1 (en) Distributed processing system for public transportation fee and operating method thereof
KR101805906B1 (en) Security management apparatus and security management method and system using the same
CN113783863A (en) Number writing method and system
CN109218452B (en) Method and device for pushing node information

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