Device permission information adjustment method, device, electronic device and storage medium

By automatically matching the first identifier of device tag image recognition and the second identifier of identification encrypted file analysis, automatic adjustment of device permission information is realized, and the problems of extended time and high error rate caused by manual verification in the prior art are solved, and the accuracy and efficiency of adjustment are improved.

CN119203083BActive Publication Date: 2025-04-01HANGZHOU HIKVISION DIGITAL TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411707011.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-26
Publication Date
2025-04-01
Estimated Expiration
2044-11-26

AI Technical Summary

Technical Problem

In the prior art, users need to wait for the management staff to perform manual verification, resulting in a long time to adjust the equipment permission information and prone to errors.

Method used

By obtaining the device permission adjustment instruction, and automatically adjusting the device permission information when the first and second identifiers of the target device match. Among them, the first identifier is obtained from the device tag image through character recognition, and the second identifier is parsed from the identification encrypted file.

Benefits of technology

It shortens the duration of equipment permission information adjustment, improves the accuracy of verification of equipment permission adjustment instructions, and reduces the error rate and labor cost of manual verification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119203083B_ABST
    Figure CN119203083B_ABST
Patent Text Reader

Abstract

The embodiments of the present application provide a method, apparatus, electronic device and storage medium for adjusting device permission information, which relate to the technical field of permission information management, wherein the management server obtains a device permission adjustment instruction, and when the first identifier and the second identifier of the target device indicated by the device permission adjustment instruction match, the device permission information of the target device is adjusted according to the device permission adjustment instruction; wherein the first identifier is obtained by character recognition from the device label image of the target device, and the second identifier is parsed from an identifier encryption file, and the identifier encryption file is exported from the target device by the user through the user client. There is no need for the management staff to verify whether the first identifier and the second identifier are consistent, nor is there a need for the staff to manually return the corresponding permission instruction to the user after verification, and then adjust the user's permissions. Therefore, the time for adjusting the device permission information is shortened, and the accuracy of verifying the device permission adjustment instruction is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of permission information management, and in particular to a method, apparatus, electronic device and storage medium for adjusting device permission information. Background Art

[0002] In order to ensure the security of terminal devices, users are usually given corresponding permissions by setting passwords for terminal devices, binding user accounts, etc. In some scenarios, users can adjust device permission information, for example, resetting device passwords, unbinding devices, etc.

[0003] At present, when a user issues a request to adjust the permissions of a terminal device, the management staff needs to parse the verification information provided by the user to verify whether the current user has the permissions corresponding to the adjustment instruction. If the manual verification is passed, the staff will send the permission information. For example, when a user issues an instruction to reset the device password, the management staff will verify whether the current user has the permission to reset the password of the terminal device. If the manual verification is passed, the staff will send the permission information.

[0004] Since the management staff needs a certain amount of manpower and time to verify, and the staff must manually return the corresponding permission instructions to the user after verification, the user has to wait for a long time, and the manual verification method is prone to errors. Summary of the invention

[0005] The purpose of the embodiments of the present application is to provide a user authority adjustment method, device, electronic device and storage medium to shorten the time for adjusting device authority information and improve the accuracy of verifying device authority adjustment instructions. The specific technical solution is as follows:

[0006] In a first aspect, an embodiment of the present application provides a method for adjusting device permission information, the method comprising:

[0007] Get device permission adjustment instructions;

[0008] When the first identifier and the second identifier of the target device indicated by the device permission adjustment instruction match, adjusting the device permission information of the target device according to the device permission adjustment instruction;

[0009] The first identifier is obtained by character recognition from a device label image of the target device, and the second identifier is obtained by parsing an identifier encrypted file, and the identifier encrypted file is exported from the target device by a user through a user client.

[0010] Optionally, when the first identifier and the second identifier of the target device indicated by the device permission adjustment instruction match, the step of adjusting the device permission information of the target device according to the device permission adjustment instruction includes:

[0011] In response to a device permission adjustment instruction sent by the user client, the device permission information of the target device is adjusted according to the device permission adjustment instruction, wherein the permission adjustment instruction is sent by the user client when it is determined that the first identifier and the second identifier of the target device match.

[0012] Optionally, the device label image includes at least one device identification of the target device;

[0013] The method of determining that the first identifier matches the second identifier includes:

[0014] Determining whether there is a device identification matching the second identification among at least one device identification identified from the device tag image;

[0015] If so, determining that the first identifier and the second identifier of the target device match;

[0016] If not, it is determined that the first identifier and the second identifier of the target device do not match.

[0017] Optionally, the step of adjusting the device permission information of the target device according to the device permission adjustment instruction includes:

[0018] In the case where the device permission adjustment instruction is a password reset instruction, sending a password reset code to the user client, so that the user resets the password based on the password reset code;

[0019] In the case where the device permission adjustment instruction is a device unbinding instruction, the binding relationship between the target device and the user account corresponding to the user client is released.

[0020] Optionally, the user client includes a bill of lading interface;

[0021] The device label image is an image provided by the user through an image capture entry or an upload entry included in the bill of lading interface.

[0022] Optionally, the method further includes:

[0023] Obtain the adjustment result of device permission information;

[0024] If the adjustment result indicates that the device permission information of the target device has failed to be adjusted, in response to a retry instruction and if the first identifier of the target device and the second identifier obtained by re-parsing match, adjusting the device permission information of the target device according to the device permission adjustment instruction;

[0025] The re-parsed second identifier is obtained by parsing an identifier encrypted file that is re-exported by the user from the target device.

[0026] Optionally, the device label image is an image of a label of the target device, the label includes a serial number of the target device, and the second identifier is the serial number of the target device parsed from an identifier encryption file.

[0027] In a second aspect, an embodiment of the present application provides a device permission information adjustment apparatus, the apparatus comprising:

[0028] An instruction acquisition module is used to obtain device permission adjustment instructions;

[0029] A first permission adjustment module, configured to adjust device permission information of the target device according to the device permission adjustment instruction when the first identifier and the second identifier of the target device indicated by the device permission adjustment instruction match;

[0030] The first identifier is obtained by character recognition from a device label image of the target device, and the second identifier is obtained by parsing an identifier encrypted file, and the identifier encrypted file is exported from the target device by a user through a user client.

[0031] Optionally, the first permission adjustment module includes:

[0032] The permission information adjustment submodule is used to respond to the permission adjustment instruction sent by the user client and adjust the device permission information of the target device according to the device permission adjustment instruction, wherein the permission adjustment instruction is sent by the user client when it is determined that the first identifier and the second identifier of the target device match.

[0033] Optionally, the device label image includes at least one device identification of the target device;

[0034] The device also includes:

[0035] a device identification determination module, configured to determine whether there is a device identification matching the second identification among at least one device identification identified from the device tag image;

[0036] A first result determination module, configured to determine that the first identification and the second identification of the target device match, if any;

[0037] The second result determination module is configured to determine that the first identification and the second identification of the target device do not match if the first identification and the second identification of the target device do not match.

[0038] Optionally, the first permission adjustment module includes:

[0039] a password reset submodule, configured to, when the device permission adjustment instruction is a password reset instruction, send a password reset code to the user client, so that the user resets the password based on the password reset code;

[0040] The device unbinding submodule is used to release the binding relationship between the target device and the user account corresponding to the user client when the device permission adjustment instruction is a device unbinding instruction.

[0041] Optionally, the user client includes a bill of lading interface;

[0042] The device label image is an image provided by the user through an image capture entry or an upload entry included in the bill of lading interface.

[0043] Optionally, the device further comprises:

[0044] An adjustment result acquisition module is used to obtain the adjustment result of the device permission information;

[0045] A second permission adjustment module is used to, if the adjustment result indicates that the device permission information of the target device has failed to be adjusted, respond to a retry instruction, and if the first identifier of the target device and the second identifier obtained by re-parsing match, adjust the device permission information of the target device according to the device permission adjustment instruction;

[0046] The re-parsed second identifier is obtained by parsing an identifier encrypted file that is re-exported by the user from the target device.

[0047] Optionally, the device label image is an image of a label of the target device, the label includes a serial number of the target device, and the second identifier is the serial number of the target device parsed from an identifier encryption file.

[0048] In a third aspect, an embodiment of the present application provides an electronic device, including:

[0049] Memory, used to store computer programs;

[0050] The processor is used to implement any method described in the first aspect when executing a program stored in the memory.

[0051] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, any method described in the first aspect is implemented.

[0052] Beneficial effects of the embodiments of the present application:

[0053] In the scheme provided by the embodiment of the present application, the management server can obtain the device permission adjustment instruction, and then adjust the device permission information of the target device according to the device permission adjustment instruction when the first identification and the second identification of the target device indicated by the device permission adjustment instruction match; wherein the first identification is obtained by character recognition from the device label image of the target device, and the second identification is parsed from the identification encryption file, and the identification encryption file is derived from the target device by the user through the user client. In this way, when the management server compares the first identification obtained by character recognition from the device label image and the second identification parsed from the identification encryption file is consistent, the device permission information can be adjusted accordingly, without the need for the management staff to verify whether the first identification and the second identification are consistent, and there is no need to manually return the corresponding permission instruction to the user after the staff verifies, and then adjust the user's rights. Therefore, the time for adjusting the device permission information can be shortened, and the accuracy of verifying the device permission adjustment instruction can be improved. Of course, it is not necessary to achieve all the advantages described above at the same time for implementing any product or method of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other embodiments can also be obtained based on these drawings.

[0055] Figure 1 A flowchart of a method for adjusting device permission information provided in an embodiment of the present application;

[0056] Figure 2 Based on Figure 1 A schematic diagram of a method for determining a match between a first identifier and a second identifier in the illustrated embodiment;

[0057] Figure 3 Based on Figure 1 A schematic diagram of the embodiment shown in which device permission information of a target device is readjusted in response to a retry instruction;

[0058] Figure 4 (a) is based on Figure 1 A schematic diagram of adjusting the permission information of a target device through a management server in the embodiment shown;

[0059] Figure 4(b) is based on Figure 1 Another schematic diagram of adjusting the permission information of the target device through the management server in the embodiment shown;

[0060] Figure 5 Based on Figure 1 A schematic diagram of adjusting the permission information of a target device through the cooperation of a user client and a management server in the embodiment shown;

[0061] Figure 6 A schematic diagram of the structure of a device permission information adjustment apparatus provided in an embodiment of the present application;

[0062] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0063] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field based on the present application belong to the scope of protection of the present application.

[0064] In order to shorten the time for adjusting device permission information and improve the accuracy of verifying device permission adjustment instructions, the embodiments of the present application provide a device permission information adjustment method, apparatus, electronic device, computer-readable storage medium and computer program product. The following first introduces a device permission information adjustment method provided by the embodiments of the present application.

[0065] A device permission information adjustment method provided in an embodiment of the present application can be applied to a management server that needs to adjust the device permission information. The management server is a background system corresponding to the device, which is used to manage the device and provide related services for users when using the device. The device can be an image acquisition device such as a network camera or a network video recorder.

[0066] like Figure 1 As shown, a method for adjusting device permission information includes:

[0067] S101, obtaining a device permission adjustment instruction.

[0068] S102, when the first identifier and the second identifier of the target device indicated by the device permission adjustment instruction match, adjusting the device permission information of the target device according to the device permission adjustment instruction;

[0069] The first identifier is obtained by character recognition from a device label image of the target device, and the second identifier is obtained by parsing an identifier encrypted file, and the identifier encrypted file is exported from the target device by a user through a user client.

[0070] It can be seen that in the scheme provided by the embodiment of the present application, the management server can obtain the device permission adjustment instruction, and then adjust the device permission information of the target device according to the device permission adjustment instruction when the first identifier and the second identifier of the target device indicated by the device permission adjustment instruction match; wherein the first identifier is obtained by character recognition from the device label image of the target device, and the second identifier is parsed from the identifier encryption file, and the identifier encryption file is exported by the user from the target device through the user client. In this way, when the management server compares the first identifier obtained by character recognition from the device label image and the second identifier parsed from the identifier encryption file, the device permission information can be adjusted accordingly, without the need for the management staff to verify whether the first identifier and the second identifier are consistent, and there is no need to manually return the corresponding permission instruction to the user after the staff verifies, and then adjust the user's permissions. Therefore, the time for adjusting the device permission information can be shortened, and the accuracy of verifying the device permission adjustment instruction can be improved.

[0071] In order to ensure the safety of the target device, the corresponding permissions are usually configured for the user by setting the password of the target device, binding the user account, etc. For example, a video viewing password is set to configure the user's permission to play the video in the network video recorder, or a binding relationship between the user and the network video recorder is established to configure the user's permission to manage the network video recorder, etc.

[0072] When a user needs to adjust device permissions, for example, to reset the password for accessing data stored on the target device, or to release the binding relationship between the user and the target device, in order to shorten the time for adjusting device permission information and improve the accuracy of verifying the device permission adjustment instruction, the embodiment of the present application provides a device permission information adjustment method. In step S101, the management server can obtain the device permission adjustment instruction.

[0073] The device permission adjustment instruction can be an instruction that the user can issue when the target device is not bound to a user account or the user account cannot log in to the user client. In the above case, if the user needs to reset the password of the target device or release the binding relationship between the target device and the user account corresponding to the user client, the device permission information adjustment method provided in the embodiment of the present application can be used to achieve this.

[0074] Among them, when the user needs to reset the password of the target device, the device permission adjustment instruction can be a device password reset instruction; when the user needs to release the binding relationship between the target device and the user account, the device permission adjustment instruction can be a device unbinding instruction. This is reasonable and no specific limitation is made here.

[0075] The management server obtains the device permission adjustment instruction. In step S102, when the first identifier and the second identifier of the target device indicated by the device permission adjustment instruction match, the management server adjusts the device permission information of the target device according to the device permission adjustment instruction.

[0076] Since both the first identifier and the second identifier are identifiers that can uniquely identify the target device, for example, they can be unique serial numbers for each target device. Therefore, when the first identifier and the second identifier of the target device match, it indicates that the first identifier obtained by character recognition from the device label image and the second identifier obtained by parsing the encrypted file are consistent, that is, the current user has the authority corresponding to the above-mentioned device authority adjustment instruction, and the management server can adjust the device authority information of the target device.

[0077] The first identifier may be obtained by character recognition from the device label image of the target device, and specifically may be obtained by recognizing the label image of the target device through OCR (Optical Character Recognition) to obtain the corresponding serial number. The label image may be obtained by a user photographing the label of the target device, or may be an image of an electronic version of the label. The label may be set on the surface of the target device by pasting, printing, or spraying when the target device leaves the factory, and is not specifically limited here.

[0078] The second identifier may be obtained by parsing the identifier encryption file, and the identifier encryption file may be exported from the target device by the user through the user client. Specifically, the corresponding serial number, i.e., the second identifier, may be obtained by parsing an XML (Extensible Markup Language) file, and the XML file may be an encrypted serial number file exported from the target device through the user client. For example, a serial number export button is provided on the display interface of the user client, so that after the user clicks the button, the identifier encryption file can be exported.

[0079] Then, the obtained identification encryption file can be sent to the management server through the user client, and the management server can parse it to obtain the character information included therein, and decrypt the character information to obtain the serial number of the target device.

[0080] It can be seen that in this embodiment, when the management server compares the first identifier obtained by character recognition from the device label image and finds that it is consistent with the second identifier parsed from the identifier encryption file, the device permission information can be adjusted accordingly, without the need for the management staff to verify whether the first identifier and the second identifier are consistent, and without the need to manually return the corresponding permission instruction to the user after the staff has verified it, and then adjust the user's permissions. Therefore, the time for adjusting the device permission information can be shortened, and the accuracy of verifying the device permission adjustment instruction can be improved.

[0081] As an implementation manner of an embodiment of the present application, the above-mentioned step of adjusting the device permission information of the target device according to the device permission adjustment instruction when the first identifier and the second identifier of the target device indicated by the device permission adjustment instruction match may include:

[0082] The management server may respond to the device permission adjustment instruction sent by the user client and adjust the device permission information of the target device according to the device permission adjustment instruction.

[0083] The device permission adjustment instruction is sent by the user client when it is determined that the first identifier and the second identifier of the target device match.

[0084] In one embodiment, the user can upload the label image and identification encryption file of the target device to the management server through the user client. The management server obtains the device permission adjustment instruction and can then perform character recognition on the label image and parse the identification encryption file.

[0085] In another embodiment, the character recognition function can be pre-positioned at the front end, that is, the user client performs character recognition on the device label image of the target device to obtain a first identifier, and parses the identifier encryption file exported by the user from the target device through the user client to obtain a second identifier. When it is determined that the first identifier and the second identifier of the target device are consistent, the user is allowed to make a device permission adjustment request, that is, the user client can send a device permission adjustment instruction to the management server, so that the management server responds to the device permission adjustment instruction sent by the user client, and adjusts the device permission information of the target device according to the device permission adjustment instruction.

[0086] It can be seen that in this embodiment, the functions of the user client are optimized so that the user client can directly identify the device label image to obtain the first identification, parse the identification encryption file to obtain the second identification, and send the device permission adjustment instruction to the management server when it is determined that the first identification and the second identification are matched, so that the management server adjusts the device permission information of the target device according to the device permission adjustment instruction. In this way, the management server does not need to identify and parse the device label image and the identification encryption file separately, which reduces the data processing volume of the management server and makes it more convenient for users to operate on the user client.

[0087] As an implementation of the present application, the device label image includes at least one device identification of the target device. Figure 2 As shown, the method of determining that the first identifier and the second identifier match may include:

[0088] S201, determining whether there is a device identification matching the second identification among at least one device identification obtained from the device tag image.

[0089] Since there may be one or more device identifiers on the device label image, when there is only one device identifier on the device label image, the management server can determine whether the device identifier matches the second identifier obtained by parsing the identifier encryption file. In the case where there are multiple device identifiers on the device label image, for example, the multiple device identifiers can be product models, power supply specifications, serial numbers, and QR codes, etc., then it is possible to identify multiple device identifiers from the device label image, including the serial number of the target device. Then the management server can determine whether there is a device identifier among the multiple device identifiers that matches the second identifier obtained by parsing the identifier encryption file. Among them, the second identifier can be the 9-digit serial number of the target device.

[0090] As an implementation method, after the user client obtains the device label image uploaded by the user, the user client identifies the device label image and determines whether there is a device identification that matches a second identification among at least one device identification identified from the device label image, wherein the second identification is obtained by the user client parsing an encrypted identification file exported from the target device.

[0091] As an implementation method, after the user client obtains the device label image uploaded by the user, the device label image can be sent to the management server, which identifies the device label image and determines whether there is a device identification that matches the second identification among the at least one device identification identified from the device label image, wherein the second identification is an identification encrypted file exported from the target device by the user client and sent to the management server, and the management server parses the identification encrypted file.

[0092] S202: If so, determine that the first identifier and the second identifier of the target device match.

[0093] Since the first identifier and the second identifier are both identifiers that can uniquely identify the target device, if there is a device identifier that matches the second identifier among at least one device identifier identified from the device label image, it indicates that the current user has the authority corresponding to the above-mentioned device permission adjustment instruction and can adjust the device permission information of the target device.

[0094] For example, if the device identification obtained by character recognition in the device label image of the target device contains one or more 9-digit serial numbers that are completely repeated with the 9-digit serial numbers obtained by parsing the above XML file, it is determined that the first identification and the second identification of the target device match.

[0095] S203: If not, determine that the first identifier and the second identifier of the target device do not match.

[0096] If there is no device identifier matching the second identifier among the at least one device identifier identified from the device tag image, it indicates that the current user does not have the authority corresponding to the device permission adjustment instruction and cannot adjust the device permission information of the target device.

[0097] For example, if one or more 9-digit serial numbers in the device identification obtained by character recognition in the device label image of the target device are inconsistent with the 9-digit serial numbers obtained by parsing the above XML file, it is determined that the first identification and the second identification of the target device do not match.

[0098] As an implementation mode, if there is no device identifier matching the second identifier among at least one device identifier identified in the device tag image, if the device tag image is identified by a user client, the user client may send a prompt message to inform the user that the device identifier identified in the device tag image is not the device identifier of the same target device as the second identifier obtained by parsing the identifier encryption file, and the user does not have the authority to adjust the permissions of the target device; if the device tag image is identified by a management server, the management server may also send a prompt message to inform the user, which is all reasonable and is not specifically limited here.

[0099] It can be seen that in this embodiment, the user client or the management server can identify multiple device identifications in the device label image, and determine whether there is at least one device identification that matches the second identification among the multiple device identifications. If so, it is determined that the identification is the first identification that matches the second identification; if not, it is determined that the first identification and the second identification do not match. In this way, it can be determined whether the current user has the authority to adjust the permissions of the target device.

[0100] As an implementation of an embodiment of the present application, the step of adjusting the device permission information of the target device according to the device permission adjustment instruction includes:

[0101] When the device permission adjustment instruction is a password reset instruction, the password reset code is sent to the user client so that the user can reset the password based on the password reset code. When the device permission adjustment instruction is a device unbinding instruction, the binding relationship between the target device and the user account corresponding to the user client is released.

[0102] The user can issue a device permission adjustment instruction when the target device is not bound to a user account or the user account cannot log in to the user client, and the management server can respond to the device permission adjustment instruction.

[0103] In one case, the target device is not bound to a user account. For example, the target device may be an image acquisition device, and the user may enter a web page through the access link corresponding to the image acquisition device, and directly view the videos and images captured by the image acquisition device on the web page. If the user is viewing the videos and images captured by the image acquisition device on the web page for the first time, the web page will prompt the user to set a viewing password for viewing the data captured by the image acquisition device. If the user forgets this viewing password later, the user will not be able to view the videos and images captured by the image acquisition device. In this case, the user can issue a password reset instruction, i.e., a device permission adjustment instruction, to reset the viewing password for viewing the data captured by the image acquisition device.

[0104] In another case, the user account cannot log in to the user client. For example, the user account for logging in to the user client corresponding to the target device is the user's mobile phone number or email address. If the user no longer uses the mobile phone number or email address, the user cannot receive verification information such as verification codes through the mobile phone number or email address, and cannot log in to the user client to manage the target device. In this case, the user can issue a device unbinding instruction, i.e., a device permission adjustment instruction, so as to release the binding relationship between the target device and the user account corresponding to the user client when the user account cannot log in to the user client.

[0105] Among them, when the user has reserved password recovery information, for example, the user has pre-set security questions for recovering the original password or reserved contact information for recovering the password, the password can be reset based on the password reset code; when the user has not reserved password recovery information, the password can also be reset based on the password reset code. This is all reasonable and is not specifically limited here.

[0106] As an implementation method, when a user needs to reset the password of a target device, the password reset code provided by the administrator is required to reset the password for the target device. If the user needs to reset the password for logging into the target device or the password for unlocking locked data in the target device, etc., the user can click the password reset button in the user client, and the user client or the administrator server can determine whether the first identifier and the second identifier match, and then obtain the password reset code provided by the administrator if the first identifier and the second identifier match.

[0107] When the first identifier and the second identifier match, the user client exports the password reset file from the target device. After the user client successfully exports the password reset file, the user may be prompted to enter a new password to be configured for the target device, wherein the password reset file is the password reset string required when resetting the password of the target device, and the password reset string is obtained by encrypting a random string by the target device. After the user enters the new password, the user client may send a password reset instruction to the management server to obtain a password reset code.

[0108] After the management server obtains the password reset instruction, it sends the password reset string to the password reset service, so that the password reset service uses the private key to decrypt and obtain the password reset code. The password reset service sends the password reset code to the management server, and the management server sends the password reset code to the user client. Then the user client sends the password reset code and the new password configured by the user for the target device to the target device. The target device can verify whether the password reset code is consistent with the content of the random string. If the verification passes, the password is allowed to be reset.

[0109] As an implementation method, since the target device can currently only be bound to one user account, if the user needs to add a target device that is already bound to a user account to another user account, then the binding relationship between the target device and the currently bound user account needs to be released, otherwise the target device cannot be added to the other user account.

[0110] Therefore, when the user needs to unbind the target device from the user account corresponding to the user client, the user can send a device unbinding instruction in the user client, such as clicking the "Unbind Device" or "Delete Device" button in the user client interface, and then the user client or the management server can determine whether the first identifier and the second identifier match. If they match, the management server will automatically trigger the device unbinding service to unbind the target device from the user account corresponding to the user client, and obtain the device unbinding result according to the unbinding interface.

[0111] It can be seen that in this embodiment, the management server can also provide password reset codes for the target device 24 hours a day, 7 days a week according to password reset instructions during non-working hours, so that the user can reset the password of the target device at any time, and the management server can also unbind the binding relationship between the target device and the user account corresponding to the user client in real time according to the device unbinding instruction, without the user waiting, thereby improving customer satisfaction.

[0112] As an implementation method of the embodiment of the present application, the above-mentioned user client may include a bill of lading interface;

[0113] The device label image may be an image provided by the user through an image capture entry or an upload entry included in the bill of lading interface.

[0114] When the user needs to adjust the device permission information of the target device, the user needs to upload the device label image in the bill of lading interface of the user client so that the label image can be subsequently identified to obtain the first identification of the target device. For example, after the user clicks the "Reset Password" button or the "Unbind Device" button in the permission setting interface of the user client, the user client will jump to the bill of lading interface.

[0115] The user can select the image capture entry in the bill interface, call the camera of the terminal device to which the user client belongs to take a real-time image of the device label of the target device, and thus obtain the real-time device label image of the target device. The user can also select the image upload entry in the bill interface, and select the historical device label image of the target device previously stored in the album of the terminal device to which the user client belongs, where the historical device label image can be the one taken when the user last adjusted the device permission information, or the device label image carried by the target device when it leaves the factory, which is not specifically limited here.

[0116] It can be seen that in this embodiment, the user can upload the device label image of the target device through the image capture entrance or upload entrance included in the bill of lading interface of the user client, so that the user client or the management server can identify the device label image to obtain the first identification, thereby reducing the inability to accurately verify whether the user has the authority to adjust the target device permissions due to human recognition errors.

[0117] As an implementation method of the present application, Figure 3 As shown, the above method may also include:

[0118] S301, obtaining the adjustment result of the device permission information.

[0119] After the management server adjusts the device permission information of the target device according to the device permission adjustment instruction, the adjustment result of the device permission information can be obtained.

[0120] When the device permission adjustment instruction is a password reset instruction, the adjustment result of the device permission information may be a successful password reset or a failed password reset; when the device permission adjustment instruction is a device unbinding instruction, the adjustment result of the device permission information may be a successful device unbinding or a failed device unbinding.

[0121] As an implementation method, the management server can obtain the result of device unbinding according to the state of the unbinding interface. When the first identifier and the second identifier match, the management server triggers the device unbinding service, unbinds the binding relationship between the target device and the user account corresponding to the user client according to the device unbinding instruction, and obtains the unbinding result according to the state of the unbinding interface.

[0122] When the status of the unbinding interface is unbind status information: success, the Interaction type is automatically sent as unbinding Status: approve, that is, the management server obtains the device unbinding result as successful unbinding; when the status of the unbinding interface is unbinding status information: non-success, the Interaction type is automatically sent as device unbinding reject, that is, the management server obtains the device unbinding result as unsuccessful unbinding.

[0123] As an implementation method, the management server may display the acquired adjustment result on the user client to inform the user of the adjustment result corresponding to the device permission adjustment instruction issued by the management server.

[0124] S302, when the adjustment result indicates that the device permission information adjustment of the target device fails, in response to a retry instruction, and when the first identifier of the target device and the second identifier obtained by re-parsing match, adjust the device permission information of the target device according to the device permission adjustment instruction.

[0125] The re-parsed second identifier is obtained by parsing the identifier encrypted file that is re-exported from the target device by the user.

[0126] Since the above-mentioned identification encryption file is exported by the user from the target device through the user client, and the identification encryption file is time-limited, even if the first identification obtained by character recognition of the device label image matches the second identification obtained by parsing the identification encryption file, the second identification may become invalid during the process of adjusting the device permission information by the management server, resulting in the failure of the adjustment of the device permission information.

[0127] If the adjustment result is password reset failure or device unbinding failure, if the user chooses to try to reset the password of the target device again, or to unbind the target device from the user account corresponding to the user client, the user can click the Retry button in the user client.

[0128] In response to a retry instruction issued by the user, the user client or the management server can parse the new identification encryption file exported from the target device to obtain a new second identification. When the user client or the management server determines that the first identification of the target device and the re-parsed second identification match, the management server resets the password of the target device again, or releases the binding relationship between the target device and the user account corresponding to the user client, in accordance with the above-mentioned password reset instruction or device unbinding instruction.

[0129] It can be seen that in this embodiment, when the adjustment result of the acquired device permission information indicates that the adjustment of the device permission information of the target device has failed, the identification encryption file can be re-exported from the target device and parsed to obtain a new second identification. When the first identification of the target device and the re-parsed second identification match, the device permission information of the target device is adjusted according to the device permission adjustment instruction, thereby improving the accuracy of verifying whether the user has the authority corresponding to the adjustment instruction.

[0130] As an implementation of an embodiment of the present application, the device label image is an image of a label of the target device, the label includes the serial number of the target device, and the second identifier is the serial number of the target device parsed from the identifier encryption file.

[0131] Since the serial number of the target device can uniquely identify each target device, the serial number of the target device is obtained as the first identification by identifying the image of the label of the target device, and the serial number of the target device is obtained as the second identification by parsing the identification encryption file. In this way, by comparing the two serial numbers obtained in different ways and both of which can uniquely identify the target device to see if they match, it can be determined whether the two serial numbers belong to the device information of the same target device. If so, it indicates that the user has the authority to adjust the permission information of the target device.

[0132] It can be seen that in this embodiment, by using the serial number that can uniquely identify the target device as the first identifier and the second identifier, it can be accurately verified whether the first identifier and the second identifier belong to the same target device.

[0133] As an implementation of an embodiment of the present application, as shown in FIG. 4 (a) and FIG. 4 (b), adjusting the permission information of the target device through the management server is specifically described:

[0134] The customer enters the device permission information adjustment task through the user client and requests to adjust the device permissions. If the customer is a registered customer who has not been authenticated by the management party, the management party will prompt the registered customer to authenticate, and after authentication, the device unbinding instruction can be submitted. After the registered customer authenticates, or if the customer is already an authenticated customer authenticated by the management party, the customer can enter the task bill interface of the user client. The task bill interface includes three mandatory items: 1. Serial number, 2. Device label and 3. Identification encryption file, of which 2. Device label supports uploading in the form of photos and pictures.

[0135] After the customer completes the three required items on the task order interface, the management server verifies whether it is an overseas device through the serial number in 1. If not, the customer cannot adjust the device permission information of the target device, that is, the customer cannot place an order; if yes, the customer can adjust the device permission information of the target device, and the management server prompts that the order can be placed.

[0136] The management server will also parse 3. the identification encryption file, where the identification encryption file can be an XML file exported by the customer from the target device through the user client, and determine whether the 9-digit serial number parsed from the XML file is consistent with the serial number in 1. If not, the management server will prompt that the serial number does not match and the bill cannot be picked up; if yes, the management server can adjust the device permission information of the target device according to the device permission adjustment instruction.

[0137] When the customer fills in 1, 2, and 3 in the task order interface, and conditions 1 and 3 are yes, check the legal terms, the management server responds to the device permission adjustment instruction, and generates a device permission information adjustment task. The management server will automatically assign the device permission information adjustment task to the management server of the specified country based on the country of the above-mentioned certified customer. There are two switch buttons on the user client interface, namely the automatic password reset switch button and the automatic device unbinding switch button. When the switch button is off, the device permission information adjustment task will be manually executed by the management staff; when the switch button is on, the device permission information adjustment task will be executed by the management server in the following manner.

[0138] When the switch button is on, the management server can verify whether the above-mentioned authenticated customer is on the blacklist. If so, the device permission information adjustment task will be transferred from the management server to a manual task, and the manual judgment will be made whether the customer has the corresponding permission for the device permission information adjustment task, that is, the manual judgment and reply. In the case that the management staff manually judges that the password reset / unbinding fails, the customer re-exports the identification encryption file so that the staff can manually judge and reply again based on the re-exported identification encryption file; in the case that the management staff manually judges that the password reset / unbinding is successful, the customer closes the order, and the device permission information adjustment task is completed.

[0139] In the case where the certified customer is not on the blacklist, considering that the needs of customers in different regions vary, the customer can choose whether to verify the country. In the case where the customer chooses to verify the country, it can be verified whether a certified customer country corresponds to one country, or whether a certified customer country corresponds to multiple countries. When the corresponding country cannot be found according to the serial number of the target device, the country is not verified by default. When the management server verifies that the certified customer country of the target device and the country to which the device belongs are consistent, it verifies whether it is a mixed product, that is, verifies whether the target device is a cross-regional device. If yes, that is, when the target device is a mixed product, the management server automatically rejects the device permission information adjustment task; if no, that is, when the target device is not a mixed product, the management server continues to identify whether the device label and the 9-digit serial number are consistent.

[0140] The management server can use OCR to identify whether the device label image and the 9-digit serial number are consistent. Specifically, the management server can use OCR to identify whether the image and the serial number are consistent, where the image is a photo or picture uploaded by the customer in the task order interface.

[0141] In the case that the management server cannot recognize or recognizes non-9-bit characters, the recognition of the device label image will be transferred from the management server to manual recognition, and then manually determine whether the customer has the corresponding permissions for the device permission information adjustment task, that is, manually determine the reply. In the case that the management staff manually determines that the password reset / unbinding fails, the customer re-exports the identification encryption file so that the staff can manually determine the reply again based on the re-exported identification encryption file; in the case that the management staff manually determines that the password reset / unbinding is successful, the customer closes the order, and the device permission information adjustment task is completed.

[0142] If the serial number obtained by the management server through OCR recognition of the device label image is inconsistent with the 9-digit serial number, for example, the serial number of the target device is not included in the image submitted by the customer, or the serial number of the target device in the image is partially blocked, the management server automatically rejects the device permission information adjustment task. If the customer submits the image and re-exports the identification encryption file, the management server recognizes the re-submitted image again. If the recognition result is unrecognizable or inconsistent, the management server can automatically reject the device permission information adjustment task.

[0143] If the customer re-exports the encrypted identification file but does not re-submit the image, the serial number obtained by OCR recognition of the device label image and the 9-digit serial number are inconsistent because there is a problem with the image submitted by the customer. In this case, the serial number obtained by the management server through OCR recognition of the device label and the 9-digit serial number are still inconsistent. Therefore, if the customer does not re-submit the image, but only re-exports the encrypted identification file, the management server will automatically reject the device permission information adjustment task.

[0144] In the case that the serial number obtained by the management server through OCR recognition of the device label image is consistent with the 9-digit serial number, if the above-mentioned device permission adjustment instruction is a password reset instruction, no email will be sent to the management staff, but the management server will reset the password of the target device according to the password reset instruction. Specifically, the management server can send a password reset code to the user client, and then the user client will send the password reset code and the new password configured by the user for the target device to the target device, thereby resetting the password of the target device. The user client can automatically send the result and the order closing application to the management party, and the management server obtains the result of the password reset. If the password reset is successful, the customer closes the order; if the password reset fails, the customer issues a retry instruction and re-exports the identification encryption file. The management server responds to the retry instruction and resets the password of the target device according to the password reset instruction when the serial number obtained by OCR recognition of the device label image is consistent with the 9-digit serial number.

[0145] If the above-mentioned device permission adjustment instruction is a device unbinding instruction, no email will be sent to the administrator's staff, but the unbinding service will be automatically triggered. The administrator's server will unbind the target device and the user account corresponding to the user client according to the device unbinding instruction. The user client can send the results and the order closing application to the administrator, and the administrator's server will obtain the result of the device unbinding. Regardless of whether the device unbinding is successful or failed, the device unbinding task can be ended according to the customer's order closing instruction. In addition, in the case of device unbinding failure, if the customer issues a retry instruction and re-exports the identification encryption file, the administrator's server responds to the retry instruction, and if the serial number obtained by OCR recognition of the device label image is consistent with the 9-digit serial number, the unbinding service will be automatically triggered again, and the binding relationship between the target device and the user account corresponding to the user client will be unbinded according to the device unbinding instruction.

[0146] It can be seen that in this embodiment, since it takes at least 2 minutes of manpower for the administrator's staff to manually restore the device reset code, the administrator's server uses the OCR intelligent recognition of the device label image to replace manual recognition, which reduces human recognition errors, thereby reducing the problem of inaccurate verification results caused by human errors in the process of verifying whether the user has the authority corresponding to the device permission adjustment instruction. In addition, the reset code is automated for the original repetitive and mechanized work, which frees up a lot of manpower and reduces labor costs. In addition, the administrator's server can also provide customers with 7×24 device password reset codes during non-working hours to respond to customers' password reset requests, which improves service timeliness, eliminates the need for customers to wait, and improves customer satisfaction.

[0147] As an implementation method of the present application, Figure 5 As shown, adjusting the permission information of the target device through the coordinated action of the user client and the management server is specifically described:

[0148] The customer enters the device permission information adjustment task through the user client and requests to adjust the device permissions. If the customer is a registered customer who has not been authenticated by the management party, the management party will prompt the registered customer to authenticate, and after authentication, the device unbinding instruction can be submitted. After the registered customer authenticates, or if the customer is already an authenticated customer authenticated by the management party, the customer can enter the task bill interface of the user client. The task bill interface includes two mandatory items, namely: 1. The device label supports uploading photos and pictures and 2. Identify encrypted files.

[0149] After the customer completes the two required items on the task billing interface, the user client will also parse the encrypted identification file, where the encrypted identification file can be an XML file exported from the target device by the customer through the user client, and verify whether it is an overseas device based on the 9-digit serial number parsed from the XML file. If not, the user client will prompt the customer that the bill cannot be submitted; if yes, the user client can compare the 9-digit characters obtained by OCR recognition of the image and the 9-digit serial number obtained by parsing the XML file to see if there are consistent duplicate values.

[0150] The user client can identify the image serial number through OCR. If the user client cannot identify or recognizes non-9-bit characters, the identification of the device label image will be transferred from the user client to manual identification, and then it will be manually determined whether the customer has the corresponding authority for the device permission information adjustment task, that is, the reply will be manually determined. In the case that the management staff manually determines that the password reset / unbinding fails, the customer re-exports the identification encryption file so that the staff can manually judge and reply again based on the re-exported identification encryption file; in the case that the management staff manually determines that the password reset / unbinding is successful, the customer closes the order, and the device permission information adjustment task is completed.

[0151] If the user client can identify 9-bit characters in the image, the 9-bit characters obtained by OCR recognition of the image and the 9-bit serial number obtained by parsing the XML file are compared to see if there are consistent duplicate values. In the case where one or more 9-bit characters are identified and the 9-bit serial number parsed from the encrypted file is inconsistent, the user client can remind the customer that the information does not belong to a device, and the customer cannot adjust the device permission information of the target device, that is, the customer cannot pick up the order.

[0152] In the case where it is recognized that one or more 9-digit characters and the 9-digit serial number parsed from the identification encryption file have the same repeating value, if the above-mentioned device permission adjustment instruction is a password reset instruction, the management server obtains the password reset instruction and resets the password of the target device according to the password reset instruction. Specifically, the management server can send a password reset code to the user client, and then the user client sends the password reset code and the new password configured by the user for the target device to the target device, thereby resetting the password of the target device. The user client can automatically send the result and the order closing application to the management party, and the management server obtains the result of the password reset. If the password reset is successful, the customer closes the order; if the password reset fails, the customer issues a retry instruction and re-exports the identification encryption file. The management server responds to the retry instruction and resets the password of the target device according to the password reset instruction when the serial number obtained by OCR recognition of the device label image is consistent with the 9-digit serial number.

[0153] If the above-mentioned device permission adjustment instruction is a device unbinding instruction, the unbinding service is automatically triggered, and the management server obtains the device unbinding instruction to release the binding relationship between the target device and the user account corresponding to the user client. The user client can send the results and the order closing application to the management party, and the management server obtains the result of the device unbinding. Regardless of whether the device unbinding is successful or failed, the device unbinding task can be ended according to the customer's order closing instruction. In addition, in the case of device unbinding failure, if the customer issues a retry instruction and re-exports the identification encryption file, the management server responds to the retry instruction, and if the serial number obtained by OCR recognition of the device label image is consistent with the 9-digit serial number, the unbinding service is automatically triggered again, and the binding relationship between the target device and the user account corresponding to the user client is released according to the device unbinding instruction.

[0154] It can be seen that in this embodiment, in order to facilitate the operation of the customer, the process of adjusting the permission information of the target device through the management server is further optimized. In the optimized process, the user client directly performs OCR recognition on the device label image and parses the XML file instead of the user management server. When it is determined that the serial number obtained by OCR recognition of the device label is consistent with the 9-digit serial number, the management server adjusts the device permission information of the target device according to the device permission adjustment instruction. In this way, in addition to automating the original repetitive and mechanized work by manpower by providing a reset code, reducing labor costs, improving service timeliness and improving customer satisfaction, it also reduces the pressure of data processing on the management server, making it easier for customers to directly adjust the device permission information on the user client.

[0155] In the technical solution of the present application, the operations of acquiring, storing, using, processing, transmitting, providing and disclosing the device information involved are all performed with the user's authorization.

[0156] Corresponding to the above-mentioned device permission information adjustment method, the embodiment of the present application further provides a device permission information adjustment apparatus. The following is an introduction to a device permission information adjustment apparatus provided by the embodiment of the present application.

[0157] like Figure 6 As shown, a device permission information adjustment device, the device comprising:

[0158] The instruction acquisition module 601 is used to acquire the device permission adjustment instruction;

[0159] A first permission adjustment module 602 is used to adjust the device permission information of the target device according to the device permission adjustment instruction when the first identifier and the second identifier of the target device indicated by the device permission adjustment instruction match;

[0160] The first identifier is obtained by character recognition from a device label image of the target device, and the second identifier is obtained by parsing an identifier encrypted file, and the identifier encrypted file is exported from the target device by a user through a user client.

[0161] It can be seen that in the scheme provided by the embodiment of the present application, the management server can obtain the device permission adjustment instruction, and then adjust the device permission information of the target device according to the device permission adjustment instruction when the first identifier and the second identifier of the target device indicated by the device permission adjustment instruction match; wherein the first identifier is obtained by character recognition from the device label image of the target device, and the second identifier is parsed from the identifier encryption file, and the identifier encryption file is exported by the user from the target device through the user client. In this way, when the management server compares the first identifier obtained by character recognition from the device label image and the second identifier parsed from the identifier encryption file, the device permission information can be adjusted accordingly, without the need for the management staff to verify whether the first identifier and the second identifier are consistent, and there is no need to manually return the corresponding permission instruction to the user after the staff verifies, and then adjust the user's permissions. Therefore, the time for adjusting the device permission information can be shortened, and the accuracy of verifying the device permission adjustment instruction can be improved.

[0162] As an implementation of the embodiment of the present application, the first permission adjustment module 602 may include:

[0163] The permission information adjustment submodule is used to respond to the permission adjustment instruction sent by the user client and adjust the device permission information of the target device according to the device permission adjustment instruction, wherein the permission adjustment instruction is sent by the user client when it is determined that the first identifier and the second identifier of the target device match.

[0164] As an implementation of the embodiment of the present application, the device label image includes at least one device identification of the target device; the apparatus may further include:

[0165] The device identification determination module is used to determine whether there is a device identification matching the second identification among at least one device identification identified from the device tag image.

[0166] The first result determination module is configured to determine that the first identifier and the second identifier of the target device match, if any.

[0167] The second result determination module is configured to determine that the first identifier and the second identifier of the target device do not match if the target device does not exist.

[0168] As an implementation of the embodiment of the present application, the first permission adjustment module 602 may include:

[0169] The password reset submodule is used to send a password reset code to the user client when the device permission adjustment instruction is a password reset instruction, so that the user can reset the password based on the password reset code.

[0170] The device unbinding submodule is used to release the binding relationship between the target device and the user account corresponding to the user client when the device permission adjustment instruction is a device unbinding instruction.

[0171] As an implementation method of the embodiment of the present application, the above-mentioned user client may include a bill of lading interface;

[0172] The device label image may be an image provided by the user through an image capture entry or an upload entry included in the bill of lading interface.

[0173] As an implementation of the embodiment of the present application, the above device may further include:

[0174] The adjustment result acquisition module is used to obtain the adjustment result of the device permission information.

[0175] A second permission adjustment module is used to, in the case where the adjustment result indicates that the device permission information adjustment of the target device fails, respond to the retry instruction, and in the case where the first identifier of the target device and the second identifier obtained by re-parsing match, adjust the device permission information of the target device according to the device permission adjustment instruction;

[0176] The re-parsed second identifier is obtained by parsing the identifier encrypted file that is re-exported from the target device by the user.

[0177] As an implementation of an embodiment of the present application, the above-mentioned device label image is an image of a label of the target device, the label includes the serial number of the target device, and the second identifier is the serial number of the target device parsed from the identifier encryption file.

[0178] The present application also provides an electronic device, such as Figure 7 As shown, including:

[0179] Memory 701, used for storing computer programs;

[0180] The processor 702 is configured to implement the device permission information adjustment method described in any of the above embodiments when executing the program stored in the memory 701.

[0181] It can be seen that in the scheme provided by the embodiment of the present application, the electronic device can obtain the device permission adjustment instruction, and then adjust the device permission information of the target device according to the device permission adjustment instruction when the first identifier and the second identifier of the target device indicated by the device permission adjustment instruction match; wherein the first identifier is obtained by character recognition from the device label image of the target device, and the second identifier is parsed from the identifier encryption file, and the identifier encryption file is derived from the target device by the user through the user client. In this way, when the electronic device compares the first identifier obtained by character recognition from the device label image and the second identifier parsed from the identifier encryption file is consistent, the device permission information can be adjusted accordingly, without the need for the management staff to verify whether the first identifier and the second identifier are consistent, and there is no need to manually return the corresponding permission instruction to the user after the staff verifies, and then adjust the user's permissions. Therefore, the time for adjusting the device permission information can be shortened, and the accuracy of verifying the device permission adjustment instruction can be improved.

[0182] Furthermore, the electronic device may further include a communication bus and / or a communication interface, and the processor 702, the communication interface, and the memory 701 communicate with each other via the communication bus.

[0183] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0184] The communication interface is used for communication between the above electronic device and other devices.

[0185] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0186] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0187] In another embodiment provided in the present application, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned device permission information adjustment methods are implemented.

[0188] In another embodiment provided by the present application, a computer program product including instructions is also provided, which, when executed on a computer, enables the computer to execute any device permission information adjustment method in the above embodiments.

[0189] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a solid-state hard disk (SSD), etc.

[0190] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0191] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, electronic device, computer-readable storage medium, and computer program product embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.

[0192] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application are included in the protection scope of the present application.

Claims

1. A method for adjusting device permission information, characterized in that: The method comprises: Get device permission adjustment instructions; When the first identifier and the second identifier of the target device indicated by the device permission adjustment instruction match, adjusting the device permission information of the target device according to the device permission adjustment instruction; The method of determining that the first identifier matches the second identifier includes: Determine whether there is a device identifier matching the second identifier among at least one device identifier identified from the device tag image; if so, determine that the first identifier and the second identifier of the target device match; Among them, the first identifier is obtained by character recognition from the device label image of the target device, the second identifier is parsed from an identifier encryption file, the identifier encryption file is exported from the target device by the user through the user client, the device label image includes at least one device identifier of the target device, and the device label image is an image obtained by the user taking a photo of the label of the target device, or an electronic version of the label image of the target device uploaded by the user.

2. The method according to claim 1, characterized in that: The step of adjusting the device permission information of the target device according to the device permission adjustment instruction when the first identifier and the second identifier of the target device indicated by the device permission adjustment instruction match includes: In response to a device permission adjustment instruction sent by the user client, the device permission information of the target device is adjusted according to the device permission adjustment instruction, wherein the permission adjustment instruction is sent by the user client when it is determined that the first identifier and the second identifier of the target device match.

3. The method according to claim 1, characterized in that The method of determining the matching between the first identifier and the second identifier further includes: If there is no device identification matching the second identification among the at least one device identification obtained by recognizing from the device tag image, it is determined that the first identification and the second identification of the target device do not match.

4. The method according to claim 1, characterized in that The step of adjusting the device permission information of the target device according to the device permission adjustment instruction includes: In the case where the device permission adjustment instruction is a password reset instruction, sending a password reset code to the user client, so that the user resets the password based on the password reset code; In the case where the device permission adjustment instruction is a device unbinding instruction, the binding relationship between the target device and the user account corresponding to the user client is released.

5. The method according to any one of claims 1 to 4, characterized in that: The user client includes a bill of lading interface; The device label image is an image provided by the user through an image capture entry or an upload entry included in the bill of lading interface.

6. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: Obtain the adjustment result of device permission information; If the adjustment result indicates that the device permission information of the target device has failed to be adjusted, in response to a retry instruction and if the first identifier of the target device and the second identifier obtained by re-parsing match, adjusting the device permission information of the target device according to the device permission adjustment instruction; The re-parsed second identifier is obtained by parsing an identifier encrypted file that is re-exported by the user from the target device.

7. The method according to any one of claims 1 to 4, characterized in that: The device label image is an image of a label of the target device, the label includes a serial number of the target device, and the second identifier is the serial number of the target device parsed from an identifier encryption file.

8. A device permission information adjustment device, characterized in that: The device comprises: An instruction acquisition module is used to obtain device permission adjustment instructions; A first permission adjustment module, configured to adjust device permission information of the target device according to the device permission adjustment instruction when the first identifier and the second identifier of the target device indicated by the device permission adjustment instruction match; The device also includes: A device identification determination module, used to determine whether there is a device identification matching the second identification among at least one device identification identified from the device tag image; A first result determination module, configured to determine that the first identification and the second identification of the target device match, if any; Among them, the first identifier is obtained by character recognition from the device label image of the target device, the second identifier is parsed from an identifier encryption file, the identifier encryption file is exported from the target device by the user through the user client, the device label image includes at least one device identifier of the target device, and the device label image is an image obtained by the user taking a photo of the label of the target device, or an electronic version of the label image of the target device uploaded by the user.

9. The device according to claim 8, characterized in that The first permission adjustment module includes: a permission information adjustment submodule, configured to adjust the device permission information of the target device in response to the permission adjustment instruction sent by the user client and in accordance with the device permission adjustment instruction, wherein the permission adjustment instruction is sent by the user client when it is determined that the first identifier and the second identifier of the target device match; The device also includes: a second result determination module, configured to determine that the first identification and the second identification of the target device do not match if there is no device identification matching the second identification among the at least one device identification identified from the device tag image; The first permission adjustment module includes: a password reset submodule, configured to, when the device permission adjustment instruction is a password reset instruction, send a password reset code to the user client, so that the user resets the password based on the password reset code; A device unbinding submodule, configured to release the binding relationship between the target device and the user account corresponding to the user client when the device permission adjustment instruction is a device unbinding instruction; The user client includes a bill of lading interface; The device label image is an image provided by the user through an image capture portal or an upload portal included in the bill of lading interface; The device also includes: An adjustment result acquisition module is used to obtain the adjustment result of the device permission information; A second permission adjustment module is used to, if the adjustment result indicates that the device permission information of the target device has failed to be adjusted, respond to a retry instruction, and if the first identifier of the target device and the second identifier obtained by re-parsing match, adjust the device permission information of the target device according to the device permission adjustment instruction; The second identifier obtained by re-analysis is obtained by parsing the identifier encrypted file that is re-exported by the user from the target device; The device label image is an image of a label of the target device, the label includes a serial number of the target device, and the second identifier is the serial number of the target device parsed from an identifier encryption file.

10. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor, for implementing any of the methods described in claims 1-7 when executing a program stored in a memory.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Authority management method, device and equipment for micro-service and storage medium

    CN112104617A

  • Access control method and device of storage peripheral, electronic equipment and storage medium

    CN118708114A