Data packet processing method and device
A processing method and processing equipment technology, applied in the computer field, can solve problems such as data package and installation package software installation failure, and achieve the effects of avoiding dependency conflicts, improving accuracy, and improving success rate
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0056] Such as figure 1 As shown in FIG. 2 , it is a schematic flowchart of a data packet processing method provided in Embodiment 1 of the present application. The method can be described as follows.
[0057] Step 101: Extract at least one data package recorded in the installation package, the version number of the data package, and the version numbers of other data packages that the data package depends on.
[0058] In step 101, before the installation package is packaged, it is necessary to scan the data package recorded in the installation package, and use the method of the embodiment of the present application to determine whether there is a dependency conflict in the recorded data package.
[0059] Specifically, the recorded at least one data package, the version number of the data package, and the version numbers of other data packages that the data package depends on are obtained from the installation package spec file.
[0060] After the version number of the instal...
Embodiment 2
[0097] Such as image 3 As shown in FIG. 2 , it is a schematic flowchart of a data packet processing method provided in Embodiment 2 of the present application. The second embodiment of the present application is based on the first embodiment of the present application, and a detailed description of each step of the first embodiment of the present application, and the method can be described as follows.
[0098] Step 301: Determine the installation package to be packaged, and determine the version number of the installation package.
[0099] In step 301, a tree structure diagram is established with the installation package as the root node.
[0100] Step 302: Scan the installation package to determine whether there is a dependent data package in the installation package, and if so, perform step 303; otherwise, perform packaging according to the version number of the installation package.
[0101] Step 303: For each data package included in the installation package, perform t...
Embodiment 3
[0115] Such as Figure 4 As shown in FIG. 2 , it is a schematic structural diagram of a data packet processing device provided in Embodiment 3 of the present application. The processing device provided by the third embodiment of the present application has the functions provided by the first embodiment of the present application to the second embodiment of the present application, and the processing device includes: an extraction module 41, a relationship determination module 42 and a processing module 43, wherein:
[0116] An extraction module 41, configured to extract at least one data package recorded in the installation package, the version number of the data package, and the version numbers of other data packages that the data package depends on;
[0117] The relationship determination module 42 is configured to determine the version number of the at least one data package that is extracted, the version numbers of other data packages that the data package depends on, and ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 