User-side authority control method, device, computer equipment, and storage medium

Through virtual three-dimensional space and smooth cylinder processing image similarity, combined with Bayesian classifier verification of emergency authorization applications, the problem of traditional permission auditing is solved, and rapid response and information security is achieved.

CN111274568BActive Publication Date: 2024-12-17CHINA PING AN PROPERTY INSURANCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010125464.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-02-27
Publication Date
2024-12-17
Estimated Expiration
2040-02-27

AI Technical Summary

Technical Problem

The traditional terminal permission audit process is time-consuming and cannot respond quickly to emergency authorization needs, resulting in the risk of information hysteresis or leakage.

Method used

By receiving an emergency authorization application sent by the user, using virtual three-dimensional space and smooth cylinders for image cropping and convergence processing, the image similarity value is calculated to determine whether authorization is granted, and the permission is frozen after the preset time, combined with Naive Bayes classification The device verifies the rationality of emergency authorization.

Benefits of technology

It realizes rapid authorization in emergencies and freezes permissions when necessary, reducing the risk of information leakage and ensuring information security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111274568B_ABST
    Figure CN111274568B_ABST
Patent Text Reader

Abstract

The present application discloses a user terminal authority control method, device, computer equipment and storage medium, the method comprising: receiving an emergency authorization application sent by a user terminal, wherein the emergency authorization application carries a first picture; cropping the first picture to obtain a picture with holes; placing the picture with holes in a preset virtual three-dimensional space, and using a virtual smooth cylinder to penetrate the holes in the picture with holes; collecting a convergence image on the smooth cylinder at the specified position; calculating the image similarity value between the convergence image and a preset reference image, and determining whether the image similarity value is greater than a preset similarity threshold; if the image similarity value is greater than the preset similarity threshold, granting authorization to the user terminal, and freezing all permissions of the user terminal after a preset time. This reduces the possibility of information leakage on the basis of emergency authorization to ensure information security.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the computer field, and in particular to a user-side permission control method, device, computer equipment and storage medium. Background Art

[0002] Effective authority control of terminals is an important guarantee for information security. Generally speaking, the authority of terminals in large clusters is controlled by the server, such as the authority for external communications (referring to the terminal being in the internal network, if it needs to connect to the external network, it must obtain authorization from the server). Traditional technology usually requires the applicant terminal to send the authorization application to the audited terminal, and the auditor using the audit terminal manually verifies whether the authorization reason is reasonable before granting it to the applicant terminal. However, the audit process takes a certain amount of time. When quick authorization is required (for example, an email needs to be sent immediately), the traditional audit method's audit process gives quick authorization, which may lead to problems such as information delays. Therefore, traditional solutions are not competent for situations where emergency authorization is required. Summary of the invention

[0003] The main purpose of this application is to provide a user-side permission control method, device, computer equipment and storage medium, aiming to reduce the possibility of information leakage on the basis of emergency authorization to ensure information security.

[0004] In order to achieve the above-mentioned invention object, the present application proposes a user-side permission control method, which is applied to a server and includes:

[0005] Receiving an emergency authorization application sent by a user terminal, wherein the emergency authorization application carries a first image;

[0006] Performing cropping processing on the preset circular area in the first picture, so as to obtain a perforated picture with a circular hole;

[0007] The perforated picture is placed in a preset virtual three-dimensional space, and a virtual smooth cylinder is used to penetrate the circular hole in the perforated picture, wherein the radius of the smooth cylinder is equal to the radius of the circular hole, and the virtual three-dimensional space follows the principle of rectilinear propagation of light, so that the image on the perforated picture is converged onto the surface of the smooth cylinder;

[0008] Generate a designated position according to a preset position generation method, and collect a convergence image on the smooth cylinder at the designated position;

[0009] Calculating the image similarity value between the converged image and the preset reference image according to a preset image similarity calculation method, and determining whether the image similarity value is greater than a preset similarity threshold;

[0010] If the image similarity value is greater than a preset similarity threshold, the user terminal is authorized, and all permissions of the user terminal are frozen after a preset time.

[0011] Furthermore, before the step of receiving an emergency authorization application sent by a user terminal, wherein the emergency authorization application carries the first image, the step includes:

[0012] Obtain four different initial images collected in advance, and perform cutting and splicing processing to obtain a first image, wherein the upper left, lower left, upper right and lower right parts of the first image are from different initial images respectively, and the initial image and the first image are both rectangular black-and-white images;

[0013] Performing cropping processing on the preset circular area in the first picture, so as to obtain a second picture with a circular hole;

[0014] Placing the second picture in the virtual three-dimensional space, and using a preset smooth cylinder to penetrate the circular hole in the second picture, wherein the virtual three-dimensional space follows the principle of rectilinear propagation of light, so that the image on the second picture is converged onto the surface of the smooth cylinder;

[0015] According to the position generation method, the designated position is generated, and a third image on the smooth cylinder is collected at the designated position, and the third image is recorded as a reference image;

[0016] The first picture is sent to a user terminal, and the first picture and the second picture are deleted in the server.

[0017] Furthermore, the emergency authorization application also records the generation time of the first image, and the step of generating the designated location according to the preset location generation method includes:

[0018] A three-dimensional rectangular coordinate system is established by taking the center of the circular hole as the origin, a preset direction in the plane where the hole picture is located as the x-axis, a direction perpendicular to the x-axis in the plane where the hole picture is located as the y-axis, and the cylindrical axis direction of the smooth cylinder as the z-axis;

[0019] Parsing the generation time of the first image to obtain numerical values ​​M, D and T, wherein the numerical values ​​M, D and T respectively refer to the Tth hour in the Dth day in the Mth month of the year in which the generation time falls;

[0020] Using the formula:

[0021] x=k1×M+a1;y=k2×D+a2;z=k3×T+a3, calculate the specified position (x, y, z), wherein k1, k2, k3, a1, a2 and a1 are all preset parameters.

[0022] Furthermore, the step of calculating the image similarity value between the converged image and a preset reference image according to a preset image similarity calculation method comprises:

[0023] According to a preset pixel binarization setting method, the color values ​​of all pixels in the convergence image are set to the first color value or the second color value, and the color values ​​of all pixels in the reference image are set to the first color value or the second color value; wherein the pixel binarization setting method refers to setting the pixel points whose color values ​​are less than a preset value to the first color value, and setting the pixel points whose color values ​​are not less than the preset value to the second color value;

[0024] Acquire a first boundary line in the convergence image, and acquire a second boundary line in the reference image, wherein the first boundary line refers to a boundary line between a pixel point of a first color value and a pixel point of a second color value in the convergence image, and the second boundary line refers to a boundary line between a pixel point of a first color value and a pixel point of a second color value in the reference image;

[0025] Generate a first minimum bounding rectangle of the first boundary line, generate a second minimum bounding rectangle of the second boundary line, and calculate a first area area1 of the first minimum bounding rectangle and a second area area2 of the second minimum bounding rectangle;

[0026] According to the formula:

[0027] An image similarity value Sim between the converged image and a preset reference image is calculated.

[0028] Furthermore, the emergency authorization application is an application for communication authorization, and the step of granting authorization to the user terminal and freezing all permissions of the user terminal after a preset time includes:

[0029] Opening the user end's permission to use a preset signal channel;

[0030] After a preset time, obtaining the size of the total data packet that the user terminal needs to transmit and the size of the data that the user terminal has transmitted;

[0031] Determine whether the difference between the size of the total data packet and the size of the transmitted data is greater than a preset difference threshold;

[0032] If it is greater than a preset difference threshold, all permissions of the user terminal are frozen.

[0033] Furthermore, after the step of granting authorization to the user terminal if the image similarity value is greater than a preset similarity threshold and freezing all permissions of the user terminal after a preset time, the method further includes:

[0034] receiving reason information sent by the user terminal, wherein the reason information is used to explain the reason why the user terminal requests emergency authorization;

[0035] Preprocessing the reason information to obtain a word sequence, wherein the preprocessing at least includes word segmentation processing;

[0036] Inputting the word sequence into a specified naive Bayes classifier for classification, thereby obtaining a classification result output by the naive Bayes classifier, wherein the classification result includes reasonable or unreasonable;

[0037] Determine whether the classification result is reasonable;

[0038] If the classification result is reasonable, the user terminal is unfrozen to restore the permissions of the user terminal to the state before sending the emergency authorization application.

[0039] Furthermore, before the step of inputting the word sequence into a designated naive Bayes classifier for classification, thereby obtaining a classification result output by the naive Bayes classifier, wherein the classification result includes whether it is reasonable or unreasonable, the following steps are included:

[0040] Retrieving pre-collected training data and test data, wherein the training data and test data both include preset reasons for authorization application and review results corresponding to the reasons for authorization application, wherein the review results include reasonable or unreasonable, and the reasons for authorization application at least include reasons for emergency authorization;

[0041] Inputting the training data into an initial naive Bayes classifier for training to obtain an intermediate naive Bayes classifier;

[0042] Using the test data to verify the intermediate naive Bayes classifier, and determining whether the verification result is verified;

[0043] If the verification result is that the verification is passed, the intermediate naive Bayes classifier is recorded as the designated naive Bayes classifier.

[0044] The present application provides a user terminal authority control device, which is applied to a server, including:

[0045] An authorization application receiving unit, configured to receive an emergency authorization application sent by a user terminal, wherein the emergency authorization application carries a first image;

[0046] A cropping unit, configured to crop a preset circular area in the first image, thereby obtaining a perforated image with a circular hole;

[0047] A penetration unit, used for placing the perforated picture in a preset virtual three-dimensional space, and using a virtual smooth cylinder to penetrate the circular hole in the perforated picture, wherein the radius of the smooth cylinder is equal to the radius of the circular hole, and the virtual three-dimensional space follows the principle of rectilinear propagation of light, so that the image on the perforated picture is converged onto the surface of the smooth cylinder;

[0048] A convergence image acquisition unit, used to generate a designated position according to a preset position generation method, and to acquire a convergence image on the smooth cylinder at the designated position;

[0049] a similarity calculation unit, configured to calculate an image similarity value between the converged image and a preset reference image according to a preset image similarity calculation method, and determine whether the image similarity value is greater than a preset similarity threshold;

[0050] The authorization unit is used to grant authorization to the user terminal if the image similarity value is greater than a preset similarity threshold, and freeze all permissions of the user terminal after a preset time.

[0051] The present application provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any one of the above methods when executing the computer program.

[0052] The present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of any of the above-mentioned methods are implemented.

[0053] The user terminal authority control method, device, computer equipment and storage medium of the present application receive an emergency authorization application sent by the user terminal, wherein the emergency authorization application carries a first picture; the preset circular area in the first picture is cropped to obtain a perforated picture with a circular hole; the perforated picture is placed in a preset virtual three-dimensional space, and a virtual smooth cylinder is used to penetrate the circular hole in the perforated picture, so that the image on the perforated picture is converged to the surface of the smooth cylinder; the converged image on the smooth cylinder is collected at the specified position; according to a preset image similarity calculation method, the image similarity value between the converged image and the preset reference image is calculated, and it is determined whether the image similarity value is greater than a preset similarity threshold; if the image similarity value is greater than the preset similarity threshold, the user terminal is authorized, and all permissions of the user terminal are frozen after a preset time. Thereby, the possibility of information leakage is reduced on the basis of emergency authorization to ensure information security. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 A schematic diagram of a flow chart of a user terminal authority control method according to an embodiment of the present application;

[0055] Figure 2 This is a schematic block diagram of the structure of a user terminal authority control device according to an embodiment of the present application;

[0056] Figure 3 A schematic block diagram of the structure of a computer device according to an embodiment of the present application.

[0057] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0058] 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.

[0059] Reference Figure 1 The present application embodiment provides a user terminal authority control method, which is applied to a server and includes:

[0060] S1. Receive an emergency authorization application sent by a user terminal, wherein the emergency authorization application carries a first image;

[0061] S2, cropping the preset circular area in the first image to obtain a perforated image with a circular hole;

[0062] S3, placing the perforated picture in a preset virtual three-dimensional space, and using a virtual smooth cylinder to penetrate the circular hole in the perforated picture, wherein the radius of the smooth cylinder is equal to the radius of the circular hole, and the virtual three-dimensional space follows the principle of rectilinear propagation of light, so that the image on the perforated picture is converged onto the surface of the smooth cylinder;

[0063] S4, generating a designated position according to a preset position generation method, and collecting a convergence image on the smooth cylinder at the designated position;

[0064] S5. Calculate the image similarity value between the converged image and the preset reference image according to a preset image similarity calculation method, and determine whether the image similarity value is greater than a preset similarity threshold;

[0065] S6. If the image similarity value is greater than a preset similarity threshold, the user terminal is authorized, and all permissions of the user terminal are frozen after a preset time.

[0066] This application uses the first image as an emergency authorization authentication to determine whether to grant authorization to the user terminal. Among them, the emergency authorization refers to first quickly authorizing and freezing all permissions of the user terminal after a preset time, that is, the emergency authorization is a disposable item (or a disposable item within a certain period of time), so as to ensure information security under the premise of meeting the requirements of rapid authorization. Specifically, emergency authorization is a stopgap measure. After the occurrence of an emergency authorization event, it indicates that the user terminal is in a special situation. In order to prevent information leakage, after paying the price of possible information leakage to meet the needs of emergency authorization, all permissions of the user terminal are frozen to prevent possible information leakage. Furthermore, when verifying the first image, this application adopts a two-dimensional-three-dimensional-two-dimensional image conversion method (i.e., a perforated image-an image on a smooth cylinder-a convergent image collected at a specified position). Therefore, as long as the user terminal can ensure that the first image is not stolen, security can be improved (i.e., the reference image pre-stored on the server cannot be used as a standard for emergency authorization authentication, thereby eliminating the hidden danger of information leakage on the server).

[0067] As described in step S1 above, an emergency authorization application sent by a user terminal is received, wherein the emergency authorization application carries a first image. The emergency authorization refers to a quick authorization and freezing of all permissions of the user terminal after a preset time, that is, the emergency authorization is a disposable item (or a disposable item within a certain period of time). The first image is used as a standard for emergency authorization authentication. Only when the first image passes the review of the server can the user terminal be authorized.

[0068] As described in step S2 above, the preset circular area in the first image is cropped to obtain a perforated image with a circular hole. The first image can be of any feasible shape, preferably a rectangular image. The preset circular area can be at any feasible position in the first image, preferably the center of the circle coincides with the center of the first image.

[0069] As described in step S3 above, the picture with holes is placed in a preset virtual three-dimensional space, and a virtual smooth cylinder is used to penetrate the circular hole in the picture with holes, wherein the radius of the smooth cylinder is equal to the radius of the circular hole, and the virtual three-dimensional space follows the principle of rectilinear propagation of light, so that the image on the picture with holes is converged to the surface of the smooth cylinder. The virtual three-dimensional space can be constructed by any method, such as 3D modeling tools, etc., which will not be repeated here. And the virtual three-dimensional space is similar to the real three-dimensional space, and also follows the principle of rectilinear propagation of light. Then a virtual smooth cylinder is used to penetrate the circular hole in the picture with holes, wherein the radius of the smooth cylinder is equal to the radius of the circular hole, thereby forming a situation where a cylinder penetrates a picture. And because the virtual three-dimensional space follows the principle of rectilinear propagation of light, and the cylinder is a smooth cylinder, the image of the picture with holes will be projected onto the smooth cylinder, thereby converting the two-dimensional image into an image on the three-dimensional cylinder.

[0070] As described in step S4 above, a designated position is generated according to a preset position generation method, and a convergence image on the smooth cylinder is collected at the designated position. The designated position is a position at which a convergence image on the smooth cylinder can be collected. The position generation method is, for example: taking the center of the circular hole as the origin, a preset direction in the plane where the holed image is located as the x-axis, the direction perpendicular to the x-axis in the plane where the holed image is located as the y-axis, and the cylindrical axis direction of the smooth cylinder as the z-axis, thereby establishing a three-dimensional rectangular coordinate system; parsing the generation time of the first image to obtain numerical values ​​M, D and T, wherein the numerical values ​​M, D and T refer to the Tth hour in the Dth day in the Mth month of the year in which the generation time is located; using the formula:

[0071] x=k1×M+a1;y=k2×D+a2;z=k3×T+a3, calculate the specified position (x, y, z), wherein k1, k2, k3, a1, a2 and a1 are all preset parameters.

[0072] As described in step S5 above, according to a preset image similarity calculation method, the image similarity value between the converged image and the preset reference image is calculated, and it is determined whether the image similarity value is greater than a preset similarity threshold. The image similarity calculation method can be any method, such as a pixel-by-pixel comparison method, and preferably a calculation method with less computing power consumption (relative to pixel comparison) is used to increase the calculation speed. The image similarity calculation method is, for example: according to a preset pixel binarization setting method, setting the color values ​​of all pixels in the convergence image to the first color value or the second color value, and setting the color values ​​of all pixels in the reference image to the first color value or the second color value; wherein the pixel binarization setting method refers to setting the pixel whose color value is less than the preset value to the first color value, and setting the pixel whose color value is not less than the preset value to the second color value; obtaining a first intersection line in the convergence image, and obtaining a second intersection line in the reference image, wherein the first intersection line refers to the boundary line between the pixel of the first color value and the pixel of the second color value in the convergence image, and the second intersection line refers to the boundary line between the pixel of the first color value and the pixel of the second color value in the reference image; generating a first minimum bounding rectangle of the first intersection line, and generating a second minimum bounding rectangle of the second intersection line, and calculating a first area area1 of the first minimum bounding rectangle and a second area area2 of the second minimum bounding rectangle; according to the formula:

[0073] The image similarity value Sim between the converged image and the preset reference image is calculated, thereby improving the calculation speed.

[0074] As described in the above step S6, if the image similarity value is greater than the preset similarity threshold, the user terminal is authorized, and all permissions of the user terminal are frozen after a preset time. Emergency authorization is a stopgap measure. After an emergency authorization event occurs, it indicates that the user terminal is in a special situation. In order to prevent information leakage, after paying the price of possible information leakage to meet the needs of emergency authorization, all permissions of the user terminal are frozen to prevent possible information leakage. Accordingly, the user terminal is first authorized, and all permissions of the user terminal are frozen after a preset time. After subsequent verification that the emergency authorization is reasonable, the permissions of the user terminal are unfrozen.

[0075] In one embodiment, before the step S1 of receiving an emergency authorization application sent by a user terminal, wherein the emergency authorization application carries a first image, the step includes:

[0076] S01, obtaining four different initial pictures collected in advance, and performing cutting and splicing processing to obtain a first picture, wherein the upper left, lower left, upper right and lower right parts of the first picture are from different initial pictures respectively, and the initial picture and the first picture are both rectangular black-and-white pictures;

[0077] S02, cropping the preset circular area in the first image to obtain a second image with a circular hole;

[0078] S03, placing the second picture in the virtual three-dimensional space, and using a preset smooth cylinder to penetrate the circular hole in the second picture, wherein the virtual three-dimensional space follows the principle of rectilinear propagation of light, so that the image on the second picture is converged onto the surface of the smooth cylinder;

[0079] S04, generating the designated position according to the position generating method, and collecting a third image on the smooth cylinder at the designated position, and recording the third image as a reference image;

[0080] S05: Send the first picture to the user terminal, and delete the first picture and the second picture in the server.

[0081] As described above, the generation of the first image and the reference image is realized. Among them, the first image used in the present application is obtained by obtaining four different initial images collected in advance and cutting and splicing them. Specifically, the upper left part of the first image is obtained by cutting the upper left part of an initial image, and the lower left part of the first image is obtained by cutting the lower left part of another initial image..., so that when the convergence image on the smooth cylinder is subsequently obtained, obviously different images can be obtained in four different diagonal directions, thereby improving the accuracy of recognition. The initial image and the first image are both rectangular black and white images. Since the present application adopts a two-dimensional-three-dimensional-two-dimensional image conversion method, there is no need for too high pixel color values, so the use of black and white images can reduce the calculation pressure and will not reduce the recognition accuracy. Finally, the first image is sent to the user end, and the first image and the second image are deleted in the server, so that the first image only exists in the user end, and the reference image stored in the server can only be used as a reference. Even if the criminals steal the reference image, they cannot pose a threat to information security, thereby ensuring information security.

[0082] In one embodiment, the emergency authorization application further records the generation time of the first image, and the step S4 of generating the designated location according to the preset location generation method includes:

[0083] S401, taking the center of the circular hole as the origin, a preset direction in the plane where the hole-carrying picture is located as the x-axis, a direction in the plane where the hole-carrying picture is located that is perpendicular to the x-axis as the y-axis, and the cylindrical axis direction of the smooth cylinder as the z-axis, thereby establishing a three-dimensional rectangular coordinate system;

[0084] S402, parsing the generation time of the first image, thereby obtaining numerical values ​​M, D and T, wherein the numerical values ​​M, D and T respectively refer to the Tth hour in the Dth day in the Mth month of the year in which the generation time falls;

[0085] S403. Use formula:

[0086] x=k1×M+a1;y=k2×D+a2;z=k3×T+a3, calculate the specified position (x, y, z), wherein k1, k2, k3, a1, a2 and a1 are all preset parameters.

[0087] As described above, the generation of the designated position according to the preset position generation method is realized. The present application adopts the generation time of the first image as the basis for generating the designated position. By taking the center of the circular hole as the origin, a preset direction in the plane where the holed image is located as the x-axis, the direction perpendicular to the x-axis in the plane where the holed image is located as the y-axis, and the cylindrical axis direction of the smooth cylinder as the z-axis, a three-dimensional rectangular coordinate system is established; and then using the formula:

[0088] x=k1×M+a1;y=k2×D+a2;z=k3×T+a3, calculate the specified position (x, y, z), and then use the generation time of the first image to generate the specified position. Therefore, the specified position is mapped from the generation time of the first image through the corresponding relationship. When the corresponding parameters are known (the server meets these requirements), the generation time of the first image can be inferred from the specified position, thereby improving the data utilization rate for the server (for example, when the generation time of the first image is lost, and the data of the specified position is known, the data utilization rate can be improved).

[0089] In one embodiment, the step S5 of calculating the image similarity value between the convergent image and the preset reference image according to the preset image similarity calculation method comprises:

[0090] S501, according to a preset pixel binarization setting method, setting the color values ​​of all pixels in the convergence image to a first color value or a second color value, and setting the color values ​​of all pixels in the reference image to the first color value or the second color value; wherein the pixel binarization setting method refers to setting the pixel points whose color values ​​are less than a preset value to the first color value, and setting the pixel points whose color values ​​are not less than the preset value to the second color value;

[0091] S502, obtaining a first boundary line in the convergence image, and obtaining a second boundary line in the reference image, wherein the first boundary line refers to a boundary line between a pixel point of a first color value and a pixel point of a second color value in the convergence image, and the second boundary line refers to a boundary line between a pixel point of a first color value and a pixel point of a second color value in the reference image;

[0092] S503, generating a first minimum bounding rectangle of the first boundary line, generating a second minimum bounding rectangle of the second boundary line, and calculating a first area area1 of the first minimum bounding rectangle and a second area area2 of the second minimum bounding rectangle;

[0093] S504, according to the formula:

[0094] An image similarity value Sim between the converged image and a preset reference image is calculated.

[0095] As described above, the calculation of the image similarity value between the convergent image and the preset reference image is realized. The present application adopts a two-dimensional-three-dimensional-two-dimensional image conversion method, so the tolerance for the complexity of the image (i.e., the complexity of the pattern, the color value size of the pixel point, etc.) is relatively high, and in order to reduce the calculation pressure, the present application also adopts a pixel binarization setting method, setting the color value of all pixels in the convergent image to the first color value or the second color value, and setting the color value of all pixels in the reference image to the first color value or the second color value; obtaining the first boundary line in the convergent image, and obtaining the second boundary line in the reference image; generating the first minimum bounding rectangle of the first boundary line, and generating the second minimum bounding rectangle of the second boundary line, and calculating the first area area1 of the first minimum bounding rectangle and the second area area2 of the second minimum bounding rectangle; according to the formula:

[0096] A method for calculating the image similarity value Sim between the converged image and the preset reference image. In this application, the image similarity is converted into the area difference of the minimum bounding rectangle by using the progressive relationship of image-boundary line-minimum bounding rectangle, thereby improving the calculation speed.

[0097] In one embodiment, the emergency authorization application is an application for communication authorization, and the step S6 of granting authorization to the user terminal and freezing all permissions of the user terminal after a preset time includes:

[0098] S601, granting the user terminal permission to use a preset signal channel;

[0099] S602, obtaining the size of the total data packet that needs to be transmitted by the user terminal and the size of the data transmitted by the user terminal after a preset time;

[0100] S603, determining whether the difference between the size of the total data packet and the size of the transmitted data is greater than a preset difference threshold;

[0101] S604: If the difference is greater than a preset threshold, all permissions of the user terminal are frozen.

[0102] As described above, the authorization is granted to the user terminal, and all permissions of the user terminal are frozen after a preset time. The emergency authorization is to grant permissions to the user terminal within a preset time based on time. However, when the emergency authorization application is an application for communication authorization and the amount of data to be communicated is large, there is still a small amount of data that has not been transmitted after the preset time. At this time, if the permissions of the user terminal are forcibly frozen, it will cause communication failure, making the emergency authorization meaningless. Therefore, the present application also adopts the method of opening the permission of the user terminal to use the preset signal channel; obtaining the size of the total data packet that the user terminal needs to transmit and the size of the data transmitted by the user terminal after a preset time; judging whether the difference between the size of the total data packet and the size of the transmitted data is greater than the preset difference threshold; if it is greater than the preset difference threshold, freezing all permissions of the user terminal, introducing a judgment standard of data volume, so as to fine-tune the timing of freezing permissions. Among them, if it is greater than the preset difference threshold, it indicates that there is still a large amount of data that has not been transmitted, which is different from the expected situation. Therefore, it is possible that abnormal data is transmitted (for example, it is not normal data that should be transmitted, but important confidential information, etc.). At this time, all permissions of the user terminal are forcibly frozen to prevent possible information leakage. Furthermore, if it is not greater than the preset difference threshold, the user terminal is allowed to complete the transmission of the total data packet, and then all permissions of the user terminal are frozen. Thereby improving the applicability of the user terminal permission control method.

[0103] In one embodiment, if the image similarity value is greater than a preset similarity threshold, then granting authorization to the user terminal and freezing all permissions of the user terminal after a preset time step S6 includes:

[0104] S61, receiving reason information sent by the user terminal, wherein the reason information is used to explain the reason why the user terminal requests emergency authorization;

[0105] S62, preprocessing the reason information to obtain a word sequence, wherein the preprocessing at least includes word segmentation processing;

[0106] S63, inputting the word sequence into a specified naive Bayes classifier for classification, thereby obtaining a classification result output by the naive Bayes classifier, wherein the classification result includes reasonable or unreasonable;

[0107] S64, judging whether the classification result is reasonable;

[0108] S65: If the classification result is reasonable, unfreeze the permissions of the user terminal to restore the permissions of the user terminal to the state before sending the emergency authorization application.

[0109] As described above, the user terminal is unfrozen to restore the permissions of the user terminal to the state before sending the emergency authorization application. The preprocessing can be performed in any way, such as using an open source NLP word segmentation tool, jieba word segmentation tool, etc. The present application receives the reason information sent by the user terminal, wherein the reason information is used to explain the reason for the user terminal to request emergency authorization; preprocesses the reason information to obtain a word sequence, wherein the preprocessing at least includes word segmentation; inputs the word sequence into a specified naive Bayes classifier for classification, thereby obtaining the classification result output by the naive Bayes classifier to determine whether the reason for the user terminal to request emergency authorization is reasonable. Among them, the naive Bayes classifier is a series of simple probabilistic classifiers based on the Bayesian theorem under the assumption of strong (naive) independence between features. It has a fast training speed and is suitable for the classification of word sequences. It only needs to use the pre-collected data verified as reasonable and unreasonable authorization reasons for the naive Bayes classifier to enable the naive Bayes classifier to classify the word sequence, thereby obtaining the conclusion of whether the authorization reason is reasonable. If the classification result is reasonable, it indicates that the emergency authorization is necessary and there is no abnormality in the user terminal. Therefore, the user terminal should be unfrozen to restore the permissions of the user terminal to the state before sending the emergency authorization application.

[0110] In one embodiment, the word sequence is input into a specified naive Bayes classifier for classification, thereby obtaining a classification result output by the naive Bayes classifier, wherein the classification result includes reasonable or unreasonable step S63, including:

[0111] S621. Retrieve pre-collected training data and test data, wherein the training data and test data both include a preset authorization application reason and a review result corresponding to the authorization application reason, wherein the review result includes reasonableness or unreasonableness, and the authorization application reason at least includes a reason for emergency authorization;

[0112] S622, inputting the training data into an initial naive Bayes classifier for training to obtain an intermediate naive Bayes classifier;

[0113] S623, using the test data to verify the intermediate naive Bayes classifier, and determining whether the verification result is verification passed;

[0114] S624: If the verification result is that the verification is passed, the intermediate naive Bayes classifier is recorded as a designated naive Bayes classifier.

[0115] As described above, the acquisition of a naive Bayes classifier is achieved. The training data and test data used in this application, wherein the reasons for the authorization application at least include reasons for emergency authorization. Since there are fewer cases of emergency authorization applications, that is, there are fewer training data and test data for emergency authorization, the use of training data and test data for broader reasons for authorization applications can effectively increase the number of training data and test data, so that the trained naive Bayes classifier is more accurate. The training data is then input into the initial naive Bayes classifier for training to obtain an intermediate naive Bayes classifier, and the intermediate naive Bayes classifier is verified using the test data. If the verification result is a passed verification, the intermediate naive Bayes classifier is recorded as a designated naive Bayes classifier. A designated naive Bayes classifier that is capable of accurately reviewing the reason information sent by the user end can be obtained.

[0116] The user terminal authority control method of the present application receives an emergency authorization application sent by the user terminal, wherein the emergency authorization application carries a first picture; the preset circular area in the first picture is cropped to obtain a perforated picture with a circular hole; the perforated picture is placed in a preset virtual three-dimensional space, and a virtual smooth cylinder is used to penetrate the circular hole in the perforated picture, so that the image on the perforated picture is converged to the surface of the smooth cylinder; the converged image on the smooth cylinder is collected at the specified position; according to a preset image similarity calculation method, the image similarity value between the converged image and the preset reference image is calculated, and it is determined whether the image similarity value is greater than a preset similarity threshold; if the image similarity value is greater than the preset similarity threshold, the user terminal is authorized, and all permissions of the user terminal are frozen after a preset time. Thus, the possibility of information leakage is reduced on the basis of emergency authorization to ensure information security.

[0117] Reference Figure 2 The embodiment of the present application provides a user terminal authority control device, which is applied to a server and includes:

[0118] The authorization application receiving unit 10 is used to receive an emergency authorization application sent by a user terminal, wherein the emergency authorization application carries a first image;

[0119] A cropping unit 20, configured to crop a preset circular area in the first image, thereby obtaining a perforated image with a circular hole;

[0120] A penetration unit 30 is used to place the perforated picture in a preset virtual three-dimensional space, and use a virtual smooth cylinder to penetrate the circular hole in the perforated picture, wherein the radius of the smooth cylinder is equal to the radius of the circular hole, and the virtual three-dimensional space follows the principle of rectilinear propagation of light, so that the image on the perforated picture is converged onto the surface of the smooth cylinder;

[0121] A convergence image acquisition unit 40 is used to generate a designated position according to a preset position generation method, and to acquire a convergence image on the smooth cylinder at the designated position;

[0122] A similarity calculation unit 50 is used to calculate the image similarity value between the converged image and the preset reference image according to a preset image similarity calculation method, and determine whether the image similarity value is greater than a preset similarity threshold;

[0123] The authorization unit 60 is used to grant authorization to the user terminal if the image similarity value is greater than a preset similarity threshold, and freeze all permissions of the user terminal after a preset time.

[0124] The operations performed by the above units correspond one-to-one to the steps of the user-side authority control method in the aforementioned implementation method, and will not be repeated here.

[0125] In one embodiment, the device comprises:

[0126] A cutting and splicing unit, used to obtain four different initial pictures collected in advance, and perform cutting and splicing processing to obtain a first picture, wherein the upper left, lower left, upper right and lower right parts of the first picture are from different initial pictures respectively, and the initial picture and the first picture are both rectangular black and white pictures;

[0127] A second picture acquisition unit, used for cropping the preset circular area in the first picture, so as to obtain a second picture with a circular hole;

[0128] A second picture placement unit is used to place the second picture in the virtual three-dimensional space, and use a preset smooth cylinder to penetrate the circular hole in the second picture, wherein the virtual three-dimensional space follows the principle of rectilinear propagation of light, so that the image on the second picture is converged onto the surface of the smooth cylinder;

[0129] A third image acquisition unit, configured to generate the designated position according to the position generation method, and acquire a third image on the smooth cylinder at the designated position, and record the third image as a reference image;

[0130] The first picture sending unit is used to send the first picture to the user terminal, and delete the first picture and the second picture in the server.

[0131] The operations performed by the above units correspond one-to-one to the steps of the user-side authority control method in the aforementioned implementation method, and will not be repeated here.

[0132] In one embodiment, the emergency authorization application further records the generation time of the first image, and the convergence image acquisition unit 40 includes:

[0133] A coordinate system establishment subunit is used to establish a three-dimensional rectangular coordinate system with the center of the circular hole as the origin, a preset direction in the plane where the hole picture is located as the x-axis, a direction perpendicular to the x-axis in the plane where the hole picture is located as the y-axis, and the cylindrical axis direction of the smooth cylinder as the z-axis;

[0134] a parsing subunit, configured to parse the generation time of the first image, thereby obtaining numerical values ​​M, D and T, wherein the numerical values ​​M, D and T respectively refer to the Tth hour in the Dth day in the Mth month of the year in which the generation time falls;

[0135] Specify the position calculation subunit to use the formula:

[0136] x=k1×M+a1;y=k2×D+a2;z=k3×T+a3, calculate the specified position (x, y, z), wherein k1, k2, k3, a1, a2 and a1 are all preset parameters.

[0137] The operations performed by the above sub-units correspond one-to-one to the steps of the user-side authority control method in the aforementioned implementation method, and will not be repeated here.

[0138] In one embodiment, the similarity calculation unit 50 includes:

[0139] A binarization subunit is used to set the color values ​​of all pixels in the convergence image to the first color value or the second color value, and to set the color values ​​of all pixels in the reference image to the first color value or the second color value according to a preset pixel binarization setting method; wherein the pixel binarization setting method refers to setting the pixel points whose color values ​​are less than a preset value to the first color value, and setting the pixel points whose color values ​​are not less than the preset value to the second color value;

[0140] A boundary line acquisition subunit, used to acquire a first boundary line in the convergence image, and to acquire a second boundary line in the reference image, wherein the first boundary line refers to a boundary line between a pixel point of a first color value and a pixel point of a second color value in the convergence image, and the second boundary line refers to a boundary line between a pixel point of a first color value and a pixel point of a second color value in the reference image;

[0141] an area calculation subunit, configured to generate a first minimum bounding rectangle of the first boundary line, generate a second minimum bounding rectangle of the second boundary line, and calculate a first area area1 of the first minimum bounding rectangle and a second area area2 of the second minimum bounding rectangle;

[0142] The similarity value calculation subunit is used to calculate the similarity value according to the formula:

[0143] An image similarity value Sim between the converged image and a preset reference image is calculated.

[0144] The operations performed by the above sub-units correspond one-to-one to the steps of the user-side authority control method in the aforementioned implementation method, and will not be repeated here.

[0145] In one embodiment, the emergency authorization application is an application for communication authorization, and the authorization unit 60 includes:

[0146] The permission opening subunit is used to open the permission of the user terminal to use the preset signal channel;

[0147] A data acquisition subunit, used for acquiring the size of the total data packet that needs to be transmitted by the user terminal and the size of the data transmitted by the user terminal after a preset time;

[0148] A difference threshold determination subunit, used to determine whether the difference between the size of the total data packet and the size of the transmitted data is greater than a preset difference threshold;

[0149] The permission freezing subunit is used to freeze all permissions of the user terminal if the difference is greater than a preset difference threshold.

[0150] The operations performed by the above sub-units correspond one-to-one to the steps of the user-side authority control method in the aforementioned implementation method, and will not be repeated here.

[0151] In one embodiment, the device comprises:

[0152] A reason information receiving unit, configured to receive reason information sent by the user terminal, wherein the reason information is used to explain the reason why the user terminal requests emergency authorization;

[0153] A preprocessing unit, used for preprocessing the reason information to obtain a word sequence, wherein the preprocessing at least includes word segmentation processing;

[0154] A classification unit, used for inputting the word sequence into a specified naive Bayes classifier for classification, thereby obtaining a classification result output by the naive Bayes classifier, wherein the classification result includes reasonable or unreasonable;

[0155] A classification result judging unit, used to judge whether the classification result is reasonable;

[0156] The unfreezing unit is used to unfreeze the permissions of the user terminal if the classification result is reasonable, so as to restore the permissions of the user terminal to the state before sending the emergency authorization application.

[0157] The operations performed by the above units correspond one-to-one to the steps of the user-side authority control method in the aforementioned implementation method, and will not be repeated here.

[0158] In one embodiment, the device comprises:

[0159] A data retrieval unit, used to retrieve pre-collected training data and test data, wherein the training data and the test data both include a preset authorization application reason and a review result corresponding to the authorization application reason, wherein the review result includes reasonable or unreasonable, and the authorization application reason at least includes a reason for emergency authorization;

[0160] A classifier training unit, used for inputting the training data into an initial naive Bayes classifier for training to obtain an intermediate naive Bayes classifier;

[0161] A verification unit, used to verify the intermediate naive Bayes classifier using the test data, and determine whether the verification result is verified;

[0162] The classifier marking unit is used to mark the intermediate naive Bayes classifier as a designated naive Bayes classifier if the verification result is verification passed.

[0163] The operations performed by the above units correspond one-to-one to the steps of the user-side authority control method in the aforementioned implementation method, and will not be repeated here.

[0164] The user terminal authority control device of the present application receives an emergency authorization application sent by the user terminal, wherein the emergency authorization application carries a first picture; performs cropping processing on a preset circular area in the first picture, thereby obtaining a perforated picture with a circular hole; places the perforated picture in a preset virtual three-dimensional space, and uses a virtual smooth cylinder to penetrate the circular hole in the perforated picture, so that the image on the perforated picture is converged to the surface of the smooth cylinder; collects the converged image on the smooth cylinder at the specified position; calculates the image similarity value between the converged image and the preset reference image according to a preset image similarity calculation method, and determines whether the image similarity value is greater than a preset similarity threshold; if the image similarity value is greater than the preset similarity threshold, the user terminal is authorized, and all permissions of the user terminal are frozen after a preset time. Thus, the possibility of information leakage is reduced on the basis of emergency authorization to ensure information security.

[0165] Reference Figure 3 In an embodiment of the present invention, a computer device is also provided, which may be a server, and its internal structure may be as shown in the figure. The computer device includes a processor, a memory, a network interface and a database connected via a system bus. Among them, the processor designed by the computer 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, a computer program and a database. The memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data used in the user-side permission control method. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a user-side permission control method is implemented.

[0166] The above-mentioned processor executes the above-mentioned user-side permission control method, wherein the steps included in the method correspond one-to-one to the steps of executing the user-side permission control method of the aforementioned implementation method, and are not repeated here.

[0167] Those skilled in the art will appreciate that the structure shown in the figure is merely a block diagram of a portion 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.

[0168] The computer device of the present application receives an emergency authorization application sent by a user terminal, wherein the emergency authorization application carries a first picture; a preset circular area in the first picture is cropped to obtain a perforated picture with a circular hole; the perforated picture is placed in a preset virtual three-dimensional space, and a virtual smooth cylinder is used to penetrate the circular hole in the perforated picture, so that the image on the perforated picture is converged to the surface of the smooth cylinder; the converged image on the smooth cylinder is collected at the specified position; according to a preset image similarity calculation method, the image similarity value between the converged image and the preset reference image is calculated, and it is determined whether the image similarity value is greater than a preset similarity threshold; if the image similarity value is greater than the preset similarity threshold, the user terminal is authorized, and all permissions of the user terminal are frozen after a preset time. Thus, the possibility of information leakage is reduced on the basis of emergency authorization to ensure information security.

[0169] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, a user-side permission control method is implemented. The steps included in the method correspond one-to-one to the steps of the user-side permission control method of the aforementioned implementation method, and are not repeated here.

[0170] The computer-readable storage medium of the present application receives an emergency authorization application sent by a user terminal, wherein the emergency authorization application carries a first picture; performs cropping processing on a preset circular area in the first picture, thereby obtaining a perforated picture with a circular hole; places the perforated picture in a preset virtual three-dimensional space, and uses a virtual smooth cylinder to penetrate the circular hole in the perforated picture, so that the image on the perforated picture is converged to the surface of the smooth cylinder; collects the converged image on the smooth cylinder at the specified position; calculates the image similarity value between the converged image and the preset reference image according to a preset image similarity calculation method, and determines whether the image similarity value is greater than a preset similarity threshold; if the image similarity value is greater than the preset similarity threshold, the user terminal is authorized, and all permissions of the user terminal are frozen after a preset time. Thus, the possibility of information leakage is reduced on the basis of emergency authorization to ensure information security.

[0171] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods 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 memory, storage, database or other media provided in this application and used in the embodiments may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0172] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, device, article or method. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, device, article or method including the element.

[0173] The above description is only a preferred embodiment of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A user terminal authority control method, characterized in that: Applicable to servers, including: Receiving an emergency authorization application sent by a user terminal, wherein the emergency authorization application carries a first image; Performing cropping processing on the preset circular area in the first picture, so as to obtain a perforated picture with a circular hole; The perforated picture is placed in a preset virtual three-dimensional space, and a virtual smooth cylinder is used to penetrate the circular hole in the perforated picture, wherein the radius of the smooth cylinder is equal to the radius of the circular hole, and the virtual three-dimensional space follows the principle of rectilinear propagation of light, so that the image on the perforated picture is converged onto the surface of the smooth cylinder; Generate a designated position according to a preset position generation method, and collect a convergence image on the smooth cylinder at the designated position; Calculating the image similarity value between the converged image and the preset reference image according to a preset image similarity calculation method, and determining whether the image similarity value is greater than a preset similarity threshold; If the image similarity value is greater than a preset similarity threshold, the user terminal is authorized, and all permissions of the user terminal are frozen after a preset time; The emergency authorization application also records the generation time of the first image, and the step of generating the designated location according to the preset location generation method includes: A three-dimensional rectangular coordinate system is established by taking the center of the circular hole as the origin, a preset direction in the plane where the hole picture is located as the x-axis, a direction perpendicular to the x-axis in the plane where the hole picture is located as the y-axis, and the cylindrical axis direction of the smooth cylinder as the z-axis; Parsing the generation time of the first image to obtain numerical values ​​M, D and T, wherein the numerical values ​​M, D and T respectively refer to the Tth hour in the Dth day in the Mth month of the year in which the generation time falls; Using the formula: , calculate the specified position (x, y, z), where k1, k2, k3, a1, a2 and a1 are all preset parameters.

2. The user terminal authority control method according to claim 1, characterized in that: The step of receiving an emergency authorization application sent by a user terminal, wherein the emergency authorization application carries a first image, includes: Obtain four different initial images collected in advance, and perform cutting and splicing processing to obtain a first image, wherein the upper left, lower left, upper right and lower right parts of the first image are from different initial images respectively, and the initial image and the first image are both rectangular black-and-white images; Performing cropping processing on the preset circular area in the first picture, so as to obtain a second picture with a circular hole; Placing the second picture in the virtual three-dimensional space, and using a preset smooth cylinder to penetrate the circular hole in the second picture, wherein the virtual three-dimensional space follows the principle of rectilinear propagation of light, so that the image on the second picture is converged onto the surface of the smooth cylinder; According to the position generation method, the designated position is generated, and a third image on the smooth cylinder is collected at the designated position, and the third image is recorded as a reference image; The first picture is sent to a user terminal, and the first picture and the second picture are deleted in the server.

3. The user terminal authority control method according to claim 1, characterized in that: The step of calculating the image similarity value between the converged image and the preset reference image according to the preset image similarity calculation method comprises: According to a preset pixel binarization setting method, the color values ​​of all pixels in the convergence image are set to the first color value or the second color value, and the color values ​​of all pixels in the reference image are set to the first color value or the second color value; wherein the pixel binarization setting method refers to setting the pixel points whose color values ​​are less than a preset value to the first color value, and setting the pixel points whose color values ​​are not less than the preset value to the second color value; Acquire a first boundary line in the convergence image, and acquire a second boundary line in the reference image, wherein the first boundary line refers to a boundary line between a pixel point of a first color value and a pixel point of a second color value in the convergence image, and the second boundary line refers to a boundary line between a pixel point of a first color value and a pixel point of a second color value in the reference image; Generate a first minimum bounding rectangle of the first boundary line, generate a second minimum bounding rectangle of the second boundary line, and calculate a first area area1 of the first minimum bounding rectangle and a second area area2 of the second minimum bounding rectangle; According to the formula: , calculate the image similarity value Sim between the converged image and a preset reference image.

4. The user terminal authority control method according to claim 1, characterized in that: The emergency authorization application is an application for communication authorization, and the step of granting authorization to the user terminal and freezing all permissions of the user terminal after a preset time includes: Opening the user end's permission to use a preset signal channel; After a preset time, obtaining the size of the total data packet that the user terminal needs to transmit and the size of the data that the user terminal has transmitted; Determine whether the difference between the size of the total data packet and the size of the transmitted data is greater than a preset difference threshold; If it is greater than a preset difference threshold, all permissions of the user terminal are frozen.

5. The user terminal authority control method according to claim 1, characterized in that: After the step of granting authorization to the user terminal if the image similarity value is greater than a preset similarity threshold, and freezing all permissions of the user terminal after a preset time, the method further comprises: receiving reason information sent by the user terminal, wherein the reason information is used to explain the reason why the user terminal requests emergency authorization; Preprocessing the reason information to obtain a word sequence, wherein the preprocessing at least includes word segmentation processing; Inputting the word sequence into a specified naive Bayes classifier for classification, thereby obtaining a classification result output by the naive Bayes classifier, wherein the classification result includes reasonable or unreasonable; Determine whether the classification result is reasonable; If the classification result is reasonable, the user terminal is unfrozen to restore the permissions of the user terminal to the state before sending the emergency authorization application.

6. The user terminal authority control method according to claim 5, characterized in that: The step of inputting the word sequence into a designated naive Bayes classifier for classification, thereby obtaining a classification result output by the naive Bayes classifier, wherein the classification result includes whether it is reasonable or unreasonable, comprises: Retrieving pre-collected training data and test data, wherein the training data and test data both include preset reasons for authorization application and review results corresponding to the reasons for authorization application, wherein the review results include reasonable or unreasonable, and the reasons for authorization application at least include reasons for emergency authorization; Inputting the training data into an initial naive Bayes classifier for training to obtain an intermediate naive Bayes classifier; Using the test data to verify the intermediate naive Bayes classifier, and determining whether the verification result is verified; If the verification result is that the verification is passed, the intermediate naive Bayes classifier is recorded as the designated naive Bayes classifier.

7. A user terminal authority control device, used to implement the method according to any one of claims 1 to 6, characterized in that: Applicable to servers, including: An authorization application receiving unit, configured to receive an emergency authorization application sent by a user terminal, wherein the emergency authorization application carries a first image; A cropping unit, configured to crop a preset circular area in the first image, thereby obtaining a perforated image with a circular hole; A penetration unit, used for placing the perforated picture in a preset virtual three-dimensional space, and using a virtual smooth cylinder to penetrate the circular hole in the perforated picture, wherein the radius of the smooth cylinder is equal to the radius of the circular hole, and the virtual three-dimensional space follows the principle of rectilinear propagation of light, so that the image on the perforated picture is converged onto the surface of the smooth cylinder; A convergence image acquisition unit, used to generate a designated position according to a preset position generation method, and to acquire a convergence image on the smooth cylinder at the designated position; a similarity calculation unit, configured to calculate an image similarity value between the converged image and a preset reference image according to a preset image similarity calculation method, and determine whether the image similarity value is greater than a preset similarity threshold; The authorization unit is used to grant authorization to the user terminal if the image similarity value is greater than a preset similarity threshold, and freeze all permissions of the user terminal after a preset time.

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.