CN114510685B - Authorization state resetting method, authorization state updating method and system - Google Patents

Authorization state resetting method, authorization state updating method and system Download PDF

Info

Publication number
CN114510685B
CN114510685B CN202210116184.2A CN202210116184A CN114510685B CN 114510685 B CN114510685 B CN 114510685B CN 202210116184 A CN202210116184 A CN 202210116184A CN 114510685 B CN114510685 B CN 114510685B
Authority
CN
China
Prior art keywords
authorization
serial number
computing device
daemon
request
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
CN202210116184.2A
Other languages
Chinese (zh)
Other versions
CN114510685A (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.)
Uniontech Software Technology Co Ltd
Original Assignee
Uniontech Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Uniontech Software Technology Co Ltd filed Critical Uniontech Software Technology Co Ltd
Priority to CN202210116184.2A priority Critical patent/CN114510685B/en
Publication of CN114510685A publication Critical patent/CN114510685A/en
Application granted granted Critical
Publication of CN114510685B publication Critical patent/CN114510685B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3006Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Software Systems (AREA)
  • Quality & Reliability (AREA)
  • Technology Law (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Multimedia (AREA)
  • Mathematical Physics (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a reset method of an authorization state, an update method of the authorization state and a system, wherein the reset method of the authorization state comprises the following steps: sending a sequence number resetting request to the authorization daemon so that the authorization daemon requests network state checking from the authorization server after receiving the sequence number resetting request; if the checking result is abnormal, the authorization daemon acquires the hardware information and the serial number of the first computing device and sends the hardware information and the serial number of the first computing device to the client; generating offline reset information based on the hardware information and the serial number, so that the second computing device sends a first reset request to the authorization server through the offline reset information and receives offline verification data returned from the authorization server; the authorization daemon checks the offline verification data and if the check passes, updates the authorization status of the first computing device. The technical scheme of the invention supports different network environments.

Description

Authorization state resetting method, authorization state updating method and system
Technical Field
The present invention relates to the field of operating system reset and update technologies, and in particular, to a method for resetting an authorization status, a method for updating an authorization status, a system, a computing device, and a readable storage medium.
Background
Operating systems often have some or all of the functionality limitations that a user would need to purchase an activation serial number and activate the operating system for use after authorization. If the authorization time is about to expire and the user also purchases a new serial number, the operating system is required to support the user to update the new serial number at any time to extend the authorization time.
In the existing operating system activation credential replacement, taking the Windows operating system as an example, when the operating system is re-activated after the hardware replacement, the user needs to sequentially press the following keys: clicking on start, setting, updating and security, activating, removing faults, opening activation settings, selecting to replace the hardware of the device recently, selecting the next step, then inputting a connected Microsoft account and password, selecting to log in, selecting a check box beside 'this is the device which I are currently using' in a list of devices linked to the Microsoft account, and selecting to activate to complete reactivation of the operating system after hardware replacement. However, the activation mode of the operating system cannot be activated offline, the activation mode is inflexible, the application scene is limited, and inconvenience is brought to a user. In addition, the prior activation method also has limitation on the use of the serial number, and the serial number cannot be reset and transferred to other devices after being activated on one device, for example, if a user purchases a new serial number and wants to update the authorization time of the local machine, the original serial number cannot be transferred to other devices for activation and use, so that the resource waste is caused.
Therefore, there is a need for a method for resetting the authorization status and a method for updating the authorization status to solve the problems in the above technical solutions.
Disclosure of Invention
To this end, the present invention provides a reset method of the authorization status and an update method of the authorization status to solve or at least alleviate the above-presented problems.
According to a first aspect of the present invention, there is provided a method of resetting an authorization status, for execution in a client of a first computing device, the first computing device further comprising an authorization daemon, the method comprising the steps of: sending a sequence number resetting request to the authorization daemon so that the authorization daemon requests network state checking from the authorization server after receiving the sequence number resetting request; if the network state check is requested to fail or the check result fed back to the authorization daemon by the authorization server is abnormal, the authorization daemon acquires the hardware information and the serial number of the first computing device and sends the hardware information and the serial number of the first computing device to the client; generating offline reset information based on the hardware information and the serial number, so that the second computing device sends a first reset request to the authorization server through the offline reset information, and receives offline verification data returned from the authorization server, wherein the first reset request comprises the hardware information and the serial number; and acquiring offline verification data, transmitting the offline verification data to the authorization daemon so that the authorization daemon can verify the offline verification data, and if the offline verification data passes the verification, updating the authorization state of the first computing device and transmitting the authorization state to the client.
Optionally, in the method for resetting the authorization status according to the present invention, the method further includes: if the checking result fed back to the authorization daemon by the authorization server is that the network state is normal, the authorization daemon acquires the hardware information and the serial number of the first computing device, and sends a second reset request to the authorization server so that the authorization server checks the hardware information and the serial number of the first computing device and feeds back the checking result to the authorization daemon, wherein the second reset request comprises the hardware information and the serial number of the first computing device; if the verification result is that the verification is successful, the authorization daemon updates the authorization state of the first computing device and sends the authorization state to the client.
Optionally, in a reset method of an authorization status according to the present invention, the offline reset information is a two-dimensional code including hardware information and serial number information.
According to a second aspect of the present invention, there is provided a method of updating an authorization status, for execution in a client of a first computing device, the first computing device further comprising an authorization daemon, the method comprising the steps of: sending a replacement sequence number request to the authorization daemon so that the authorization daemon requests network state check from the authorization server after receiving the replacement sequence number request; if the network state check is requested to fail or the check result fed back to the authorization daemon by the authorization server is abnormal, the authorization daemon acquires the hardware information and the first serial number of the first computing device and sends the hardware information and the first serial number of the first computing device to the client; acquiring a second serial number input by a user; generating offline replacement information based on the hardware information, the first serial number and the second serial number, so that the second computing device sends a first replacement request to the authorization server through the offline replacement information, and receives the offline serial number returned from the authorization server, wherein the first replacement request comprises the hardware information, the first serial number and the second serial number; and acquiring the offline serial number, transmitting the offline serial number to the authorization daemon so that the authorization daemon can verify the offline serial number, and if the offline serial number passes the verification, updating the authorization information of the first computing device and transmitting the authorization information to the client.
Optionally, in the method for updating an authorization status according to the present invention, the method further includes: if the checking result fed back to the authorization daemon by the authorization server is that the network state is normal, the authorization daemon acquires hardware information, a first serial number and a second serial number of the first computing device, and sends a second replacement request to the authorization server so that the authorization server checks the hardware information and the first serial number of the first computing device, and the second replacement request comprises the hardware information, the first serial number and the second serial number of the first computing device; if the authorization server is successfully checked, the authorization server updates the database based on the hardware information of the first computing device and the second serial number, and feeds an update result back to the authorization daemon; if the updating result is that the updating is successful, the authorization daemon updates the authorization state of the first computing device through the second serial number and sends the authorization state to the client.
Optionally, in the method for updating an authorization status according to the present invention, after the step of the authorization daemon obtaining the hardware information, the first serial number, and the second serial number of the first computing device, the method further includes: sending a replacement frequency request to an authorization server so that the authorization server can verify the hardware information of the first computing device and the second serial number to obtain the updatable frequency corresponding to the second serial number, feeding back the updatable frequency corresponding to the second serial number to an authorization daemon, and updating a database based on the updatable frequency of the first serial number, wherein the replacement frequency request comprises the hardware information of the first computing device and the second serial number; if the number of updatable times is greater than zero, the steps of sending a second replacement request to the authorization server and thereafter are performed.
Optionally, in the method for updating an authorization status according to the present invention, the offline replacement information is a two-dimensional code including hardware information, a first serial number and a second serial number.
According to a third aspect of the present invention, there is provided an authorisation status resetting system comprising: a client adapted to perform a reset method of the authorization status according to the invention; the authorization server is suitable for receiving a network state check request from the authorization daemon and sending a check result to the authorization daemon, and is also suitable for receiving a second reset request from the authorization daemon when the check result fed back to the authorization daemon by the authorization server is that the network state is normal, checking hardware information and serial numbers of the first computing equipment and feeding back the check result to the authorization daemon; the authorization daemon is adapted to receive a request for resetting the serial number from the client, request network status checking from the authorization server after receiving the request for resetting the serial number, update the authorization status of the first computing device when the received verification result from the authorization server is successful, and send the authorization status to the client.
Optionally, in the reset system of an authorization status according to the present invention, the reset system further includes: the second computing device is suitable for sending a first reset request to the authorization server through offline reset information and receiving offline verification data returned from the authorization server, wherein the first reset request comprises hardware information and a serial number; wherein the authorization server is further adapted to receive a first reset request from the second computing device, and to send offline verification data to the second computing device, and is further adapted to send a verification result to the authorization daemon; the authorization daemon is further adapted to acquire hardware information and a serial number of the first computing device where the client is located when the network state check failure is requested to the authorization server or the check result fed back by the authorization server is abnormal, and send the hardware information and the serial number of the first computing device to the client, and is further adapted to check the offline check data, and update the authorization state of the first computing device when the offline check data passes the check.
According to a fourth aspect of the present invention, there is provided an authorisation status updating system comprising: a client adapted to perform the method of updating the authorization status according to the invention; the authorization server is suitable for receiving a network state check request from the authorization daemon and sending a check result to the authorization daemon, receiving a second change request from the authorization daemon when the check result fed back to the authorization daemon is that the network state is normal, checking hardware information and a first serial number of the first computing device, and feeding back the check result to the authorization daemon; and the database is updated based on the hardware information of the first computing device and the second serial number when the verification result is successful, and the updated result is fed back to the authorization daemon; the authorization daemon is suitable for receiving a request for replacing the serial number from the client, requesting network state inspection from the authorization server after receiving the request for replacing the serial number, acquiring hardware information of the first computing device, the first serial number and the second serial number when an inspection result fed back by the authorization server is that the network state is normal, sending a second replacement request to the authorization server, updating the authorization state of the first computing device through the second serial number when the update result is that the update is successful, and sending the authorization state to the client.
Optionally, in an authorization status updating system according to the present invention, the method further includes: the second computing device is suitable for sending a first replacement request to the authorization server through offline replacement information and receiving an offline serial number returned from the authorization server, wherein the first replacement request comprises hardware information, a first serial number and a second serial number; wherein the authorization server is further adapted to receive a first replacement request from the second computing device and send an offline serial number to the second computing device; the authorization daemon is further adapted to acquire hardware information and a first serial number of a first computing device where the client is located when the network state check failure is requested to the authorization server or the check result fed back by the authorization server is abnormal, and send the hardware information and the first serial number of the first computing device to the client, and is further adapted to check the offline serial number, and update the authorization state of the first computing device when the offline serial number passes the check.
Optionally, in an authorization status updating system according to the present invention, the authorization server is further adapted to receive an update times request from the authorization daemon, and is adapted to perform update times verification on the hardware information of the first computing device and the second serial number, obtain an updatable times corresponding to the second serial number, feed back the updatable times corresponding to the second serial number to the authorization daemon, and update the database based on the updatable times of the first serial number, where the update times request includes the hardware information of the first serial number and the second serial number of the first computing device; the authorization daemon is further adapted to send a request for the number of replacement times corresponding to the second serial number to the authorization server.
According to a fifth aspect of the present invention, there is provided a computing device comprising: at least one processor; a memory storing program instructions, wherein the program instructions are configured to be adapted to be executed by the at least one processor, the program instructions comprising instructions for performing the method as described above.
According to a sixth aspect of the present invention there is provided a readable storage medium storing program instructions which, when read and executed by a computing device, cause the computing device to perform the method as described above.
According to the authorization status resetting method and the authorization status updating method, the authorization status of the first computing device can be reset and updated in an on-line and off-line mode, so that the usability of a user is enhanced, and the user is supported to finish the operations of resetting and replacing the serial number in different network environments at any time. By the method, the user can unbind the original serial number and update the new serial number, and can also use the serial number to deactivate another device after the serial number is reset, so that the flexibility of using the serial number is improved, and the utilization efficiency of resources is improved.
The foregoing description is only an overview of the present invention, and is intended to be implemented in accordance with the teachings of the present invention in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present invention more readily apparent.
Drawings
To the accomplishment of the foregoing and related ends, certain illustrative aspects are described herein in connection with the following description and the annexed drawings, which set forth the various ways in which the principles disclosed herein may be practiced, and all aspects and equivalents thereof are intended to fall within the scope of the claimed subject matter. The above, as well as additional objects, features, and advantages of the present disclosure will become more apparent from the following detailed description when read in conjunction with the accompanying drawings. Like reference numerals generally refer to like parts or elements throughout the present disclosure.
FIG. 1 illustrates a schematic diagram of a computing device 100, according to one embodiment of the invention;
FIG. 2 illustrates a flow chart of a reset method 200 of an authorization status in accordance with one embodiment of the invention;
FIG. 3 illustrates a flow chart of a reset method 300 of an authorization status in accordance with another embodiment of the invention;
FIG. 4 illustrates a flow chart of a method 400 of updating an authorization status in accordance with one embodiment of the invention;
FIG. 5 shows a flow chart of a method 500 of updating an authorization status in accordance with another embodiment of the invention;
FIG. 6 shows a flow chart of a method 600 of updating an authorization status in accordance with yet another embodiment of the invention;
FIG. 7 illustrates an authorization status reset system 700 in accordance with one embodiment of the present invention;
FIG. 8 illustrates an authorization status reset system 800 in accordance with another embodiment of the present invention;
FIG. 9 illustrates an authorization status updating system 900 according to one embodiment of the invention; and
Fig. 10 illustrates an authorization status updating system 1000 in accordance with another embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
FIG. 1 illustrates a schematic diagram of a computing device 100, according to one embodiment of the invention. The computing device 100 shown in fig. 1 is only an example, and in practice, the computing device for implementing the authorization status reset method and the authorization status update method of the present invention may be any type of device, and the hardware configuration of the computing device may be the same as the computing device 100 shown in fig. 1 or may be different from the computing device 100 shown in fig. 1. In practice, the computing device for implementing the authorization status reset method and the authorization status update method of the present invention may add or delete hardware components of the computing device 100 shown in fig. 1, and the present invention is not limited to the specific hardware configuration of the computing device.
A block diagram of the computing device 100 is shown in fig. 1, with the computing device 100 typically including a system memory 106 and one or more processors 104 in a basic configuration 102. The memory bus 108 may be used for communication between the processor 104 and the system memory 106.
Depending on the desired configuration, the processor 104 may be any type of processing including, but not limited to: a microprocessor (μp), a microcontroller (μc), a digital information processor (DSP), or any combination thereof. The processor 104 may include one or more levels of caches, such as a first level cache 110 and a second level cache 112, a processor core 114, and registers 116. The example processor core 114 may include an Arithmetic Logic Unit (ALU), a Floating Point Unit (FPU), a digital signal processing core (DSP core), or any combination thereof. The example memory controller 118 may be used with the processor 104, or in some implementations, the memory controller 118 may be an internal part of the processor 104.
Depending on the desired configuration, system memory 106 may be any type of memory including, but not limited to: volatile memory (such as RAM), non-volatile memory (such as ROM, flash memory, etc.), or any combination thereof. The system memory 106 may include an operating system 120, one or more applications 122, and program data 124. In some implementations, the application 122 may be arranged to operate on an operating system with program data 124. The program data 124 includes instructions, in the computing device 100 according to the present invention, the program data 124 contains instructions for performing the method of resetting the authorization status and the method of updating the authorization status of the present invention.
Computing device 100 also includes storage device 132, storage device 132 including removable storage 136 and non-removable storage 138, both removable storage 136 and non-removable storage 138 being connected to storage interface bus 134. In the present invention, the related data of each event occurring during the execution of the program and the time information indicating the occurrence of each event may be stored in the storage device 132, and the operating system 120 is adapted to manage the storage device 132. Wherein the storage device 132 may be a magnetic disk.
Computing device 100 may also include an interface bus 140 that facilitates communication from various interface devices (e.g., output devices 142, peripheral interfaces 144, and communication devices 146) to basic configuration 102 via bus/interface controller 130. The example output device 142 includes a graphics processing unit 148 and an audio processing unit 150. They may be configured to facilitate communication with various external devices such as a display or speakers via one or more a/V ports 152. Example peripheral interfaces 144 may include a serial interface controller 154 and a parallel interface controller 156, which may be configured to facilitate communication with external devices such as input devices (e.g., keyboard, mouse, pen, voice input device, touch input device) or other peripherals (e.g., printer, scanner, etc.) via one or more I/O ports 158. An example communication device 146 may include a network controller 160, which may be arranged to facilitate communication with one or more other computing devices 162 via one or more communication ports 164 over a network communication link.
The network communication link may be one example of a communication medium. Communication media may typically be embodied by computer readable instructions, data structures, program modules, and may include any information delivery media in a modulated data signal, such as a carrier wave or other transport mechanism. A "modulated data signal" may be a signal that has one or more of its data set or changed in such a manner as to encode information in the signal. By way of non-limiting example, communication media may include wired media such as a wired network or special purpose network, and wireless media such as acoustic, radio Frequency (RF), microwave, infrared (IR) or other wireless media. The term computer readable media as used herein may include both storage media and communication media.
Computing device 100 may be implemented as a server, such as a file server, a database server, an application server, a WEB server, etc., as part of a small-sized portable (or mobile) electronic device, such as a cellular telephone, a Personal Digital Assistant (PDA), a personal media player device, a wireless WEB-watch device, a personal headset device, an application-specific device, or a hybrid device that may include any of the above functions. Computing device 100 may also be implemented as a personal computer including desktop and notebook computer configurations. In some embodiments, the computing device 100 is configured to perform a reset method of the authorization status and an update method of the authorization status according to the invention.
Fig. 2 illustrates a flow chart of a method 200 of resetting an authorization status, the method 200 being a method of offline resetting a serial number, the method being adapted to be performed in a first computing device (e.g., the aforementioned computing device 100) comprising a client and an authorization daemon, according to one embodiment of the invention. As shown in fig. 2, the method 200 begins at step S201, when the user needs to reset the serial number of the first computing device, the user opens the client, switches to the details page, clicks the reset serial number button, and jumps to the serial number activation interface.
Subsequently, in step S202, the client sends a request for resetting the sequence number to the authorization daemon, optionally through a user interaction interface in the client.
Subsequently, in step S203, the authorization daemon requests a network status check from the authorization server after receiving the request to reset the sequence number. Optionally, the authorization daemon requests a health check interface from the authorization server to determine connectivity of the current device network.
Subsequently, in step S204, the authorization server checks the network state with the authorization daemon after receiving the network state check request from the authorization daemon.
Subsequently, in step S205, the authorization server returns the inspection result of the inspection request to the authorization daemon, wherein the inspection result includes that the network state is normal or abnormal.
Subsequently, in step S206, if the authorization daemon requests that the network status check fails or the network status check result that the authorization server returns to the authorization daemon is that the network status is abnormal, which indicates that the server cannot be connected normally, the authorization daemon will acquire the hardware information and the serial number of the first computing device. The serial number is an activation serial number used by the operating system of the first computing device, and the hardware information of the first computing device is a unique identifier of the device.
Subsequently, in step S207, the authorization daemon transmits the acquired hardware information and serial number of the first computing device into the client.
Subsequently, in step S208, the client generates offline reset information, which may be a two-dimensional code including hardware information and serial number information, based on the received hardware information and serial number.
Subsequently, in step S209, the generated two-dimensional code is presented on the client user interaction interface, so that the user uses a second computing device (which may be implemented as the computing device described in fig. 1), such as the H5 terminal of the mobile phone or other devices, to scan the offline reset information.
Subsequently, in step S210, after the user scans the offline reset information through the second computing device, the user clicks the reset key.
Subsequently, in step S211, the second computing device sends a first reset request to the authorization server, wherein the first reset request includes hardware information and a serial number.
Subsequently, in step S212, after receiving the first reset request, the authorization server checks the device hardware information and the serial number, determines whether the device hardware and the serial number match, generates offline check data if the device hardware and the serial number pass the check, and returns the offline check data to the second computing device. If the verification is not passed, the reset processing is not performed, and the authorization server sends a message that the verification is not passed to the authorization daemon, so that the subsequent steps are not executed.
Optionally, the authorization server determines whether the device hardware matches the serial number by looking up the correspondence of the device hardware and the serial number in a database connected thereto.
Subsequently, in step S213, the offline verification data is presented on the user interaction interface of the second computing device, so that the user can input the offline verification data presented on the second computing device onto the user interaction interface of the client.
Subsequently, in step S214, the user inputs the offline verification data presented on the second computing device onto the user interaction interface of the client.
Subsequently, in step S215, after the user inputs the offline verification data, the client transmits the offline verification data to the authorization daemon.
Then, in step S216, the authorization daemon decrypts the received offline verification data, verifies the decrypted data, and if the decrypted data passes the verification, updates the authorization status, resets the authorization status of the first computing device, and changes the authorization status of the first computing device from original authorized to unauthorized after the reset. If the verification result is that the verification fails, the reset processing is not performed.
Subsequently, in step S217, an authorization status is sent to the client, so that in step S218 it is presented to the user whether the current serial number has been reset or not through the user interaction interface of the client.
Fig. 3 illustrates a flow chart of a method 300 of resetting an authorization status, the method 300 being a method of resetting a serial number online, the method being adapted to be performed in an authorization management client of a first computing device, the first computing device further comprising an authorization daemon, according to another embodiment of the invention. As shown in fig. 3, the method 300 begins at step S301 when a user needs to reset the serial number of a first computing device, the user opens an authorization management client, switches to a detail page, and clicks a reset serial number button.
Subsequently, in step S302, the client sends a request for resetting the sequence number into the authorization daemon, specifically, through a user interaction interface in the client.
Subsequently, in step S303, the authorization daemon requests a network status check from the authorization server after receiving the request to reset the sequence number. Specifically, the authorization daemon requests a health check interface from the authorization server to determine connectivity of the current device network.
Subsequently, in step S304, the authorization server checks the network state with the authorization daemon after receiving the network state check request from the authorization daemon.
Subsequently, in step S305, the authorization server returns the inspection result of the inspection request to the authorization daemon, wherein the inspection result includes that the network state is normal or abnormal.
Then, in step S306, if the returned checking result is that the network state is normal, the authorization daemon obtains the hardware information and the serial number of the first computing device after receiving the checking result. Wherein the serial number is an activation serial number used to activate the first computing device.
Subsequently, in step S307, the authorization daemon initiates a second reset request through Https the connection server, wherein the second reset result includes the hardware information and the serial number of the first computing device.
Subsequently, in step S308, after receiving the second reset request, the authorization server checks the device hardware information and the serial number, and determines whether the device hardware and the serial number match.
Optionally, the authorization server determines whether the device hardware matches the serial number by searching whether the correspondence between the device hardware and the serial number exists in a database connected with the authorization server, so as to obtain a verification result, wherein the verification result comprises verification success or verification failure.
Subsequently, in step S309, the authorization server returns a verification result to the authorization daemon after the verification process is completed.
Then, in step S310, after the authorization daemon receives the verification result, the authorization status of the first computing device is updated, if the verification result is that the verification is successful, the authorization status of the first computing device is reset, and the authorization status of the first computing device is changed from original authorized to unauthorized after the reset. If the verification result is that the verification fails, the reset processing is not performed.
Subsequently, in step S311, the authorization daemon sends the authorization status into the client, so that in step S312 the authorization status is presented to the user.
Fig. 4 illustrates a flow diagram of a method 400 of updating an authorization status, the method 400 being a method of offline replacement of a serial number, the method being adapted to be performed in a first computing device, the first computing device comprising a client and an authorization daemon, according to one embodiment of the invention. As shown in fig. 4, the method 400 begins at step S401, when a user needs to update the serial number of the first computing device, the user opens the client, switches to the details page, clicks the replace serial number button, and jumps to the serial number activation interface.
Subsequently, in step S402, the client sends a request for replacement sequence number to the authorization daemon, optionally through a user interaction interface in the client.
Subsequently, in step S403, the authorization daemon requests a network status check from the authorization server after receiving the request for replacement sequence number. Optionally, the authorization daemon requests a health check interface from the authorization server to determine connectivity of the current device network.
Subsequently, in step S404, the authorization server checks the network state with the authorization daemon after receiving the network state check request from the authorization daemon.
Subsequently, in step S405, the authorization server returns the inspection result of the inspection request to the authorization daemon, wherein the inspection result includes that the network state is normal or abnormal.
Then, in step S406, if the authorization daemon requests that the network status check fails or the authorization server returns to the network status check result of the authorization daemon is that the network status is abnormal, which indicates that the server cannot be connected normally, the authorization daemon will acquire the hardware information of the first computing device, the first serial number, and send the hardware information of the first computing device and the first serial number to the client. The first serial number is an activation serial number used by an operating system of the first computing device at present, and the hardware information of the first computing device is a unique identifier of the device.
Subsequently, in step S407, the authorization daemon transmits the acquired hardware information of the first computing device and the first serial number into the client.
Subsequently, in step S408, a second serial number input by the user in the client is acquired, the second serial number being a new serial number that the user is ready to replace. The client generates offline replacement information based on the received hardware information, the first serial number and the second serial number, wherein the offline replacement information can be a two-dimensional code comprising the hardware information, the first serial number and the second serial number.
Subsequently, in step S409, the generated two-dimensional code is presented on the client user interaction interface, so that the user uses a second computing device (which may be implemented as the computing device described in fig. 1), such as H5 of a mobile phone or other devices, to scan the offline replacement information.
Subsequently, in step S410, after the user scans the offline replacement information through the second computing device, the user clicks the replacement serial number button.
Subsequently, in step S411, the second computing device sends a first replacement request to the authorization server, where the first replacement request includes hardware information of the first computing device, the first serial number, and the second serial number.
Subsequently, in step S412, after receiving the first replacement request, the authorization server checks the device hardware information and the first serial number, determines whether the device hardware matches the first serial number, and if the verification passes, generates an offline serial number based on the device hardware information and the second serial number, and returns the offline serial number to the second computing device. If the verification is not passed, the reset processing is not performed, and the authorization server sends a message that the verification is not passed to the authorization daemon, so that the subsequent steps are not executed.
Optionally, the authorization server determines whether the device hardware matches the first serial number by looking up a correspondence between the device hardware and the first serial number in a database connected thereto.
Subsequently, in step S413, the offline serial number is presented on the user interaction interface of the second computing device, so that the user can input the offline serial number presented on the second computing device onto the user interaction interface of the client.
Subsequently, in step S414, the user inputs the offline serial number presented on the second computing device onto the user interaction interface of the client.
Subsequently, in step S415, after the user inputs the offline serial number, the client transmits the offline serial number to the authorization daemon.
Subsequently, in step S416, the authorization daemon decrypts the received offline serial number and verifies the decrypted data, and if the verification passes, the operating system of the first computing device is re-activated with the offline serial number and the authorization status is updated from activated using the first serial number to activated using the second serial number. If the test fails, the serial number replacement process is not performed.
Subsequently, in step S417, an authorization status is sent to the client, so that in step S418 it is presented to the user whether the current serial number has been replaced or not through the user interaction interface of the client.
Fig. 5 illustrates a flow chart of a method 500 of updating an authorization status, the method 500 being a method of online replacement of a serial number, the method being adapted to be performed in an authorization management client of a first computing device, the first computing device further comprising an authorization daemon, according to another embodiment of the invention. As shown in fig. 5, the method 500 begins in step S501, when the user needs to replace the serial number of the first computing device, the user opens the authorization management client, switches to the details page, clicks the replace serial number button, and jumps to the serial number replacement interface.
Subsequently, in step S502, the client sends a request for replacement sequence number to the authorization daemon, specifically, through a user interaction interface in the client.
Subsequently, in step S503, the authorization daemon requests a network status check from the authorization server after receiving the request for replacement sequence number. Specifically, the authorization daemon requests a health check interface from the authorization server to determine connectivity of the current device network.
Subsequently, in step S504, the authorization server checks the network state with the authorization daemon after receiving the network state check request from the authorization daemon.
Subsequently, in step S505, the authorization server returns the inspection result of the inspection request to the authorization daemon, wherein the inspection result includes that the network state is normal or abnormal.
Then, in step S506, if the returned checking result is that the network state is normal, the authorization daemon process obtains the hardware information, the first serial number and the second serial number of the first computing device of the device after receiving the checking result. Wherein the first serial number is an activation serial number used to activate the first computing device and the second serial number is a new serial number that the user is ready to replace.
Subsequently, in step S507, the authorization daemon sends a second replacement request into the authorization server, the second replacement request comprising hardware information of the first computing device, the first serial number and the second serial number,
Then, in step S508, after receiving the second replacement request, the authorization server checks the first computing device hardware information and the first serial number, and determines whether the device hardware matches the first serial number, that is, the authorization server checks whether the originally used serial number binding information corresponds to the requesting device.
Optionally, the authorization server determines whether the device hardware matches the first serial number by searching for whether a correspondence between the device hardware and the first serial number exists in a database connected with the authorization server, so as to obtain a verification result, wherein the verification result comprises verification success or verification failure.
Then, in step S509, if the authorization server checks successfully, in the database connected to the authorization server, the original correspondence between the device information of the first computing device and the first serial number is updated to correspond to the device information of the first computing device and the second serial number, and the update result is fed back to the authorization daemon.
If the verification is unsuccessful, the subsequent steps are not executed, and the authorization server returns a message of verification failure to the authorization daemon, and the authorization daemon informs the client.
Then, if the update result is that the update is successful in step S510, the authorization daemon will update the authorization status of the first computing device through the second serial number, and execute step S511 to send the authorization status to the client, so that the authorization status is presented to the user through the client in step S512.
If the update result is that the update fails, the authorization daemon does not update the authorization status.
Fig. 6 illustrates a flow chart of a method 600 of updating an authorization status, the method 600 being a method of online replacement of a serial number, the method being adapted to be performed in an authorization management client of a first computing device, the first computing device further comprising an authorization daemon, according to a further embodiment of the invention. As shown in fig. 6, the method 600 begins in step S601, when the user needs to replace the serial number of the first computing device, the user opens the authorization management client, switches to the details page, clicks the replace serial number button, and jumps to the serial number replacement interface.
Subsequently, in step S602, the client sends a request for replacing the serial number to the authorization daemon, specifically, through a user interaction interface in the client.
Subsequently, in step S603, the authorization daemon requests a network status check from the authorization server after receiving the request for replacement sequence number. Specifically, the authorization daemon requests a health check interface from the authorization server to determine connectivity of the current device network.
Subsequently, in step S604, the authorization server checks the network state with the authorization daemon after receiving the network state check request from the authorization daemon.
Subsequently, in step S605, the authorization server returns the inspection result of the inspection request to the authorization daemon, wherein the inspection result includes that the network state is normal or abnormal.
Then, in step S606, if the returned checking result is that the network state is normal, the authorization daemon process obtains the hardware information, the first serial number and the second serial number of the first computing device of the device after receiving the checking result. Wherein the first serial number is an activation serial number used to activate the first computing device and the second serial number is a new serial number that the user is ready to replace.
Subsequently, in step S607, the authorization daemon transmits a replacement times request to the authorization server. Wherein the replacement number request includes hardware information of the first computing device and the second serial number.
Subsequently, in step S608, the authorization server performs update times verification on the hardware information of the first computing device and the second serial number, to obtain an updatable time corresponding to the second serial number.
Subsequently, in step S609, the updatable number corresponding to the second sequence number is fed back to the authorization daemon.
Subsequently, in step S610, the authorization daemon feeds back the updatable number corresponding to the second sequence number to the client, so that in step S611, the client presents the updatable number corresponding to the second sequence number to the user.
Subsequently, in step S611, if the number of updatable times corresponding to the second sequence number is zero, the sequence number is not updated. If the number of updatable times corresponding to the second serial number is greater than zero, in step S612, the authorization daemon sends a second replacement request to the authorization server, where the second replacement request includes hardware information of the first computing device, the first serial number, and the second serial number.
Subsequently, in step S613, after receiving the second replacement request, the authorization server checks the first computing device hardware information and the first serial number, and determines whether the device hardware matches the first serial number, that is, the authorization server checks whether the originally used serial number binding information corresponds to the requesting device.
Optionally, the authorization server determines whether the device hardware matches the first serial number by searching for whether a correspondence between the device hardware and the first serial number exists in a database connected with the authorization server, so as to obtain a verification result, wherein the verification result comprises verification success or verification failure.
Then, in step S614, if the authorization server checks successfully, in the database connected to the authorization server, the original correspondence between the device information of the first computing device and the first serial number is updated to correspond to the device information of the first computing device and the second serial number, the updatable number of times of updating the second serial number is updated, and the update result is fed back to the authorization daemon. If the verification is unsuccessful, the subsequent steps are not executed, and the authorization server returns a message of verification failure to the authorization daemon, and the authorization daemon informs the client.
Subsequently, if the update result is that the update is successful in step S615, the authorization daemon will update the authorization status of the first computing device through the second serial number, and execute step S616 to send the authorization status to the client, so that the authorization status is presented to the user in step S617.
If the update result is that the update fails, the authorization daemon does not update the authorization status.
Fig. 7 illustrates an authorization status reset system 700, as shown in fig. 7, the system 700 including a client 710, an authorization daemon 720, a second computing device 730, and an authorization server 740, according to one embodiment of the invention. Wherein the client 710 is adapted to perform steps in the method 200 involving the client, the authorization daemon 720 is adapted to perform steps in the method 200 involving the authorization daemon, the second computing device 730 is adapted to perform steps in the method 200 involving the second computing device, and the authorization server 740 is adapted to perform steps in the method 200 involving the authorization server. It should be noted that, the working principle of the authorization status reset system 700 provided in this embodiment is similar to that of the authorization status reset method 200 described above, and the description of the authorization status reset method 200 is referred to herein and is not repeated.
Fig. 8 illustrates an authorization status reset system 800 according to another embodiment of the invention, as shown in fig. 8, the system 800 includes a client 810, an authorization daemon 820, and an authorization server 830. Wherein the client 810 is adapted to perform steps of the method 300 involving the client, the authorization daemon 820 is adapted to perform steps of the method 300 involving the authorization daemon, and the authorization server 830 is adapted to perform steps of the method 300 involving the authorization server. It should be noted that, the working principle of the authorization status reset system 800 provided in the present embodiment is similar to that of the authorization status reset method 300 described above, and the description of the authorization status reset method 300 is referred to herein and is not repeated.
Fig. 9 illustrates an authorization status update system 900 according to one embodiment of the invention, as shown in fig. 9, the system 900 includes a client 910, an authorization daemon 920, a second computing device 930, and an authorization server 940. Wherein the client 910 is adapted to perform steps in the method 400 involving the client, the authorization daemon 920 is adapted to perform steps in the method 400 involving the authorization daemon, the second computing device 930 is adapted to perform steps in the method 400 involving the second computing device, and the authorization server 940 is adapted to perform steps in the method 400 involving the authorization server. It should be noted that, the working principle of the authorization status updating system 900 provided in this embodiment is similar to that of the foregoing authorization status updating method 400, and the description of the foregoing authorization status updating method 400 is referred to herein and is not repeated.
Fig. 10 illustrates an authorization status update system 1000 according to another embodiment of the invention, as shown in fig. 10, the system 1000 includes a client 1100, an authorization daemon 1200, and an authorization server 1300. Wherein client 1100 is adapted to perform the steps of method 500 involving the client, authorization daemon 1200 is adapted to perform the steps of method 500 involving the authorization daemon, and authorization server 1300 is adapted to perform the steps of method 500 involving the authorization server. It should be noted that, the working principle of the authorization status updating system 1000 provided in this embodiment is similar to that of the foregoing authorization status updating method 500, and the description of the foregoing authorization status updating method 500 is referred to herein and is not repeated.
According to yet another embodiment of the present invention, the client 1100 in the authorization status updating system 1000 may be further adapted to perform the steps in the method 600 involving the client, the authorization daemon 1200 being adapted to perform the steps in the method 600 involving the authorization daemon, the authorization server 1300 being adapted to perform the steps in the method 600 involving the authorization server. It should be noted that, the working principle of the authorization status updating system 1000 provided in this embodiment is similar to that of the foregoing authorization status updating method 600, and the description of the foregoing authorization status updating method 600 is referred to herein and is not repeated.
According to the authorization status resetting method and the authorization status updating method, the authorization status of the first computing device can be reset and updated in an on-line and off-line mode, so that the usability of a user is enhanced, and the user is supported to finish the operations of resetting and replacing the serial number in different network environments at any time. By the method, the user can unbind the original serial number and update the new serial number, and can also use the serial number to deactivate another device after the serial number is reset, so that the flexibility of using the serial number is improved, and the utilization efficiency of resources is improved.
The various techniques described herein may be implemented in connection with hardware or software or, alternatively, with a combination of both. Thus, the methods and apparatus of the present invention, or certain aspects or portions of the methods and apparatus of the present invention, may take the form of program code (i.e., instructions) embodied in tangible media, such as removable hard drives, U-drives, floppy diskettes, CD-ROMs, or any other machine-readable storage medium, wherein, when the program is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the invention.
In the case of program code execution on programmable computers, the mobile terminal will generally include a processor, a storage medium readable by the processor (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device. Wherein the memory is configured to store program code; the processor is configured to perform the method of resetting the authorization status and the method of updating the authorization status of the invention according to instructions in said program code stored in the memory.
By way of example, and not limitation, readable media comprise readable storage media and communication media. The readable storage medium stores information such as computer readable instructions, data structures, program modules, or other data. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. Combinations of any of the above are also included within the scope of readable media.
In the description provided herein, algorithms and displays are not inherently related to any particular computer, virtual system, or other apparatus. Various general-purpose systems may also be used with examples of the invention. The required structure for a construction of such a system is apparent from the description above. In addition, the present invention is not directed to any particular programming language. It will be appreciated that the teachings of the present invention described herein may be implemented in a variety of programming languages, and the above description of specific languages is provided for disclosure of enablement and best mode of the present invention.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be construed as reflecting the intention that: i.e., the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules or units or components of the devices in the examples disclosed herein may be arranged in a device as described in this embodiment, or alternatively may be located in one or more devices different from the devices in this example. The modules in the foregoing examples may be combined into one module or may be further divided into a plurality of sub-modules.
Those skilled in the art will appreciate that the modules in the apparatus of the embodiments may be adaptively changed and disposed in one or more apparatuses different from the embodiments. The modules or units or components of the embodiments may be combined into one module or unit or component and, furthermore, they may be divided into a plurality of sub-modules or sub-units or sub-components. Any combination of all features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or units of any method or apparatus so disclosed, may be used in combination, except insofar as at least some of such features and/or processes or units are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings), may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments can be used in any combination.
Furthermore, some of the embodiments are described herein as methods or combinations of method elements that may be implemented by a processor of a computer system or by other means of performing the functions. Thus, a processor with the necessary instructions for implementing the described method or method element forms a means for implementing the method or method element. Furthermore, the elements of the apparatus embodiments described herein are examples of the following apparatus: the apparatus is for carrying out the functions performed by the elements for carrying out the objects of the invention.
As used herein, unless otherwise specified the use of the ordinal terms "first," "second," "third," etc., to describe a general object merely denote different instances of like objects, and are not intended to imply that the objects so described must have a given order, either temporally, spatially, in ranking, or in any other manner.
While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of the above description, will appreciate that other embodiments are contemplated within the scope of the invention as described herein. Furthermore, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter. Accordingly, many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the appended claims. The disclosure of the present invention is intended to be illustrative, but not limiting, of the scope of the invention, which is defined by the appended claims.

Claims (14)

1. A method of resetting an authorization state executing in a client of a first computing device, the first computing device further comprising an authorization daemon, the method comprising the steps of:
sending a sequence number resetting request to the authorization daemon so that the authorization daemon requests network state checking from an authorization server after receiving the sequence number resetting request;
if the network state check is requested to fail or the check result fed back to the authorization daemon by the authorization server is abnormal, the authorization daemon acquires the hardware information and the serial number of the first computing device and sends the hardware information and the serial number of the first computing device to the client;
generating offline reset information based on the hardware information and the serial number, so that the second computing device sends a first reset request to an authorization server through the offline reset information, and receives offline verification data returned from the authorization server, wherein the first reset request comprises the hardware information and the serial number;
And acquiring the offline verification data, transmitting the offline verification data to the authorization daemon so that the authorization daemon can verify the offline verification data, and if the offline verification data passes, updating the authorization state of the first computing device and transmitting the authorization state to the client.
2. The method of claim 1, further comprising:
If the checking result fed back to the authorization daemon by the authorization server is that the network state is normal, the authorization daemon acquires the hardware information and the serial number of the first computing device, and sends a second reset request to the authorization server so that the authorization server checks the hardware information and the serial number of the first computing device and feeds back the checking result to the authorization daemon, wherein the second reset request comprises the hardware information and the serial number of the first computing device;
And if the verification result is that the verification is successful, the authorization daemon updates the authorization state of the first computing device and sends the authorization state to the client.
3. The method of claim 1 or 2, wherein the offline reset information is a two-dimensional code including the hardware information and serial number information.
4. A method of updating an authorization status executing in a client of a first computing device, the first computing device further comprising an authorization daemon, the method comprising the steps of:
Sending a replacement sequence number request to the authorization daemon so that the authorization daemon requests network state check from an authorization server after receiving the replacement sequence number request;
if the network state check is requested to fail or the check result fed back to the authorization daemon by the authorization server is abnormal, the authorization daemon acquires the hardware information and the first serial number of the first computing device and sends the hardware information and the first serial number of the first computing device to the client;
Acquiring a second serial number input by a user;
Generating offline replacement information based on the hardware information, the first serial number and the second serial number, so that the second computing device sends a first replacement request to an authorization server through the offline replacement information, and receives the offline serial number returned from the authorization server, wherein the first replacement request comprises the hardware information, the first serial number and the second serial number;
and acquiring the offline serial number, transmitting the offline serial number to the authorization daemon so that the authorization daemon can test the offline serial number, and if the offline serial number passes the test, updating the authorization information of the first computing device and transmitting the authorization information to the client.
5. The method of claim 4, further comprising:
If the checking result fed back to the authorization daemon by the authorization server is that the network state is normal, the authorization daemon acquires the hardware information, the first serial number and the second serial number of the first computing device, and sends a second replacement request to the authorization server so that the authorization server checks the hardware information and the first serial number of the first computing device, and the second replacement request comprises the hardware information, the first serial number and the second serial number of the first computing device;
If the authorization server is successfully checked, the authorization server updates the database based on the hardware information of the first computing device and the second serial number, and feeds back an update result to the authorization daemon;
if the updating result is that the updating is successful, the authorization daemon updates the authorization state of the first computing device through the second serial number and sends the authorization state to the client.
6. The method of claim 5, after the step of the authorization daemon obtaining hardware information, a first sequence number, and a second sequence number for the first computing device, further comprising:
Sending a replacement frequency request to an authorization server so that the authorization server performs update frequency verification on hardware information of a first computing device and a second serial number to obtain updatable frequency corresponding to the second serial number, feeding back the updatable frequency corresponding to the second serial number to an authorization daemon, and updating a database based on the updatable frequency of the first serial number, wherein the replacement frequency request comprises the hardware information of the first computing device and the second serial number;
and if the updatable number is greater than zero, executing the steps of sending the second replacement request to the authorization server and afterwards.
7. The method of any of claims 4 to 6, wherein the offline replacement information is a two-dimensional code comprising the hardware information, a first serial number, and a second serial number information.
8. An authorization status reset system, comprising:
A client adapted to perform the reset method of the authorization status according to any one of claims 1 to 3;
The authorization server is suitable for receiving a network state check request from the authorization daemon and sending a check result to the authorization daemon, and is also suitable for receiving a second reset request from the authorization daemon when the check result fed back to the authorization daemon by the authorization server is that the network state is normal, checking hardware information and serial numbers of the first computing equipment and feeding back the check result to the authorization daemon;
The authorization daemon is adapted to receive a request for resetting the serial number from the client, request network status checking from the authorization server after receiving the request for resetting the serial number, update the authorization status of the first computing device when the received verification result from the authorization server is successful, and send the authorization status to the client.
9. The system of claim 8, the system further comprising:
The second computing device is suitable for sending a first reset request to the authorization server through offline reset information and receiving offline verification data returned from the authorization server, wherein the first reset request comprises the hardware information and a serial number;
Wherein,
The authorization server is further adapted to receive a first reset request from the second computing device, send offline verification data to the second computing device, and send a verification result to the authorization daemon;
the authorization daemon is further adapted to acquire hardware information and a serial number of the first computing device where the client is located when the network state check failure is requested to the authorization server or the check result fed back by the authorization server is abnormal, send the hardware information and the serial number of the first computing device to the client, check the offline check data, and update the authorization state of the first computing device when the offline check data is checked to pass.
10. An authorization status updating system, comprising:
a client adapted to perform the method of updating an authorization status according to any of claims 4 to 7;
The authorization server is suitable for receiving a network state check request from the authorization daemon and sending a check result to the authorization daemon, receiving a second change request from the authorization daemon when the check result fed back to the authorization daemon is that the network state is normal, checking hardware information and a first serial number of the first computing device, and feeding back the check result to the authorization daemon; and the method is suitable for updating the database based on the hardware information of the first computing equipment and the second serial number when the verification result is successful, and feeding back the updating result to the authorization daemon;
the authorization daemon is suitable for receiving a replacement serial number request from a client, requesting network state check from an authorization server after receiving the replacement serial number request, acquiring hardware information, a first serial number and a second serial number of the first computing device and sending a second replacement request to the authorization server when a check result fed back by the authorization server is that the network state is normal, updating the authorization state of the first computing device through the second serial number when the update result is that the update is successful, and sending the authorization state to the client.
11. The system of claim 10, further comprising:
The second computing device is suitable for sending a first replacement request to the authorization server through offline replacement information and receiving an offline serial number returned from the authorization server, wherein the first replacement request comprises the hardware information, a first serial number and a second serial number;
Wherein,
The authorization server is further adapted to receive a first replacement request from the second computing device and send an offline serial number to the second computing device;
The authorization daemon is further adapted to acquire hardware information and a first serial number of a first computing device where the client is located when a network state check failure is requested to the authorization server or a check result fed back by the authorization server is abnormal, send the hardware information and the first serial number of the first computing device to the client, check the offline serial number, and update an authorization state of the first computing device when the offline serial number passes the check.
12. The system of claim 10, wherein,
The authorization server is further adapted to receive an update times request from the authorization daemon, and is adapted to perform update times verification on hardware information and a second serial number of the first computing device, obtain an updatable times corresponding to the second serial number, feed back the updatable times corresponding to the second serial number to the authorization daemon, and update a database based on the updatable times of the first serial number, wherein the update times request comprises the hardware information of the first serial number and the second serial number of the first computing device;
the authorization daemon is further adapted to send a replacement number request corresponding to the second sequence number to the authorization server.
13. A computing device, comprising:
at least one processor; and
A memory storing program instructions, wherein the program instructions are configured to be adapted to be executed by the at least one processor, the program instructions comprising instructions for performing the method of any one of claims 1 to 7.
14. A readable storage medium storing program instructions which, when read and executed by a computing device, cause the computing device to perform the method of any one of claims 1 to 7.
CN202210116184.2A 2022-01-28 2022-01-28 Authorization state resetting method, authorization state updating method and system Active CN114510685B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210116184.2A CN114510685B (en) 2022-01-28 2022-01-28 Authorization state resetting method, authorization state updating method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210116184.2A CN114510685B (en) 2022-01-28 2022-01-28 Authorization state resetting method, authorization state updating method and system

Publications (2)

Publication Number Publication Date
CN114510685A CN114510685A (en) 2022-05-17
CN114510685B true CN114510685B (en) 2024-05-14

Family

ID=81550810

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210116184.2A Active CN114510685B (en) 2022-01-28 2022-01-28 Authorization state resetting method, authorization state updating method and system

Country Status (1)

Country Link
CN (1) CN114510685B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8453205B1 (en) * 2007-06-15 2013-05-28 Juniper Networks, Inc. Secure network services via daemons
CN104680041A (en) * 2015-02-06 2015-06-03 浪潮集团有限公司 Offline software authorization validity verification method
CN112182550A (en) * 2020-11-30 2021-01-05 统信软件技术有限公司 Authorization method, authorization system, activation device and computing equipment for application program
CN112347428A (en) * 2020-11-20 2021-02-09 浙江百应科技有限公司 Distributed software product off-line authorization method
CN113254887A (en) * 2021-06-04 2021-08-13 统信软件技术有限公司 Authorization method of application program, computing device and storage medium
CN113343185A (en) * 2021-08-02 2021-09-03 统信软件技术有限公司 Authorization method of client application, computing device and storage medium
CN113742715A (en) * 2021-11-03 2021-12-03 统信软件技术有限公司 Operating system authorization method, device and system based on virtual machine and computing equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003022228A (en) * 2001-04-24 2003-01-24 Square Co Ltd Status notification method in communication system, status notification server, communication system, recording medium, and program

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8453205B1 (en) * 2007-06-15 2013-05-28 Juniper Networks, Inc. Secure network services via daemons
CN104680041A (en) * 2015-02-06 2015-06-03 浪潮集团有限公司 Offline software authorization validity verification method
CN112347428A (en) * 2020-11-20 2021-02-09 浙江百应科技有限公司 Distributed software product off-line authorization method
CN112182550A (en) * 2020-11-30 2021-01-05 统信软件技术有限公司 Authorization method, authorization system, activation device and computing equipment for application program
CN113254887A (en) * 2021-06-04 2021-08-13 统信软件技术有限公司 Authorization method of application program, computing device and storage medium
CN113343185A (en) * 2021-08-02 2021-09-03 统信软件技术有限公司 Authorization method of client application, computing device and storage medium
CN113849779A (en) * 2021-08-02 2021-12-28 统信软件技术有限公司 Authorization method of client application, computing device and storage medium
CN113742715A (en) * 2021-11-03 2021-12-03 统信软件技术有限公司 Operating system authorization method, device and system based on virtual machine and computing equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
一种软件在线授权系统的安全模型;许冬霞;;电脑知识与技术;20100805(第22期);全文 *
虚拟化环境中TPM对象访问授权协议分析与改进;梁敏;常朝稳;;小型微型计算机系统;20120715(第07期);全文 *

Also Published As

Publication number Publication date
CN114510685A (en) 2022-05-17

Similar Documents

Publication Publication Date Title
US8402459B2 (en) License management system, license management computer, license management method, and license management program embodied on computer readable medium
JP5595149B2 (en) Document management system, image processing apparatus, control method thereof, and program
US20140068714A1 (en) Network system, data processing apparatus, and method
US11206252B2 (en) Information processing system, authentication platform, and authorization information verification method
EP3800540A1 (en) Program, information processing system, information processing method, and information processing apparatus
US9514291B2 (en) Information processing system, information processing device, and authentication information management method
JP6277725B2 (en) Information processing system, information processing method, and program
CN110795343A (en) Test system, test method and computing device
US11704079B2 (en) Output system, information processing system, including circuitry to generate a character string to perform authentication for a user, and authentication method
JP2020166546A (en) Information processing device, information processing method, and program
CN114510685B (en) Authorization state resetting method, authorization state updating method and system
CN111447178B (en) Access control method, system and computing device
CN111835523A (en) Data request method, system and computing equipment
US20220113921A1 (en) Information processing system, output system, output method, and recording medium
CN113536361B (en) Method and device for realizing trusted reference library and computing equipment
JP4890372B2 (en) Portable information processing device, electronic device, operation control method, and operation control program
CN114880648A (en) Batch offline activation method, online activation method and activation system for operating system
JP6952074B2 (en) Information processing equipment, information processing methods and programs
JP2021177593A (en) Information processing apparatus, information processing method, and program
JP6201444B2 (en) Information processing system and information processing method
JP6299101B2 (en) Service providing system, service providing method and program
US20230297628A1 (en) Data management apparatus, data management method, and non-transitory recording medium
JP5046603B2 (en) Service providing system, terminal device, service providing device, and program
JP7076973B2 (en) Image forming device, control method of image forming device, and program
JP6421843B2 (en) Information processing system, data conversion processing method, and information processing system

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