Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for processing data packets

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 success rate, and improving accuracy

Active Publication Date: 2019-09-17
ZHEJIANG TMALL TECH CO LTD
View PDF13 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the embodiment of the present application provides a method and device for processing data packages, which are used to solve the problem of software installation due to dependency conflicts between data packages and data packages in existing software installation packages, and between data packages and installation packages. failure problem

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for processing data packets
  • Method and device for processing data packets
  • Method and device for processing data packets

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0056] like 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 installat...

Embodiment 2

[0097] like 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 the ...

Embodiment 3

[0115] like 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 the...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present application discloses a data packet processing method and device. The method comprises: extracting at least one data packet recorded in an installation package, a version number of the data packet and version numbers of other data packets on which the data packet depends; determining dependency relations between the installation package and the at least one data packet and between different data packets according to the extracted version number of the at least one data packet, the extracted version numbers of the other data packets on which the data packet depends, and version numbers of data packets on which the installation package depends; and searching out whether the data packets recorded in the installation package have dependent collisions by using the dependency relations so as to select the data packets without the dependent collisions when the installation package is packaged up. On the one hand, packaging errors of the installation package, which are caused by the dependent collisions between the data packets recorded in the installation package, are effectively avoided; and on the other hand, the dependency relation between the data packet recorded in the installation package and the other data packets on which the data packet depends can be identified, and the packaging precision of the installation package is improved.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a data packet processing method and device. Background technique [0002] With the development of computer technology, a large number of software appeared. The installation package of the same software also has different versions with the development of technology. For example: computer operating system, there are window XP system, Window 7 system and Window 8 system. [0003] A software needs other software for technical support when it runs, then a dependency relationship is built between the software and the software supporting its technology, which means that the installation package of the software needs to contain the data package of the software supporting its technology when it is packaged . [0004] However, at present, when the software installation package is packaged, it requires more than one technical support data package, but there is also a dependen...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F8/61
Inventor 王艳王立
Owner ZHEJIANG TMALL TECH CO LTD