Equipment permission allocation method and device, computer equipment, computer readable storage medium and computer program product

By obtaining mobile device information and generating authentication tokens, and assigning account permissions to mobile devices according to permission types, the problem of cumbersome permission allocation for mobile devices is solved and the efficiency of permission allocation is improved.

CN118694603APending Publication Date: 2024-09-24GUANGZHOU NANTIAN COMP SYST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410978596.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-22
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

Permission allocation for mobile devices in the prior art is relatively cumbersome, especially when permissions need to be allocated to multiple accounts, the process is complex and inefficient.

Method used

By obtaining the device information of the mobile device, an authentication token is generated, and after successful authentication, the mobile device is assigned the permission of at least one account according to the permission type, which includes a single account, department, and custom group.

Benefits of technology

It simplifies the permission allocation process for mobile devices and improves the efficiency of permission allocation, allowing at least one account to log in to the office platform on a mobile device, reducing the tediousness of permission allocation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118694603A
    Figure CN118694603A
Patent Text Reader

Abstract

The invention relates to an equipment permission allocation method and device, computer equipment, a computer readable storage medium and a computer program product, and relates to the technical field of computer networks. The method comprises the following steps: acquiring equipment information of mobile equipment to be subjected to permission allocation; generating an authentication token corresponding to the mobile device based on the device information of the mobile device; issuing the authentication token to the mobile device; under the condition that the mobile equipment is successfully authenticated based on the authentication token, allocating the authority corresponding to at least one account to the mobile equipment based on the authority type to be allocated to the mobile equipment; the authority is the authority that at least one account logs in the office platform through the mobile device. By adopting the method, the tedious degree of authority distribution of the mobile equipment can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer network technology, and in particular to a device access method, apparatus, computer equipment, computer-readable storage medium, and computer program product. Background Art

[0002] Currently, many companies manage the mobile devices that employees use for work, and only allow employees to log in to the office platform through mobile devices that have been assigned corresponding permissions.

[0003] In the related art, the permission allocation for mobile devices usually supports the permission allocation for mobile devices on a single account basis, that is, the mobile device is assigned the permission to allow a certain account to log in to the office platform; therefore, when the mobile device needs to be assigned permissions corresponding to multiple accounts, the permission allocation for the mobile device is more cumbersome. Summary of the invention

[0004] Based on this, it is necessary to provide a device permission allocation method, apparatus, computer equipment, computer-readable storage medium and computer program product that can reduce the complexity of permission allocation for mobile devices in order to address the technical problem that permission allocation for the above-mentioned mobile devices is relatively cumbersome.

[0005] In a first aspect, the present application provides a method for allocating device permissions, comprising:

[0006] Obtain device information of the mobile device to which permissions are to be assigned;

[0007] Based on the device information of the mobile device, generate an authentication token corresponding to the mobile device;

[0008] Sending the authentication token to the mobile device;

[0009] When the mobile device is successfully authenticated based on the authentication token, the mobile device is assigned permissions corresponding to at least one account based on the permission type to be assigned to the mobile device; the permission is the permission for the at least one account to log in to the office platform through the mobile device.

[0010] In one embodiment, the permission type includes a first permission corresponding to a single account, a second permission corresponding to a department, and a third permission corresponding to a custom group;

[0011] The allocating permissions corresponding to at least one account to the mobile device based on the permission type to be allocated to the mobile device includes:

[0012] In the case where the permission type is the first permission, allocating permissions corresponding to the account to be assigned permissions to the mobile device;

[0013] In the case where the permission type is the second permission, the mobile device is assigned permissions corresponding to each account under the department to which the permission is to be assigned;

[0014] In the case where the permission type is the third permission, permissions corresponding to each account under the custom group to which permissions are to be assigned are allocated to the mobile device.

[0015] In one embodiment, the mobile device to be assigned permissions is a mobile device newly registered in the office platform;

[0016] The step of obtaining device information of a mobile device to which permissions are to be assigned includes:

[0017] Reading from the office platform the information carried by the mobile device when entering the office platform;

[0018] The information carried by the mobile device when entering the office platform is used as the device information of the mobile device.

[0019] In one embodiment, the mobile device to be assigned permissions is a mobile device that initiates a login request to the office platform for the first time;

[0020] The step of obtaining device information of a mobile device to which permissions are to be assigned includes:

[0021] When receiving the login request initiated by the mobile device for the first time, sending a description file of the office platform to the mobile device; the mobile device is used to return corresponding device information in response to the description file;

[0022] The device information returned by the mobile device is received.

[0023] In one embodiment, after sending the authentication token to the mobile device, the method further includes:

[0024] After a preset time period of issuing the authentication token, confirming the authentication status of the mobile device;

[0025] In the event that the authentication of the mobile device fails, the authentication token corresponding to the mobile device is updated, and a new authentication token is sent to the mobile device.

[0026] In one embodiment, before sending the authentication token to the mobile device, the method further includes:

[0027] Confirming the installation status of the description file of the office platform on the mobile device;

[0028] If the description file is not installed on the mobile device, activating the mobile device to install the description file;

[0029] The sending the authentication token to the mobile device includes:

[0030] When the description file is installed in the mobile device, the authentication token is sent to the mobile device.

[0031] In a second aspect, the present application also provides a device authority allocation apparatus, including:

[0032] An information acquisition module, used to acquire device information of a mobile device to which permissions are to be assigned;

[0033] A token generation module, used to generate an authentication token corresponding to the mobile device based on the device information of the mobile device;

[0034] A token sending module, used for sending the authentication token to the mobile device;

[0035] A permission allocation module is used to allocate permissions corresponding to at least one account to the mobile device based on the permission type to be allocated to the mobile device when the mobile device is successfully authenticated based on the authentication token; the permission is the permission for the at least one account to log in to the office platform through the mobile device.

[0036] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0037] Obtain device information of the mobile device to which permissions are to be assigned;

[0038] Based on the device information of the mobile device, generate an authentication token corresponding to the mobile device;

[0039] Sending the authentication token to the mobile device;

[0040] When the mobile device is successfully authenticated based on the authentication token, the mobile device is assigned permissions corresponding to at least one account based on the permission type to be assigned to the mobile device; the permission is the permission for the at least one account to log in to the office platform through the mobile device.

[0041] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:

[0042] Obtain device information of the mobile device to which permissions are to be assigned;

[0043] Based on the device information of the mobile device, generate an authentication token corresponding to the mobile device;

[0044] Sending the authentication token to the mobile device;

[0045] When the mobile device is successfully authenticated based on the authentication token, the mobile device is assigned permissions corresponding to at least one account based on the permission type to be assigned to the mobile device; the permission is the permission for the at least one account to log in to the office platform through the mobile device.

[0046] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:

[0047] Obtain device information of the mobile device to which permissions are to be assigned;

[0048] Based on the device information of the mobile device, generate an authentication token corresponding to the mobile device;

[0049] Sending the authentication token to the mobile device;

[0050] When the mobile device is successfully authenticated based on the authentication token, the mobile device is assigned permissions corresponding to at least one account based on the permission type to be assigned to the mobile device; the permission is the permission for the at least one account to log in to the office platform through the mobile device.

[0051] The above-mentioned device permission allocation method, apparatus, computer equipment, computer-readable storage medium and computer program product first obtain the device information of the mobile device to which the permission is to be allocated; then, based on the device information of the mobile device, generate an authentication token corresponding to the mobile device; then send the authentication token to the mobile device; finally, when the mobile device successfully authenticates based on the authentication token, based on the permission type to be allocated to the mobile device, allocate permissions corresponding to at least one account to the mobile device; the permission is the permission for at least one account to log in to the office platform through the mobile device. Based on the device permission allocation of the above process, permissions corresponding to at least one account can be allocated to the mobile device at one time according to the permission type to be allocated to the mobile device, so that at least one account can obtain the permission to log in to the office platform on the mobile device in one permission allocation process, thereby reducing the cumbersomeness of the permission allocation of the mobile device. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments of the present application or the related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0053] Figure 1 A schematic diagram of a flow chart of a method for allocating device permissions in one embodiment;

[0054] Figure 2 A flowchart of steps for allocating permissions corresponding to at least one account to a mobile device based on the permission type to be allocated to the mobile device in one embodiment;

[0055] Figure 3 A flowchart of steps for obtaining device information of a mobile device to be assigned permissions in one embodiment;

[0056] Figure 4 A flowchart of steps for obtaining device information of a mobile device to be assigned permissions in another embodiment;

[0057] Figure 5 A flowchart of the steps of updating the authentication token corresponding to the mobile device and sending the new authentication token to the mobile device when the authentication of the mobile device fails in one embodiment;

[0058] Figure 6 A flowchart of steps for activating a mobile device to install a description file when the mobile device has not installed the description file in one embodiment;

[0059] Figure 7 A schematic diagram of a process of a device management method for enterprise information security in one embodiment;

[0060] Figure 8 A schematic diagram of a flow chart of a device management method for enterprise information security in another embodiment;

[0061] Fig. 9 It is a structural block diagram of a device authority allocation apparatus in one embodiment;

[0062] Fig.10 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0063] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0064] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0065] In one embodiment, Figure 1 As shown, a method for allocating device permissions is provided. This embodiment takes the application of this method to an office platform as an example. The office platform is mounted on a terminal or a server. It can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server; wherein the terminal can be, but is not limited to, various personal computers, laptops, smart phones, and tablet computers, etc., and the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services. It is easy to understand that the office platform can be connected to the device management platform, and the management of mobile devices by the office platform is implemented through the connected device management platform. In this embodiment, the method includes the following steps:

[0066] Step S102: obtaining device information of a mobile device to which permissions are to be assigned.

[0067] Among them, mobile devices refer to the office equipment of the enterprise.

[0068] There is at least one mobile device to which permissions are to be assigned. In actual applications, the mobile devices to which permissions are to be assigned include two categories: one is a mobile device newly entered into the office platform, such as a newly purchased mobile device by the enterprise, and the other is a mobile device that initiates a login request for the office platform for the first time, such as a mobile device of a new employee or a new frequently used mobile device of an employee.

[0069] Among them, the permissions to be assigned to the mobile device refer to the permissions for the account under the office platform to log in to the office platform through the mobile device.

[0070] Among them, the office platform refers to the office platform of the enterprise.

[0071] The device information of the mobile device includes at least the device model, device type and device serial number of the mobile device.

[0072] Among them, device types include enterprise devices and personal devices; enterprise devices refer to mobile devices owned by the enterprise, such as office computers, etc., and personal devices refer to mobile devices owned by employees, such as their own mobile phones and laptops. In actual applications, the office platform has different management permissions for different types of devices. For example, the office platform can remotely wipe data on enterprise devices, modify the lock screen password, and other operations.

[0073] Specifically, there is a permission allocation page in the office platform. When the permission allocation personnel needs to allocate permissions for newly added mobile devices, they can log in to the permission allocation account with permission allocation permission under the office platform, enter the permission allocation page through the permission allocation account, and check the mobile devices to be assigned permissions on the permission allocation page, and then trigger the permission allocation instructions for the mobile devices to be assigned permissions through the permission allocation controls configured in the permission allocation page; the office platform responds to the permission allocation instructions triggered by the permission allocation personnel and obtains the device information of the mobile devices to be assigned permissions.

[0074] In actual applications, the device information of the mobile device to be assigned permissions can be directly read from the mobile device or pre-entered into the office platform. Therefore, the office platform can directly read the device information from the mobile device or read the device information entered into the office platform.

[0075] Step S104: Generate an authentication token corresponding to the mobile device based on the device information of the mobile device.

[0076] Each mobile device has a different authentication token, which is used to authenticate the office platform and the mobile device. Only authenticated mobile devices can be assigned permissions.

[0077] Specifically, for each mobile device, after obtaining the device information of the mobile device in step S102, the office platform generates an authentication token corresponding to the mobile device based on the device information obtained in step S102.

[0078] Step S106: Send the authentication token to the mobile device.

[0079] Among them, the mobile device is used to complete the authentication based on the authentication token.

[0080] Specifically, the office platform sends the authentication token of the mobile device to the mobile device to achieve authentication with the mobile device.

[0081] Step S108, when the mobile device is successfully authenticated based on the authentication token, the mobile device is assigned permissions corresponding to at least one account based on the permission type to be assigned to the mobile device.

[0082] The permission refers to the permission for at least one account to log in to the office platform through a mobile device.

[0083] The permission types include at least a first permission corresponding to a single account, a second permission corresponding to a department, and a third permission corresponding to a custom group. In actual applications, the permission allocation personnel can configure the permission types to be allocated to the mobile device on the permission allocation page.

[0084] Specifically, after a preset time period has passed since the authentication token was issued, the office platform confirms whether the mobile device has been successfully authenticated. If the authentication is successful, the mobile device is assigned permissions corresponding to at least one account based on the permission type to be assigned to the mobile device, so that at least one account can log in to the office platform through the mobile device.

[0085] In actual applications, the first permission corresponds to a single account; the second permission and the third permission correspond to multiple accounts.

[0086] In the above device permission allocation method, the office platform first obtains the device information of the mobile device to which the permission is to be allocated; then, the office platform generates an authentication token corresponding to the mobile device based on the device information of the mobile device; then, the office platform sends the authentication token to the mobile device; finally, when the mobile device successfully authenticates based on the authentication token, the office platform allocates permissions corresponding to at least one account to the mobile device based on the permission type to be allocated to the mobile device; the permission is the permission for at least one account to log in to the office platform through the mobile device. Based on the device permission allocation in the above process, the office platform can allocate permissions corresponding to at least one account to the mobile device at one time according to the permission type to be allocated to the mobile device, so that at least one account can obtain the permission to log in to the office platform on the mobile device in one permission allocation process, thereby reducing the cumbersomeness of the permission allocation of the mobile device.

[0087] In an exemplary embodiment, the permission types include a first permission corresponding to a single account, a second permission corresponding to a department, and a third permission corresponding to a custom group.

[0088] like Figure 2 As shown, the above step S108, based on the permission type to be assigned to the mobile device, assigning permissions corresponding to at least one account to the mobile device, specifically includes the following steps:

[0089] Step S202: when the permission type is the first permission, the mobile device is allocated the permission corresponding to the account to be allocated the permission.

[0090] Step S204: when the permission type is the second permission, the mobile device is allocated permissions corresponding to each account under the department to which the permission is to be allocated.

[0091] Step S206: when the permission type is the third permission, the mobile device is allocated the permissions corresponding to each account under the custom group to which the permission is to be allocated.

[0092] Specifically, when the permission type to be assigned to the mobile device is the first permission corresponding to a single account, the office platform first confirms the account to which the permission is to be assigned, and then assigns the permission corresponding to the account to the mobile device; after the permission is assigned, the account can log in to the office platform through the mobile device.

[0093] When the permission type to be assigned to the mobile device is the second permission corresponding to the department, the office platform first confirms the department to which the permission is to be assigned and the various accounts under the department, and then assigns the corresponding permissions to the various accounts under the department to the mobile device; after the permissions are assigned, the various accounts under the department can log in to the office platform through the mobile device.

[0094] When the permission type to be assigned to the mobile device is the third permission corresponding to the custom group, the office platform first confirms the custom group to which the permission is to be assigned and the various accounts under the custom group, and then assigns the corresponding permissions to the various accounts under the custom group to the mobile device; after the permissions are assigned, the various accounts under the custom group can log in to the office platform through the mobile device.

[0095] In actual applications, the authority allocation personnel can configure the accounts to be assigned permissions, the departments to be assigned permissions, and the custom groups to be assigned permissions on the authority allocation page of the office platform.

[0096] In this embodiment, the office platform allocates device permissions based on the above process. By allocating permissions to mobile devices according to the type of permissions to be assigned to the mobile device, permissions can be allocated to the mobile device according to a single account, a department, or a custom group. In this way, one or more accounts can obtain permissions to log in to the office platform on the mobile device during one permission allocation process, thereby reducing the complexity of permission allocation for mobile devices.

[0097] In an exemplary embodiment, the mobile device to which permissions are to be assigned is a mobile device newly registered in the office platform. Furthermore, the mobile device newly registered in the office platform is a mobile device newly purchased by the enterprise.

[0098] like Figure 3 As shown, the above step S102, obtaining the device information of the mobile device to be assigned permissions, specifically includes the following steps:

[0099] Step S302, reading from the office platform the information carried by the mobile device when entering the office platform.

[0100] Step S304: Use the information carried by the mobile device when entering the office platform as the device information of the mobile device.

[0101] It is easy to understand that when an enterprise purchases new mobile devices, such as office computers, it needs to assign permissions to them.

[0102] Specifically, there is also a device entry page in the office platform. When the device entry personnel need to enter a newly added mobile device, they can log in to the device entry account with device entry permission under the office platform, enter the device entry page through the device entry account, and enter the device information of the newly added mobile device on the device entry page to achieve the entry of the newly added mobile device. After the mobile device is entered, the office platform will add an option for the newly added mobile device to the permission allocation page so that the permission allocation personnel can check it.

[0103] After the authority allocation personnel triggers the authority allocation instruction, the office platform responds to the authority allocation instruction, reads the information carried by the mobile device when entering the office platform, and uses it as the device information of the mobile device.

[0104] In this embodiment, by determining the mobile device newly registered in the office platform as the mobile device to be assigned permissions, the permissions for the mobile devices newly purchased by the enterprise can be assigned.

[0105] In an exemplary embodiment, when the mobile device to which permissions are to be assigned is a mobile device newly entered into an office platform, the type of permissions to be assigned to the mobile device may be any one of a first permission corresponding to a single account, a second permission corresponding to a department, and a third permission corresponding to a custom group.

[0106] In an exemplary embodiment, for a mobile device newly entered into the office platform, the auditor may audit it through the office platform, and the office platform will determine it as a mobile device to be assigned permissions after passing the audit.

[0107] In an exemplary embodiment, the mobile device to be assigned permissions is a mobile device that initiates a login request to the office platform for the first time. Further, the mobile device that initiates a login request to the office platform for the first time is a mobile device of a new employee or a new frequently used mobile device of the employee.

[0108] like Figure 4 As shown, the above step S102, obtaining the device information of the mobile device to be assigned permissions, specifically also includes the following steps:

[0109] Step S402: When receiving a login request initiated by a mobile device for the first time, a description file of the office platform is sent to the mobile device.

[0110] Step S404: receiving device information returned by the mobile device.

[0111] The mobile device is used to return corresponding device information in response to the description file.

[0112] The description file is used to describe the configuration information of the office platform, such as authorization information, access restrictions, security policies, etc.

[0113] It is easy to understand that when a new employee joins the company, permissions need to be assigned to the new employee's mobile device, or when an employee needs to replace his / her commonly used mobile device, permissions need to be assigned to the employee's new commonly used mobile device.

[0114] It is also easy to understand that employees log in to their accounts on the office platform through the application of the office platform installed on their mobile devices. When logging in to the account, the mobile device will send a login request to the office platform through the application, and complete the login after the office platform verifies it.

[0115] Specifically, when the office platform receives a login request, it determines whether the mobile device initiating the login request is the first mobile device initiating the login request based on the login request, and if the mobile device is the first to initiate the login request, it determines that the mobile device is a new employee's mobile device or an employee's new frequently used mobile device, and then confirms that permissions need to be assigned to it. Therefore, the office platform sends the description file of the office platform to the mobile device; the mobile device responds to the description file and returns its own device information; the office platform receives the device information returned by the mobile device, thereby realizing the reading of the device information of the mobile device.

[0116] In this embodiment, by determining the mobile device of the new employee or the new frequently used mobile device of the employee as the mobile device to be assigned permissions, permission assignment to the mobile device of the new employee or the new frequently used mobile device of the employee can be achieved.

[0117] In an exemplary embodiment, when the mobile device to be assigned permissions is a mobile device that initiates a login request to the office platform for the first time, the permission type to be assigned to the mobile device is a first permission corresponding to a single account.

[0118] In an exemplary embodiment, for a mobile device that initiates a login request to an office platform for the first time, an auditor may audit it through the office platform, and the office platform may determine it as a mobile device to be assigned permissions after passing the audit.

[0119] like Figure 5 As shown, in an exemplary embodiment, after the authentication token is sent to the mobile device in the above step S106, the following steps are specifically included:

[0120] Step S502: After the authentication token is issued for a preset period of time, the authentication status of the mobile device is confirmed.

[0121] Step S504: when the authentication of the mobile device fails, the authentication token corresponding to the mobile device is updated, and a new authentication token is sent to the mobile device.

[0122] Specifically, after receiving the authentication token, the mobile device will authenticate with the mobile device, and after the authentication is completed, send feedback information to the office platform to inform the office platform that the authentication is successful.

[0123] Therefore, after the office platform sends the authentication token to the mobile device for a preset period of time, it confirms whether it has received feedback information sent by the mobile device, and if feedback information is received, it confirms that the authentication of the mobile device is successful; if no feedback information is received, it confirms that the authentication of the mobile device has failed; and if the authentication of the mobile device fails, a new authentication token for the mobile device is generated, and the new authentication token is sent to the mobile device to authenticate the mobile device again.

[0124] In actual applications, the office platform can also confirm that the mobile device authentication has failed if no feedback information sent by the mobile device is received after a preset time period after issuing the authentication token.

[0125] In this embodiment, the office platform can ensure successful authentication between the office platform and the mobile device by confirming the authentication status of the mobile device and updating the authentication token when the authentication fails, thereby ensuring that the office platform can allocate permissions for the mobile device.

[0126] like Figure 6 As shown, in an exemplary embodiment, before the authentication token is sent to the mobile device in step S106, the following steps are also specifically included:

[0127] Step S602: confirming the installation status of the description file of the office platform on the mobile device.

[0128] Step S604: if the description file is not installed on the mobile device, activate the mobile device to install the description file.

[0129] The above step S106, sending the authentication token to the mobile device, includes:

[0130] When the description file is installed on the mobile device, the authentication token is sent to the mobile device.

[0131] Specifically, the mobile device needs to install the description file of the office platform so that it can achieve authentication with the office platform and the office platform can allocate permissions to it.

[0132] Therefore, before issuing the authentication token, the office platform also needs to determine the installation status of the description file of the office platform on the mobile device. If the description file is not installed on the mobile device, the office platform needs to actively activate the mobile device to install it, and issue the authentication token to the mobile device when the description file is installed on the mobile device; if the description file is already installed on the mobile device, the office platform directly issues the authentication token to the mobile device.

[0133] In this embodiment, the office platform can ensure successful authentication between the office platform and the mobile device by confirming the installation status of the description file on the mobile device, thereby ensuring that the office platform can allocate permissions for the mobile device.

[0134] In an exemplary embodiment, the description file on the mobile device newly entered into the office platform can be sent to the mobile device in advance by the device entry personnel when entering the mobile device into the office platform, or it can be sent to the mobile device when the authority allocation personnel triggers the authority allocation instruction for the mobile device.

[0135] In order to more clearly illustrate the device permission allocation method provided in the embodiment of the present application, the device permission allocation method is specifically described below with a specific embodiment, but it should be understood that the embodiment of the present application is not limited thereto. In one of the exemplary embodiments, the present application also provides a device management method for enterprise information security, which specifically includes the following contents:

[0136] In order to more efficiently allocate permissions to mobile devices, this application provides two permission allocation methods to manage devices.

[0137] like Figure 7 As shown, the first allocation method is to allocate permissions through manual registration on the company's office platform.

[0138] The administrator first obtains and organizes the device information of the newly purchased mobile devices, and enters the device information of the newly purchased mobile devices into the office platform; then, the reviewer reviews the newly entered mobile devices through the office platform, and the office platform determines it as a mobile device to be assigned permissions after the review is passed.

[0139] Next, the office platform determines whether the description file is installed on the mobile device; if the description file is installed, an authentication token is sent to the mobile device, and it is determined whether the mobile device is successfully authenticated; if the authentication fails, the authentication token is updated and a new authentication token is sent to the mobile device; if the description file is not installed, the mobile device is activated to install the description file; if the authentication is successful, permissions corresponding to a single account, a department, or a custom group are assigned to the mobile device.

[0140] like Figure 8As shown, the second allocation method is to allocate permissions through automatic registration on the company's office platform.

[0141] After the new mobile device has installed the office platform's application, it sends a login request to the office platform; the office platform sends a description file to the mobile device and determines whether the description file is installed on the mobile device; if the description file is installed, an authentication token is sent to the mobile device and a determination is made as to whether the mobile device has been successfully authenticated; if the authentication fails, the authentication token is updated and a new authentication token is sent to the mobile device; if the description file has not been installed, the mobile device is activated to install the description file; if the authentication is successful, the mobile device is assigned permissions corresponding to the account that sent the login request.

[0142] In this embodiment, a more convenient permission allocation strategy is provided, which improves the efficiency of the administrator's permission allocation to access devices and solves the limitations of device permission allocation. In addition, by flexibly managing multiple mobile devices, it is more conducive to the unified control of each mobile device.

[0143] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0144] Based on the same inventive concept, the embodiment of the present application also provides a device authority allocation apparatus for implementing the device authority allocation method involved above. The implementation scheme for solving the problem provided by the apparatus is similar to the implementation scheme recorded in the above method, so the specific limitations in the one or more device authority allocation apparatus embodiments provided below can refer to the limitations on the device authority allocation method above, and will not be repeated here.

[0145] In an exemplary embodiment, Fig. 9 As shown, a device authority allocation device is provided, including: an information acquisition module 902, a token generation module 904, a token issuance module 906 and an authority allocation module 908, wherein:

[0146] The information acquisition module 902 is used to acquire device information of a mobile device to which permissions are to be allocated.

[0147] The token generation module 904 is used to generate an authentication token corresponding to the mobile device based on the device information of the mobile device.

[0148] The token sending module 906 is used to send the authentication token to the mobile device.

[0149] The permission allocation module 908 is used to allocate permissions corresponding to at least one account to the mobile device based on the permission type to be allocated to the mobile device when the mobile device is successfully authenticated based on the authentication token; the permission is the permission for at least one account to log in to the office platform through the mobile device.

[0150] In an exemplary embodiment, the permission types include a first permission corresponding to a single account, a second permission corresponding to a department, and a third permission corresponding to a custom group.

[0151] The permission allocation module 908 is also used to allocate permissions corresponding to the account to be assigned permissions to the mobile device when the permission type is the first permission; allocate permissions corresponding to each account under the department to be assigned permissions to the mobile device when the permission type is the second permission; and allocate permissions corresponding to each account under the custom group to be assigned permissions to the mobile device when the permission type is the third permission.

[0152] In an exemplary embodiment, the mobile device to which permissions are to be assigned is a mobile device newly registered in the office platform.

[0153] The information acquisition module 902 is also used to read the information carried by the mobile device when entering the office platform from the office platform; and use the information carried by the mobile device when entering the office platform as the device information of the mobile device.

[0154] In an exemplary embodiment, the mobile device to which permissions are to be assigned is a mobile device that initiates a login request to the office platform for the first time.

[0155] The information acquisition module 902 is also used to send the description file of the office platform to the mobile device when receiving the first login request initiated by the mobile device; the mobile device is used to respond to the description file and return the corresponding device information; and receive the device information returned by the mobile device.

[0156] In an exemplary embodiment, the token issuing module 906 is also used to confirm the authentication status of the mobile device after a preset time period of issuing the authentication token; if the authentication of the mobile device fails, update the authentication token corresponding to the mobile device and issue the new authentication token to the mobile device.

[0157] In an exemplary embodiment, the device authority allocation apparatus further includes a file activation module, which is used to confirm the installation status of the description file of the office platform on the mobile device; if the description file is not installed on the mobile device, activate the mobile device to install the description file;

[0158] The token issuing module 906 is further used to issue the authentication token to the mobile device when the description file is installed on the mobile device.

[0159] Each module in the above-mentioned device authority allocation device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

[0160] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Fig.10 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a device authority allocation method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

[0161] Those skilled in the art will understand that Fig.10The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0162] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0163] Obtain device information of the mobile device to which permissions are to be assigned;

[0164] Based on the device information of the mobile device, generate an authentication token corresponding to the mobile device;

[0165] Send the authentication token to the mobile device;

[0166] When the mobile device successfully authenticates based on the authentication token, the mobile device is assigned permissions corresponding to at least one account based on the permission type to be assigned to the mobile device; the permission is the permission for at least one account to log in to the office platform through the mobile device.

[0167] In one embodiment, the permission types include a first permission corresponding to a single account, a second permission corresponding to a department, and a third permission corresponding to a custom group.

[0168] When the processor executes the computer program, it also performs the following steps:

[0169] In the case where the permission type is the first permission, the mobile device is assigned permissions corresponding to the account to be assigned permissions;

[0170] In the case where the permission type is the second permission, the mobile device is assigned permissions corresponding to each account under the department to which the permission is to be assigned;

[0171] When the permission type is the third permission, the mobile device is assigned permissions corresponding to each account under the custom group to which the permission is to be assigned.

[0172] In one embodiment, the mobile device to which permissions are to be assigned is a mobile device newly registered in the office platform.

[0173] When the processor executes the computer program, it also performs the following steps:

[0174] Read the information carried by the mobile device when entering the office platform from the office platform;

[0175] The information carried by the mobile device when entering the office platform is used as the device information of the mobile device.

[0176] In one embodiment, the mobile device to be assigned permissions is a mobile device that initiates a login request to the office platform for the first time.

[0177] When the processor executes the computer program, it also performs the following steps:

[0178] When receiving a login request initiated by a mobile device for the first time, a description file of the office platform is sent to the mobile device; the mobile device is used to respond to the description file and return corresponding device information;

[0179] Receive device information returned by the mobile device.

[0180] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0181] After a preset time period of issuing the authentication token, confirm the authentication status of the mobile device;

[0182] In the event that authentication of the mobile device fails, the authentication token corresponding to the mobile device is updated, and a new authentication token is sent to the mobile device.

[0183] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0184] Confirm the installation status of the description file of the office platform on the mobile device;

[0185] If the description file is not installed on the mobile device, activate the mobile device to install the description file;

[0186] When the description file is installed on the mobile device, the authentication token is sent to the mobile device.

[0187] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0188] Obtain device information of the mobile device to which permissions are to be assigned;

[0189] Based on the device information of the mobile device, generate an authentication token corresponding to the mobile device;

[0190] Send the authentication token to the mobile device;

[0191] When the mobile device successfully authenticates based on the authentication token, the mobile device is assigned permissions corresponding to at least one account based on the permission type to be assigned to the mobile device; the permission is the permission for at least one account to log in to the office platform through the mobile device.

[0192] In one embodiment, the permission types include a first permission corresponding to a single account, a second permission corresponding to a department, and a third permission corresponding to a custom group.

[0193] When the computer program is executed by the processor, the following steps are also performed:

[0194] In the case where the permission type is the first permission, the mobile device is assigned permissions corresponding to the account to be assigned permissions;

[0195] In the case where the permission type is the second permission, the mobile device is assigned permissions corresponding to each account under the department to which the permission is to be assigned;

[0196] When the permission type is the third permission, the mobile device is assigned permissions corresponding to each account under the custom group to which the permission is to be assigned.

[0197] In one embodiment, the mobile device to which permissions are to be assigned is a mobile device newly registered in the office platform.

[0198] When the computer program is executed by the processor, the following steps are also performed:

[0199] Read the information carried by the mobile device when entering the office platform from the office platform;

[0200] The information carried by the mobile device when entering the office platform is used as the device information of the mobile device.

[0201] In one embodiment, the mobile device to be assigned permissions is a mobile device that initiates a login request to the office platform for the first time.

[0202] When the computer program is executed by the processor, the following steps are also performed:

[0203] When receiving a login request initiated by a mobile device for the first time, a description file of the office platform is sent to the mobile device; the mobile device is used to respond to the description file and return corresponding device information;

[0204] Receive device information returned by the mobile device.

[0205] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0206] After a preset time period of issuing the authentication token, confirm the authentication status of the mobile device;

[0207] In the event that authentication of the mobile device fails, the authentication token corresponding to the mobile device is updated, and a new authentication token is sent to the mobile device.

[0208] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0209] Confirm the installation status of the description file of the office platform on the mobile device;

[0210] If the description file is not installed on the mobile device, activate the mobile device to install the description file;

[0211] When the description file is installed on the mobile device, the authentication token is sent to the mobile device.

[0212] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0213] Obtain device information of the mobile device to which permissions are to be assigned;

[0214] Based on the device information of the mobile device, generate an authentication token corresponding to the mobile device;

[0215] Send the authentication token to the mobile device;

[0216] When the mobile device successfully authenticates based on the authentication token, the mobile device is assigned permissions corresponding to at least one account based on the permission type to be assigned to the mobile device; the permission is the permission for at least one account to log in to the office platform through the mobile device.

[0217] In one embodiment, the permission types include a first permission corresponding to a single account, a second permission corresponding to a department, and a third permission corresponding to a custom group.

[0218] When the computer program is executed by the processor, the following steps are also performed:

[0219] In the case where the permission type is the first permission, the mobile device is assigned permissions corresponding to the account to be assigned permissions;

[0220] In the case where the permission type is the second permission, the mobile device is assigned permissions corresponding to each account under the department to which the permission is to be assigned;

[0221] When the permission type is the third permission, the mobile device is assigned permissions corresponding to each account under the custom group to which the permission is to be assigned.

[0222] In one embodiment, the mobile device to which permissions are to be assigned is a mobile device newly registered in the office platform.

[0223] When the computer program is executed by the processor, the following steps are also performed:

[0224] Read the information carried by the mobile device when entering the office platform from the office platform;

[0225] The information carried by the mobile device when entering the office platform is used as the device information of the mobile device.

[0226] In one embodiment, the mobile device to be assigned permissions is a mobile device that initiates a login request to the office platform for the first time.

[0227] When the computer program is executed by the processor, the following steps are also performed:

[0228] When receiving a login request initiated by a mobile device for the first time, a description file of the office platform is sent to the mobile device; the mobile device is used to respond to the description file and return corresponding device information;

[0229] Receive device information returned by the mobile device.

[0230] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0231] After a preset time period of issuing the authentication token, confirm the authentication status of the mobile device;

[0232] In the event that authentication of the mobile device fails, the authentication token corresponding to the mobile device is updated, and a new authentication token is sent to the mobile device.

[0233] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0234] Confirm the installation status of the description file of the office platform on the mobile device;

[0235] If the description file is not installed on the mobile device, activate the mobile device to install the description file;

[0236] When the description file is installed on the mobile device, the authentication token is sent to the mobile device.

[0237] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0238] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0239] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for allocating device permissions, characterized in that: The method comprises: Obtain device information of the mobile device to which permissions are to be assigned; Based on the device information of the mobile device, generate an authentication token corresponding to the mobile device; Sending the authentication token to the mobile device; When the mobile device is successfully authenticated based on the authentication token, the mobile device is assigned permissions corresponding to at least one account based on the permission type to be assigned to the mobile device; the permission is the permission for the at least one account to log in to the office platform through the mobile device.

2. The method according to claim 1, characterized in that: The permission types include a first permission corresponding to a single account, a second permission corresponding to a department, and a third permission corresponding to a custom group; The allocating permissions corresponding to at least one account to the mobile device based on the permission type to be allocated to the mobile device includes: In the case where the permission type is the first permission, allocating permissions corresponding to the account to be assigned permissions to the mobile device; In the case where the permission type is the second permission, the mobile device is assigned permissions corresponding to each account under the department to which the permission is to be assigned; In the case where the permission type is the third permission, permissions corresponding to each account under the custom group to which permissions are to be assigned are allocated to the mobile device.

3. The method according to claim 1, characterized in that The mobile device to be assigned permissions is a mobile device newly entered into the office platform; The step of obtaining device information of a mobile device to which permissions are to be assigned includes: Reading from the office platform the information carried by the mobile device when entering the office platform; The information carried by the mobile device when entering the office platform is used as the device information of the mobile device.

4. The method according to claim 1, characterized in that: The mobile device to be assigned permissions is a mobile device that initiates a login request to the office platform for the first time; The step of obtaining device information of a mobile device to which permissions are to be assigned includes: When receiving the login request initiated by the mobile device for the first time, sending a description file of the office platform to the mobile device; the mobile device is used to return corresponding device information in response to the description file; The device information returned by the mobile device is received.

5. The method according to any one of claims 1 to 4, characterized in that: After the authentication token is sent to the mobile device, the method further includes: After a preset time period of issuing the authentication token, confirming the authentication status of the mobile device; In the event that the authentication of the mobile device fails, the authentication token corresponding to the mobile device is updated, and a new authentication token is sent to the mobile device.

6. The method according to any one of claims 1 to 4, characterized in that: Before sending the authentication token to the mobile device, the method further includes: Confirming the installation status of the description file of the office platform on the mobile device; If the description file is not installed on the mobile device, activating the mobile device to install the description file; The sending the authentication token to the mobile device includes: When the description file is installed in the mobile device, the authentication token is sent to the mobile device.

7. A device authority allocation device, characterized in that: The device comprises: An information acquisition module, used to acquire device information of a mobile device to which permissions are to be assigned; A token generation module, used to generate an authentication token corresponding to the mobile device based on the device information of the mobile device; A token sending module, used for sending the authentication token to the mobile device; A permission allocation module is used to allocate permissions corresponding to at least one account to the mobile device based on the permission type to be allocated to the mobile device when the mobile device is successfully authenticated based on the authentication token; the permission is the permission for the at least one account to log in to the office platform through the mobile device.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.