Equipment locking control method and device and computer equipment

By obtaining the actual activation code and theoretical activation code collection of the device, after the device is in the locked state, the device is activated to solve the problem that customers need to continue using the device again, realizing the re-activation of the device and the protection of supplier rights and interests.

CN119829153AInactive Publication Date: 2025-04-15ZHUHAI GREE INTELLIGENT EQUIP CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411912257.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-24
Publication Date
2025-04-15
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

When the customer needs to continue using the equipment again after the equipment is locked, the existing technology cannot effectively solve this problem, resulting in the customer being unable to purchase the equipment or try it again.

Method used

By obtaining the actual activation code and theoretical activation code set of the device, the device is activated when there is the same theoretical activation code as the actual activation code in the theoretical activation code set. This method does not rely on the network environment, is low in cost, and can avoid functional failure caused by network reasons.

Benefits of technology

After the device is in the locked state, it is determined whether the device can be activated by comparing the actual activation code with the theoretical activation code, thereby solving the problem that the customer needs to continue using the device again. At the same time, the provided methods ensure the rights and interests of the equipment suppliers and avoid functional failures caused by network reasons.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119829153A_ABST
    Figure CN119829153A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of intelligent control, in particular to an equipment locking control method and device and computer equipment, after equipment enters a locking state, by obtaining an input actual activation code and a theoretical activation code set, the equipment is activated when a theoretical activation code which is the same as the actual activation code exists in the theoretical activation code set. Therefore, after the equipment is in a locked state, when a customer is satisfied with the equipment and needs to purchase the equipment or try out the equipment again, the actual activation code provided by an equipment supplier is obtained and then input into the equipment, and the equipment is locked. The equipment can determine whether the equipment can be activated or not according to the comparison result of the actual activation code and the theoretical activation code set, so that the problem that a client needs to continue to use the equipment again after the equipment is in a locked state is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent control technology, and in particular to a control method and device for locking a device, and a computer device. Background Art

[0002] During the equipment application process, the manufacturer will provide the equipment to the customer for trial use. However, after providing the equipment to the customer for trial use, there may be cases where the customer still uses the equipment beyond the agreed period. In addition, there is also a situation where the customer pays in batches. For example, after the customer pays the down payment, the equipment is provided to the customer for trial use for a period of time, and the remaining balance is paid if the customer is satisfied. Similarly, during the process of the customer trying the equipment after paying the down payment, there may also be cases where the customer still uses the equipment beyond the agreed period.

[0003] In order to avoid the situation where the customer continues to try the device beyond the agreed period, the device will be locked when the actual duration of the customer's trial of the device reaches the agreed period. After the device is locked, the customer will no longer be able to use the device.

[0004] If the customer is satisfied with the device after the trial and wants to purchase it, or if the customer has not received any trial results and wants to try the device again, the device may be locked and can no longer be used. Summary of the invention

[0005] In view of this, the present invention provides a device locking control method, apparatus and computer equipment to solve the problem that after the device is in a locked state, when a customer is satisfied with the device and needs to purchase the device or needs to try the device again, he needs to continue using the device.

[0006] In a first aspect, the present invention provides a method for controlling device locking, comprising the following steps: when the device enters a locked state, obtaining an actual activation code input; wherein the actual activation code is provided by a supplier of the device; obtaining a set of theoretical activation codes for the device; wherein the set of theoretical activation codes includes at least one theoretical activation code; determining whether there is a theoretical activation code identical to an actual activation code in the set of theoretical activation codes; and activating the device when there is a theoretical activation code identical to an actual activation code in the set of theoretical activation codes.

[0007] The present invention provides a method for controlling device locking. After the device enters a locked state, the device is activated by obtaining an input actual activation code and a theoretical activation code set. When a theoretical activation code identical to the actual activation code exists in the theoretical activation code set, the device is activated. Thus, after the device is in a locked state, when a customer is satisfied with the device and needs to purchase the device or needs to try the device again, after obtaining the actual activation code provided by the device supplier and inputting the actual activation code into the device, the device will determine whether it can be activated based on the comparison result between the actual activation code and the theoretical activation code set, thereby solving the problem that the customer needs to continue to use the device again after the device is in a locked state. In addition, the method for controlling device locking provided by the present invention does not rely on the network environment, has a low cost, does not require corresponding network environment configuration facilities, and does not cause the function to fail due to network reasons.

[0008] In an optional embodiment, the control method for locking the device also includes the following steps: obtaining the effective time corresponding to the actual activation code; after activating the device, determining the reminder time based on the effective time; obtaining the actual time of the device from the activation moment to the current moment; determining whether the actual time reaches the reminder time; when the actual time reaches the reminder time, sending a prompt message that the device is about to be locked.

[0009] Therefore, after activating the device, by obtaining the validity period corresponding to the actual activation code and the actual duration of the device from the activation time to the current time, when the actual duration reaches the reminder duration, a reminder message is sent that the device is about to be locked. This can avoid damage to the customer caused by the locking of the device by sending a reminder message that the device is about to be locked in a scenario where the customer needs to try the device again.

[0010] In an optional embodiment, after sending a prompt message that the device is about to be locked, it also includes: continuing to obtain the actual duration of the device from the activation time to the current time, and determining whether the actual duration reaches the valid duration; when the actual duration reaches the valid duration, controlling the device to enter a locked state.

[0011] Therefore, after sending a prompt message that the device is about to be locked, the actual duration of the device from the activation time to the current time can be obtained. When the actual duration reaches the effective duration, the device is controlled to enter the locked state, so that the device can be locked again when the customer needs to try the device again.

[0012] In an optional implementation, before determining whether there is a theoretical activation code identical to the actual activation code in the theoretical activation code set, the step further includes: obtaining an activation code usage record, wherein the activation code usage record includes activation codes that have been used; determining whether the actual activation code is in the activation code usage record; and when the actual activation code is not in the activation code usage record, executing the step of determining whether there is a theoretical activation code identical to the actual activation code in the theoretical activation code set.

[0013] By setting the activation code usage record, it is determined whether the actual activation code is in the activation code usage record. If the actual activation code is not in the activation code usage record, it is determined whether there is a theoretical activation code that is the same as the actual activation code in the theoretical activation code set. This ensures that an actual activation code can be used only once, thereby protecting the rights and interests of equipment suppliers.

[0014] In an optional implementation, after determining whether there is a theoretical activation code that is identical to the actual activation code in the theoretical activation code set and before activating the device, the step further includes: obtaining an activation code usage record, wherein the activation code usage record includes activation codes that have been used; determining whether the actual activation code is in the activation code usage record; and when the actual activation code is not in the activation code usage record, executing the step of activating the device.

[0015] By setting the activation code usage record, it is determined whether the actual activation code is in the activation code usage record. If the actual activation code is not in the activation code usage record, it is determined whether there is a theoretical activation code that is the same as the actual activation code in the theoretical activation code set. This ensures that an actual activation code can be used only once, thereby protecting the rights and interests of equipment suppliers.

[0016] In an optional implementation, after activating the device, the method further includes: adding the actual activation code to the activation code usage record.

[0017] By adding the actual activation code to the activation code usage record after activating the device, the activation code usage record can be updated in real time.

[0018] In the second aspect, the present invention also provides a control device for locking a device, comprising a first acquisition module, a second acquisition module and a device activation module; the first acquisition module is used to obtain an actual activation code input after the device enters a locked state; the second acquisition module is used to obtain identification information of the device, and determine a theoretical activation code based on the identification information of the device; the device activation module is used to determine whether the actual activation code is the same as the theoretical activation code, and activate the device when the actual activation code is the same as the theoretical activation code.

[0019] In a third aspect, the present invention further provides a computer device, comprising a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the device locking control method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0020] In a fourth aspect, the present invention further provides a device, comprising the computer device of the third aspect.

[0021] In a fifth aspect, the present invention further provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the device locking control method of the first aspect or any corresponding embodiment thereof.

[0022] In a sixth aspect, the present invention further provides a computer program product, including computer instructions, which are used to enable a computer to execute the device locking control method of the above-mentioned first aspect or any corresponding embodiment thereof.

[0023] The device locking control method, apparatus and computer equipment provided by the embodiments of the present invention have the following beneficial effects:

[0024] (1) After the device enters the locked state, the input actual activation code and the theoretical activation code set are obtained, and when there is a theoretical activation code in the theoretical activation code set that is the same as the actual activation code, the device is activated. Therefore, after the device is in the locked state, when the customer is satisfied with the device and needs to purchase the device or needs to try the device again, after obtaining the actual activation code provided by the device supplier and inputting the actual activation code into the device, the device will determine whether it can be activated based on the comparison result between the actual activation code and the theoretical activation code set, thereby solving the problem that the customer needs to continue using the device again after the device is in the locked state. In addition, the device locking control method provided by the present invention does not rely on the network environment, has low cost, does not require corresponding network environment configuration facilities, and does not cause the function to fail due to network reasons;

[0025] (2) By obtaining the effective duration corresponding to the actual activation code and the actual duration of the device from the activation time to the current time, when the actual duration reaches the reminder duration, a reminder message is sent that the device is about to be locked. In this way, when the customer needs to try the device again, the reminder message that the device is about to be locked can be sent to avoid the harm caused to the customer by the device being locked;

[0026] (3) After sending a prompt message that the device is about to be locked, the actual time from the activation time to the current time of the device can be obtained. When the actual time reaches the effective time, the device can be controlled to enter the locked state, so that the device can be locked again when the customer needs to try the device again;

[0027] (4) By setting the activation code usage record, it is determined whether the actual activation code is in the activation code usage record. When the actual activation code is not in the activation code usage record, the device is activated again. This ensures that an actual activation code can be used only once, thereby protecting the rights and interests of the device supplier. Furthermore, by adding the actual activation code to the activation code usage record after activating the device, the activation code usage record can be updated in real time. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0029] Figure 1 is a flow chart of a device locking control method according to an embodiment of the present invention;

[0030] Figure 2 is a flow chart of another device lock control method according to an embodiment of the present invention;

[0031] Figure 3 is a flowchart of another device locking control method according to an embodiment of the present invention;

[0032] Figure 4 is a schematic diagram of button positions on a device lock interface according to an embodiment of the present invention;

[0033] Figure 5 is a schematic diagram of a device lock interface of a device according to an embodiment of the present invention;

[0034] Figure 6 is a structural block diagram of a device locking control device according to an embodiment of the present invention;

[0035] Figure 7 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0036] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0037] According to an embodiment of the present invention, an embodiment of a control method for locking a device is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0038] In this embodiment, a method for controlling device locking is provided, which can be used for computer devices. Figure 1 is a flow chart of a device lock control method according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:

[0039] Step S101: when the device enters the locked state, an actual activation code is inputted; wherein the actual activation code is provided by the supplier of the device.

[0040] In an optional implementation, the actual activation code is obtained by requesting the device supplier based on the device identification information. Specifically, after the device enters the locked state, when the customer is satisfied with the device and needs to purchase the device or needs to try the device again, the customer can request the activation code from the device supplier based on the device identification information. The activation code provided by the device supplier to the customer is the actual activation code. For example, the device identification information may be a device ID, and the device may be a robot.

[0041] That is to say, after the customer requests the actual activation code issued by the device supplier, the customer needs to enter the actual activation code into the device.

[0042] Step S102: Obtain a theoretical activation code set of the device; wherein the theoretical activation code set includes at least one theoretical activation code.

[0043] That is to say, the theoretical activation code in the theoretical activation code set may be one or more, and the theoretical activation code activation may be prefabricated in the device.

[0044] Step S103: Determine whether there is a theoretical activation code in the theoretical activation code set that is the same as the actual activation code.

[0045] Step S104: When there is a theoretical activation code in the theoretical activation code set that is identical to the actual activation code, the device is activated.

[0046] The device locking control method provided in this embodiment, after the device enters the locked state, by obtaining the input actual activation code and the theoretical activation code set, when there is a theoretical activation code in the theoretical activation code set that is the same as the actual activation code, the device is activated. Therefore, after the device is in the locked state, when the customer is satisfied with the device and needs to purchase the device or needs to try the device again, after obtaining the actual activation code provided by the device supplier and inputting the actual activation code into the device, the device will determine whether it can be activated based on the comparison result between the actual activation code and the theoretical activation code set, thereby solving the problem that the customer needs to continue to use the device again after the device is in the locked state. In addition, the device locking control method provided by the present invention does not rely on the network environment, has low cost, does not require corresponding network environment configuration facilities, and does not cause the function to fail due to network reasons.

[0047] In this embodiment, a method for controlling device locking is provided, which can be used for computer devices. Figure 2 FIG. 1 is a flowchart of another device lock control method according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:

[0048] Step S201: When the device enters the locked state, the input actual activation code and the valid time corresponding to the actual activation code are obtained, wherein the actual activation code is provided by the supplier of the device.

[0049] Step S202: Obtain a theoretical activation code set of the device; wherein the theoretical activation code set includes at least one theoretical activation code.

[0050] Step S203: Determine whether there is a theoretical activation code identical to the actual activation code in the theoretical activation code set. If there is a theoretical activation code identical to the actual activation code in the theoretical activation code set, proceed to step S204; otherwise, do not respond to the actual activation code.

[0051] Step S204: Activate the device.

[0052] Step S205: Determine the reminder duration according to the effective duration.

[0053] Specifically, the reminder duration should be shorter than the effective duration.

[0054] Step S206: Obtain the actual duration from the activation time to the current time of the device.

[0055] Step S207: Determine whether the actual duration reaches the reminder duration; when the actual duration reaches the reminder duration, proceed to step S208; when the actual duration does not reach the reminder duration, return to step S206.

[0056] Step S208: Send a prompt message that the device is about to be locked.

[0057] Through the above steps S205 to S208, after activating the device, by obtaining the valid time corresponding to the actual activation code and the actual time of the device from the activation time to the current time, when the actual time reaches the reminder time, a reminder message that the device is about to be locked is issued. In this way, when the customer needs to try the device again, the damage caused to the customer by the locked device can be avoided by issuing a reminder message that the device is about to be locked.

[0058] Step S209: Continue to obtain the actual duration of the device from the activation time to the current time.

[0059] Step S210: Determine whether the actual duration reaches the effective duration; when the actual duration reaches the effective duration, go to step S211; otherwise, return to step S209.

[0060] Step S211: Control the device to enter a locked state.

[0061] Through the above steps S209 to S211, after sending a prompt message that the device is about to be locked, the actual duration of the device from the activation time to the current time is obtained. When the actual duration reaches the effective duration, the device is controlled to enter the locked state, so that the device can be locked again in the scenario where the customer needs to try the device again.

[0062] The device locking control method provided in this embodiment can not only solve the problem that the customer needs to continue to use the device again after the device is in the locked state, but also obtain the effective time corresponding to the actual activation code and the actual time of the device from the activation time to the current time when the customer is satisfied with the device and needs to purchase the device or needs to try the device again, after obtaining the actual activation code provided by the device supplier, the device will determine whether it can be activated according to the comparison result between the actual activation code and the theoretical activation code set after the actual activation code is input into the device, thereby solving the problem that the customer needs to continue to use the device again after the device is in the locked state; and by obtaining the effective time corresponding to the actual activation code and the actual time of the device from the activation time to the current time, when the actual time reaches the reminder time, a prompt message that the device is about to be locked is issued, so that in the scenario where the customer needs to try the device again, the prompt message that the device is about to be locked is issued to avoid the harm caused to the customer by the device locking; further, after issuing the prompt message that the device is about to be locked, by obtaining the actual time of the device from the activation time to the current time, when the actual time reaches the effective time, the device can be controlled to enter the locked state, so that in the scenario where the customer needs to try the device again, the device can be locked again.

[0063] In this embodiment, a method for controlling device locking is provided, which can be used for computer devices. Figure 3 FIG. 1 is a flowchart of another device lock control method according to an embodiment of the present invention. Figure 3As shown, the process includes the following steps:

[0064] Step S301: When the device enters the locked state, the input actual activation code and the valid time corresponding to the actual activation code are obtained, wherein the actual activation code is provided by the device supplier.

[0065] Step S302: Obtain a theoretical activation code set of the device; wherein the theoretical activation code set includes at least one theoretical activation code.

[0066] Step S303: Determine whether there is a theoretical activation code identical to the actual activation code in the theoretical activation code set. If there is a theoretical activation code identical to the actual activation code in the theoretical activation code set, proceed to step S304; otherwise, do not respond to the actual activation code.

[0067] Step S304: Acquire activation code usage records, wherein the activation code usage records include the activation codes that have been used.

[0068] Step S305: Determine whether the actual activation code is in the activation code usage record; when the actual activation code is not in the activation code usage record, proceed to step S306; otherwise, do not respond to the actual activation code.

[0069] It should be noted that the above-mentioned step S304 and step S305 can also be arranged before step S303, that is, before determining whether there is a theoretical activation code identical to the actual activation code in the theoretical activation code set, it also includes: obtaining an activation code usage record, wherein the activation code usage record includes activation codes that have been used; determining whether the actual activation code is in the activation code usage record; when the actual activation code is not in the activation code usage record, executing the step of determining whether there is a theoretical activation code identical to the actual activation code in the theoretical activation code set.

[0070] By setting the activation code usage record, it is determined whether the actual activation code is in the activation code usage record. If the actual activation code is not in the activation code usage record, it is determined whether there is a theoretical activation code that is the same as the actual activation code in the theoretical activation code set. This ensures that an actual activation code can be used only once, thereby protecting the rights and interests of equipment suppliers.

[0071] Step S306: Activate the device and add the actual activation code to the activation code usage record.

[0072] By adding the actual activation code to the activation code usage record after activating the device, the activation code usage record can be updated in real time.

[0073] Step S307: Determine the reminder duration according to the effective duration.

[0074] Step S308: Obtain the actual duration from the activation time to the current time of the device.

[0075] Step S309: Determine whether the actual duration reaches the reminder duration; when the actual duration reaches the reminder duration, proceed to step S310; when the actual duration does not reach the reminder duration, return to step S308.

[0076] Step S310: Send a prompt message that the device is about to be locked.

[0077] Step S311: Continue to obtain the actual duration of the device from the activation time to the current time.

[0078] Step S312: Determine whether the actual duration reaches the effective duration; when the actual duration reaches the effective duration, go to step S313; otherwise, return to step S311.

[0079] Step S313: Control the device to enter a locked state.

[0080] The device locking control method provided in the present embodiment can not only solve the problem that the customer needs to continue to use the device again after the device is in the locked state, when the customer is satisfied with the device and needs to purchase the device or needs to try the device again, after obtaining the actual activation code provided by the device supplier and inputting the actual activation code into the device, the device will determine whether it can be activated based on the comparison result between the actual activation code and the theoretical activation code set, thereby solving the problem that the customer needs to continue to use the device again after the device is in the locked state; and by setting the activation code usage record, it is determined whether the actual activation code is in the activation code usage record, and the device is activated when the actual activation code is not in the activation code usage record, which can ensure that an actual activation code can be used only once, thereby protecting the rights and interests of the device supplier; further, by adding the actual activation code to the activation code usage record after activating the device, the activation code usage record can be updated in real time.

[0081] Figure 4 Schematic diagram of button positions on the device lock interface according to an embodiment of the present invention. Figure 4 As shown in the figure, in the device lock interface, add a lock setting button to the right of the additional information, click it to open the device lock interface. Figure 5 As shown, the device lock interface includes the device ID, validity period, and activation code dialog box. The device ID is set to ensure the consistency between the device and the computer device, that is, each device ID is unique, and each activation code can only be used on the corresponding device. The validity period dialog box can display the remaining days. The activation code dialog box can be used to enter the actual activation code provided by the device vendor.

[0082] Through the device locking control method provided in this embodiment, the device can achieve the following functions:

[0083] (1) Equipment suppliers can provide activation codes remotely, without the need to unlock the equipment on site. For example, when the equipment validity period reaches 0, the equipment will enter the stopped state. The equipment supplier only needs to provide the activation code remotely, and the customer can enter the activation code to continue normal operation.

[0084] (2) The lock period can be set unlimited times. The device lock in this implementation is implemented by using an activation code plus a validity period, that is, the device supplier can set the validity period when providing the activation code, thereby controlling the next device lock period.

[0085] (3) Seven days before the lockout period, the user will be reminded to contact the manufacturer in time to obtain the activation code. For example, a warning will be displayed on the teach pendant interface seven days before the lockout period to avoid losses caused by the lockout.

[0086] (4) When providing an activation code, you can set the number of days for the validity period.

[0087] (5) The activation code for each device is unique. The activation code algorithm is associated with the device ID of the device. Each device ID is unique. Each activation code can only be used on the corresponding device and can only be used once.

[0088] The device locking control method provided in this embodiment can achieve the following beneficial effects: 1. Protecting the interests of equipment suppliers to prevent customers from using trial equipment for a long time and locking the equipment when it expires; 2. It can be used as a method to collect the balance payment for the equipment. If the customer does not pay the balance payment in time, the equipment will stop running. After the balance payment is made and an activation code is provided, the equipment can continue to operate and produce.

[0089] In this embodiment, a device for controlling a device lock is also provided, which is used to implement the above embodiments and preferred implementations, and will not be repeated here. As used below, the term "module" may be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0090] This embodiment provides a device for controlling a device lock. Figure 6 As shown, including:

[0091] The first acquisition module 601 is used to acquire the actual activation code input when the device enters the locked state; wherein the actual activation code is provided by the supplier of the device.

[0092] The second acquisition module 602 is used to acquire a theoretical activation code set of a device; wherein the theoretical activation code set includes at least one theoretical activation code.

[0093] The device activation module 603 is used to determine whether there is a theoretical activation code that is the same as the actual activation code in the theoretical activation code set; when there is a theoretical activation code that is the same as the actual activation code in the theoretical activation code set, activate the device.

[0094] In an optional embodiment, the control device for locking the device further includes a locking module. The locking module is used to: obtain the effective duration corresponding to the actual activation code; after activating the device, determine the reminder duration according to the effective duration; obtain the actual duration of the device from the activation time to the current time; determine whether the actual duration reaches the reminder duration; when the actual duration reaches the reminder duration, send a reminder message that the device is about to be locked.

[0095] In an optional embodiment, after sending a prompt message that the device is about to be locked, the locking module is also used to: continue to obtain the actual duration of the device from the activation time to the current time; determine whether the actual duration reaches the valid duration; when the actual duration reaches the valid duration, control the device to enter the locked state.

[0096] In an optional implementation, before determining whether there is a theoretical activation code identical to the actual activation code in the theoretical activation code set, the device activation module 603 is further used to: obtain an activation code usage record, wherein the activation code usage record includes activation codes that have been used; determine whether the actual activation code is in the activation code usage record; and when the actual activation code is not in the activation code usage record, execute the step of determining whether there is a theoretical activation code identical to the actual activation code in the theoretical activation code set.

[0097] In an optional manner, after determining whether there is a theoretical activation code identical to the actual activation code in the theoretical activation code set and before activating the device, the device activation module 603 is further used to: obtain an activation code usage record, wherein the activation code usage record includes activation codes that have been used; determine whether the actual activation code is in the activation code usage record; and when the actual activation code is not in the activation code usage record, execute the step of activating the device.

[0098] In an optional implementation, after activating the device, the device activation module 603 is further configured to: add the actual activation code to the activation code usage record.

[0099] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.

[0100] The control device of the device lock in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0101] The embodiment of the present invention also provides a computer device having the above Figure 6 The control device for locking the device shown.

[0102] See also Figure 7 , Figure 7 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 7 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 7 A processor 10 is taken as an example.

[0103] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0104] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.

[0105] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0106] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0107] The computer device also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Figure 7 The example of connecting through bus is taken in the following.

[0108] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device can be a touch screen.

[0109] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0110] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.

[0111] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A method for controlling device locking, characterized in that: include: When the device enters the locked state, obtaining the input actual activation code; wherein the actual activation code is provided by the supplier of the device; Obtaining a theoretical activation code set of the device; wherein the theoretical activation code set includes at least one theoretical activation code; Determining whether there is a theoretical activation code identical to the actual activation code in the theoretical activation code set; When there is a theoretical activation code in the theoretical activation code set that is identical to the actual activation code, the device is activated.

2. The method according to claim 1, characterized in that Also includes: Obtaining the effective duration corresponding to the actual activation code; After activating the device, determining a reminder duration according to the effective duration; Obtain the actual duration of the device from the activation time to the current time; Determine whether the actual duration reaches the reminder duration; When the actual duration reaches the reminder duration, a reminder message is sent that the device is about to be locked.

3. The method according to claim 2, characterized in that After sending a prompt message that the device is about to be locked, the method further includes: Continue to obtain the actual duration of the device from the activation time to the current time; Determine whether the actual duration reaches the effective duration; When the actual duration reaches the effective duration, the device is controlled to enter a locked state.

4. The method according to claim 1, characterized in that: Before determining whether there is a theoretical activation code identical to the actual activation code in the theoretical activation code set, the method further includes: Obtaining an activation code usage record, wherein the activation code usage record includes an activation code that has been used; Determining whether the actual activation code is in the activation code usage record; When the actual activation code is not in the activation code usage record, performing a step of determining whether there is a theoretical activation code identical to the actual activation code in the theoretical activation code set; or; After determining whether there is a theoretical activation code identical to the actual activation code in the theoretical activation code set and before activating the device, the method further includes: Obtaining an activation code usage record, wherein the activation code usage record includes an activation code that has been used; Determining whether the actual activation code is in the activation code usage record; When the actual activation code is not in the activation code usage record, a step of activating the device is performed.

5. The method according to claim 4, characterized in that After activating the device, it also includes: The actual activation code is added to the activation code usage record.

6. A control device for locking an equipment, characterized in that: include: A first acquisition module, configured to acquire an actual activation code input after the device enters a locked state; wherein the actual activation code is provided by a supplier of the device; A second acquisition module is used to acquire a theoretical activation code set of the device; wherein the theoretical activation code set includes at least one theoretical activation code; The device activation module is used to determine whether there is a theoretical activation code identical to the actual activation code in the theoretical activation code set; when there is a theoretical activation code identical to the actual activation code in the theoretical activation code set, activate the device.

7. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the device locking control method according to any one of claims 1 to 5 by executing the computer instructions.

8. A device, characterized in that A computer device comprising the method of claim 7.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the device locking control method according to any one of claims 1 to 5.

10. A computer program product, characterized in that The invention comprises computer instructions, wherein the computer instructions are used to enable a computer to execute the device locking control method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Device activation realizing method and equipment

    CN102446251A

  • A method and system for a low cost integrated connectionless pay-as-you-go device operation with user interface

    WO2015174932A1