Application distribution method, device, equipment and computer program product

By analyzing and processing the recording and distribution environment using application software calibration rules, the problem of software component and configuration conflicts in virtual application distribution is resolved, and adaptive processing between the system layer and the software layer is achieved, ensuring the stable application of virtualization technology.

CN121349484APending Publication Date: 2026-01-16SANGFOR TECH INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511415944.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-29
Publication Date
2026-01-16

AI Technical Summary

Technical Problem

During the virtual application distribution process, there are conflicts between software components and software configurations between the system layer and various software layers, which affects the application effect of virtualization technology.

Method used

By analyzing the recording and distribution environment using application software calibration rules, potential conflicts are detected and handled, including uninstalling registry entries, specifying registry entries or file directories to host calibration, suppressing conflict detection configurations, and cleaning up residual configuration paths to ensure adaptive conflict handling during the software layering process.

Benefits of technology

It reduces conflicts between the system layer and the software layer, improves the reliability and efficiency of virtual application distribution, and ensures the stable application of virtualization technology.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121349484A_ABST
    Figure CN121349484A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses an application distribution method, and the method comprises the steps: carrying out the analysis of recording information obtained based on a recording environment based on an application software calibration rule, and obtaining recording application list information; the application software calibration rule represents a calibration rule for calibrating application software, and the recorded application list information comprises recorded application software information; analyzing the distribution environment based on an application software calibration rule to obtain distribution environment application list information; the distribution environment application list information represents application software information which is not subjected to distribution processing; analyzing the recorded application list information and the distribution environment application list information to obtain an analysis result; responding to the analysis result, and executing a response operation corresponding to the analysis result; the response operation comprises a distribution operation or a distribution pause operation on the application software corresponding to the recorded application list information. The embodiment of the invention also discloses an application distribution device, equipment and a computer program product.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of virtual technology applications, and more particularly to an application distribution method, apparatus, device, and computer program product. Background Technology

[0002] As application virtualization technology has evolved to a stage where breakthroughs in software virtualization compatibility are urgently needed, application layering technology has emerged to overcome its system isolation characteristics and improve the interactivity of virtual applications with the system or other application components. Currently, Virtual Desktop Infrastructure (VDI), a representative application of application virtualization technology, is widely used in various aspects of social life. VDI creates a unified system desktop for different users, providing a consistent experience. Furthermore, through the recording and distribution process of application virtualization, users can access personalized application software management and provisioning, thus breaking down isolation and improving interactive compatibility. However, during the distribution process, more problems arise between the system layer and various software layers in application layering, such as software component conflicts and software configuration conflicts. How to solve these problems has become a pressing technical issue in the current application of virtualization technology. Summary of the Invention

[0003] In view of this, the embodiments of this application aim to provide an application distribution method, apparatus, device, and computer program product, which solves the problem of software component and software configuration conflicts in current virtual application distribution, proposes a conflict detection and automatic adaptation scheme for software conflicts, software configuration conflicts, etc., reduces the conflict-related problems between the system layer and various software layers in application layering, and ensures the application of virtualization technology.

[0004] To achieve the above objectives, the technical solution of this application is implemented as follows:

[0005] This application provides an application distribution method, the method comprising:

[0006] Based on application software calibration rules, the recording information obtained from the recording environment is analyzed to obtain a list of recorded applications; wherein, the application software calibration rules refer to the calibration rules for calibrating application software, and the list of recorded applications includes the recorded application software information;

[0007] Based on the application software identification rules, the distribution environment is analyzed to obtain the application list information of the distribution environment; wherein, the application list information of the distribution environment represents application software information that is not distributed.

[0008] The recorded application list information and the distribution environment application list information are analyzed to obtain analysis results; wherein, the analysis results are used to indicate whether to distribute the application software in the recorded application list information;

[0009] In response to the analysis results, the corresponding response operation is executed; wherein, the response operation includes a distribution operation or a pause distribution operation for the application software corresponding to the recorded application list information.

[0010] In the above scheme, the analysis of the recorded application list information and the distribution environment application list information to obtain the analysis results includes:

[0011] If the distribution environment application list information includes one or more target application information from the recorded application list information, obtain the application suppression configuration information; the application suppression configuration information is used to configure the application software information to continue distribution when a conflict is detected.

[0012] If the one or more target application information belongs to the suppressed application configuration information, or if there is no application information in the distribution environment application list information that is the same as the recorded application list information, the analysis result is determined to be an allowed distribution result indicating that the recorded application list information can be distributed;

[0013] If some or all of the information in the one or more target application information does not belong to the suppressed application configuration information, the analysis result is determined to be a pause distribution indicating that the recorded application list information will not be distributed.

[0014] In the above scheme, the application software calibration rules include at least one or more of the following rules:

[0015] Application-based uninstallation registry entry tagging rules;

[0016] Based on specified registry entries or file directories to carry the calibration rules;

[0017] Based on specified registry key values ​​or file path identification rules.

[0018] In the above scheme, after analyzing the recording information obtained based on the recording environment according to the application software calibration rules to obtain the recording application list information, the method further includes:

[0019] Retrieve pre-configured settings for the first specified configuration directory;

[0020] Based on the recording application list information and the first specified configuration directory setting information, the final recording information is determined.

[0021] In the above scheme, determining the final recording information based on the recording application list information and the first specified configuration directory setting information includes:

[0022] The first traversal result is obtained by iterating through the recorded information to determine whether it includes the configuration items in the first specified configuration directory setting information.

[0023] If the first traversal result indicates that the first target configuration item is included, and the application information corresponding to the first target configuration item does not belong to the recorded application list information, delete the information content corresponding to the first target configuration item in the recorded information to obtain the final recorded information; wherein, the first target configuration item belongs to the first specified configuration directory setting information;

[0024] If the first traversal result indicates that no configuration item has been traversed, the final recording information is determined to be the recording information.

[0025] In the above scheme, the first specified configuration directory setting information includes one or more of the following: a configuration directory added for the specified software, and a configuration registry key path parameter added for the specified software.

[0026] The method in the above scheme further includes:

[0027] When the analysis result indicates that distribution is permitted, the pre-configured second specified configuration directory setting information is obtained;

[0028] The second traversal result is obtained by iterating through whether the distribution environment includes the configuration items in the second specified configuration directory setting information.

[0029] If the second traversal result indicates that the second target configuration item is included, and the application information corresponding to the second target configuration item belongs to the recorded application list information but does not belong to the distribution environment application list information, delete the information content corresponding to the second target configuration item in the distribution environment to obtain the target environment;

[0030] Update the distribution environment to the target environment.

[0031] This application provides an application distribution device, the device comprising: a first analysis unit, a second analysis unit, and an execution unit; wherein:

[0032] The first analysis unit is used to analyze the recording information obtained based on the recording environment based on the application software calibration rules to obtain the recording application list information; wherein, the application software calibration rules represent the calibration rules for calibrating application software, and the recording application list information includes the recorded application software information;

[0033] The first analysis unit is further configured to analyze the distribution environment based on the application software identification rules to obtain distribution environment application list information; wherein the distribution environment application list information represents application software information that is not distributed.

[0034] The second analysis unit is used to analyze the recorded application list information and the distribution environment application list information to obtain analysis results;

[0035] The execution unit is configured to perform a response operation corresponding to the analysis result in response to the analysis result; wherein the response operation includes a distribution operation to the application software corresponding to the recorded application list information and a pause distribution operation.

[0036] This application provides an application distribution device, the device comprising at least: a memory, a processor, and a communication bus; wherein:

[0037] The memory is used to store executable instructions;

[0038] The communication bus is used to realize the communication connection between the processor and the memory;

[0039] The processor is configured to execute the application distribution program stored in the memory to implement the steps of the application distribution method as described in any of the preceding embodiments.

[0040] This application provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the application distribution method as described in any of the preceding claims.

[0041] The application distribution method, apparatus, device, and computer program product provided in the embodiments of this application analyze recording information obtained from the recording environment based on application software calibration rules to obtain a list of recorded applications. Then, based on the application software calibration rules, the distribution environment is analyzed to obtain a list of applications for the distribution environment. Finally, the recorded application list information and the distribution environment application list information are analyzed to obtain analysis results, and in response to the analysis results, corresponding response operations are executed. In this way, according to the application software calibration file, the recording information and the distribution environment are calibrated separately to obtain their respective list information. Adaptive handling of software configuration directory conflicts is then performed on the recorded application list information and the distribution environment application list information. This adaptive handling alleviates software residual configuration conflicts from the recording stage to the distribution stage, solving the problem of software component and software configuration conflicts in current virtual application distribution. It also reduces software conflict-related problems between the system layer and various software layers in application layering, ensuring the application of virtualization technology. Attached Figure Description

[0042] Figure 1 A flowchart illustrating an application distribution method provided in an embodiment of this application;

[0043] Figure 2 This is a schematic diagram of the structure of an application distribution device provided in an embodiment of this application;

[0044] Figure 3 This is a schematic diagram of the structure of an application distribution device provided in an embodiment of this application. Detailed Implementation

[0045] It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit this application.

[0046] Embodiments of this application provide an application distribution method, which is applied to an application distribution device, with reference to... Figure 1 As shown, the method includes the following steps:

[0047] Step 101: Based on the application software calibration rules, analyze the recording information obtained based on the recording environment to obtain the recording application list information.

[0048] Among them, the application software calibration rules refer to the calibration rules for the application software, and the recorded application list information includes the recorded application software information.

[0049] In this embodiment, the application distribution device can be an application virtual software management device used to distribute and process virtual application software. The application distribution device records the recording environment to obtain recording information. Then, after the software recording is complete, the application distribution device identifies and analyzes the recording information based on pre-set application software identification rules to determine the recorded application software information, thus obtaining a recorded application list. The application software information recorded in the recorded application list can be the application software's identification information, and may further include application software version information, installation path, and other information.

[0050] Step 102: Based on the application software identification rules, analyze the distribution environment to obtain the application list information of the distribution environment.

[0051] The application list information in the distribution environment indicates application software information that will not be distributed.

[0052] In this embodiment, the application distribution device identifies the distribution environment using pre-defined application software identification rules to obtain a distribution environment application list information for the application distribution device's distribution environment. This distribution environment application list information records the application software identification information of the distribution environment before application distribution processing. Furthermore, it may also include version information of these applications, and even path information.

[0053] Step 103: Analyze the recorded application list information and the distribution environment application list information to obtain the analysis results.

[0054] The analysis results are used to indicate whether to distribute the application software from the recorded application list information.

[0055] In this embodiment, a conflict analysis is performed between the application software information in the recorded application list information and the application software information in the distribution environment application list information to determine whether there are conflicting application software and obtain the analysis results.

[0056] Step 104: In response to the analysis results, execute the response operation corresponding to the analysis results.

[0057] The response operations include distributing the application software corresponding to the recorded application list information or pausing the distribution.

[0058] In this embodiment, after obtaining the analysis results, the application distribution device processes the application software in the recorded application list information according to the analysis results and completes the corresponding response operation. For example, it performs a distribution operation on the application software in the recorded application list information according to the analysis results, that is, it distributes the corresponding application software to the corresponding client, or it pauses the distribution operation, that is, it temporarily stops distributing the corresponding application software. The specific decision can be made according to the actual situation, and no specific limitation is made here.

[0059] Based on the foregoing embodiments, in other embodiments of this application, step 103, which analyzes the recorded application list information and the distribution environment application list information to obtain the analysis results, can be achieved by the following steps:

[0060] If the application list information in the distribution environment includes one or more target application information from the recorded application list information, obtain the application suppression configuration information; the application suppression configuration information is used to configure the application software information to continue distribution when a conflict is detected.

[0061] If one or more target application information belongs to suppressed application configuration information, or if there is no application information in the distribution environment application list information that is the same as the recorded application list information, the analysis result is determined to be allowed distribution, indicating that the recorded application list information can be distributed;

[0062] If some or all of the information in one or more target application information does not belong to the application suppression configuration information, the analysis result is determined to be a pause in distribution, indicating that the recorded application list information should not be distributed.

[0063] In this embodiment of the application, when analyzing the recorded application list information and the distribution environment application list information, the main focus is on determining whether the application software information included in the recorded application list information exists in the distribution environment application list information. If the distribution environment application list information includes one or more target application information from the recorded application list information, it can be determined that these one or more target application information are conflicting application software. In this case, the analysis result of these one or more target application information can be directly determined as suspending distribution.

[0064] In some application scenarios, conflicting applications are auxiliary applications that function properly for other applications. Failure to distribute these applications can prevent other applications from running. In such cases, special conflict-suppressing application configuration information can be set for these applications that affect the operation of other applications. This configuration information ensures that when certain applications need to be distributed, the corresponding auxiliary application components will still be distributed even if they conflict with existing local components. After identifying one or more target applications, the conflict-suppressing application configuration information is used to perform information matching analysis. If all one or more target applications belong to the conflict-suppressing configuration information, or if there are no matching applications in the distribution environment's application list (i.e., no one or more target applications exist), the current analysis result is that the distribution of the recorded application list is allowed. If some or all of the information in one or more target applications does not belong to the conflict-suppressing configuration information, it indicates a conflict. In this case, the analysis result is that distribution of the recorded application list is paused, meaning the distribution process for applications in the recorded application list is not executed.

[0065] Based on the foregoing embodiments, in other embodiments of this application, the application software identification rules include at least one or more of the following rules:

[0066] Application-based uninstallation registry entry tagging rules;

[0067] Based on specified registry entries or file directories to carry the calibration rules;

[0068] Based on specified registry key values ​​or file path identification rules.

[0069] In this embodiment, the application uninstallation registry key labeling rule records application software that can be labeled based on uninstallation registry keys; the specified registry key or file directory hosting labeling rule records application software that can be labeled based on registry keys or file directories; and the specified registry key value or file path labeling rule records application software that can be labeled through registry key values ​​or file paths. Thus, by labeling application software using one or more of these rules, the recorded software information can be accurately identified, improving conflict analysis efficiency.

[0070] Based on the foregoing embodiments, in other embodiments of this application, after the application distribution device performs step 101, which analyzes the recording information obtained based on the recording environment according to the application software identification rules to obtain the recording application list information, it is further used to perform the following steps:

[0071] Retrieve pre-configured settings for the first specified configuration directory;

[0072] Based on the information of the list of recorded applications and the settings of the first specified configuration directory, the final recording information is determined.

[0073] In this embodiment, the pre-configured first designated configuration directory setting information is pre-configured application software configuration directory information that needs to be added to software prone to configuration conflicts. By adding the pre-configured first designated configuration directory setting to specify application association information, the recording software information is used to find and process misuse generated configuration files, and the final recording information is obtained.

[0074] Based on the foregoing embodiments, in other embodiments of this application, the step of determining the final recording information based on the recording application list information and the first specified configuration directory setting information can be implemented by the following steps:

[0075] The first traversal result is obtained by iterating through the recorded information to see if the configuration items in the first specified configuration directory setting information are included.

[0076] If the first traversal result indicates that the first target configuration item is included, and the application information corresponding to the first target configuration item does not belong to the recorded application list information, delete the information content corresponding to the first target configuration item in the recorded information to obtain the final recorded information; wherein, the first target configuration item belongs to the first specified configuration directory setting information;

[0077] If the first traversal result indicates that no configuration item has been traversed, the final recorded information is determined to be the recorded information.

[0078] In this embodiment, the recorded information is processed by traversal. The traversal checks whether the recorded information includes configuration items from the first specified configuration directory setting information, resulting in a first traversal result. The first variable result includes whether the recorded information contains a first target configuration item from the first specified configuration directory setting information, or whether the recorded information does not contain any configuration items from the first specified configuration directory setting information. Thus, when the first traversal result indicates that the first target configuration item is included, but the recorded application list information does not include the application information corresponding to the first target configuration item, the information content corresponding to the first target configuration item in the recorded information is deleted, resulting in the final recorded information. During the distribution operation, the final recorded information is distributed, thus eliminating content in the final recorded information that may cause software configuration file conflicts and reducing the probability of errors during distribution.

[0079] If the first traversal result indicates that the configuration item in the specified target setting information has not been traversed, it can be determined that the final recording information is the recording information obtained in the current recording.

[0080] Based on the foregoing embodiments, in other embodiments of this application, the first specified configuration directory setting information includes one or more of the following: a configuration directory added for the specified software, and a configuration registry entry path parameter added for the specified software.

[0081] In this embodiment, the configuration directory and registry entry path parameters added for the specified software can be configuration directory information of some application software that are prone to distribution conflicts, as statistically identified by the user during actual application. Alternatively, they can be registry entry path parameters. This way, at the end of the software recording phase, the corresponding configuration paths for unrecorded software are cleaned up to avoid misuse of the software recording environment to generate configurations that potentially conflict with the distribution environment.

[0082] Based on the foregoing embodiments, in other embodiments of this application, the application distribution device is further configured to perform the following steps:

[0083] When the analysis result indicates that distribution is allowed, retrieve the pre-configured second specified configuration directory settings;

[0084] Iterate through the distribution environment to see if the configuration items in the second specified configuration directory setting information are included, and obtain the second iteration result;

[0085] If the second traversal result indicates that the second target configuration item is included, and the application information corresponding to the second target configuration item belongs to the recorded application list information but not to the distribution environment application list information, delete the information content corresponding to the second target configuration item in the distribution environment to obtain the target environment;

[0086] Update the distribution environment to the target environment.

[0087] In this embodiment, when the analysis result indicates that distribution is allowed, the application distribution device further detects the distribution environment by cleaning up the configuration paths of residual specified software in the distribution environment to avoid residual configuration conflicts. Specifically, the distribution environment can be traversed and analyzed by obtaining pre-configured second specified configuration directory settings to determine whether it includes configuration items included in the second specified configuration directory settings, thus obtaining a second traversal result. If the second traversal result indicates that a second target configuration item is included, and the application information corresponding to the second target configuration item belongs to the recorded application list information but not to the application list information of the distribution environment, the information content corresponding to the second target configuration item in the distribution environment is deleted to obtain the target environment, and the distribution environment is updated to the target environment. In this way, the residual configuration in the distribution environment is cleared, effectively reducing the possibility of distribution conflicts caused by the distribution environment.

[0088] It should be noted that in some application scenarios, the first specified configuration directory setting information and the second specified configuration directory setting information can be the same configuration information. That is, the information content included in the second specified configuration directory setting information can be the same as that in the first specified configuration directory setting information, namely, one or more of the following: configuration directory added for the specified software, and configuration registry key path parameters added for the specified software. This ensures that the recorded application list information and distribution environment list information can be compared and analyzed, improving analysis efficiency and guaranteeing the accuracy of the analysis results.

[0089] In this way, through a configurable registry and file mechanism—that is, application software identification rules—a software can be uniquely detected and identified at both the system and software layers. During the layered distribution and use of software, effective software conflict identification is obtained at each layer of the system, resulting in warnings or pre-emptive measures such as the distribution system refusing to use the software. Furthermore, the conflict-determining software identification items include configuration directory settings, enabling an effective automatic prevention and correction mechanism for configuration conflicts that do not arise from the software itself, but rather from misuse of generated configuration directories or residual conflicting configurations in the distribution system. Through conflict detection and adaptation mechanisms, the layered software system will receive software conflict information in a timely manner, significantly reducing the possibility of distribution anomalies caused by residual configuration conflicts.

[0090] Based on the foregoing embodiments, this application provides an application distribution method, the implementation process of which may include the following steps:

[0091] Step a11: Set the detection and calibration rules for the application.

[0092] This includes: 1) Setting the uninstallation registry key carrier label. The uninstallation registry key is a fuzzy setting item, where the direct registry key name of each item can be identified as a potentially conflicting software name item. 2) Setting a specified registry key or file directory carrier label. This configuration option is also a fuzzy setting item, where the direct subkeys of the specified registry key or file directory are potentially conflicting software name items. 3) Setting a specified registry or file path label. This configuration option is a precise detection configuration item; the existence of the specified registry or file path is sufficient to identify a potentially conflicting software name item. This step corresponds to the process of obtaining the application software labeling rules in the aforementioned embodiments.

[0093] Step a12: Configure rules to support suppressing software conflict detection.

[0094] For example, some applications may install bundled applications. When these bundled applications are installed as dependencies of other applications, software conflict detection can be suppressed for these bundled applications. This allows them to be excluded from reporting as conflicting software if detected according to the aforementioned rules. The software conflict suppression configuration rules are used to configure which applications can continue to be allocated when there are conflicting applications in the recorded application list that conflict with the application list of the distribution environment. This process corresponds to the process of setting up application suppression configuration information.

[0095] Thus, based on the aforementioned conflict detection configuration rules in step a12, which are mostly fuzzy rules that enumerate conflict software names from the host directory, when a software conflict item is detected but it is not desired to report the software conflict item as a conflict, this type of software conflict item can be fuzzily or explicitly specified according to the set software conflict detection suppression configuration rules, thereby ensuring that this type of software will not cause conflict detection rejection and ensuring the availability of the distributed software.

[0096] Step a13: Configure support to add configuration directories or configure registry key path parameters for specified software.

[0097] This setting addresses the potential software conflicts that may arise from residual configuration directories after software uninstallation. Therefore, it pre-detects and configures possible residual configuration directories and registry key path parameters for specific software to reduce the impact of residual configuration information on subsequent distribution conflicts. Based on steps a11-a13, a unified configuration file is obtained, corresponding to the aforementioned conflict configuration file.

[0098] Step a14: During the software recording process, conflict detection and processing are performed based on the aforementioned settings to obtain the software recording information.

[0099] During the software recording process, especially at the end of the recording phase, the recorded information can be searched based on the configuration directory entries and their corresponding software items set in the unified configuration file obtained in steps a11-a13. For example, if a corresponding software item is not recorded, but its configuration directory entry is recorded, the configuration directory entry for that software item can be cleared from the currently recorded information. This resolves the conflict between different versions of the same software configuration files in the distribution environment when pre-installed software in the system environment is not properly installed and recorded at the software layer, but its configuration directory is accidentally recorded during the recording process. This process corresponds to the aforementioned process of obtaining the final recording information.

[0100] Step a15: During the distribution phase, environmental processing is performed on the distribution environment based on the software's recording information and configuration files.

[0101] Specifically, during the virtualization software distribution and usage phase, residual configuration paths of specified software in the distribution environment are cleaned up to avoid configuration conflicts. This can be achieved through the following process: For the distribution system environment, to avoid conflicts with specified virtual distribution software, the software is uninstalled from the system layer, and its residual configuration files are cleared, thus preventing any impact on the normal startup and operation of the virtual distribution software. The detailed implementation process is as follows: During the software virtual distribution phase, based on the software's recording information, if the configuration directory of the software is set in the unified configuration file, a detection operation for the corresponding residual configuration directory or registry entry needs to be added to the system disk where there is no conflict with the software. When a residual software conflict configuration directory or registry entry is detected on the system disk, it needs to be deleted or renamed. This process corresponds to the aforementioned process of obtaining the target environment.

[0102] In summary, upon completion of recording, the list of recorded software, along with the recorded files, registry entries, and other information, is saved on the software disk and shared for distribution to multiple distribution environments. Each distribution environment must generate its own software list before enabling software distribution. The software lists of the distribution and recording environments are analyzed. If any shared software items exist between the two lists, a software conflict is identified, and the current distribution environment automatically responds by not enabling the software virtualization distribution function.

[0103] When a software distribution conflict occurs, the distribution user can uninstall the conflicting software from the distribution environment according to the conflict prompt information, and then restart the system to try to enable the software distribution function through software conflict detection.

[0104] When software distribution conflicts occur, administrators can also consider entering update recording mode for a specified software repository. This allows them to uninstall conflicting software or add software conflict suppression items from the recording software repository, thereby reducing the possibility of software conflicts in various distribution environments after the update.

[0105] Thus, for application layering technology, a software conflict detection and automatic software configuration conflict correction mechanism has been added during software distribution. This primarily includes determining the existence of a specified application through the registry or file / directory paths, and allowing for the setting of conflict items that do not require conflict handling. Furthermore, residual content can be manually configured to specify configuration directories or registry entries for software with known configuration conflicts, resulting in a unified configuration file. It also supports clearing configuration paths and other information of unrecorded software during the software recording process, especially at the end of recording, to prevent conflicts in the distribution environment caused by the recording environment. Furthermore, during the virtualized software distribution and usage phase, residual configuration paths of specified software in the distribution environment are cleaned up to avoid distribution conflicts caused by residual configurations, improving the usability of virtual application technology. Through the automatic conflict adaptation and handling scheme during recording and distribution, the usability and processing efficiency of application layering technology are improved.

[0106] The application distribution method provided in this application's embodiments analyzes recording information obtained from the recording environment based on application software calibration rules to obtain a list of recorded applications. Then, based on the application software calibration rules, it analyzes the distribution environment to obtain a list of applications for the distribution environment. Finally, it analyzes both the recorded application list and the distribution environment application list to obtain analysis results, and executes corresponding response operations in response to these results. In this way, by calibrating the recording information and the distribution environment according to the application software calibration rules to obtain their respective list information, and then adaptively handling software configuration directory conflicts in the recorded application list and the distribution environment application list, the problem of residual software configuration conflicts is mitigated to a certain extent from the recording stage to the distribution stage. This solves the problem of software component and software configuration conflicts in current virtual application distribution, reduces software conflict-related problems between the system layer and various software layers in application layering, and ensures the application of virtualization technology.

[0107] Based on the foregoing embodiments, this application provides an application distribution device 2, which can be applied to... Figure 1 In the corresponding embodiments, refer to Figure 2 As shown, the application distribution device 2 includes: a first analysis unit 21, a second analysis unit 22, and an execution unit 23; wherein:

[0108] The first analysis unit 21 is used to analyze the recording information obtained based on the recording environment based on the application software calibration rules to obtain the recording application list information; wherein, the application software calibration rules refer to the calibration rules for calibrating application software, and the recording application list information includes the recorded application software information;

[0109] The first analysis unit 21 is also used to analyze the distribution environment based on the application software identification rules to obtain the application list information of the distribution environment; wherein, the application list information of the distribution environment represents the application software information that is not distributed.

[0110] The second analysis unit 22 is used to analyze the recorded application list information and the distribution environment application list information to obtain analysis results; wherein, the analysis results are used to indicate whether to distribute the application software in the recorded application list information.

[0111] The execution unit 23 is used to execute response operations corresponding to the analysis results in response to the analysis results; wherein, the response operations include a distribution operation or a pause distribution operation for the application software corresponding to the recorded application list information.

[0112] In this embodiment of the application, the second analysis unit is specifically used to implement the following steps:

[0113] If the application list information in the distribution environment includes one or more target application information from the recorded application list information, obtain the application suppression configuration information; the application suppression configuration information is used to configure the application software information to continue distribution when a conflict is detected.

[0114] If one or more target application information belongs to suppressed application configuration information, or if there is no application information in the distribution environment application list information that is the same as the recorded application list information, the analysis result is determined to be an allowed distribution result indicating that the recorded application list information can be distributed;

[0115] If some or all of the information in one or more target application information does not belong to the application suppression configuration information, the analysis result is determined to be a pause in distribution, indicating that the recorded application list information should not be distributed.

[0116] In other embodiments of this application, the application software identification rules include at least one or more of the following rules:

[0117] Application-based uninstallation registry entry tagging rules;

[0118] Based on specified registry entries or file directories to carry the calibration rules;

[0119] Based on specified registry key values ​​or file path identification rules.

[0120] In other embodiments of this application, after the first analysis unit performs the step of analyzing the recording information obtained based on the recording environment according to the application software calibration rules to obtain the recording application list information, the first analysis unit is further configured to perform the following steps:

[0121] Retrieve pre-configured settings for the first specified configuration directory;

[0122] Based on the information of the list of recorded applications and the settings of the first specified configuration directory, the final recording information is determined.

[0123] In other embodiments of this application, when the first analysis unit performs the step of determining the final recording information based on the recording application list information and the first specified configuration directory setting information, it can be achieved through the following steps:

[0124] The first traversal result is obtained by iterating through the recorded information to see if the configuration items in the first specified configuration directory setting information are included.

[0125] If the first traversal result indicates that the first target configuration item is included, and the application information corresponding to the first target configuration item does not belong to the recorded application list information, delete the information content corresponding to the first target configuration item in the recorded information to obtain the final recorded information; wherein, the first target configuration item belongs to the first specified configuration directory setting information;

[0126] If the first traversal result indicates that no configuration item has been traversed, the final recorded information is determined to be the recorded information.

[0127] In other embodiments of this application, the first specified configuration directory setting information includes one or more of the following: a configuration directory added for the specified software, and a configuration registry entry path parameter added for the specified software.

[0128] In other embodiments of this application, the application distribution apparatus further includes: an acquisition unit, a traversal unit, a deletion unit, and an update unit; wherein:

[0129] The acquisition unit is used to acquire pre-configured second specified configuration directory setting information in response to the analysis result being a result that allows distribution;

[0130] The traversal unit is used to traverse whether the distribution environment includes the configuration items in the second specified configuration directory setting information, and obtain the second traversal result;

[0131] The deletion unit is used to delete the information content corresponding to the second target configuration item in the distribution environment if the second traversal result indicates that the second target configuration item is included, and the application information corresponding to the second target configuration item belongs to the recorded application list information but not to the distribution environment application list information, so as to obtain the target environment.

[0132] The update unit is used to update the distribution environment to the target environment.

[0133] It should be noted that the information interaction process between units and modules in this embodiment can refer to the information interaction process described in the foregoing method embodiments, and will not be repeated here.

[0134] The application distribution apparatus provided in this application analyzes recording information obtained from the recording environment based on application software calibration rules to obtain a list of recorded applications. It then analyzes the distribution environment based on the same calibration rules to obtain a list of applications for the distribution environment. Finally, it analyzes both the recorded and distribution environment application lists to obtain analysis results and executes corresponding response operations. In this way, by calibrating the recording information and distribution environment according to the application software calibration file, obtaining their respective list information, and then adaptively handling software configuration directory conflicts, the apparatus mitigates residual software configuration conflicts from the recording stage to the distribution stage. This solves the problem of software component and configuration conflicts during current virtual application distribution, effectively reducing software conflict-related issues between the system layer and various software layers in application layering, and ensuring the application of virtualization technology.

[0135] Based on the foregoing embodiments, embodiments of this application provide an application distribution device 3, which can be applied to... Figure 1 In the corresponding embodiments, refer to Figure 3 As shown, the application distribution device 3 includes at least: a memory 31, a processor 32, and a communication bus 33; wherein:

[0136] Memory 31 is used to store executable instructions;

[0137] Communication bus 33 is used to realize the communication connection between the processor and the memory;

[0138] Processor 32 is used to execute application distribution programs stored in memory, for implementing, etc. Figure 1 The steps of the application distribution method corresponding to the corresponding embodiment.

[0139] Based on the foregoing embodiments, embodiments of this application provide a computer-readable storage medium, simply referred to as a storage medium, which stores one or more application distribution programs. These application distribution programs can be executed by one or more processors to achieve, for example... Figure 1 The application distribution methods provided in the corresponding embodiments will not be elaborated here.

[0140] Based on the foregoing embodiments, embodiments of this application provide a computer application that can be executed by the processor 32 of the application distribution device 3 to achieve the reference... Figure 1 The implementation process of the methods provided in the corresponding embodiments will not be described in detail here.

[0141] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0142] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0143] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, ..., air conditioner, or network communication link device, etc.) to execute the methods described in the various embodiments of this application.

[0144] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0145] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0146] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0147] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.

Claims

1. An application distribution method characterized by comprising: The method comprises: based on the application software calibration rule, the recording information obtained based on the recording environment is analyzed to obtain recording application list information; wherein the application software calibration rule represents the calibration rule of calibrating application software, and the recording application list information comprises application software information obtained by recording; based on the application software calibration rule, the distribution environment is analyzed to obtain distribution environment application list information; wherein the distribution environment application list information represents application software information that does not undergo distribution processing; analyze the recording application list information and the distribution environment application list information to obtain an analysis result; wherein the analysis result is used to indicate whether to distribute the application software in the recording application list information; in response to the analysis result, the response operation corresponding to the analysis result is executed; wherein the response operation comprises a distribution operation or a pause distribution operation on the application software corresponding to the recording application list information.

2. The method of claim 1, wherein, The analysis of the recording application list information and the distribution environment application list information to obtain an analysis result comprises: if the distribution environment application list information includes one or more target application information in the recording application list information, obtain the suppression application configuration information; the suppression application configuration information is used to configure the application software information that continues to be distributed when a conflict is detected; if the one or more target application information belongs to the suppression application configuration information, or if the distribution environment application list information has no same application information as the recording application list information, it is determined that the analysis result is an allowed distribution result indicating that the recording application list information can be distributed; if part or all of the one or more target application information does not belong to the suppression application configuration information, it is determined that the analysis result is a pause distribution indicating that the recording application list information is not distributed.

3. The method of claim 1, wherein, The application software calibration rule comprises at least one or more of the following rules: based on the uninstallation registry item of the application program calibration rule; based on the specified registry item or file directory bearing calibration rule; based on the specified registry key value or file path calibration rule.

4. The method of claim 1, wherein, After analyzing the recording information obtained based on the recording environment based on the application software calibration rule to obtain the recording application list information, the method further comprises: obtain the preconfigured first specified configuration directory setting information; based on the recording application list information and the first specified configuration directory setting information, determine the final recording information.

5. The method of claim 4, wherein, Based on the recording application list information and the first specified configuration directory setting information, the final recording information is determined, comprising: traverse whether the recording information includes the configuration item in the first specified configuration directory setting information to obtain a first traversal result; if the first traversal result indicates that it includes a first target configuration item, and the application information corresponding to the first target configuration item does not belong to the recording application list information, delete the information content corresponding to the first target configuration item in the recording information to obtain the final recording information; wherein the first target configuration item belongs to the first specified configuration directory setting information; If the first traversal result indicates that the configuration item is not traversed, the final recording information is determined as the recording information.

6. The method of claim 5, wherein, The first specified configuration directory setting information includes one or more of the following information: a configuration directory added for the specified software, a configuration registry item path parameter added for the specified software.

7. The method according to any one of claims 1 to 6, characterized in that, The method further includes: In response to the analysis result being permission to distribute, obtaining pre-configured second specified configuration directory setting information; Traversing whether the second specified configuration directory setting information includes a configuration item in the distribution environment to obtain a second traversal result; If the second traversal result indicates that a second target configuration item is included, and the application information corresponding to the second target configuration item belongs to the recording application list information but does not belong to the distribution environment application list information, deleting the information content corresponding to the second target configuration item in the distribution environment to obtain a target environment; Updating the distribution environment to the target environment.

8. An application distribution apparatus characterized by comprising: The device includes a first analysis unit, a second analysis unit, and an execution unit; wherein: The first analysis unit is configured to analyze the recording information obtained based on the recording environment based on an application software calibration rule to obtain recording application list information; wherein the application software calibration rule represents a calibration rule for calibrating application software, and the recording application list information includes application software information recorded; The first analysis unit is further configured to analyze the distribution environment based on the application software calibration rule to obtain distribution environment application list information; wherein the distribution environment application list information represents application software information that does not undergo distribution processing; The second analysis unit is configured to analyze the recording application list information and the distribution environment application list information to obtain an analysis result; The execution unit is configured to execute a response operation corresponding to the analysis result in response to the analysis result; wherein the response operation includes a distribution operation and a pause distribution operation on the application software corresponding to the recording application list information.

9. An application distribution device, characterized by, The device at least includes a memory, a processor, and a communication bus; wherein: The memory is configured to store executable instructions; The communication bus is configured to realize communication connection between the processor and the memory; The processor is configured to execute the application distribution program stored in the memory to realize the steps of the application distribution method according to any one of claims 1 to 7.

10. A computer program product comprising a computer program, characterized in that, The computer program, when executed by the processor, realizes the steps of the application distribution method according to any one of claims 1 to 7.