Software identification method and device and electronic equipment

By identifying user types and collecting scene images in the cloud desktop to identify blacklist software, the problem of low blacklist software identification accuracy in the existing technology is solved, and more efficient blacklist software management and control is achieved.

CN118606944APending Publication Date: 2024-09-06CCB FINTECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410829385.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-25
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Existing technology is less accurate in banning blacklist software in cloud desktops. Users can bypass restriction rules by modifying program names or installation paths, resulting in poor blacklist disabling effects.

Method used

Obtain the software process list and standard software process list of the cloud desktop login user name through the client scanning process to determine the target user type, and collect cloud desktop scene images based on the user type to identify whether risky software in the blacklist is included.

Benefits of technology

It improves the timeliness and accuracy of blacklist software identification, reduces resource consumption, and ensures precise management and control of blacklist software.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118606944A
    Figure CN118606944A
Patent Text Reader

Abstract

The invention provides a software identification method and device and electronic equipment, and relates to the technical field of risk identification. The method comprises: based on a scanning process of a client, obtaining a first software process list of a user name logged in by a cloud desktop, the first software process list comprising software identifiers of N pieces of first software being used by the user name; obtaining a standard second software process list of the cloud desktop, and determining a target user type corresponding to the user name according to the first software process list and the second software process list; collecting a scene image of the cloud desktop according to the target user type; and according to the scene image, identifying whether the N pieces of first software comprise risk software in the blacklist.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of risk identification, and in particular to a software identification method, device and electronic device. Background Art

[0002] When using cloud desktops for office work within an enterprise, it is necessary to manage the software used by users in the cloud desktops and prohibit the use of informal software (blacklisted software). Currently, disabling program operation is mainly achieved through group policy control. Through user configuration in the group policy editor, configure through "Do not run specified applications" and "Only run specified applications", add the corresponding application name, and enable the group policy. After the group policy takes effect, after running the matched program name in the cloud desktop, the background will prohibit the program from running, so as to achieve the purpose of prohibiting blacklisted programs; in addition to user configuration, you can also limit program use through rules such as the corresponding program's certificate, hash value, and path.

[0003] Currently, the accuracy of disabling program software is low. For example, user configuration may be bypassed by modifying the program name, or restriction rules may be bypassed by modifying the installation path and other rules. As a result, the accuracy of blacklist disabling is not high, and blacklist software cannot be accurately controlled. Summary of the invention

[0004] The present disclosure aims to solve one of the technical problems in the related art at least to some extent.

[0005] The first aspect of the present disclosure provides a method for identifying software, the method comprising:

[0006] Based on the scanning process of the client, a first software process list of the user name logged in by the cloud desktop is obtained, where the first software process list includes software identifiers of N first software being used by the user name, where N is a natural number greater than or equal to 1;

[0007] Obtaining a second software process list of the cloud desktop standard, and determining a target user type corresponding to the user name according to the first software process list and the second software process list;

[0008] According to the target user type, collecting scene images of the cloud desktop;

[0009] According to the scene image, it is identified whether the N first software include risky software in the blacklist.

[0010] The second aspect of the present disclosure provides a software recognition device, including:

[0011] A first acquisition module, configured to acquire, based on a scanning process of a client, a first software process list of a user name logged in to a cloud desktop, wherein the first software process list includes software identifiers of N first software being used by the user name, where N is a natural number greater than or equal to 1;

[0012] A second acquisition module is used to acquire a second software process list of the cloud desktop standard, and determine a target user type corresponding to the user name according to the first software process list and the second software process list;

[0013] A collection module, used for collecting scene images of the cloud desktop according to the target user type;

[0014] An identification module is used to identify whether the N first software include risky software in a blacklist according to the scene image.

[0015] The third aspect of the present disclosure provides an electronic device, including:

[0016] at least one processor; and

[0017] a memory communicatively connected to at least one processor; wherein,

[0018] The memory stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor so that the at least one processor can execute the software identification method provided in the embodiment of the first aspect of the present disclosure.

[0019] The fourth aspect embodiment of the present disclosure provides a computer-readable storage medium having computer instructions stored thereon, wherein the computer instructions are used to enable a computer to execute the software identification method provided in the first aspect embodiment of the present disclosure.

[0020] The fifth aspect embodiment of the present disclosure proposes a computer program product, including a computer program, which, when executed by a processor, implements the software identification method provided in the first aspect embodiment of the present disclosure.

[0021] The present application can distinguish the target user type of the currently logged-in user name by real-time scanning the first software process list and the standard second software process list of the user name logged in by the cloud desktop, thereby collecting the scene image of the cloud desktop according to the target user type, and identifying the risky software in the blacklist for different user types and collected scene images, thereby reducing resource consumption while ensuring the timeliness and accuracy of blacklist software identification. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 is a flowchart of a software identification method provided by an embodiment of the present disclosure;

[0023] Figure 2 is a flow chart of obtaining risk software provided by an embodiment of the present disclosure;

[0024] Figure 3 is a flow chart of gray list processing provided by an embodiment of the present disclosure;

[0025] Figure 4 is a flow chart of image acquisition provided by an embodiment of the present disclosure;

[0026] Figure 5 is a flowchart of another software identification method provided by an embodiment of the present disclosure;

[0027] Figure 6 It is a logic diagram of a software identification method provided by an embodiment of the present disclosure;

[0028] Figure 7 It is a structural block diagram of a software recognition device provided by an embodiment of the present disclosure;

[0029] Figure 8 It is a structural schematic diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0030] Embodiments of the present disclosure are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present disclosure, and should not be construed as limiting the present disclosure.

[0031] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

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

[0033] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be considered as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.

[0034] A software recognition method, device, and electronic device according to an embodiment of the present disclosure are described below with reference to the accompanying drawings.

[0035] Figure 1 is a flowchart of a software identification method provided by an embodiment of the present disclosure, such as Figure 1 As shown, the method comprises the following steps:

[0036] S101, based on the scanning process of the client, obtaining a first software process list of the user name logged in to the cloud desktop, the first software process list including software identifiers of N first software being used by the user name.

[0037] Wherein N is a natural number greater than or equal to 1.

[0038] In some implementations, the scanning process of the client may be a scanning program pre-configured on the client, and the software process list of the user name logged in by the cloud desktop may be determined in real time based on the scanning process.

[0039] In some implementations, the scanning process may also obtain an identifier corresponding to the client, and uniquely correspond to a specific client according to the client identifier.

[0040] In some implementations, the software identifier can be a software icon or software name, as well as a hash value or other identification features that can uniquely correspond to the software. That is, the first software list includes information such as the software names of N first software being used by the user name, and the specific software being used can be determined.

[0041] S102, obtaining a second software process list of the cloud desktop standard, and determining a target user type corresponding to the user name according to the first software process list and the second software process list.

[0042] The second software process list is a standard software process list, that is, a software process list for normal software.

[0043] Optionally, the target user type may be classified based on whether there is a risky software process, such as high-risk users and low-risk users, or general users and key users, so as to preliminarily distinguish the possibility of risk among different user names.

[0044] In some implementations, the target user type of the user name can be distinguished by comparing the first software process list and the second software process list; it can be understood that the first software process list is a list of software being used by the user name logged in to the cloud desktop, which is obtained in real time, and the second software process list is a list of software when there is no risky software (prohibited software). Therefore, if all the software in the first software process list appears in the second software process list, it means that there is no risky software (prohibited software) in the first software process list being used by the logged in user name, and the currently logged in user name may be a general user or a low-risk user; accordingly, if the software in the first software process list is different from that in the second software process list, it means that risky software (prohibited software) may appear in the first software process list being used by the logged in user name, and the currently logged in user name is determined to be a high-risk user or a key user.

[0045] S103: collecting scene images of the cloud desktop according to the target user type.

[0046] It can be understood that if the target user type of the logged-in username is a high-risk user or a key user, it means that there may be risky software (prohibited software) in the first software process list being used by the currently logged-in username. Therefore, a higher acquisition frequency can be used to collect the scene image of the cloud desktop to promptly discover the risky software in the blacklist; the scene image includes image information of the first software being run.

[0047] Correspondingly, if the target user type of the logged-in username is a low-risk user or a general user, it means that there is no risky software (prohibited software) in the first software process list being used by the currently logged-in username. Therefore, a lower acquisition frequency can be used to acquire the scene image of the cloud desktop, thereby identifying risky software and reducing the identification cost.

[0048] S104: Identify, based on the scene image, whether the N first software include risky software in the blacklist.

[0049] Optionally, the scene image can be sent to a manager, who can identify risky software based on the scene image. Optionally, a pre-trained image recognition model can be obtained, the scene image can be input into the pre-trained image recognition model, a recognition result can be output, and it can be determined whether the N first software include risky software in the blacklist based on the recognition result.

[0050] Furthermore, when it is determined that there is risky software on the blacklist among the N first software being used by the current user name, the corresponding cloud desktop can be confirmed based on the current user name, and a pop-up window can be displayed on the cloud desktop to remind the current user not to use the blacklisted program, so as to issue a timely warning and avoid causing other losses.

[0051] In this embodiment, by real-time scanning of the first software process list and the standard second software process list of the user name logged in by the cloud desktop, the target user type of the currently logged in user name is distinguished, and it is determined whether the currently logged in user name is a user that needs special attention, so that the scene image of the cloud desktop is collected according to the target user type, and the risky software in the blacklist is identified for different user types and collected scene images, thereby reducing resource consumption while ensuring the timeliness and accuracy of blacklist software identification.

[0052] Based on the above embodiment, the process of identifying whether N first software include risky software in the blacklist according to the scene image is described. Figure 2 It is a flow chart of obtaining risk software provided by an embodiment of the present disclosure.

[0053] like Figure 2 As shown, the method includes:

[0054] S201, inputting a scene image into a pre-trained image classification network, and having the image classification network extract the type of the first software from the scene image to identify the type of the first software, thereby obtaining a target type label of the first software.

[0055] Optionally, the image classification network may be a traditional convolutional neural network, which is mainly used to achieve the purpose of the recognition and classification process of the first software in the scene image and determine the target type label corresponding to each first software.

[0056] In some implementations, the first feature information of the first software may be extracted by an image classification network; the feature information may be a software identifier of the first software, such as a software name or a software icon, which is used to uniquely identify the feature information of the first software.

[0057] Furthermore, for each first software, the first feature information of the first software is compared with the second feature information in the dictionary library to obtain the similarity between the first feature information and the second feature information.

[0058] Optionally, the second feature information in the dictionary library includes feature information of risky software in the blacklist, feature information of safe software in the whitelist, and feature information of sensitive software in the graylist; the similarity can be measured based on Euclidean distance or cosine distance, for example, by calculating the Euclidean distance between the first feature information and the second feature information. The larger the Euclidean distance, the smaller the similarity between the first feature information and the second feature information. The second feature information similar to the first feature information can be determined more intuitively based on the similarity.

[0059] In some implementations, sensitive software in the gray list refers to software that cannot be directly determined as risky software or safe software. Therefore, a third category of software other than risky software and safe software is marked as sensitive software in the gray list, and the sensitive software can be further analyzed and identified to determine whether it is risky software in the blacklist.

[0060] Further, based on the similarity between the first feature information and the second feature information, the target type label of the first software is determined. It can be understood that the higher the similarity between the first feature information and the second feature information, the more similar the first feature information and the second feature information are, and the closer the target type label of the first software is to the target list to which the second feature information belongs.

[0061] Optionally, the highest similarity can be determined from the similarities between the first feature information and the second feature information; the second feature information associated with the highest similarity is determined, and the target list to which the associated second feature information belongs is determined, and the target list is one of a blacklist, a whitelist and a gray list; that is, for each first software, the similarity between the first feature information corresponding to the first software and all the second feature information is obtained to determine the highest similarity, and the second feature information associated with the highest similarity and the target list to which the second feature information belongs are obtained. For example, if the second feature information is the feature information of risky software in the blacklist, then the target list to which the second feature information belongs is the blacklist, thereby improving the accuracy of identification and judgment.

[0062] Further, the type tag corresponding to the target list is obtained, and is determined as the target type tag of the first software. Optionally, the type tag may correspond to the target list, for example, the type tags are blacklist, whitelist and graylist respectively. When the target list is a blacklist, the corresponding type tag is a blacklist, when the target list is a whitelist, the corresponding type tag is a whitelist, and when the target list is a graylist, the corresponding type tag is a graylist. Optionally, the type tag can also be represented based on numbers, for example, when the target list is a blacklist, the corresponding type tag is 1, when the target list is a graylist, the corresponding type tag is 2, and when the target list is a whitelist, the corresponding type tag is 3. The type tag corresponding to the target list is determined as the target type tag of the first software.

[0063] In this embodiment, the type label corresponding to the blacklist is recorded as the first type label, the type label corresponding to the graylist is recorded as the second type label, and the type label corresponding to the whitelist is recorded as the third type label.

[0064] By way of example, if the target list to which the highest similarity corresponding to the first feature information of the first software belongs is a whitelist, the type label corresponding to the whitelist is used as the target type label of the first software, that is, the target type label of the first software is a third type label.

[0065] S202: In response to the existence of a first type tag in the target type tag, determining that the N first software include risky software in the blacklist.

[0066] It can be understood that the first type tag is a type tag corresponding to the blacklist. When the first type tag exists in the target type tag, it means that the N first software include risky software in the blacklist.

[0067] In some implementations, when it is determined that the N first software include risky software in the blacklist, the corresponding cloud desktop can be locked based on the user name to prevent the risky software in the blacklist from continuing to run.

[0068] Furthermore, it is also possible to determine, from among N first software, a second software marked with a first type label as risky software existing in a blacklist; determine the attribute information of the second software and the historical usage data of the second software by the user name, and generate early warning information of the second software based on the attribute information and historical usage data of the second software.

[0069] Optionally, the attribute information of the second software may be information such as the name and start time of the second software, and the historical usage data of the second software by the user name may be the number of times or frequency of use of the second software by the user name in a historical period.

[0070] That is, risky software with a first type label is filtered out from N first software, and the name of the risky software, the start time of operation, and the historical frequency of use of the risky software by the user name are determined; based on the name of the risky software, the start time of operation, and the historical frequency of use of the risky software by the user name, early warning information of the risky software is generated; for example, the early warning information may be "Software A started at 10 o'clock is a risky software, the historical number of uses is 1, please do not continue the operation."

[0071] In some implementations, the warning information can be displayed as a pop-up window on the client's cloud desktop so that the user can receive the warning information in time to avoid losses caused by the user activating risky software on the blacklist.

[0072] In this embodiment, the scene image is input into the image classification network to perform type identification of the first software, thereby improving the software identification speed. Feature information is extracted through the image classification network for comparison, and it is determined whether the current first software belongs to a blacklist, a whitelist or a graylist. The corresponding target type label is determined based on the list to which it belongs, and when it is determined that the second feature information with the highest similarity to the first feature information belongs to the blacklist, that is, when the target type label corresponds to the blacklist, the corresponding cloud desktop is locked in time, and early warning information is generated for the historical usage data of the risk software based on the attribute information and user name of the risk software to remind the user that the software is risky software to avoid losses caused by users starting the blacklisted risky software.

[0073] Based on the above embodiment, the case where the target type tag has a second type tag is described. Figure 3 A flowchart of gray list processing provided in an embodiment of the present application. Figure 3 As shown, the method includes:

[0074] S301, in response to the presence of a second type tag in the target type tag, determining that the N first software include sensitive software in the gray list.

[0075] It can be understood that the second type label is a type label corresponding to the gray list. When the second type label exists in the target type label, it means that the N first software includes sensitive software in the gray list.

[0076] S302: Determine, from the N first software, the first software marked as the second type label as the third software existing in the gray list.

[0077] The first software marked with the second type label is screened out from the N first software as the third software in the gray list.

[0078] S303, determining historical usage data of the user name for the third software.

[0079] In some implementations, the number of times or frequency of use of the third software by the user name in a historical period can be obtained as historical usage data of the third software by the user name, and the historical usage data is used to reflect the usage of the third software by the user name.

[0080] S304: Generate reporting information of the third software according to the historical usage data of the third software.

[0081] Optionally, the reported information may include a software identifier of the third software and historical usage data of the third software, and whether the third software is risky software is determined based on the historical usage data.

[0082] In some implementations, the reported information can be reported to an administrator, who filters it based on the historical usage data in the reported information. For example, third software with a usage frequency higher than a threshold in the historical usage data may be judged as safe software, and third software with a usage frequency lower than the threshold may be judged as risky software.

[0083] Furthermore, an update operation of the type label of the third software may also be received, and the final label type of the third software may be determined according to the update operation. Optionally, the final label type of the third software may be included in the update operation, and the final label type of the third software may be determined based on the judgment of the administrator, that is, after reporting the reported information to the administrator, the administrator carries the judgment result in the update operation for feedback, and by receiving the update operation of the type label of the third software, the final label type of the third software is updated to obtain a more accurate classification result of the third software.

[0084] Optionally, the third software and the final label type of the third software can also be determined as sample data for fine-tuning the image classification network; in response to the sample data reaching a set number, the image classification network is fine-tuned based on the sample data. That is, the third software and the final label type of the third software are used as sample data, and the image classification network is fine-tuned when the sample number reaches a set number, so that the image classification network can continue to learn new classification basis based on the sample data of the third software, so that the image classification network can accurately classify sensitive software, and improve the classification accuracy of the image classification network.

[0085] In this embodiment, when it is determined that there is sensitive software on the gray list in the target type labels of N first software, the sensitive software is treated as the third software, and the historical usage data of the third software is obtained to generate reporting information for reporting. Professional management personnel identify the sensitive software to determine whether it is risky software, and receive the update operation of the third software to determine the final label type, so as to identify the sensitive software more accurately. At the same time, when the number of sensitive software reaches the set number, the third software and its corresponding final label type are used as sample data to fine-tune and optimize the image classification network, so that the learning and training of the image classification network is more sufficient and the identification and classification of each software is more accurate.

[0086] Based on the above embodiment, the process of collecting scene images of the cloud desktop according to the target user type is described. Figure 4 This is a flow chart of an image acquisition provided by an embodiment of the present application. Figure 4 As shown, the method includes:

[0087] S401, determining sampling parameters of a scene image according to the target user type.

[0088] Optionally, the first software process list and the second software process list can be matched; in response to the first software in the first software process list being recorded in the second software process list, the target user type corresponding to the user name is determined to be the first user type; in response to at least one first software not being recorded in the second software process list, the target user type corresponding to the user name is determined to be the second user type.

[0089] Optionally, the first user type can be a general user, and the second user type is a key focus user. That is, when at least one first software is not recorded in the second software process list, it indicates that there may be risky software in the first software process list. Therefore, the target user type corresponding to the user name is set to a key focus user to promptly discover and identify risky software in the first software list.

[0090] Optionally, the sampling parameter may be a sampling frequency, and different target user types correspond to different sampling frequencies. For example, the sampling frequency of scene images of key users is higher, and the sampling frequency of scene images of general users is lower.

[0091] S402, capturing an image of the cloud desktop based on the sampling parameters to obtain a scene image of the cloud desktop.

[0092] The cloud desktop is image captured according to the sampling frequency in the sampling parameters, such as by using image acquisition methods such as screenshot or photography, to obtain a scene image of the cloud desktop, and the first software process list is analyzed and identified based on the scene image.

[0093] In this embodiment, different sampling frequencies are determined according to the target user type, and image capture is performed based on the sampling frequency. More images are collected for key users for identification to avoid untimely identification of risky software. Low-frequency image collection and identification are performed for general users to reduce unnecessary waste of resources.

[0094] Figure 5 A flowchart of another software identification method provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, the method comprises the following steps:

[0095] S501, based on the scanning process of the client, obtain a first software process list of the user name logged in to the cloud desktop, the first software process list including software identifiers of N first software currently being used by the user name.

[0096] In the embodiment of the present application, the implementation method of step S501 can be implemented by any of the methods in the embodiments of the present disclosure, which is not limited here and will not be repeated.

[0097] S502: Obtain a second software process list of the cloud desktop standard, and determine a target user type corresponding to the user name according to the first software process list and the second software process list.

[0098] In the embodiment of the present application, the implementation method of step S502 can be implemented by any of the methods in the embodiments of the present disclosure, which is not limited here and will not be repeated.

[0099] S503: Determine sampling parameters of the scene image according to the target user type.

[0100] In the embodiment of the present application, the implementation method of step S503 can be implemented by any of the methods in the embodiments of the present disclosure, which is not limited here and will not be repeated.

[0101] S504: Capture an image of the cloud desktop based on the sampling parameters to obtain a scene image of the cloud desktop.

[0102] In the embodiment of the present application, the implementation method of step S504 can be implemented by any of the methods in the embodiments of the present disclosure, which is not limited here and will not be repeated.

[0103] S505, inputting the scene image into a pre-trained image classification network, and having the image classification network extract the type of the first software from the scene image to identify the type of the first software, thereby obtaining a target type label of the first software.

[0104] In the embodiment of the present application, the implementation method of step S505 can be implemented by any of the methods in the embodiments of the present disclosure, which is not limited here and will not be repeated.

[0105] S506: In response to the existence of a first type tag in the target type tag, determining that the N first software include risky software in the blacklist.

[0106] In the embodiment of the present application, the implementation method of step S506 can be implemented by any of the methods in the embodiments of the present disclosure, which is not limited here and will not be repeated.

[0107] S507: In response to the presence of a second type tag in the target type tag, determine that the N first software include sensitive software in the gray list.

[0108] In the embodiment of the present application, the implementation method of step S507 can be implemented by any of the methods in the embodiments of the present disclosure, which is not limited here and will not be repeated.

[0109] S508 , filtering out the first software marked with the second type label from the N first software as the third software in the gray list.

[0110] In the embodiment of the present application, the implementation method of step S508 can be implemented by any of the methods in the embodiments of the present disclosure, which is not limited here and will not be repeated.

[0111] S509: Determine historical usage data of the user name for the third software.

[0112] In the embodiment of the present application, the implementation method of step S509 can be implemented by any of the methods in the embodiments of the present disclosure, which is not limited here and will not be repeated.

[0113] S510: Generate reporting information of the third software according to the historical usage data of the third software.

[0114] In the embodiment of the present application, the implementation method of step S510 can be implemented by any of the methods in the embodiments of the present disclosure, which is not limited here and will not be repeated.

[0115] Figure 6 A logic diagram of a software identification method provided in an embodiment of the present application, such as Figure 6 As shown, the first software process list of the user name logged in by the cloud desktop is obtained through process scanning, and the first software process list and the standard second software process list are compared based on process pre-classification to determine the target user type corresponding to the user name, and scene image acquisition is performed based on the target user type. The scene image is input into the image classification network for identification, and it is determined whether the N first software include blacklist software. If included, an early warning is issued. If all are whitelist software, it proves that the current first software are all safe software. If there is software in the gray list, the software-related information is obtained to generate reporting information and upload it to the administrator for update. The image classification network is optimized and fine-tuned according to the final type label of the sensitive software, and the user type is determined and the image acquisition and identification are performed again according to the specific judgment result. The judgment and identification are ended after all the first software are judged.

[0116] In this embodiment, by real-time scanning of the first software process list and the standard second software process list of the user name logged in by the cloud desktop, the target user type of the currently logged in user name is distinguished, different sampling frequencies are determined according to the target user type, and image capture is performed based on the sampling frequency to reduce unnecessary resource waste; the scene image is further input into the image classification network to identify the type of the first software, and when the target type label corresponds to the blacklist, the corresponding cloud desktop is locked in time, and an early warning message is generated to remind the user to avoid losses caused by the user starting the risk software on the blacklist. When it is determined that there is sensitive software on the gray list in the target type label of N first software, the sensitive software is used as the third software, and the historical usage data of the third software is obtained to generate reporting information for reporting. Professional management personnel identify the sensitive software to determine the final label type. When the number of sensitive software reaches the set number, the third software and its corresponding final label type are used as sample data to fine-tune and optimize the image classification network, so that the image classification network learning and training are more sufficient, and the identification and classification of each software are more accurate. In addition, the implementation of this embodiment does not completely rely on the management of a single system software, and can be applied to the cloud desktop management of various systems.

[0117] Figure 7 A structural block diagram of a software recognition device provided in an embodiment of the present disclosure, such as Figure 7 As shown, the software recognition device 700 of the embodiment of the present disclosure includes:

[0118] The first acquisition module 701 is used to acquire a first software process list of a user name logged in to the cloud desktop based on a scanning process of the client, where the first software process list includes software identifiers of N first software being used by the user name, where N is a natural number greater than or equal to 1;

[0119] The second acquisition module 702 is used to acquire a second software process list of the cloud desktop standard, and determine the target user type corresponding to the user name according to the first software process list and the second software process list;

[0120] The acquisition module 703 is used to acquire scene images of the cloud desktop according to the target user type;

[0121] The identification module 704 is used to identify whether the N first software include risky software in the blacklist according to the scene image.

[0122] In some implementations, the scene image includes image information of the first software being run, and the identification module 704 includes:

[0123] Inputting the scene image into a pre-trained image classification network, the image classification network extracts the type of the first software from the scene image to identify the type of the first software, and obtains a target type label of the first software;

[0124] In response to the presence of a first type tag in the target type tag, it is determined that the N first software include risky software in the blacklist.

[0125] In some implementations, the identification module 704 includes:

[0126] Extracting first feature information of the first software by the image classification network;

[0127] For each first software, compare the first feature information of the first software with the second feature information in the dictionary library to obtain the similarity between the first feature information and the second feature information;

[0128] Based on the similarity between the first feature information and the second feature information, a target type label of the first software is determined.

[0129] In some implementations, the second characteristic information in the dictionary library includes characteristic information of risky software in the blacklist, characteristic information of safe software in the whitelist, and characteristic information of sensitive software in the graylist. The identification module 704 includes:

[0130] Determining the highest similarity from the similarities between the first feature information and the second feature information;

[0131] Determine the second characteristic information associated with the highest similarity, and determine the target list to which the associated second characteristic information belongs, where the target list is one of a blacklist, a whitelist, and a graylist;

[0132] The type label corresponding to the target list is obtained and determined as the target type label of the first software.

[0133] In some implementations, the identification module 704 further includes:

[0134] Determine, from the N first software, second software marked with a first type label as risky software existing in the blacklist;

[0135] Determine the attribute information of the second software and the historical usage data of the second software by the user name, and generate warning information of the second software according to the attribute information and the historical usage data of the second software.

[0136] In some implementations, the apparatus 700 further includes:

[0137] In response to the presence of a second type tag in the target type tag, determining that the N first software includes sensitive software in the gray list;

[0138] Determine, from the N first software, the first software marked with the second type label as the third software existing in the gray list;

[0139] Determine historical usage data of third-party software by user name;

[0140] Generate reporting information of the third software based on historical usage data of the third software.

[0141] In some implementations, the apparatus 700 further includes:

[0142] receiving an update operation of a type label of the third software, and determining a final label type of the third software according to the update operation;

[0143] Determine the third software and the final label type of the third software as sample data for fine-tuning the image classification network;

[0144] In response to the sample data reaching a set amount, fine-tuning the image classification network based on the sample data.

[0145] In some implementations, the acquisition module 703 includes:

[0146] According to the target user type, sampling parameters of the scene image are determined, and the image of the cloud desktop is captured based on the sampling parameters to obtain the scene image of the cloud desktop.

[0147] In some implementations, the second acquisition module 702 includes:

[0148] matching the first software process list with the second software process list;

[0149] In response to the first software in the first software process list being recorded in the second software process list, determining that the target user type corresponding to the user name is the first user type;

[0150] In response to at least one first software not being recorded in the second software process list, it is determined that the target user type corresponding to the user name is a second user type.

[0151] In this embodiment, by real-time scanning of the first software process list and the standard second software process list of the user name logged in by the cloud desktop, the target user type of the currently logged in user name is distinguished, different sampling frequencies are determined according to the target user type, and image capture is performed based on the sampling frequency to reduce unnecessary resource waste; the scene image is further input into the image classification network to identify the type of the first software, and when the target type label corresponds to the blacklist, the corresponding cloud desktop is locked in time, and an early warning message is generated to remind the user to avoid losses caused by the user starting the risky software on the blacklist. When it is determined that there is sensitive software on the gray list in the target type label of N first software, the sensitive software is used as the third software, and the historical usage data of the third software is obtained to generate reporting information for reporting. Professional management personnel identify the sensitive software and determine the final label type. When the number of sensitive software reaches the set number, the third software and its corresponding final label type are used as sample data to fine-tune and optimize the image classification network, so that the image classification network learning and training is more sufficient, and the identification and classification of each software is more accurate.

[0152] Figure 8 FIG. 1 is a block diagram of an electronic device according to an exemplary embodiment. Figure 8 As shown, the electronic device 800 includes:

[0153] The memory 810 and the processor 820, a bus 830 connecting different components (including the memory 810 and the processor 820), the memory 810 stores a computer program, and when the processor 820 executes the program, the software recognition method described in the embodiment of the present disclosure is implemented.

[0154] Bus 830 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus and Peripheral Component Interconnect (PCI) bus.

[0155] The electronic device 800 typically includes a variety of electronic device readable media. These media can be any available media that can be accessed by the electronic device 800, including volatile and non-volatile media, removable and non-removable media.

[0156] The memory 810 may also include computer system readable media in the form of volatile memory, such as random access memory (RAM) 840 and / or cache memory 850. The electronic device 800 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 860 may be used to read and write non-removable, non-volatile magnetic media ( Figure 8 not shown, usually called a "hard drive"). Although Figure 8 Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 830 via one or more data medium interfaces. The memory 810 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present disclosure.

[0157] A program / utility 880 having a set (at least one) of program modules 870 may be stored, for example, in the memory 810, such program modules 870 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 870 generally perform the functions and / or methods of the embodiments described in the present disclosure.

[0158] The electronic device 800 may also communicate with one or more external devices 890 (e.g., keyboard, pointing device, display 891, etc.), one or more devices that enable a user to interact with the electronic device 800, and / or any device that enables the electronic device 800 to communicate with one or more other computing devices (e.g., network card, modem, etc.). Such communication may be performed through an input / output (I / O) interface 892. Furthermore, the electronic device 800 may also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN) and / or public network, such as the Internet) through a network adapter 893. Figure 8 As shown, the network adapter 893 communicates with other modules of the electronic device 800 via the bus 830. It should be understood that although Figure 8 Not shown, other hardware and / or software modules may be used in conjunction with electronic device 800, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0159] The processor 820 executes various functional applications and data processing by running the programs stored in the memory 810 .

[0160] It should be noted that the implementation process and technical principles of the electronic device of this embodiment refer to the aforementioned explanation of the software identification method of the embodiment of the present disclosure, and will not be repeated here.

[0161] In order to implement the above embodiments, the present disclosure also proposes a computer-readable storage medium.

[0162] When the instructions in the computer-readable storage medium are executed by the processor of the service server, the service server can execute the software identification method as described above. Optionally, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0163] In order to implement the above embodiments, the present disclosure further provides a computer program product, including a computer program, characterized in that when the computer program is executed by a processor, the software recognition method as described above is implemented.

[0164] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims. It should be understood that the present disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A method for identifying software, characterized in that: The method comprises: Based on the scanning process of the client, a first software process list of the user name logged in by the cloud desktop is obtained, where the first software process list includes software identifiers of N first software being used by the user name, where N is a natural number greater than or equal to 1; Obtaining a second software process list of the cloud desktop standard, and determining a target user type corresponding to the user name according to the first software process list and the second software process list; According to the target user type, collecting scene images of the cloud desktop; According to the scene image, it is identified whether the N first software include risky software in the blacklist.

2. The method according to claim 1, characterized in that The scene image includes image information of the running first software, and the identifying, according to the scene image, whether the N first software includes risky software in the blacklist includes: Inputting the scene image into a pre-trained image classification network, and having the image classification network extract the type of the first software from the scene image to identify the type of the first software, thereby obtaining a target type label of the first software; In response to the presence of a first type tag in the target type tag, it is determined that the N first software include risky software in the blacklist.

3. The method according to claim 2, characterized in that The step of identifying the type of the first software in the software process image by the image classification network to obtain a target software type label of the first software includes: extracting first feature information of the first software by the image classification network; For each of the first software, compare the first feature information of the first software with the second feature information in the dictionary library to obtain the similarity between the first feature information and the second feature information; Based on the similarity between the first feature information and the second feature information, a target type label of the first software is determined.

4. The method according to claim 3, characterized in that The second feature information in the dictionary library includes feature information of risky software in the blacklist, feature information of safe software in the whitelist, and feature information of sensitive software in the graylist. The determining of the target software type label of the first software based on the similarity between the first feature information and the second feature information includes: Determining the highest similarity from the similarities between the first feature information and the second feature information; Determine the second feature information associated with the highest similarity, and determine the target list to which the associated second feature information belongs, wherein the target list is one of the blacklist, the whitelist, and the graylist; The type label corresponding to the target list is obtained and determined as the target type label of the first software.

5. The method according to claim 2, characterized in that: After determining that the N first software include the software in the blacklist, the method further includes: Determine, from the N first software, second software marked with the first type label as risky software existing in the blacklist; Determine the attribute information of the second software and the historical usage data of the second software by the user name, and generate warning information of the second software according to the attribute information of the second software and the historical usage data.

6. The method according to claim 2, characterized in that The method further comprises: In response to the presence of a second type tag in the target type tag, determining that the N first software include sensitive software in the gray list; Determine, from the N first software, the first software marked with the second type label as the third software existing in the gray list; Determine historical usage data of the third software by the user name; Generate reporting information of the third software according to the historical usage data of the third software.

7. The method according to claim 6, characterized in that The method further comprises: receiving an update operation of the type label of the third software, and determining a final label type of the third software according to the update operation; Determining the third software and the final label type of the third software as sample data for fine-tuning the image classification network; In response to the sample data reaching a set amount, fine-tuning the image classification network based on the sample data.

8. The method according to any one of claims 1 to 7, characterized in that The collecting the scene image of the cloud desktop according to the target user type includes: According to the target user type, sampling parameters of the scene image are determined, and based on the sampling parameters, an image of the cloud desktop is captured to obtain a scene image of the cloud desktop.

9. The method according to claim 8, characterized in that The determining, according to the first software process list and the second software process list, the target user type corresponding to the user name includes: matching the first software process list with the second software process list; In response to the first software in the first software process list being recorded in the second software process list, determining that the target user type corresponding to the user name is a first user type; In response to at least one of the first software not being recorded in the second software process list, it is determined that the target user type corresponding to the user name is a second user type.

10. A software recognition device, characterized in that: include: A first acquisition module, configured to acquire, based on a scanning process of a client, a first software process list of a user name logged in to a cloud desktop, wherein the first software process list includes software identifiers of N first software being used by the user name, where N is a natural number greater than or equal to 1; A second acquisition module is used to acquire a second software process list of the cloud desktop standard, and determine a target user type corresponding to the user name according to the first software process list and the second software process list; A collection module, used for collecting scene images of the cloud desktop according to the target user type; An identification module is used to identify whether the N first software include risky software in a blacklist according to the scene image.

11. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 9 when executed by a processor.

13. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 9 when being executed by a processor.