Anti-theft method and device for power supply system
By matching the verification key and the anti -theft key in the power system, the anti -theft operation is performed if not matched, solving the problem of high anti -theft design hardware cost and increased complexity in existing technologies, and effective power module anti -theft is realized.
Patent Information
- Application Number
- CN202010933494.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-08
- Publication Date
- 2025-01-28
- Estimated Expiration
- 2040-09-08
AI Technical Summary
In the prior art, when preventing the power module from being stolen, hardware components need to be added, resulting in a higher hardware cost and increased complexity of the anti-theft design.
By obtaining the verification key and anti -theft key to match, the anti -theft operation is performed if not matched, and the problem of anti -theft of power modules without increasing the cost of anti -theft hardware.
No additional anti -theft components are required to reduce the hardware cost and complexity of anti -theft design, while effectively preventing the theft of the power module.
Smart Images

Figure CN114241627B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of power supply systems, and in particular to an anti-theft method and device for a power supply system. Background Art
[0002] With the application of intelligent power electronics technology in power supply systems such as communication power supplies or charging piles, power modules, as core components in communication power supplies and charging piles, are often stolen; if the communication power supply and charging pile are stolen, the communication power supply and charging pile cannot be used normally.
[0003] Taking the communication power supply as an example, in order to prevent the power module in the communication power supply from being stolen, an anti-theft lock is usually added to the cabinet door of the communication power supply, or an anti-theft net is added outside the cabinet door of the communication power supply, or a camera or infrared monitoring device is added to the room where the communication power supply is located, so as to solve the anti-theft problem of the power module. However, this method requires additional components, which will lead to a high hardware cost for the anti-theft design.
[0004] Therefore, how to solve the anti-theft problem of the power module without increasing the hardware cost of the anti-theft design is an urgent problem to be solved by those skilled in the art. Summary of the invention
[0005] The anti-theft method and device for the power system provided in the embodiments of the present application solve the anti-theft problem of the power module without increasing the hardware cost of the anti-theft design.
[0006] In a first aspect, an embodiment of the present application provides an anti-theft method for a power supply system, which is applied to a power supply module, and the power supply module belongs to a first power supply cabinet. The anti-theft method for the power supply system may include:
[0007] Perform the operation of obtaining the verification key.
[0008] If the verification key is obtained, the verification key is matched with the anti-theft key; wherein the anti-theft key is generated based on first preset information, the first preset information includes the identification information of the first power cabinet and / or the license information of the server corresponding to the first power cabinet, and the verification key is generated based on second preset information, the second preset information includes the identification information of the second power cabinet where the power module is currently located and / or the license information of the server corresponding to the second power cabinet.
[0009] If the verification key does not match the anti-theft key, the anti-theft operation is performed.
[0010] It can be seen that in the embodiment of the present application, when determining whether the power module is stolen, first obtain the verification key, which is generated according to the second preset information corresponding to the second power cabinet where the power module is currently located, and match the verification key with the preset anti-theft key, which is generated according to the first preset information corresponding to the first power cabinet to which the power module belongs. If the verification key does not match the anti-theft key, it means that the power module is stolen, and then perform the anti-theft operation. Compared with the anti-theft solution in the prior art, there is no need to add additional anti-theft components, which solves the anti-theft problem of the power module without increasing the hardware cost of the anti-theft design; at the same time, it can also reduce the complexity of the anti-theft design.
[0011] In a possible implementation, the anti-theft method of the power supply system may further include:
[0012] If the verification key is not obtained within the preset time period, it means that the power module has been stolen, and the anti-theft operation is performed. In this way, even if the power module is stolen, the stolen power module cannot work normally and will lose its original performance.
[0013] In a possible implementation, performing the operation of obtaining the verification key may include:
[0014] A first key request message is sent to a monitoring device of the power module, where the first key request message is used to request a verification key.
[0015] The verification key is received from the monitoring device, thereby obtaining the verification key, so that the obtained verification key can be matched with the preset anti-theft key, and it is determined whether to perform the anti-theft operation according to the matching result.
[0016] In a possible implementation, the verification key is generated by the monitoring device according to the identification information of the second power cabinet, or the verification key is generated by the server corresponding to the second power cabinet according to the server's permission information and / or the identification information of the second power cabinet.
[0017] In a possible implementation, receiving the verification key from the monitoring device may include:
[0018] Obtain identification information of the second power cabinet.
[0019] The identification information of the second power cabinet is sent to the monitoring device.
[0020] Receive the verification key from the monitoring device, the verification key is generated by the monitoring device according to the identification information of the second power cabinet, thereby obtaining the verification key, so that the obtained verification key can be matched with the preset anti-theft key, and determine whether to perform the anti-theft operation according to the matching result.
[0021] In a possible implementation, performing the operation of obtaining the verification key may include:
[0022] A second key request message is sent to the server corresponding to the second power cabinet, where the second key request message is used to request a verification key.
[0023] Receive a verification key from the server; the verification key is generated by the server based on the server's license information and / or the identification information of the second power cabinet, thereby obtaining the verification key, so that the obtained verification key can be matched with the preset anti-theft key, and determine whether to perform the anti-theft operation based on the matching result.
[0024] In a possible implementation, performing the operation of obtaining the verification key may include:
[0025] A verification key is generated according to the identification information of the second power cabinet, thereby obtaining the verification key, so that the obtained verification key can be matched with a preset anti-theft key, and whether to perform an anti-theft operation is determined according to the matching result.
[0026] In a possible implementation, before matching the anti-theft key with the anti-theft key, the anti-theft method of the power system may further include:
[0027] Get the anti-theft key.
[0028] In a possible implementation, obtaining the anti-theft key may include:
[0029] The anti-theft key is received from the monitoring device of the power module, thereby obtaining the anti-theft key, which can be used as a basis for judgment, so that the verification key can be matched with the anti-theft key, and whether to perform the anti-theft operation is determined according to the matching result.
[0030] In a possible implementation, the anti-theft key is generated by the monitoring device according to the identification information of the first power cabinet, or the anti-theft key is generated by the server corresponding to the first power cabinet according to the server's permission information and / or the identification information of the first power cabinet.
[0031] In a possible implementation, receiving the anti-theft key from the monitoring device may include:
[0032] Obtain identification information of the first power cabinet.
[0033] The identification information of the first power cabinet is sent to the monitoring device.
[0034] Receive the anti-theft key from the monitoring device. The anti-theft key is generated by the monitoring device according to the identification information of the first power cabinet, thereby obtaining the anti-theft key. The anti-theft key can be used as a basis for judgment, so that the verification key can be matched with the anti-theft key, and whether to perform the anti-theft operation can be determined based on the matching result.
[0035] In a possible implementation, obtaining the preset key may include:
[0036] Receive an anti-theft key from the server corresponding to the first power cabinet; the anti-theft key is generated by the server based on the server's license information and / or the identification information of the first power cabinet, thereby obtaining the anti-theft key, which can be used as a basis for judgment, so that the verification key can be matched with the anti-theft key, and determine whether to perform the anti-theft operation based on the matching result.
[0037] In a possible implementation, obtaining the preset key may include:
[0038] Obtain identification information of the first power cabinet.
[0039] An anti-theft key is generated according to the identification information of the first power cabinet, thereby obtaining the anti-theft key, which can be used as a basis for judgment, so that the verification key can be matched with the anti-theft key, and whether to perform the anti-theft operation is determined according to the matching result.
[0040] In a possible implementation, the anti-theft method of the power supply system may further include:
[0041] Output an alarm message to inform relevant staff that the power module has been stolen.
[0042] In a second aspect, an embodiment of the present application further provides a power module, the power module belongs to a first power cabinet, and the power module may include:
[0043] The processing unit is used to execute an operation of obtaining a verification key.
[0044] If the verification key is obtained, the processing unit is also used to match the verification key with the anti-theft key; wherein the anti-theft key is generated based on first preset information, the first preset information includes the identification information of the first power cabinet and / or the license information of the server corresponding to the first power cabinet, and the verification key is generated based on second preset information, the second preset information includes the identification information of the second power cabinet where the power module is currently located and / or the license information of the server corresponding to the second power cabinet.
[0045] The processing unit is further configured to perform an anti-theft operation if the verification key does not match the anti-theft key.
[0046] In a possible implementation, the processing unit is further configured to perform an anti-theft operation if the verification key is not obtained within a preset time period.
[0047] In a possible implementation, the power module may further include a sending unit and a receiving unit.
[0048] The sending unit is used to send a first key request message to the monitoring device of the power module, where the first key request message is used to request a verification key.
[0049] The receiving unit is used to receive the verification key from the monitoring device.
[0050] In a possible implementation, the verification key is generated by the monitoring device according to the identification information of the second power cabinet, or the verification key is generated by the server corresponding to the second power cabinet according to the server's permission information and / or the identification information of the second power cabinet.
[0051] In a possible implementation, the processing unit is further configured to obtain identification information of the second power cabinet.
[0052] The sending unit is also used to send the identification information of the second power cabinet to the monitoring device.
[0053] The receiving unit is specifically used to receive a verification key from the monitoring device, where the verification key is generated by the monitoring device according to the identification information of the second power cabinet.
[0054] In a possible implementation, the sending unit is further used to send a second key request message to the server corresponding to the second power cabinet, where the second key request message is used to request a verification key.
[0055] The receiving unit is further used to receive a verification key from the server; the verification key is generated by the server according to the server's permission information and / or the identification information of the second power cabinet.
[0056] In a possible implementation manner, the processing unit is specifically configured to obtain identification information of the second power cabinet and generate a verification key according to the identification information of the second power cabinet.
[0057] In a possible implementation, the processing unit is further configured to obtain an anti-theft key.
[0058] In a possible implementation, the receiving unit is further configured to receive an anti-theft key from a monitoring device of the power module.
[0059] In a possible implementation, the anti-theft key is generated by the monitoring device according to the identification information of the first power cabinet, or the anti-theft key is generated by the server corresponding to the first power cabinet according to the server's permission information and / or the identification information of the first power cabinet.
[0060] In a possible implementation, the processing unit is further configured to obtain identification information of the first power cabinet.
[0061] The sending unit is also used to send the identification information of the first power cabinet to the monitoring device.
[0062] The receiving unit is specifically used to receive an anti-theft key from a monitoring device, where the anti-theft key is generated by the monitoring device according to identification information of the first power cabinet.
[0063] In a possible implementation, the receiving unit is further configured to receive an anti-theft key from a server corresponding to the first power cabinet; the anti-theft key is generated by the server according to the server's permission information and / or identification information of the first power cabinet.
[0064] In a possible implementation manner, the processing unit is specifically configured to obtain identification information of the first power cabinet; and generate an anti-theft key according to the identification information of the first power cabinet.
[0065] In a possible implementation, the power module may further include an output unit.
[0066] The output unit is used to output alarm information.
[0067] In a third aspect, an embodiment of the present application further provides a power supply module, which includes a processor and a memory, wherein the memory stores a computer program, and the processor executes the computer program stored in the memory so that the power supply module performs the anti-theft method for the power supply system as described in any possible implementation method of the first aspect above.
[0068] In a fourth aspect, an embodiment of the present application further provides a power supply module, which may include: a processor and an interface circuit.
[0069] The interface circuit is used to receive code instructions and transmit them to the processor.
[0070] The processor is used to run the code instructions to execute the anti-theft method for the power supply system as described in any possible implementation manner of the first aspect above.
[0071] In a fifth aspect, an embodiment of the present application further provides a chip having a computer program stored thereon, and when the computer program is executed by a processor, the anti-theft method for a power supply system described in any possible implementation of the first aspect above is executed.
[0072] In the sixth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium. When the instructions are executed on the power module, the power module executes the anti-theft method for the power system described in any possible implementation method of the first aspect above.
[0073] It can be seen that the anti-theft method and device for the power supply system provided in the embodiment of the present application, when determining whether the power module has been stolen, first obtains a verification key, the verification key is generated based on second preset information including identification information of the second power cabinet where the power module is currently located and / or permission information of the server corresponding to the second power cabinet, and matches the obtained verification key with a preset anti-theft key, the preset anti-theft key is generated based on first preset information including identification information of the first power cabinet to which the power module belongs and / or permission information of the server corresponding to the first power cabinet, if the currently obtained verification key does not match the anti-theft key, it means that the power module has been stolen, and then an anti-theft operation is performed. Compared with the anti-theft solution in the prior art, there is no need to add additional anti-theft components, so that the anti-theft problem of the power module is solved without increasing the hardware cost of the anti-theft design. BRIEF DESCRIPTION OF THE DRAWINGS
[0074] Figure 1 A schematic diagram of a flow chart of an anti-theft method for a power system provided in an embodiment of the present application;
[0075] Figure 2 A flowchart of another anti-theft method for a power system provided in an embodiment of the present application;
[0076] Figure 3 A flowchart of another anti-theft method for a power system provided in an embodiment of the present application;
[0077] Figure 4 A schematic diagram of a flow chart of an anti-theft method for a power system provided in an embodiment of the present application;
[0078] Figure 5 A flowchart of another anti-theft method for a power system provided in an embodiment of the present application;
[0079] Figure 6 A flowchart of another anti-theft method for a power system provided in an embodiment of the present application;
[0080] Figure 7 A schematic diagram of the structure of a power module provided in an embodiment of the present application;
[0081] Figure 8 A schematic diagram of the structure of another power module provided in an embodiment of the present application. DETAILED DESCRIPTION
[0082] The anti-theft method for the power supply system provided in the embodiment of the present application can be applied to the anti-theft scenario of the power supply system, and can also be applied to other similar scenarios where it is necessary to detect whether the position of the power module in the power supply system has changed. When describing the technical solution later, the embodiment of the present application will be explained using the anti-theft scenario applied to the power supply system as an example, but it does not mean that the embodiment of the present application is limited to this.
[0083] In the embodiments of the present application, "at least one" means one or more, and "more" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. In the text description of the present application, the character " / " generally indicates that the associated objects before and after are in an "or" relationship.
[0084] In the power supply system, the power module is a core component in the power supply and backup scenarios such as communication power supply and charging pile, and there is often the phenomenon of theft. It can be understood that the power supply and backup scenarios mentioned in the embodiments of the present application include power supply scenarios in addition to backup power scenarios, wherein the power module includes a backup power module with an energy storage unit in addition to traditional AC / DC, DC / DC, AC / AC, DC\AC and other power conversion modules. Taking the communication power supply as an example, in order to prevent the power module in the communication power supply from being stolen, an anti-theft lock is usually added to the cabinet door of the communication power supply, or an anti-theft net is added outside the cabinet door of the communication power supply, or a camera or infrared monitoring device is added to the machine room where the communication power supply is located, so as to solve the anti-theft problem of the power module. However, in this way, due to the need to add additional components, the hardware cost of the anti-theft design will be higher. Therefore, how to solve the anti-theft problem of the power module without increasing the complexity of the anti-theft design is a problem that needs to be solved by technicians in this field.
[0085] In order to solve the anti-theft problem of the power module without increasing the hardware cost of the anti-theft design, an easy-to-think-of solution is to perform communication binding between the power modules, or between the power module and the monitoring device, so as to solve the anti-theft problem of the power module without increasing the complexity of the anti-theft design. However, with this technical solution, since the power module or the monitoring device are both easy-to-plug and easy-to-replace modules, and the probability of being stolen at the same time is high, once they are stolen at the same time and used together after being stolen, they will be naturally unlocked, making it difficult to achieve a true anti-theft effect.
[0086] Based on the above description, when determining whether the power module has been stolen, since the power cabinet where the power module is located and the server corresponding to the power cabinet are both devices that are not easy to move or replace, a preset anti-theft key can be generated based on the identification information of the first power cabinet to which the power module belongs and / or the license information of the server corresponding to the first power cabinet, and used as the basis for determining whether the power module has been stolen. Based on this technical concept, an embodiment of the present application provides an anti-theft method for a power system, for example, see Figure 1 As shown, Figure 1 A flowchart of an anti-theft method for a power system provided in an embodiment of the present application, the anti-theft method for a power system may include:
[0087] S101. First, execute the operation of obtaining the verification key; S102. Determine whether the verification key is obtained; S103. If the verification key is obtained, match the verification key with the preset anti-theft key. The anti-theft key is generated based on the first preset information including the identification information of the first power cabinet and / or the license information of the server corresponding to the first power cabinet, and the verification key is generated based on the second preset information including the identification information of the second power cabinet where the power module is currently located and / or the license information of the server corresponding to the second power cabinet; S104. If the obtained verification key does not match the anti-theft key, perform the anti-theft operation; S105. If the verification key is not obtained within the preset time period, perform the anti-theft operation as well.
[0088] It should be noted that, in the embodiment of the present application, the first preset information may include the identification information of the first power cabinet and / or the license information of the server corresponding to the first power cabinet, and the second preset information may include the identification information of the second power cabinet and / or the license information of the server corresponding to the second power cabinet. However, it does not mean that the embodiment of the present application is limited to this. For example, the identification information of the power cabinet can be at least one of the electronic label, production serial number, or coded identification information of the power cabinet, as long as the power cabinet can be uniquely identified. Here, the embodiment of the present application is only described by taking the identification information of the power cabinet as at least one of the electronic label, production serial number, or coded identification information of the power cabinet, but it does not mean that the embodiment of the present application is limited to this. The preset time period can be 24 hours, or 30 hours. Of course, it can also be other time periods. It can be set according to actual needs. Here, the specific duration of the preset time period is not further limited by the embodiment of the present application.
[0089] It can be understood that in the embodiment of the present application, the verification key matches the preset anti-theft key, which can be understood as the verification key being the same as the anti-theft key, or it can be understood as the verification key being different from the anti-theft key, but having a certain correlation, which can specifically include the following three situations.
[0090] In one case, when both the verification key and the anti-theft key are generated according to the identification information of the power cabinet, the verification key and the anti-theft key being the same can be understood as the verification key and the anti-theft key matching. In this case, the verification key and the anti-theft key matching indicates that the second power cabinet where the power module is currently located and the first power cabinet to which it belongs are the same power cabinet. In another case, when both the verification key and the anti-theft key are generated according to the license information of the server corresponding to the power cabinet, the verification key and the anti-theft key being the same can be understood as the verification key and the anti-theft key matching; in this case, the verification key and the anti-theft key matching indicates that the second power cabinet where the power module is currently located and the first power cabinet to which it belongs correspond to the network management server of the same user, the power module has not been stolen, and the anti-theft operation is not performed; in another case, when both the verification key and the anti-theft key are generated according to the identification information of the power cabinet and the license information of the server corresponding to the power cabinet, the verification key and the anti-theft key being the same can be understood as the verification key and the anti-theft key matching; or, the verification key having a certain association relationship can also be understood as the verification key and the anti-theft key matching. In this case, the verification key and the anti-theft key are the same, indicating that the second power cabinet where the power module is currently located is the same power cabinet as the first power cabinet to which it belongs; the verification key and the anti-theft key have a certain correlation, for example, the identification of the power cabinet is different, but the license information of the corresponding server is the same, indicating that although the second power cabinet where the power module is currently located is not the same power cabinet as the first power cabinet to which it belongs, they correspond to the same network management server, and the power module has not been stolen, but has been replaced with a different power cabinet. No anti-theft operation is performed or only an alarm prompt is issued.
[0091] After fully understanding the concept of matching, if the obtained verification key does not match the pre-set anti-theft key, it means that the power module has been stolen, and the anti-theft operation is performed. For example, the anti-theft operation can be to turn off the power output, or reduce the power performance, so that even if the power module is stolen, the stolen power module cannot work normally and will lose its original performance. In addition, after determining that the power module has been stolen, the corresponding alarm information can be output to notify relevant staff that the power module has been stolen. On the contrary, if the obtained verification key matches the pre-set anti-theft key, it means that the power module has not been stolen, and the original performance of the power module can be maintained.
[0092] It can be seen that the anti-theft method of the power supply system provided in the embodiment of the present application, when determining whether the power module is stolen, first obtains a verification key, the verification key is generated based on second preset information including identification information of the second power cabinet where the power module is currently located and / or permission information of the server corresponding to the second power cabinet, and matches the obtained verification key with a preset anti-theft key, the preset anti-theft key is generated based on first preset information including identification information of the first power cabinet to which the power module belongs and / or permission information of the server corresponding to the first power cabinet, if the currently obtained verification key does not match the anti-theft key, it means that the power module is stolen, and then the anti-theft operation is performed. Compared with the anti-theft solution in the prior art, there is no need to add additional anti-theft components, so that the anti-theft problem of the power module is solved without increasing the hardware cost of the anti-theft design. In addition, the complexity of the anti-theft design can also be reduced.
[0093] It should be noted that, in the embodiment of the present application, when the power module performs the operation of obtaining the verification key, the verification key can be obtained through at least five possible implementation methods, and the five possible implementation methods can be referred to as follows:
[0094] In a first possible implementation method, the power module can request a verification key from a server corresponding to a second power cabinet where the power module is currently located through a monitoring device of the power module. After the server corresponding to the second power cabinet generates a verification key, the verification key is sent to the power module through the monitoring device, so that the power module obtains the verification key.
[0095] In a second possible implementation, different from the first possible implementation mentioned above, the power module does not request the verification key from the server corresponding to the second power cabinet where the power module is currently located through the monitoring device of the power module, but directly sends a second key request message to the server corresponding to the second power cabinet where the power module is currently located to request the verification key. After the server corresponding to the second power cabinet generates a verification key based on the server's license information and / or the identification information of the second power cabinet, the verification key is sent to the power module to enable the power module to obtain the verification key.
[0096] In a third possible implementation method, the power module can send a first key request message to the monitoring device of the power module to request a verification key. The monitoring device directly obtains the identification information of the second power cabinet where the power module is currently located, and generates a verification key based on the identification information of the second power cabinet obtained by itself. The verification key is then sent to the power module so that the power module obtains the verification key.
[0097] In a fourth possible implementation, different from the third possible implementation mentioned above, in addition to sending a first key request message to the monitoring device of the power module to request a verification key, the power module also sends to the monitoring device the identification information of the second power cabinet where the power module is currently located. After the monitoring device generates a verification key based on the identification information of the second power cabinet sent by the power module, the monitoring device sends the verification key to the power module so that the power module obtains the verification key.
[0098] In the fifth possible implementation method, different from the above four possible implementation methods, when obtaining the verification key, the power module does not need to interact with the server corresponding to the second power cabinet where the power module is currently located and the monitoring device of the power module, but directly obtains the identification information of the second power cabinet and generates a verification key based on the identification information of the second power cabinet, thereby obtaining the verification key.
[0099] It can be seen that in the first possible implementation and the second possible implementation, the verification key is generated by the server corresponding to the second power cabinet where the power module is currently located, in the third possible implementation and the fourth possible implementation, the verification key is generated by the monitoring device of the power module, and in the fifth possible implementation, the verification key is generated by the power module itself. It should be noted that in the embodiment of the present application, when performing the operation of obtaining the verification key, only the above five possible implementations are used as examples for illustration, but it does not mean that the embodiment of the present application is limited to this; in addition, for the five possible implementations recorded above, the embodiment of the present application only distinguishes the possible implementations with the description of "the first possible implementation, the second possible implementation, the third possible implementation, the fourth possible implementation, and the fifth possible implementation", instead of limiting the implementation order of the above five possible implementations.
[0100] After obtaining the verification key through the above five possible implementation methods, the obtained verification key can be matched with the preset anti-theft key, and whether to perform the anti-theft operation can be determined based on the matching result. It is not difficult to understand that before matching the obtained verification key with the preset anti-theft key, the anti-theft key needs to be obtained first. It should be noted that in the embodiment of the present application, when the power module obtains the anti-theft key, it can also obtain the anti-theft key through at least five possible implementation methods. The five possible implementation methods can be referred to as follows:
[0101] In a first possible implementation method, the server corresponding to the first power cabinet to which the power module belongs obtains the identification information of the first power cabinet through the monitoring device of the power module, and generates an anti-theft key based on its license information and the identification information of the first power cabinet, and sends the generated anti-theft key to the power module through the monitoring device, so that the power module obtains the anti-theft key.
[0102] In a second possible implementation, different from the first possible implementation mentioned above, the server corresponding to the first power cabinet to which the power module belongs does not send the anti-theft key to the power module through the monitoring device, but after generating the anti-theft key based on its license information and / or the identification information of the first power cabinet to which the power module belongs, the server directly sends the generated anti-theft key to the power module, so that the power module obtains the anti-theft key.
[0103] In a third possible implementation, the monitoring device directly obtains the identification information of the first power cabinet to which the power module belongs, generates an anti-theft key based on the identification information of the first power cabinet obtained, and then sends the anti-theft key to the power module so that the power module obtains the anti-theft key.
[0104] In the fourth possible implementation, which is different from the third possible implementation mentioned above, the monitoring device does not directly obtain the identification information of the first power cabinet to which the power module belongs, but obtains the identification information of the first power cabinet through the power module, that is, the power module needs to send the identification information of the first power cabinet to the monitoring device. After the monitoring device generates an anti-theft key based on the received identification information of the first power cabinet, the monitoring device sends the anti-theft key to the power module, so that the power module obtains the anti-theft key.
[0105] In the fifth possible implementation method, different from the above four possible implementation methods, when obtaining the anti-theft key, the power module does not need to interact with the server corresponding to the first power cabinet to which the power module belongs and the monitoring device of the power module, but directly obtains the identification information of the first power cabinet, and generates an anti-theft key based on the identification information of the first power cabinet, thereby obtaining the anti-theft key.
[0106] It can be seen that in the first possible implementation and the second possible implementation, the anti-theft key is generated by the server corresponding to the first power cabinet to which the power module belongs, in the third possible implementation and the fourth possible implementation, the anti-theft key is generated by the monitoring device of the power module, and in the fifth possible implementation, the anti-theft key is generated by the power module itself. It should be noted that in the embodiment of the present application, when obtaining the anti-theft key, only the above five possible implementations are used as examples for explanation, but it does not mean that the embodiment of the present application is limited to this; in addition, for the five possible implementations recorded above, the embodiment of the present application only distinguishes the possible implementations with the description of "the first possible implementation, the second possible implementation, the third possible implementation, the fourth possible implementation, and the fifth possible implementation", instead of limiting the implementation order of the above five possible implementations.
[0107] Regarding the above-mentioned five possible implementation methods of obtaining the verification key and the five possible implementation methods of obtaining the anti-theft key, it should be noted that there is no one-to-one correspondence between the above-mentioned five possible implementation methods of obtaining the verification key and the above-mentioned five possible implementation methods of obtaining the anti-theft key, but they can be combined arbitrarily, and the results of any combination can be applied to the technical solution of the anti-theft method of the power supply system provided in the embodiment of the present application.
[0108] Below, the technical solution of the anti-theft method for the power supply system provided in the embodiment of the present application will be described by taking the first possible implementation method as an example, obtaining the anti-theft key and obtaining the verification key by the first possible implementation method, obtaining the anti-theft key and obtaining the verification key by the second possible implementation method, obtaining the anti-theft key and obtaining the verification key by the third possible implementation method, obtaining the anti-theft key and obtaining the verification key by the fourth possible implementation method, and this fifth possible combination as an example, but it does not mean that the embodiment of the present application is limited to this. It can be understood that the following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
[0109] Combined with the first combination method mentioned above, that is, using the first possible implementation method mentioned above to obtain the anti-theft key and using the first possible implementation method mentioned above to obtain the verification key, in this combination method, the server corresponding to the first power cabinet generates an anti-theft key, and sends the generated anti-theft key to the power module through the monitoring device, and the server corresponding to the second power cabinet generates a verification key, and sends the generated verification key to the power module through the monitoring device; the power module determines whether the power module is stolen based on the obtained verification key and the preset anti-theft key. In this scenario, the server corresponding to the first power cabinet and the server corresponding to the second power cabinet can both communicate bidirectionally with the monitoring device, and the monitoring device can also communicate bidirectionally with the power module. For examples, please refer to Figure 2 As shown, Figure 2 This is a flowchart of another anti-theft method for a power system provided in an embodiment of the present application. The anti-theft method for a power system can be executed by software and / or hardware devices. For example, the hardware device can be a power module, and the power module belongs to the first power cabinet. Figure 2 As shown, the anti-theft method of the power supply system may include:
[0110] S201. A server corresponding to a first power cabinet to which a power module belongs obtains identification information of the first power cabinet through a monitoring device of the power module, and generates an anti-theft key according to its permission information and the identification information of the first power cabinet.
[0111] When determining to start the anti-theft function of the power module, the server corresponding to the first power cabinet to which the power module belongs can request the identification information of the first power cabinet from the monitoring device of the power module. After receiving the request, the monitoring device can query the identification information of the first power cabinet, and send the queried identification information of the first power cabinet to the server corresponding to the first power cabinet, so that the server corresponding to the first power cabinet can generate an anti-theft key according to its own license information and the identification information of the first power cabinet after receiving the identification information of the first power cabinet.
[0112] When generating an anti-theft key, the server corresponding to the first power cabinet can use a preset encryption algorithm to calculate its license information and the identification information of the first power cabinet to generate an anti-theft key for the power module. Of course, after receiving the identification information of the first power cabinet sent by the monitoring device, the server corresponding to the first power cabinet can also calculate and generate the anti-theft key based only on the identification information of the first power cabinet. The specific setting can be made according to actual needs. Here, the embodiment of the present application only takes the example of the server corresponding to the first power cabinet generating the anti-theft key based on its license information and the identification information of the first power cabinet for explanation, but it does not mean that the embodiment of the present application is limited to this.
[0113] After the anti-theft key is generated, the server corresponding to the first power cabinet can send the generated anti-theft key to the power module through the monitoring device, that is, execute the following S202-203:
[0114] S202: The server corresponding to the first power cabinet sends the generated anti-theft key to the monitoring device.
[0115] S203: The monitoring device forwards the anti-theft key to the power module.
[0116] S204: The power module stores the anti-theft key.
[0117] After receiving the anti-theft key forwarded by the monitoring device, the power module stores the anti-theft key, so that when determining whether the power module is stolen later, the anti-theft key can be used as a basis for determination.
[0118] When it is necessary to verify whether the power module is stolen, for example, when it is detected that the power module is powered off and then powered on, it is necessary to determine whether the power module is stolen, and then it is necessary to obtain a verification key, so that the verification key can be matched with a pre-stored anti-theft key to determine whether the power module is stolen. When obtaining the verification key, the power module can first send a first key request message to the monitoring device of the power module to request the verification key, that is, execute the following S205:
[0119] S205. The power module sends a first key request message to the monitoring device of the power module.
[0120] The first key request message is used to request a verification key.
[0121] S206. The monitoring device forwards the first key request message to a server corresponding to the second power cabinet where the power module is currently located.
[0122] After receiving the first key request message for requesting the verification key, the monitoring device forwards the first key request message to the server corresponding to the second power cabinet where the power module is currently located, so as to request the server corresponding to the second power cabinet to generate a verification key. After receiving the first key request, the server corresponding to the second power cabinet obtains the identification information of the second power cabinet where the power module is currently located through the monitoring device, that is, the server corresponding to the second power cabinet can request the identification information of the second power cabinet from the monitoring device of the power module. After receiving the request, the monitoring device can query the identification information of the second power cabinet, and send the queried identification information of the second power cabinet to the server corresponding to the second power cabinet, so that the server corresponding to the second power cabinet can generate a verification key according to its own license information and the identification information of the second power cabinet after receiving the identification information of the second power cabinet, that is, execute the following S207:
[0123] S207: The server corresponding to the second power cabinet obtains the identification information of the second power cabinet through the monitoring device, and generates a verification key according to the identification information of the second power cabinet and the server corresponding to the second power cabinet.
[0124] When generating a verification key, the server corresponding to the second power supply cabinet can use a preset encryption algorithm to calculate its license information and the identification information of the second power supply cabinet to generate a verification key. It can be understood that the preset encryption algorithm used to generate the verification key here should be consistent with the preset encryption algorithm used to generate the anti-theft key in 201 above, so that when the verification key is matched with the anti-theft key, the accuracy of the matching result can be guaranteed. Of course, after receiving the identification information of the second power supply cabinet sent by the monitoring device, the server corresponding to the second power supply cabinet can also calculate and generate the verification key only based on the identification information of the second power supply cabinet. It can be set according to actual needs. Here, the embodiment of the present application only takes the example of the server corresponding to the second power supply cabinet generating a verification key based on its license information and the identification information of the second power supply cabinet, but it does not mean that the embodiment of the present application is limited to this.
[0125] After the verification key is generated, the server corresponding to the second power cabinet can send the generated verification key to the power module through the monitoring device, that is, execute the following S208-209:
[0126] S208. The server corresponding to the second power cabinet sends the generated verification key to the monitoring device.
[0127] S209: The monitoring device forwards the verification key to the power module.
[0128] S210: The power module matches the verification key with the anti-theft key.
[0129] After receiving the verification key forwarded by the monitoring device, the power module can match the verification key with the pre-stored anti-theft key. If the verification key matches the pre-stored anti-theft key, it means that the power module has not been stolen, and the original performance of the power module can be maintained. On the contrary, if the verification key does not match the pre-stored anti-theft key, the following S211 is executed.
[0130] S211. If the verification key does not match the anti-theft key, the power module performs an anti-theft operation.
[0131] If the verification key does not match the pre-stored anti-theft key, it means that the power module has been stolen. In this way, the power output can be turned off or the power performance can be reduced. In this way, even if the power module is stolen, the stolen power module cannot work normally and will lose its original performance.
[0132] It can be seen that in the embodiment of the present application, when determining whether the power module has been stolen, the power module obtains the verification key generated by the server corresponding to the second power cabinet where it is currently located according to its identification information and the identification information of the second power cabinet, and matches the verification key with the pre-stored anti-theft key. If the currently obtained verification key does not match the anti-theft key, it means that the power module has been stolen, and the anti-theft operation is performed. Compared with the anti-theft solution in the prior art, there is no need to add additional anti-theft components, which solves the anti-theft problem of the power module without increasing the hardware cost of the anti-theft design; at the same time, it can also reduce the complexity of the anti-theft design.
[0133] Combined with the second combination method mentioned above, that is, the power module adopts the second possible implementation method mentioned above to obtain the anti-theft key and adopts the second possible implementation method mentioned above to obtain the verification key. In this combination method, the server corresponding to the first power cabinet generates an anti-theft key and sends the generated anti-theft key to the power module, and the server corresponding to the second power cabinet generates a verification key and sends the generated verification key to the power module; the power module determines whether the power module is stolen based on the obtained verification key and the preset anti-theft key. In this scenario, the server corresponding to the first power cabinet and the server corresponding to the second power cabinet can both communicate bidirectionally with the power module. For examples, please refer to Figure 3 As shown, Figure 3 A flow chart of another anti-theft method for a power supply system provided in an embodiment of the present application, the anti-theft method for the power supply system can be executed by software and / or hardware devices. For example, the hardware device can be a power module, and the power module belongs to the first power cabinet.
[0134] See also Figure 3 As shown, the anti-theft method of the power supply system may include:
[0135] S301. A server corresponding to a first power cabinet to which a power module belongs generates an anti-theft key according to its permission information.
[0136] When determining to start the anti-theft function of the power module, Figure 2What is different from the embodiment shown is that the server corresponding to the first power cabinet does not need to request the identification information of the first power cabinet from the monitoring device of the power module, but directly generates an anti-theft key based on its license information. When generating the anti-theft key, the server corresponding to the first power cabinet can use a preset encryption algorithm to calculate its license information, thereby generating an anti-theft key for the power module. Of course, the server corresponding to the first power cabinet can also generate an anti-theft key based on its license information and the identification information of the first power cabinet, or generate an anti-theft key only based on the identification information of the first power cabinet. The specific implementation method can be found in the relevant description in S201 above. Here, the embodiment of the present application is only explained by taking the server corresponding to the first power cabinet generating an anti-theft key based on its license information as an example, but it does not mean that the embodiment of the present application is limited to this.
[0137] After the anti-theft key is generated, the server corresponding to the first power cabinet may send the generated anti-theft key to the power module, that is, execute the following S302:
[0138] S302: The server corresponding to the first power cabinet sends the generated anti-theft key to the power module.
[0139] S303: The power module stores the anti-theft key.
[0140] After receiving the anti-theft key forwarded by the monitoring device, the power module stores the anti-theft key, so that when determining whether the power module is stolen later, the anti-theft key can be used as a basis for determination.
[0141] When it is necessary to verify whether the power module has been stolen, for example, when it is detected that the power module has been powered off and then powered on, it is necessary to determine whether the power module has been stolen, and then it is necessary to obtain a verification key, so that the verification key can be matched with a pre-stored anti-theft key to determine whether the power module has been stolen. When obtaining the verification key, the power module can first send a second key request message to the server corresponding to the second power cabinet where the power module is currently located, for requesting the verification key, that is, executing the following S304:
[0142] S304. The power module sends a second key request message to the server corresponding to the second power cabinet.
[0143] The second key request message is used to request a verification key.
[0144] S305. The server corresponding to the second power cabinet generates a verification key according to its license information.
[0145] After receiving the second key request message for requesting the verification key, the server corresponding to the second power supply cabinet can generate a verification key according to its license information. When generating the verification key, the server corresponding to the second power supply cabinet can use a preset encryption algorithm to calculate its license information to generate a verification key. It can be understood that the preset encryption algorithm used to generate the verification key here should be consistent with the preset encryption algorithm used to generate the anti-theft key in 301 above, so that when the verification key is matched with the anti-theft key, the accuracy of the matching result can be guaranteed. Of course, the server corresponding to the second power supply cabinet can also generate a verification key according to its license information and the identification information of the second power supply cabinet, or only generate an anti-theft key according to the identification information of the second power supply cabinet. The specific implementation method can refer to the relevant description in S207 above. Here, the embodiment of the present application is only described by taking the server corresponding to the second power supply cabinet generating a verification key according to its license information as an example, but it does not mean that the embodiment of the present application is limited to this.
[0146] After the verification key is generated, the server corresponding to the second power cabinet may send the generated verification key to the power module, that is, execute the following S306:
[0147] S306. The server corresponding to the second power cabinet sends the generated verification key to the power module.
[0148] S307: The power module matches the verification key with the anti-theft key.
[0149] After receiving the verification key, the power module can match the verification key with the pre-stored anti-theft key. If the verification key matches the pre-stored anti-theft key, it means that the power module has not been stolen, and the original performance of the power module can be maintained. On the contrary, if the verification key does not match the pre-stored anti-theft key, the following S308 is executed:
[0150] S308: If the verification key does not match the anti-theft key, the power module performs an anti-theft operation.
[0151] If the verification key does not match the pre-stored anti-theft key, it means that the power module has been stolen. In this way, the power output can be turned off or the power performance can be reduced. In this way, even if the power module is stolen, the stolen power module cannot work normally and will lose its original performance.
[0152] It can be seen that in the embodiment of the present application, when determining whether the power module has been stolen, the power module obtains the verification key generated by the server corresponding to the second power cabinet where it is currently located according to its license information, and matches the verification key with the pre-stored anti-theft key. If the currently obtained verification key does not match the anti-theft key, it means that the power module has been stolen, and the anti-theft operation is performed. Compared with the anti-theft solution in the prior art, there is no need to add additional anti-theft components, which solves the anti-theft problem of the power module without increasing the hardware cost of the anti-theft design; at the same time, it can also reduce the complexity of the anti-theft design.
[0153] Combined with the third combination method mentioned above, that is, the power module adopts the third possible implementation method mentioned above to obtain the anti-theft key and adopts the third possible implementation method mentioned above to obtain the verification key. In this combination method, the monitoring device of the power module generates an anti-theft key and sends the generated anti-theft key to the power module, and the monitoring device of the power module generates a verification key and sends the generated verification key to the power module; the power module determines whether the power module is stolen by combining the obtained verification key and the preset anti-theft key. In this scenario, the monitoring device of the power module can communicate bidirectionally with the power module. For examples, please refer to Figure 4 As shown, Figure 4 This is a flowchart of an anti-theft method for a power system provided in an embodiment of the present application. The anti-theft method for a power system can be executed by software and / or hardware devices. For example, the hardware device can be a power module, and the power module belongs to the first power cabinet. Figure 4 As shown, the anti-theft method of the power supply system may include:
[0154] S401. A monitoring device of a power module obtains identification information of a first power cabinet to which the power module belongs, and generates an anti-theft key according to the identification information of the first power cabinet.
[0155] When determining to start the anti-theft function of the power module, the monitoring device of the power module can directly query the identification information of the first power cabinet and generate an anti-theft key according to the identification information of the first power cabinet. When generating the anti-theft key, the monitoring device of the power module can use a preset encryption algorithm to calculate the identification information of the first power cabinet, thereby generating the anti-theft key of the power module.
[0156] After the anti-theft key is generated, the monitoring device of the power module can send the generated anti-theft key to the power module, that is, execute the following S402:
[0157] S402: The monitoring device of the power module sends the generated anti-theft key to the power module.
[0158] S403: The power module stores the anti-theft key.
[0159] After receiving the anti-theft key sent by the monitoring device, the power module stores the anti-theft key, so that when determining whether the power module is stolen later, the anti-theft key can be used as a basis for determination.
[0160] When it is necessary to verify whether the power module is stolen, for example, when it is detected that the power module is powered off and then powered on, it is necessary to determine whether the power module is stolen, and then it is necessary to obtain a verification key, so that the verification key can be matched with a pre-stored anti-theft key to determine whether the power module is stolen. When obtaining the verification key, the power module can send a first key request message to the monitoring device of the power module to request the verification key, that is, execute the following S404:
[0161] S404: The power module sends a first key request message to a monitoring device of the power module.
[0162] The first key request message is used to request a verification key.
[0163] S405: The monitoring device directly obtains identification information of the second power cabinet where the power module is currently located, and generates a verification key according to the obtained identification information of the second power cabinet.
[0164] After receiving the first key request for requesting the verification key, the monitoring device can directly query the identification information of the second power cabinet and generate a verification key based on the identification information of the second power cabinet. When generating the verification key, the monitoring device of the power module can use a preset encryption algorithm to calculate the identification information of the second power cabinet to generate the verification key. It can be understood that the preset encryption algorithm used to generate the verification key here should be consistent with the preset encryption algorithm used to generate the anti-theft key in 401 above, so that when the verification key is matched with the anti-theft key, the accuracy of the matching result can be guaranteed.
[0165] After the verification key is generated, the monitoring device of the power module can send the generated verification key to the power module, that is, execute the following S406:
[0166] S406: The monitoring device sends the generated verification key to the power module.
[0167] S407: The power module matches the verification key with the anti-theft key.
[0168] After receiving the verification key, the power module can match the verification key with the pre-stored anti-theft key. If the verification key matches the pre-stored anti-theft key, it means that the power module has not been stolen, and the original performance of the power module can be maintained. On the contrary, if the verification key does not match the pre-stored anti-theft key, the following S308 is executed:
[0169] S408: If the verification key does not match the anti-theft key, the power module performs an anti-theft operation.
[0170] If the verification key does not match the pre-stored anti-theft key, it means that the power module has been stolen. In this way, the power output can be turned off or the power performance can be reduced. In this way, even if the power module is stolen, the stolen power module cannot work normally and will lose its original performance.
[0171] It can be seen that in the embodiment of the present application, when determining whether the power module has been stolen, the power module obtains the verification key generated by its monitoring device according to the identification information of the second power cabinet where the power module is currently located, and matches the verification key with the pre-stored anti-theft key. If the currently obtained verification key does not match the anti-theft key, it means that the power module has been stolen, and the anti-theft operation is performed. Compared with the anti-theft solution in the prior art, there is no need to add additional anti-theft components, which solves the anti-theft problem of the power module without increasing the hardware cost of the anti-theft design; at the same time, it can also reduce the complexity of the anti-theft design.
[0172] Combined with the fourth combination method, that is, the power module adopts the fourth possible implementation method to obtain the anti-theft key and adopts the fourth possible implementation method to obtain the verification key. In this combination, the monitoring device of the power module generates an anti-theft key and sends the generated anti-theft key to the power module, and the monitoring device of the power module generates a verification key and sends the generated verification key to the power module; the power module determines whether the power module is stolen by combining the obtained verification key and the preset anti-theft key. In this scenario, the monitoring device of the power module can communicate with the power module in both directions. For examples, please refer to Figure 5 As shown, Figure 5 This is a flowchart of another anti-theft method for a power system provided in an embodiment of the present application. The anti-theft method for a power system can be executed by software and / or hardware devices. For example, the hardware device can be a power module, and the power module belongs to the first power cabinet. Figure 5 As shown, the anti-theft method of the power supply system may include:
[0173] S501. A monitoring device of a power module obtains identification information of a first power cabinet to which the power module belongs through the power module, and generates an anti-theft key according to the identification information of the first power cabinet.
[0174] When determining to start the anti-theft function of the power module, Figure 4The difference between the illustrated embodiments is that the monitoring device does not directly obtain the identification information of the first power cabinet to which the power module belongs, but obtains the identification information of the first power cabinet through the power module, that is, the power module needs to first query and obtain the identification information of the first power cabinet, and send the identification information of the first power cabinet to the monitoring device, and the monitoring device generates an anti-theft key based on the received identification information of the first power cabinet. When generating the anti-theft key, the monitoring device of the power module can use a preset encryption algorithm to calculate the identification information of the first power cabinet, thereby generating the anti-theft key of the power module.
[0175] After the anti-theft key is generated, the monitoring device of the power module can send the generated anti-theft key to the power module, that is, execute the following S502:
[0176] S502: The monitoring device of the power module sends the generated anti-theft key to the power module.
[0177] S503: The power module stores the anti-theft key.
[0178] After receiving the anti-theft key sent by the monitoring device, the power module stores the anti-theft key, so that when determining whether the power module is stolen later, the anti-theft key can be used as a basis for determination.
[0179] When it is necessary to verify whether the power module is stolen, for example, when it is detected that the power module is powered off and then powered on, it is necessary to determine whether the power module is stolen, and then it is necessary to obtain a verification key, so that the verification key can be matched with a pre-stored anti-theft key to determine whether the power module is stolen. When obtaining the verification key, the power module can send a first key request message to the monitoring device of the power module to request the verification key, that is, execute the following S504:
[0180] S504: The power module sends a first key request message to the monitoring device of the power module.
[0181] The first key request message is used to request a verification key.
[0182] After the monitoring device receives the first key request message from the power module for requesting a verification key, it does not directly query and obtain the identification information of the second power cabinet to which the power module belongs, but instead requests the power module to obtain the identification information of the second power cabinet. After receiving the request, the power module obtains the identification information of the second power cabinet.
[0183] S505: The power module obtains identification information of the second power cabinet.
[0184] S506: The power module sends the identification information of the second power cabinet to the monitoring device.
[0185] S507: The monitoring device generates a verification key according to the acquired identification information of the second power cabinet.
[0186] After acquiring the identification information of the second power cabinet, the monitoring device generates a verification key according to the received identification information of the second power cabinet. When generating the verification key, the monitoring device of the power module can use a preset encryption algorithm to calculate the identification information of the second power cabinet, thereby generating a verification key. It can be understood that the preset encryption algorithm used to generate the verification key here should be consistent with the preset encryption algorithm used to generate the anti-theft key in 501 above, so that when the verification key is matched with the anti-theft key, the accuracy of the matching result can be guaranteed.
[0187] After the verification key is generated, the monitoring device of the power module can send the generated verification key to the power module, that is, execute the following S508:
[0188] S508. The monitoring device sends the generated verification key to the power module.
[0189] S509: The power module matches the verification key with the anti-theft key.
[0190] After receiving the verification key, the power module can match the verification key with the pre-stored anti-theft key. If the verification key matches the pre-stored anti-theft key, it means that the power module has not been stolen, and the original performance of the power module can be maintained. On the contrary, if the verification key does not match the pre-stored anti-theft key, the following S508 is executed:
[0191] S510: If the verification key does not match the anti-theft key, the power module performs an anti-theft operation.
[0192] If the verification key does not match the pre-stored anti-theft key, it means that the power module has been stolen. In this way, the power output can be turned off or the power performance can be reduced. In this way, even if the power module is stolen, the stolen power module cannot work normally and will lose its original performance.
[0193] It can be seen that in the embodiment of the present application, when determining whether the power module has been stolen, the power module obtains the verification key generated by its monitoring device according to the identification information of the second power cabinet where the power module is currently located, and matches the verification key with the pre-stored anti-theft key. If the currently obtained verification key does not match the anti-theft key, it means that the power module has been stolen, and the anti-theft operation is performed. Compared with the anti-theft solution in the prior art, there is no need to add additional anti-theft components, which solves the anti-theft problem of the power module without increasing the hardware cost of the anti-theft design; at the same time, it can also reduce the complexity of the anti-theft design.
[0194] Combined with the fifth combination method, that is, the power module uses the fifth possible implementation method to obtain the anti-theft key and the fifth possible implementation method to obtain the verification key. In this combination method, the power module generates an anti-theft key and a verification key, and combines the obtained verification key and the preset anti-theft key to determine whether the power module is stolen. In this scenario, the monitoring device of the power module does not need to interact with the monitoring device or the server. For examples, please refer to Figure 6 As shown, Figure 6 This is a flowchart of another anti-theft method for a power system provided in an embodiment of the present application. The anti-theft method for a power system can be executed by software and / or hardware devices. For example, the hardware device can be a power module, and the power module belongs to the first power cabinet. Figure 6 As shown, the anti-theft method of the power supply system may include:
[0195] S601. The power module obtains identification information of a first power cabinet, and generates an anti-theft key according to the identification information of the first power cabinet.
[0196] When determining to start the anti-theft function of the power module, the power module first queries and obtains the identification information of the first power cabinet, and generates an anti-theft key according to the obtained identification information of the first power cabinet. When generating the anti-theft key, the power module can use a preset encryption algorithm to calculate the identification information of the first power cabinet, thereby generating the anti-theft key of the power module.
[0197] S602: The power module stores the anti-theft key.
[0198] After generating the anti-theft key, the power module stores the anti-theft key, so that when determining whether the power module is stolen later, the anti-theft key can be used as a basis for determination.
[0199] When it is necessary to verify whether the power module is stolen, for example, when it is detected that the power module is powered off and then powered on, it is necessary to determine whether the power module is stolen, and then it is necessary to obtain a verification key, so that the verification key can be matched with a pre-stored anti-theft key to determine whether the power module is stolen. When obtaining the verification key, the power module can directly obtain the identification information of the second power cabinet where the second power module is currently located, and generate the verification key according to the identification information of the second power cabinet, that is, execute the following S603:
[0200] S603: The power module obtains identification information of a second power cabinet where the power module is currently located, and generates a verification key according to the identification information of the second power cabinet.
[0201] The power module first queries and obtains the identification information of the second power cabinet, and generates a verification key based on the obtained identification information of the second power cabinet. When generating the verification key, the power module can use a preset encryption algorithm to calculate the identification information of the second power cabinet, thereby generating a verification key. It can be understood that the preset encryption algorithm used to generate the verification key here should be consistent with the preset encryption algorithm used to generate the anti-theft key in 601 above, so that when the verification key is matched with the anti-theft key, the accuracy of the matching result can be guaranteed.
[0202] S604: The power module matches the verification key with the anti-theft key.
[0203] After the power module generates the verification key, it can match the verification key with the pre-stored anti-theft key. If the verification key matches the pre-stored anti-theft key, it means that the power module has not been stolen, and the original performance of the power module can be maintained. On the contrary, if the verification key does not match the pre-stored anti-theft key, the following S605 is executed:
[0204] S605: If the verification key does not match the anti-theft key, the power module performs an anti-theft operation.
[0205] If the verification key does not match the pre-stored anti-theft key, it means that the power module has been stolen. In this way, the power output can be turned off or the power performance can be reduced. In this way, even if the power module is stolen, the stolen power module cannot work normally and will lose its original performance.
[0206] It can be seen that in the embodiment of the present application, when determining whether the power module has been stolen, the power module generates a verification key based on the identification information of the second power cabinet in which it is currently located, and matches the verification key with the pre-stored anti-theft key. If the verification key currently obtained does not match the anti-theft key, it means that the power module has been stolen, and then the anti-theft operation is performed. Compared with the anti-theft solution in the prior art, there is no need to add additional anti-theft components, and the anti-theft problem of the power module is solved without increasing the hardware cost of the anti-theft design; at the same time, the complexity of the anti-theft design can also be reduced.
[0207] Figure 7 This is a schematic diagram of the structure of a power module 70 provided in an embodiment of the present application. The power module 70 belongs to a first power cabinet. For example, see Figure 7 As shown, the power module 70 may include:
[0208] The processing unit 701 is used to execute an operation of obtaining a verification key.
[0209] If the verification key is obtained, the processing unit 701 is also used to match the verification key with the anti-theft key; wherein the anti-theft key is generated based on first preset information, the first preset information includes the identification information of the first power cabinet and / or the license information of the server corresponding to the first power cabinet, and the verification key is generated based on second preset information, the second preset information includes the identification information of the second power cabinet where the power module 70 is currently located and / or the license information of the server corresponding to the second power cabinet.
[0210] The processing unit 701 is further configured to execute an anti-theft operation if the verification key does not match the anti-theft key.
[0211] Optionally, the processing unit 701 is further configured to perform an anti-theft operation if the verification key is not obtained within a preset time period.
[0212] Optionally, the power module 70 further includes a sending unit 702 and a receiving unit 703 .
[0213] The sending unit 702 is used to send a first key request message to the monitoring device of the power module 70, where the first key request message is used to request a verification key.
[0214] The receiving unit 703 is used to receive a verification key from the monitoring device.
[0215] Optionally, the verification key is generated by the monitoring device according to the identification information of the second power cabinet, or the verification key is generated by the server corresponding to the second power cabinet according to the server's permission information and / or the identification information of the second power cabinet.
[0216] Optionally, the processing unit 701 is further configured to obtain identification information of the second power cabinet.
[0217] The sending unit 702 is further configured to send the identification information of the second power cabinet to the monitoring device.
[0218] The receiving unit 703 is specifically configured to receive a verification key from a monitoring device, where the verification key is generated by the monitoring device according to identification information of the second power cabinet.
[0219] Optionally, the sending unit 702 is further used to send a second key request message to a server corresponding to the second power cabinet, where the second key request message is used to request a verification key.
[0220] The receiving unit 703 is further used to receive a verification key from the server; the verification key is generated by the server according to the permission information of the server and / or the identification information of the second power cabinet.
[0221] Optionally, the processing unit 701 is specifically configured to obtain identification information of the second power cabinet and generate a verification key according to the identification information of the second power cabinet.
[0222] Optionally, the processing unit 701 is further configured to obtain an anti-theft key.
[0223] Optionally, the receiving unit 703 is further configured to receive an anti-theft key from a monitoring device of the power module 70 .
[0224] Optionally, the anti-theft key is generated by the monitoring device according to the identification information of the first power cabinet, or the anti-theft key is generated by the server corresponding to the first power cabinet according to the server's permission information and / or the identification information of the first power cabinet.
[0225] Optionally, the processing unit 701 is further configured to obtain identification information of the first power cabinet.
[0226] The sending unit 702 is further configured to send the identification information of the first power cabinet to the monitoring device.
[0227] The receiving unit 703 is specifically configured to receive an anti-theft key from a monitoring device, where the anti-theft key is generated by the monitoring device according to identification information of the first power cabinet.
[0228] Optionally, the receiving unit 703 is further configured to receive an anti-theft key from a server corresponding to the first power cabinet; the anti-theft key is generated by the server according to the server's permission information and / or identification information of the first power cabinet.
[0229] Optionally, the processing unit 701 is specifically configured to obtain identification information of the first power cabinet; and generate an anti-theft key according to the identification information of the first power cabinet.
[0230] Optionally, the power module 70 also includes an output unit 704 .
[0231] The output unit 704 is used to output warning information.
[0232] The power module 70 shown in the embodiment of the present application can execute the anti-theft method of the power system in the embodiment shown in any of the above-mentioned figures. Its implementation principle and beneficial effects are similar to the implementation principle and beneficial effects of the anti-theft method of the power system, and will not be repeated here.
[0233] Figure 8 This is a schematic diagram of the structure of another power module 80 provided in an embodiment of the present application, for example, see Figure 8As shown, the power module 80 may include a processor 801 and a memory 802, wherein the memory 802 stores a computer program, and the processor 801 executes the computer program stored in the memory 802, so that the power module 80 executes the anti-theft method for the power system in the embodiment shown in any of the above figures, and its implementation principle and beneficial effects are similar to those of the anti-theft method for the power system, and will not be repeated here.
[0234] An embodiment of the present application further provides a power supply module, which may include: a processor and an interface circuit.
[0235] The interface circuit is used to receive code instructions and transmit them to the processor.
[0236] The processor is used to run the code instructions to execute the anti-theft method for the power supply system in the embodiment shown in any of the above figures. Its implementation principle and beneficial effects are similar to the implementation principle and beneficial effects of the anti-theft method for the power supply system, and will not be repeated here.
[0237] An embodiment of the present application also provides a chip having a computer program stored thereon. When the computer program is executed by a processor, the anti-theft method for the power supply system in the embodiment shown in any of the above-mentioned figures is executed. The implementation principle and beneficial effects thereof are similar to those of the anti-theft method for the power supply system, and will not be described in detail here.
[0238] An embodiment of the present application also provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a power module, the power module executes the anti-theft method for the power system in the embodiment shown in any of the above figures. The implementation principle and beneficial effects are similar to those of the anti-theft method for the power system, and will not be repeated here.
[0239] In the above-mentioned embodiments, the processor may be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, and discrete hardware components. The methods, steps, and logic block diagrams disclosed in the embodiments of the present application may be implemented or executed. The general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application may be directly embodied as being executed by a hardware decoding processor, or may be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a mature storage medium in the art such as a random access memory (RAM), a flash memory, a read-only memory (ROM), a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the instructions in the memory and completes the steps of the above-mentioned method in combination with its hardware.
[0240] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0241] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0242] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
Claims
1. A method for preventing theft of a power supply system, characterized in that: Applied to a power module, the power module belongs to a first power cabinet, the method includes: Execute the operation of obtaining the verification key; If the verification key is obtained, the verification key is matched with the anti-theft key; wherein the anti-theft key is generated based on first preset information, the first preset information includes the license information of the server corresponding to the first power cabinet, or the identification information of the first power cabinet and the license information of the server corresponding to the first power cabinet; the verification key is generated based on second preset information, the second preset information includes the license information of the server corresponding to the second power cabinet where the power module is currently located, or the identification information of the second power cabinet and the license information of the server corresponding to the second power cabinet; If the verification key does not match the anti-theft key, an anti-theft operation is performed.
2. The method according to claim 1, characterized in that The method further comprises: If the verification key is not obtained within a preset time period, the anti-theft operation is performed.
3. The method according to claim 1, characterized in that The operation of obtaining the verification key includes: Sending a first key request message to the monitoring device of the power module, where the first key request message is used to request the verification key; The authentication key is received from the monitoring device.
4. The method according to claim 3, characterized in that The verification key is generated by the server corresponding to the second power cabinet according to the license information of the server, or the identification information of the second power cabinet and the license information of the server corresponding to the second power cabinet.
5. The method according to claim 1, characterized in that The operation of obtaining the verification key includes: Sending a second key request message to a server corresponding to the second power cabinet, where the second key request message is used to request the verification key; The verification key is received from the server; the verification key is generated by the server according to the license information of the server, or the identification information of the second power cabinet and the license information of the server corresponding to the second power cabinet.
6. The method according to any one of claims 1 to 5, characterized in that: Before matching the verification key with the anti-theft key, the method further includes: The anti-theft key is obtained.
7. The method according to claim 6, characterized in that The obtaining of the anti-theft key comprises: The anti-theft key is received from a monitoring device of the power module.
8. The method according to claim 7, characterized in that The anti-theft key is generated by the server corresponding to the first power cabinet according to the license information of the server, or the identification information of the first power cabinet and the license information of the server corresponding to the first power cabinet.
9. The method according to claim 6, characterized in that The obtaining of the anti-theft key comprises: The anti-theft key is received from a server corresponding to the first power cabinet; the anti-theft key is generated by the server according to the license information of the server, or the identification information of the first power cabinet and the license information of the server corresponding to the first power cabinet.
10. The method according to any one of claims 1-5, 7-9, characterized in that: The method further comprises: Output warning information.
11. A power module, characterized in that: The power module belongs to the first power cabinet, and the power module includes: A processing unit, configured to execute an operation of obtaining a verification key; If the verification key is obtained, the processing unit is further used to match the verification key with an anti-theft key; wherein the anti-theft key is generated based on first preset information, the first preset information includes the license information of the server corresponding to the first power cabinet, or the identification information of the first power cabinet and the license information of the server corresponding to the first power cabinet; the verification key is generated based on second preset information, the second preset information includes the license information of the server corresponding to the second power cabinet where the power module is currently located, or the identification information of the second power cabinet and the license information of the server corresponding to the second power cabinet; The processing unit is further configured to perform an anti-theft operation if the verification key does not match the anti-theft key.
12. The power module according to claim 11, characterized in that: The processing unit is further configured to execute the anti-theft operation if the verification key is not obtained within a preset time period.
13. The power module according to claim 11, characterized in that: The power module also includes a sending unit and a receiving unit; The sending unit is used to send a first key request message to the monitoring device of the power module, where the first key request message is used to request the verification key; The receiving unit is used to receive the verification key from the monitoring device.
14. The power module according to claim 13, characterized in that: The verification key is generated by the server corresponding to the second power cabinet according to the license information of the server, or the identification information of the second power cabinet and the license information of the server corresponding to the second power cabinet.
15. The power module according to claim 11, characterized in that: The sending unit is further used to send a second key request message to the server corresponding to the second power cabinet, where the second key request message is used to request the verification key; The receiving unit is further used to receive the verification key from the server; the verification key is generated by the server according to the license information of the server, or the identification information of the second power cabinet and the license information of the server corresponding to the second power cabinet.
16. The power module according to any one of claims 11 to 15, characterized in that: The processing unit is further used to obtain the anti-theft key.
17. The power module according to claim 16, characterized in that: The receiving unit is also used to receive the anti-theft key from the monitoring device of the power module.
18. The power module according to claim 17, characterized in that: The anti-theft key is generated by the server corresponding to the first power cabinet according to the license information of the server, or the identification information of the first power cabinet and the license information of the server corresponding to the first power cabinet.
19. The power module according to claim 16, characterized in that: The receiving unit is further used to receive the anti-theft key from the server corresponding to the first power cabinet; the anti-theft key is generated by the server according to the license information of the server, or the identification information of the first power cabinet and the license information of the server corresponding to the first power cabinet.
20. The power module according to any one of claims 11-15, 17-19, characterized in that: The power module also includes an output unit; The output unit is used to output warning information.
21. A power supply device, characterized in that: The power supply device comprises a processor and a memory, wherein the memory stores a computer program, and the processor executes the computer program stored in the memory so that the power supply device executes the anti-theft method for the power supply system according to any one of claims 1 to 10.
22. A power supply device, characterized in that: include: processor and interface circuits; The interface circuit is used to receive code instructions and transmit them to the processor; The processor is used to run the code instructions to execute the anti-theft method for the power supply system according to any one of claims 1 to 10.
23. A computer-readable storage medium having instructions stored therein, characterized in that: When the instruction is executed on the power module, the power module executes the anti-theft method for the power system according to any one of claims 1 to 10.
Citation Information
Patent Citations
Anti-theft solution for a battery system
CN110536778A