Device control method, device, electronic device and computer readable storage medium

By receiving and processing access requests, generating and monitoring credentials, and controlling equipment functions, it solves the problems of preventing factory information leakage and affecting employees' lives, and achieves both factory confidentiality and functional control.

CN118395478BActive Publication Date: 2024-09-20LUXSAN PRECISION ITECH (KUNSHAN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410836551.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-09-20
Estimated Expiration
2044-06-26

AI Technical Summary

Technical Problem

It is difficult with existing technology to prevent information leakage in factories without affecting the work and life of employees. This is especially the case because factory personnel need to carry multiple mobile phones due to poor signals from 2G function phones and customized phones.

Method used

By receiving the access request of the target device, determining user permissions, generating target credentials, and monitoring through the entrance and exit credential collection modules, sending corresponding instructions to the terminal manager, closing or restoring the disabled functions in the device, and realizing the control of different mobile phone types. Function control.

Benefits of technology

It is possible to avoid information leakage without specifying the type of mobile phone, ensure the confidentiality of the factory, and reduce the impact on the work and life of factory personnel.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118395478B
    Figure CN118395478B
Patent Text Reader

Abstract

The present invention proposes a device control method, apparatus, electronic device and computer-readable storage medium, the method comprising the steps of: receiving a pass request sent by a target device, determining the user authority corresponding to the pass request; sending the user authority to the target device; monitoring the entry credential collection module, and if the entry credential collection module collects the target credential, sending a shutdown instruction to the terminal manager corresponding to the target device; monitoring the exit credential collection module, and if the exit credential collection module collects the target credential, sending an opening instruction to the terminal manager corresponding to the target device. By closing the corresponding functions in the target terminal according to the user authority, there are no specific requirements for the user's mobile phone type, and the disabling function can prevent the user from obtaining or leaking relevant information through the mobile phone. Therefore, while achieving factory confidentiality, it avoids affecting the work and life of factory personnel due to the requirements for mobile phones.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information security, and in particular to a device management and control method, device, electronic device and computer-readable storage medium. Background Art

[0002] Some factories have confidentiality requirements. In order to achieve confidentiality and prevent information leakage, factory personnel are usually required to carry mobile phones without data acquisition and data communication functions such as camera, photo, hotspot, Bluetooth, etc., such as 2G feature phones or customized phones. However, 2G feature phones have poor signals and cannot meet the communication needs within the factory, while customized phones require factory personnel to carry multiple mobile phones to and from get off work. Summary of the invention

[0003] The main purpose of the present invention is to propose an equipment management method, device, electronic device and computer-readable storage medium, aiming to solve the problem in the prior art of how to prevent factory information leakage without affecting the work and life of employees.

[0004] To achieve the above object, the present invention provides a device control method, the method comprising the steps of:

[0005] Receiving a pass request sent by a target device, and determining a user authority corresponding to the pass request;

[0006] Sending the user rights to the target device so that the target device generates a target credential according to the user rights;

[0007] Monitoring the entry credential collection module, and if the entry credential collection module collects the target credential, sending a closing instruction to the terminal manager corresponding to the target device, so that the terminal manager closes the disabled function corresponding to the user authority in the target device;

[0008] The export credential collection module is monitored, and if the export credential collection module collects the target credential, an opening instruction is sent to the terminal manager corresponding to the target device, so that the terminal manager restores the disabled function corresponding to the user authority in the target device.

[0009] Optionally, the determining the user authority corresponding to the access request includes:

[0010] Obtaining user information and device information in the access request, and determining a confidentiality level corresponding to the user information;

[0011] Determining function restriction information corresponding to the confidentiality level;

[0012] The user authority is generated according to the function restriction information and the device information.

[0013] Optionally, the target credential is a target QR code; the monitoring of the entry credential collection module, if the entry credential collection module collects the target credential, sending a closing instruction to a terminal manager corresponding to the target device includes:

[0014] If the entry credential collection module scans the target QR code, a target device corresponding to the target QR code is determined;

[0015] Send a close instruction to the terminal manager corresponding to the target device.

[0016] Optionally, the target credential is a target QR code; the step of monitoring the export credential collection module and sending an opening instruction to a terminal manager corresponding to the target device if the export credential collection module collects the target credential comprises:

[0017] If the export voucher collection module scans the target QR code, a target device corresponding to the target QR code is determined;

[0018] Send an opening instruction to the terminal manager corresponding to the target device.

[0019] Optionally, the method further comprises:

[0020] Monitor the entry and exit verification module to obtain user information detected by the entry and exit verification module;

[0021] Obtaining identity information and device information from the user information;

[0022] Determine the user authority corresponding to the identity information and the target device corresponding to the device information;

[0023] Determining whether a function corresponding to the user authority in the target device is disabled;

[0024] If the function corresponding to the user authority in the target device is disabled, a pass instruction is sent to the entry and exit verification module.

[0025] Optionally, the sending of a pass instruction to the entry / exit verification module comprises:

[0026] Determining whether the identity information matches the device information;

[0027] If the identity information matches the device information, a pass instruction is sent to the entry and exit verification module.

[0028] Optionally, the sending of a pass instruction to the entry / exit verification module comprises:

[0029] Determine the confidentiality area corresponding to the entrance and exit verification module;

[0030] Determining a confidentiality level corresponding to the identity information;

[0031] Determining whether the confidentiality level matches the confidentiality area;

[0032] If the confidentiality level matches the confidentiality area, a pass instruction is sent to the entry and exit verification module.

[0033] To achieve the above object, the present invention further provides a device control apparatus, the device control apparatus comprising:

[0034] A first receiving module, configured to receive a pass request sent by a target device and determine a user authority corresponding to the pass request;

[0035] A first sending module, configured to send the user authority to the target device, so that the target device generates a target credential according to the user authority;

[0036] A first monitoring module is used to monitor the entry credential collection module, and if the entry credential collection module collects the target credential, send a closing instruction to the terminal manager corresponding to the target device, so that the terminal manager closes the disabled function corresponding to the user authority in the target device;

[0037] The second monitoring module is used to monitor the export credential collection module. If the export credential collection module collects the target credential, an enable instruction is sent to the terminal manager corresponding to the target device to enable the terminal manager to restore the disabled function corresponding to the user authority in the target device.

[0038] To achieve the above objectives, the present invention also provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program, when executed by the processor, implements the steps of the device management method as described above.

[0039] To achieve the above objectives, the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the device control method as described above are implemented.

[0040] The present invention proposes a device control method, device, electronic device and computer-readable storage medium, which receive a pass request sent by a target device, determine the user authority corresponding to the pass request; send the user authority to the target device, so that the target device generates a target credential according to the user authority; monitor the entry credential collection module, if the entry credential collection module collects the target credential, send a close instruction to the terminal manager corresponding to the target device, so that the terminal manager closes the disabled function corresponding to the user authority in the target device; monitor the exit credential collection module, if the exit credential collection module collects the target credential, send an open instruction to the terminal manager corresponding to the target device, so that the terminal manager restores the disabled function corresponding to the user authority in the target device. By closing the corresponding function in the target terminal according to the user's user authority before the user needs to enter a certain venue, there is no specific requirement for the user's mobile phone type, and under different mobile phone types, the user can be prevented from obtaining or leaking relevant information through the mobile phone by disabling the function, so that while achieving factory confidentiality, it is avoided that the requirements for mobile phones affect the work and life of factory personnel. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0042] In order to more clearly illustrate the embodiments of the present invention 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, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0043] Figure 1 This is a flow chart of the first embodiment of the device control method of the present invention;

[0044] Figure 2 This is a scene structure diagram of the device control method of the present invention;

[0045] Figure 3 It is an overall flow chart of the terminal control method of the present invention;

[0046] Figure 4 It is a schematic diagram of the module structure of the electronic device of the present invention. DETAILED DESCRIPTION

[0047] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only embodiments of a part of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work should fall within the scope of protection of the present application.

[0048] The present invention provides a device control method, referring to Figure 1 , Figure 1 This is a flow chart of a first embodiment of a device control method of the present invention, wherein the method comprises the following steps:

[0049] Step S10, receiving a pass request sent by a target device, and determining a user authority corresponding to the pass request;

[0050] The target device is the device used by the user; the target device can be a smart terminal such as a mobile phone or a tablet; an application for control can be installed on the target device, and when the user needs to enter a certain area, the user sends a pass request to the device control device through the application.

[0051] The communication request needs to indicate the relevant information of the target device and the relevant information of the corresponding user; after receiving the communication request, the device control device determines the target device and user corresponding to the communication request, and then determines the corresponding user authority; it can be understood that the device control device pre-sets the correspondence between the device, user, and user authority. When the communication request is generated, it will carry device information or user information. The device control device can determine the user authority based on the information carried in the communication request.

[0052] Step S20, sending the user authority to the target device, so that the target device generates a target credential according to the user authority;

[0053] After receiving the user permissions, the application of the target device generates a target credential corresponding to the user permissions; specific permissions can be set based on actual needs; for example, if the user permissions include level one permissions and level two permissions, correspondingly, the level one permissions can only enter the level one confidentiality area, and the level two permissions can only enter the level two confidentiality area; or the level one permissions are lower and can only enter the level one confidentiality area, and the level two permissions are higher and can enter both the level one confidentiality area and the level two confidentiality area.

[0054] The target credential corresponds to the user authority. The first-level authority generates the first-level target credential, and the second-level authority generates the second-level target credential.

[0055] The specific type of the target credential can be set based on actual needs, such as a QR code.

[0056] Step S30, monitoring the entry credential collection module, if the entry credential collection module collects the target credential, sending a closing instruction to the terminal manager corresponding to the target device, so that the terminal manager closes the disabled function corresponding to the user authority in the target device;

[0057] The entry credential collection module is a device set at the entrance of the area to collect target credentials; the entry credential collection module is set corresponding to the type of target credential. If the target credential is a QR code, the entry credential collection module is a QR code scanning device.

[0058] After generating the target credentials on the target device, the user can provide the target credentials to the entry credential collection module for collection; after the entry credential collection module collects the target credentials, it sends the target credentials to the terminal control device. After receiving the target credentials, the terminal control device believes that the user needs to enter the confidential area at this time, and therefore sends a closing instruction to MDM (Mobile Device Management, terminal manager); it can be understood that the closing instruction corresponds to the user authority, such as the first-level authority corresponds to the sending of a first-level closing instruction, and the second-level authority corresponds to the sending of a second-level closing instruction.

[0059] MDM is pre-set on the target device. MDM can manage the set device, such as controlling the available functions of the device. After receiving the shutdown instruction, MDM will shut down the relevant functions in the target device according to the shutdown instruction. Specifically, the functions that need to be shut down in different confidentiality areas can be set based on actual needs. For example, the first-level confidentiality area is set to shut down Bluetooth, camera, and hotspot; the second-level confidentiality area is set to shut down Bluetooth, camera, hotspot, information, calls, and USB data transmission.

[0060] It is understandable that after MDM disables the corresponding functions based on the shutdown instruction, the user cannot restore these functions by himself, thereby ensuring the security of information in the confidential area.

[0061] Step S40, monitoring the export credential collection module, if the export credential collection module collects the target credential, sending an enable instruction to the terminal manager corresponding to the target device, so that the terminal manager restores the disabled function corresponding to the user authority in the target device.

[0062] The exit voucher collection module is a device set at the exit of the area to collect target vouchers; the exit voucher collection module is set corresponding to the type of the target voucher. If the target voucher is a QR code, the exit voucher collection module is a QR code scanning device.

[0063] When the user leaves the confidential area, he or she can apply to restore the previously disabled functions. Specifically, the target credentials are provided to the export credential collection module. After collecting the target credentials, the export credential collection module sends the target credentials to the terminal management and control device. After receiving the target credentials, the terminal management and control device considers that the user has left the confidential area, and therefore sends an enable instruction to the MDM to restore the functions in the target device.

[0064] By shutting down the corresponding functions in the target terminal according to the user's user permissions before the user needs to enter a certain venue, there is no specific requirement for the user's mobile phone type. Under different mobile phone types, disabling functions can prevent users from obtaining or leaking relevant information through their mobile phones. Therefore, while achieving factory confidentiality, it avoids affecting the work and life of factory personnel due to requirements for mobile phones.

[0065] Further, in the second embodiment of the device control method of the present invention proposed based on the first embodiment of the present invention, the step S10 includes the steps of:

[0066] Step S11, obtaining user information and device information in the access request, and determining a confidentiality level corresponding to the user information;

[0067] Step S12, determining function restriction information corresponding to the confidentiality level;

[0068] Step S13: generating the user authority according to the function restriction information and the device information.

[0069] User information is used to indicate user identity; such as employee number, ID card, facial information, authority level, etc.

[0070] Device information is used to indicate relevant information of the target device, such as operating system, version, model, serial number, etc.

[0071] The terminal control device is provided with a correspondence between devices, users, and user permissions; therefore, after obtaining user information, the terminal control device can determine the confidentiality level corresponding to the user information, and then determine the function restriction information according to the confidentiality level.

[0072] Function restriction information is used to indicate the functions that need to be disabled according to the confidentiality level; for example, the first confidentiality level corresponds to turning off Bluetooth, camera, and hotspot; the second confidentiality level corresponds to turning off Bluetooth, camera, hotspot, messages, calls, and USB data transmission.

[0073] It is understandable that when the target credentials are collected subsequently, the terminal management and control device needs to know the provider of the target credentials. Therefore, when generating user permissions, user permissions are generated based on the confidentiality level and device information, so that the target credentials generated by the target device can indicate the confidentiality level and the target device at the same time.

[0074] Further, in a third embodiment of the device control method of the present invention proposed based on the first embodiment of the present invention, the target credential is a target QR code; the step S30 includes the steps of:

[0075] Step S31, if the entry credential collection module scans the target QR code, then determining the target device corresponding to the target QR code;

[0076] Step S32: Send a close instruction to the terminal manager corresponding to the target device.

[0077] In this embodiment, the target credential is set in the form of a QR code, the target QR code is scanned by the entry credential collection module, and the scanned target QR code is sent to the terminal control device.

[0078] After acquiring the target QR code, the target QR code is parsed to obtain the confidentiality level and device information; a shutdown instruction corresponding to the confidentiality level is determined, and the shutdown instruction is sent to the MDM corresponding to the target device, so that the MDM disables the function corresponding to the shutdown instruction in the target device.

[0079] Furthermore, the step S40 includes the steps of:

[0080] Step S41, if the export voucher collection module scans the target two-dimensional code, determining the target device corresponding to the target two-dimensional code;

[0081] Step S42: sending an opening instruction to a terminal manager corresponding to the target device.

[0082] The target QR code is scanned by the export certificate collection module, and the scanned target QR code is sent to the terminal control device.

[0083] After acquiring the target QR code, the target QR code is parsed to obtain device information; an enable command is sent to the MDM corresponding to the target device, so that the MDM restores the functions in the target device that are disabled based on the disable command.

[0084] It should be noted that the QR codes used in the entry credential collection module and the exit credential collection module can be the same QR codes or different QR codes. For example, the target QR code can include an entry QR code and an exit QR code. Before entering the confidential area, the user can send a pass request through the application in the target device to generate an entry QR code after obtaining user permission. The entry QR code is only used for collection by the entry credential collection module. After leaving the confidential area, the user can send a pass request through the application in the target device to generate an exit QR code after obtaining user permission. The exit QR code is only used for collection by the exit credential collection module.

[0085] Furthermore, in a fourth embodiment of the device control method of the present invention proposed based on the first embodiment of the present invention, the method further includes:

[0086] Step S50, monitoring the entrance and exit verification module to obtain user information detected by the entrance and exit verification module;

[0087] Step S60, obtaining identity information and device information from the user information;

[0088] Step S70, determining the user authority corresponding to the identity information and the target device corresponding to the device information;

[0089] Step S80, determining whether the function corresponding to the user authority in the target device is disabled;

[0090] Step S90: If the function corresponding to the user authority in the target device is disabled, a pass instruction is sent to the entry and exit verification module.

[0091] The entrance and exit verification module is a device set at the entrance and exit of the confidential area for verifying the user's entry and exit qualifications; the user needs to pass the entrance and exit verification module to enter or leave the confidential area; it can be understood that the entrance and exit verification module can specifically include an entrance verification module and an exit verification module, the entrance verification module is set at the entrance of the confidential area, and the exit verification module is set at the exit of the confidential area.

[0092] User information is collected through relevant devices set in the entry and exit verification module; user information includes identity information and device information; identity information is used to indicate the identity characteristics of the user himself, such as face information and fingerprint information, while device information indicates relevant information of the target device, such as operating system, version, model, and serial number; it can be understood that corresponding devices can be set for collection of different information, such as face information can be collected through a face recognition device; for device information, an RFID (Radio Frequency Identification) tag can be set on the target device in advance, and the device information can be stored in the RFID tag, and the device information in the RFID tag can be read by setting an RFID sensor; for target devices with built-in RFID function, it can be directly set based on its own RFID.

[0093] User permissions can be determined based on identity information, and the corresponding target device can be located based on device information. It is understandable that the user can be released only after ensuring that the function disabling of the target device meets the requirements of the confidentiality area. Therefore, after locating the target device, it is necessary to determine the disabling status of the functions in the target device. The disabling status can be determined by communicating with the MDM, and can also be determined based on whether a shutdown instruction is sent. When a shutdown instruction has been sent and an opening instruction has not been sent to the target device, it is considered that the disabling status of the functions in the target device corresponds to the shutdown instruction.

[0094] When the disabled status of the functions in the target device matches the user's permissions, it is considered that the disabled status of the functions in the target device meets the confidentiality area requirements and the user can be released. Conversely, when the disabled status of the functions in the target device does not match the user's permissions, it is considered that the disabled status of the functions in the target device does not meet the confidentiality area requirements and the user will not be released.

[0095] Furthermore, the step S90 includes the steps of:

[0096] Step S91, determining whether the identity information matches the device information;

[0097] Step S92: If the identity information matches the device information, a pass instruction is sent to the entry and exit verification module.

[0098] The aforementioned specific verifications are mostly performed based on the target device itself. Therefore, in order to avoid the problem of illegally entering the confidential area through a target device that is not the user's own, identity information is further set in this embodiment; the terminal management and control device pre-sets the correspondence between identity information and device information. Therefore, after obtaining the identity information and device information in the user information, it can be determined whether the identity information and device information match. If they match, it is considered that the user himself applies for passage with his own target device and can be released; if they do not match, it is considered that someone else applies for passage through the target device and the passage is not released.

[0099] Furthermore, the step S90 includes the steps of:

[0100] Step S93, determining the confidentiality area corresponding to the entrance and exit verification module;

[0101] Step S94, determining the confidentiality level corresponding to the identity information;

[0102] Step S95, determining whether the confidentiality level matches the confidentiality area;

[0103] Step S96: If the confidentiality level matches the confidentiality area, a pass instruction is sent to the entry and exit verification module.

[0104] It is understandable that different confidentiality areas allow different people to enter; therefore, in addition to determining the function disabling status of the target device requesting to enter the confidentiality area, it is also necessary to determine whether the user is qualified to enter the confidentiality area.

[0105] The privacy level indicates the characteristics of the privacy area that the user can access.

[0106] When the user's confidentiality level is level one, if the confidentiality area matches the confidentiality level, that is, the confidentiality area is also level one, the user is considered to be qualified to enter the confidentiality area and can be released; otherwise, the user is considered to be unqualified to enter the confidentiality area and is not allowed to enter.

[0107] It is understandable that a user can correspond to multiple confidentiality levels at the same time. For example, if the user's confidentiality level includes level one and level two, the user can enter the level one confidentiality area and the level two confidentiality area.

[0108] See also Figure 2 ,based on Figure 2 The specific scenario settings in this application are explained; the scenario includes terminal control device, confidential area, entrance RFID sensor, entrance face recognition channel, entrance barcode scanner, exit RFID sensor, exit face recognition channel, exit barcode scanner, target device (taking mobile phone as an example), MDM, RFID tag, and user; among which:

[0109] The terminal control device establishes communication connections with the entrance RFID sensor, entrance face recognition channel, entrance barcode scanner, exit RFID sensor, exit face recognition channel, exit barcode scanner, mobile phone, and MDM respectively;

[0110] The entrance RFID sensor, entrance face recognition channel, and entrance barcode scanner are set at the entrance of the confidential area, and the order of passing is entrance barcode scanner-entrance RFID sensor, entrance face recognition channel-confidential area; that is, the user needs to first provide the target QR code to disable related functions, and then provide identity information and device information to enter the confidential area;

[0111] The exit RFID sensor, exit face recognition channel, and exit barcode scanner are set at the exit of the confidential area, and the passing order is exit RFID sensor, exit face recognition channel-exit barcode scanner-confidential area; that is, the user needs to provide identity information and device information to leave the confidential area first, and then provide the target QR code to restore related functions;

[0112] The MDM and RFID tags are set on the mobile phone, and the management and control application is installed in the mobile phone.

[0113] See also Figure 3 , Figure 3 The overall flow chart of the terminal control method of the present invention is as follows: Figure 2 , Figure 3 The overall process of the present invention is described as follows:

[0114] 1. Set up MDM on the mobile phone and install the control application to establish a connection with the terminal control device; it is understandable that in order to avoid leakage of user information, the control application only controls the data communication channel and does not collect the data of the mobile phone;

[0115] 2. Set an RFID tag on the mobile phone and store the operating system, version, model, serial number, etc. of the mobile phone as device information in the RFID tag. At the same time, enter the device information, identity information, confidentiality level, etc. into the terminal control device;

[0116] 3. The terminal control device associates the device information, identity information, and confidentiality level; it also sets the confidentiality level of the confidentiality area;

[0117] 4. Before entering the confidential area, the user sends a pass request through the control application. The terminal control device queries the confidentiality level and sends the user's authority to the mobile phone, so that the control application generates an entry QR code. When the control application generates the entry QR code, it pre-closes the relevant application. At this time, the user can exit the pre-closure state through the control application;

[0118] 5. The entry barcode scanner scans the entry QR code provided by the mobile phone, and the terminal control device determines the disabled status of the application in the mobile phone. When the relevant application is pre-closed, the terminal control device sends a shutdown command to the MDM to completely disable the relevant application. At this time, the user cannot access the disabled status of the application by himself; if the relevant application is not pre-closed, an alarm message is issued;

[0119] 6. The face recognition channel identifies the identity information, the RFID sensor obtains the device information, and the terminal control device determines the consistency of the identity information and the device information, and re-determines the disabled status of the application in the mobile phone. When the identity information and the device information are consistent and the relevant application is disabled, the user is released, otherwise an alarm message is issued;

[0120] 7. Before leaving the confidential area, the user sends a pass request through the control application. The terminal control device sends the user's permission to the mobile phone so that the control application generates a QR code;

[0121] 8. The face recognition channel identifies the identity information, the RFID sensor obtains the device information, and the terminal control device determines the consistency of the identity information and the device information, and re-determines the disabled status of the application in the mobile phone. When the identity information and the device information are consistent and the relevant application is disabled, the user is released, otherwise an alarm message is issued;

[0122] 9. The exit barcode scanner scans the exit QR code provided by the mobile phone, and the terminal control device sends an opening command to the MDM to restore related applications.

[0123] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0124] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0125] The present application also provides a device control apparatus for implementing the above device control method, wherein the device control includes:

[0126] A first receiving module, configured to receive a pass request sent by a target device and determine a user authority corresponding to the pass request;

[0127] A first sending module, configured to send the user authority to the target device, so that the target device generates a target credential according to the user authority;

[0128] A first monitoring module is used to monitor the entry credential collection module, and if the entry credential collection module collects the target credential, send a closing instruction to the terminal manager corresponding to the target device, so that the terminal manager closes the disabled function corresponding to the user authority in the target device;

[0129] The second monitoring module is used to monitor the export credential collection module. If the export credential collection module collects the target credential, an enable instruction is sent to the terminal manager corresponding to the target device to enable the terminal manager to restore the disabled function corresponding to the user authority in the target device.

[0130] This equipment control device closes the corresponding functions in the target terminal according to the user's user permissions before the user needs to enter a certain place, so that there is no specific requirement for the user's mobile phone type. Under different mobile phone types, the disabling function can prevent the user from obtaining or leaking relevant information through the mobile phone. Therefore, while achieving factory confidentiality, it avoids affecting the work and life of factory personnel due to the requirements for mobile phones.

[0131] It should be noted that the first receiving module in this embodiment can be used to execute step S10 in the embodiment of the present application, the first sending module in this embodiment can be used to execute step S20 in the embodiment of the present application, the first monitoring module in this embodiment can be used to execute step S30 in the embodiment of the present application, and the second monitoring module in this embodiment can be used to execute step S40 in the embodiment of the present application.

[0132] Furthermore, the first receiving module includes:

[0133] A first acquisition unit, configured to acquire user information and device information in the access request, and determine a confidentiality level corresponding to the user information;

[0134] A first determining unit, configured to determine function restriction information corresponding to the confidentiality level;

[0135] The first generating unit is used to generate the user authority according to the function restriction information and the device information.

[0136] Furthermore, the target credential is a target QR code; and the first monitoring module includes:

[0137] A second determination unit, configured to determine a target device corresponding to the target QR code if the entry credential collection module scans the target QR code;

[0138] The first sending unit is used to send a closing instruction to a terminal manager corresponding to the target device.

[0139] Furthermore, the target credential is a target QR code; and the second monitoring module includes:

[0140] A third determining unit, configured to determine a target device corresponding to the target QR code if the export voucher collection module scans the target QR code;

[0141] The second sending unit is used to send an opening instruction to the terminal manager corresponding to the target device.

[0142] Furthermore, the device also includes:

[0143] A third monitoring module is used to monitor the entrance and exit verification module and obtain user information detected by the entrance and exit verification module;

[0144] A first acquisition module, used to acquire identity information and device information from the user information;

[0145] A first determination module, used to determine the user authority corresponding to the identity information and the target device corresponding to the device information;

[0146] A first determination module, configured to determine whether a function corresponding to the user authority in the target device is disabled;

[0147] The second sending module is used to send a pass instruction to the entry and exit verification module if the function corresponding to the user authority in the target device is disabled.

[0148] Furthermore, the second sending module includes:

[0149] A first judging unit, used to judge whether the identity information matches the device information;

[0150] The third sending unit is used to send a pass instruction to the entry and exit verification module if the identity information matches the device information.

[0151] Furthermore, the second sending module includes:

[0152] A fourth determining unit, used to determine the confidentiality area corresponding to the entrance and exit verification module;

[0153] A fifth determining unit, configured to determine a confidentiality level corresponding to the identity information;

[0154] A second judgment unit, used to judge whether the confidentiality level matches the confidentiality area;

[0155] The fourth sending unit is used to send a pass instruction to the entrance and exit verification module if the confidentiality level matches the confidentiality area.

[0156] Reference Figure 4 In terms of hardware structure, the electronic device may include components such as a communication module 10, a memory 20, and a processor 30. In the electronic device, the processor 30 is connected to the memory 20 and the communication module 10 respectively, and a computer program is stored in the memory 20. The computer program is executed by the processor 30 at the same time, and the steps of the above method embodiment are implemented when the computer program is executed.

[0157] The communication module 10 can be connected to an external communication device through a network. The communication module 10 can receive requests from an external communication device, and can also send requests, instructions and information to the external communication device, which can be other electronic devices, servers or Internet of Things devices, such as televisions, etc.

[0158] The memory 20 can be used to store software programs and various data. The memory 20 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function (such as receiving a pass request sent by a target device), etc.; the data storage area can include a database, and the data storage area can store data or information created according to the use of the system, etc. In addition, the memory 20 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0159] The processor 30 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It executes various functions of the electronic device and processes data by running or executing software programs and / or modules stored in the memory 20, and calling data stored in the memory 20, so as to monitor the electronic device as a whole. The processor 30 may include one or more processing units; optionally, the processor 30 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 30.

[0160] although Figure 4Although not shown, the electronic device may further include a circuit control module, which is used to connect to a power source to ensure the normal operation of other components. Figure 4 The electronic device structure shown in the figure does not constitute a limitation of the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0161] The present invention also provides a computer-readable storage medium on which a computer program is stored. The computer-readable storage medium may be Figure 4 The memory 20 in the electronic device may also be at least one of a ROM (Read-Only Memory) / RAM (Random Access Memory), a magnetic disk, and an optical disk. The computer-readable storage medium includes a number of instructions for enabling a terminal device with a processor (which may be a television, a car, a mobile phone, a computer, a server, a terminal, or a network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0162] In the present invention, the terms "first", "second", "third", "fourth" and "fifth" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0163] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0164] Although the embodiments of the present invention have been shown and described above, the scope of protection of the present invention is not limited thereto. It is understood that the above embodiments are exemplary and cannot be understood as limiting the present invention. A person of ordinary skill in the art can change, modify and replace the above embodiments within the scope of the present invention, and these changes, modifications and replacements should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be subject to the scope of protection of the claims.

Claims

1. A device control method, characterized in that: The device control method comprises: Receiving a pass request sent by a target device, and determining a user authority corresponding to the pass request; Sending the user rights to the target device so that the target device generates a target credential according to the user rights, and pre-disabling a disabled function corresponding to the user rights in the target device, wherein the user can exit the pre-disabling state through a management and control application in the pre-disabling state; Monitoring the entry credential collection module, and if the entry credential collection module collects the target credential, sending a closing instruction to the terminal manager corresponding to the target device, so that the terminal manager closes the disabled function corresponding to the user authority in the target device; The export credential collection module is monitored, and if the export credential collection module collects the target credential, an opening instruction is sent to the terminal manager corresponding to the target device, so that the terminal manager restores the disabled function corresponding to the user authority in the target device.

2. The device control method according to claim 1, characterized in that: The determining of the user authority corresponding to the access request includes: Obtaining user information and device information in the access request, and determining a confidentiality level corresponding to the user information; Determining function restriction information corresponding to the confidentiality level; The user authority is generated according to the function restriction information and the device information.

3. The device control method according to claim 1, characterized in that: The target credential is a target QR code; the monitoring of the entry credential collection module, if the entry credential collection module collects the target credential, sending a closing instruction to the terminal manager corresponding to the target device includes: If the entry credential collection module scans the target QR code, a target device corresponding to the target QR code is determined; Send a close instruction to the terminal manager corresponding to the target device.

4. The device control method according to claim 1, characterized in that: The target credential is a target QR code; the export credential collection module is monitored, and if the export credential collection module collects the target credential, an opening instruction is sent to a terminal manager corresponding to the target device, including: If the export voucher collection module scans the target QR code, a target device corresponding to the target QR code is determined; Send an opening instruction to the terminal manager corresponding to the target device.

5. The device control method according to claim 1, characterized in that: The method further comprises: Monitor the entry and exit verification module to obtain user information detected by the entry and exit verification module; Obtaining identity information and device information from the user information; Determine the user authority corresponding to the identity information and the target device corresponding to the device information; Determining whether a function corresponding to the user authority in the target device is disabled; If the function corresponding to the user authority in the target device is disabled, a pass instruction is sent to the entry and exit verification module.

6. The device control method according to claim 5, characterized in that: The sending of a pass instruction to the entry / exit verification module comprises: Determining whether the identity information matches the device information; If the identity information matches the device information, a pass instruction is sent to the entry and exit verification module.

7. The device control method according to claim 5, characterized in that: The sending of a pass instruction to the entry / exit verification module comprises: Determine the confidentiality area corresponding to the entrance and exit verification module; Determining a confidentiality level corresponding to the identity information; Determining whether the confidentiality level matches the confidentiality area; If the confidentiality level matches the confidentiality area, a pass instruction is sent to the entry and exit verification module.

8. A device control device, characterized in that: The equipment control device comprises: A first receiving module, configured to receive a pass request sent by a target device and determine a user authority corresponding to the pass request; A first sending module, configured to send the user rights to the target device, so that the target device generates a target credential according to the user rights, and pre-closes a disabled function corresponding to the user rights in the target device, in which the user can exit the pre-closed state through a management and control application; A first monitoring module is used to monitor the entry credential collection module, and if the entry credential collection module collects the target credential, send a closing instruction to the terminal manager corresponding to the target device, so that the terminal manager closes the disabled function corresponding to the user authority in the target device; The second monitoring module is used to monitor the export credential collection module. If the export credential collection module collects the target credential, an enable instruction is sent to the terminal manager corresponding to the target device to enable the terminal manager to restore the disabled function corresponding to the user authority in the target device.

9. An electronic device, characterized in that: The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the device management and control method as described in any one of claims 1 to 7.

10. 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 steps of the device control method according to any one of claims 1 to 7 are implemented.