CN109271197A - A kind of method, apparatus and computer equipment for detection data packet conflict - Google Patents

A kind of method, apparatus and computer equipment for detection data packet conflict Download PDF

Info

Publication number
CN109271197A
CN109271197A CN201810942720.8A CN201810942720A CN109271197A CN 109271197 A CN109271197 A CN 109271197A CN 201810942720 A CN201810942720 A CN 201810942720A CN 109271197 A CN109271197 A CN 109271197A
Authority
CN
China
Prior art keywords
data packets
data packet
conflict
name
target engineering
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810942720.8A
Other languages
Chinese (zh)
Inventor
崔俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201810942720.8A priority Critical patent/CN109271197A/en
Publication of CN109271197A publication Critical patent/CN109271197A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the present application provides a kind of method, apparatus and computer equipment for detection data packet conflict, and method includes: to obtain the title of purpose project catalogue;According to preset inspection policies, the title based on the purpose project catalogue detects data packet all under the purpose project catalogue, determines the data packet with conflict;So, it can detect the data packet under purpose project catalogue with conflict automatically using the above method, so as to there is the data packet of conflict to handle these in advance, ensure that the data packet in purpose project catalogue has uniqueness, when calling the purpose project catalogue, can avoid program operation troubles the problem of.

Description

Method and device for detecting data packet conflict and computer equipment
Technical Field
The present invention relates to the field of software development, and in particular, to a method, an apparatus, and a computer device for detecting a data packet collision.
Background
At present, a plurality of data packets are needed in the software development process; however, if there is a data packet with a conflict in the same project directory, a problem such as a program operation failure may occur when the project directory is called.
In the prior art, conflicting data packets cannot be detected in advance, and only can be checked after a fault occurs.
Disclosure of Invention
In view of the above, the present invention has been made to provide a method, apparatus and computer device for detecting packet collisions that overcome or at least partially solve the above problems.
In a first aspect of the present invention, a method for detecting a packet collision is provided, including:
acquiring the name of a target engineering directory;
and detecting all data packets in the target engineering catalog based on the name of the target engineering catalog according to a preset detection strategy to determine the data packets with conflicts.
Optionally, the detecting, according to a preset detection policy, all data packets in the target engineering directory based on the name of the target engineering directory to determine a data packet with a conflict includes:
acquiring all data packets under the target engineering catalog based on the name of the target engineering catalog;
and traversing all the data packets in the target engineering directory, and if a plurality of data packets with the same name exist, determining the data packets as the data packets with conflicts.
Optionally, after determining that there is a data packet with a collision, the method includes:
and processing the data packet with the conflict according to a preset processing strategy.
Optionally, the processing the data packet with the conflict according to a preset processing policy includes:
sending prompt information to a user, wherein the prompt information is used for prompting the user to delete the data packet with the conflict;
and if the confirmation information for confirming the deletion is received, deleting the data packet appointed by the user in the data packets with the conflict according to a deletion instruction carried in the confirmation information.
Optionally, the processing the data packet with the conflict according to a preset processing policy includes:
acquiring the version number of each data packet with conflict;
comparing the version number of each data packet with the conflict to determine the data packet with the highest version number;
and reserving the data packet with the highest version number, and deleting all the remaining data packets with the conflict.
Optionally, after determining that there is a data packet with a collision, the method includes:
and generating a data packet display page displaying the data packets with the conflicts.
In a second aspect of the present invention, there is provided an apparatus for detecting packet collisions, the apparatus comprising:
the acquisition unit is used for acquiring the name of the target project directory;
and the detection unit is used for detecting all data packets in the target engineering catalog based on the name of the target engineering catalog according to a preset detection strategy and determining the data packets with conflicts.
Optionally, the detection unit is specifically configured to:
acquiring all data packets under the target engineering catalog based on the name of the target engineering catalog;
and traversing all the data packets in the target engineering directory, and if a plurality of data packets with the same name exist, determining the data packets as the data packets with conflicts.
Optionally, the apparatus further comprises:
and the processing unit is used for processing the data packet with the conflict according to a preset processing strategy.
Optionally, the processing unit is specifically configured to:
sending prompt information to a user, wherein the prompt information is used for prompting the user to delete the data packet with the conflict;
and if the confirmation information for confirming the deletion is received, deleting the data packet appointed by the user in the data packets with the conflict according to a deletion instruction carried in the confirmation information.
Optionally, the processing unit is specifically configured to:
acquiring the version number of each data packet with conflict;
comparing the version number of each data packet with the conflict to determine the data packet with the highest version number;
and reserving the data packet with the highest version number, and deleting all the remaining data packets with the conflict.
Optionally, the apparatus further comprises: and the generating unit is used for generating a data packet display page displaying the data packets with the conflict after the data packets with the conflict are determined.
In a third aspect of the invention, a computer-readable storage medium is provided, on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out the steps of the method of any of the above.
In a fourth aspect of the present invention, there is provided a computer device for detecting packet collisions, comprising:
at least one processor; and
at least one memory communicatively coupled to the processor, wherein the memory stores program instructions executable by the processor, and wherein the processor is capable of performing the steps of any of the methods described above when invoked by the program instructions.
The technical scheme provided in the embodiment of the application at least has the following technical effects or advantages:
the embodiment of the application provides a method, a device and computer equipment for detecting data packet conflict, wherein the method comprises the following steps: acquiring the name of a target engineering directory; detecting all data packets in the target engineering catalog based on the name of the target engineering catalog according to a preset detection strategy to determine data packets with conflicts; therefore, the method can automatically detect the data packets with conflicts in the target engineering catalog, so that the data packets with conflicts can be processed in advance, and the problem of program operation failure is avoided when the target engineering catalog is called.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flow diagram illustrating a method for detecting packet collisions in accordance with one embodiment of the present invention;
fig. 2 is a schematic structural diagram of an apparatus for detecting packet collisions according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The embodiment of the invention provides a method, a device and computer equipment for detecting data packet conflicts, which are used for solving the technical problem that in the prior art, a plurality of conflicting data packet versions exist generally under an engineering directory, and if the engineering directory is directly called, a program is crashed in the compiling process.
Example one
The present embodiment provides a method for detecting a packet collision, as shown in fig. 1, the method includes:
s110, acquiring the name of the target engineering catalog;
in the process of developing java codes, because a plurality of jar packages are required to be used, a plurality of jar packages with the same function and name may exist under the same project directory or sub-directory, or a plurality of jar packages with incomplete class dependency relationship may exist, so that when the project directory is directly called, a program operation fault is generally caused during compiling. Therefore, in this embodiment, first, the name of the target project directory needs to be obtained, where the target project directory refers to the project directory that needs to be detected.
S111, detecting all data packets in the target engineering catalog based on the name of the target engineering catalog according to a preset detection strategy, and determining the data packets with conflicts;
after the target engineering directory is obtained, according to a preset detection strategy, all data packets under the target engineering directory are detected based on the name of the target engineering directory, and the data packets with conflicts are determined, wherein the method specifically comprises the following steps:
based on the name of the target engineering directory, taking the name of the target engineering directory as a detection parameter, and acquiring all data packets under the target engineering directory;
and traversing all the data packets in the target engineering directory, and if a plurality of data packets with the same name exist, determining the plurality of data packets as the data packets with conflicts.
Here, the data packets having collision generally refer to data packets having the same name and the same function and data packets having incomplete dependency relationship of the class; the data packet in this embodiment includes a jar packet.
As an optional embodiment, according to a preset detection policy, detecting all data packets in the target engineering directory based on the name of the target engineering directory, and determining a data packet with a conflict, includes:
determining a target data packet to be subjected to collision detection;
screening out classes to be detected from the target data packets;
aiming at each class after being screened in the target data packet, checking whether a byte code file corresponding to the class which the class depends on exists in a pre-specified data packet list and whether an element accessed by the class exists in the byte code file related to the depended class or not by analyzing the byte code file corresponding to the class; and if any check result is that the dependency relationship of the class to be detected is not complete, determining that the current data packet has conflict.
The pre-specified packet list refers to a packet list specified under a pre-set class load path, and the class load path generally refers to a path specified in a system variable classPath.
And after the data packet with the conflict is determined, generating a data packet display page displaying the data packet with the conflict, and displaying the data packet display page to a user so as to facilitate the user to check.
As an alternative embodiment, after determining the data packet with collision, the method includes: processing the data packet with conflict according to a preset processing strategy, in order to avoid the situation of error deletion or error deletion, processing the data packet with conflict according to the preset processing strategy, comprising:
sending prompt information to a user, wherein the prompt information is used for prompting the user to delete the data packet with the conflict;
if the user needs to delete the data packet with the conflict, sending confirmation information for confirming the deletion, and deleting the data packet appointed by the user in the data packet with the conflict according to a deletion instruction carried in the confirmation deletion information after receiving the confirmation information.
For example, the data packets with collision under the same data packet name include A, B, C data packets, and after viewing the display pages of the three data packets, the user can determine that the data packet needs to be deleted (for example, A, B data packet needs to be deleted), and then send deletion confirmation information, where the deletion confirmation information carries a deletion instruction for deleting A, B data packet, so that the A, B data packet can be deleted according to the deletion confirmation information.
As an optional embodiment, this embodiment may also intelligently delete a data packet with a conflict, and process the data packet with a conflict according to a preset processing policy, including:
acquiring the version number of each data packet with conflict;
comparing the version number of each data packet with the conflict to determine the data packet with the highest version number;
and reserving the data packet with the highest version number, and deleting all the remaining data packets with the conflict.
For example, as described above, if it is determined that the data packet with collision under the same packet name includes A, B, C data packets, the version number of a is the best, B is the second, and C is the lowest, then B, C data packets are directly deleted and the a data packet is retained.
Alternatively, when it is determined that the data packet with the conflict only includes one data packet, but the dependency relationship of the class of the data packet is incomplete, the data packet may be deleted directly.
Based on the same inventive concept, the application also provides a device for detecting the data packet collision, which is detailed in the second embodiment.
Example two
The present embodiment provides an apparatus for detecting data packet collision, and referring to fig. 2, the apparatus includes: an acquisition unit 21, a detection unit 22, and a processing unit 23; wherein,
in the process of developing java codes, because a plurality of jar packages are required to be used, a plurality of jar packages with the same function and name may exist under the same project directory or sub-directory, or a plurality of jar packages with incomplete class dependency relationship may exist, so that when the project directory is directly called, a program operation fault is generally caused during compiling. Therefore, the obtaining unit 21 of this embodiment needs to obtain the name of the target project directory, which is the project directory that needs to be detected.
After the target engineering directory is obtained, the detection unit 22 is configured to detect all data packets in the target engineering directory based on the name of the target engineering directory according to a preset detection policy, and determine a data packet with a conflict.
As an alternative embodiment, the detection unit 22 is specifically configured to:
based on the name of the target engineering directory, taking the name of the target engineering directory as a detection parameter, and acquiring all data packets under the target engineering directory;
and traversing all the data packets in the target engineering directory, and if a plurality of data packets with the same name exist, determining the plurality of data packets as the data packets with conflicts.
Here, the data packets having collision generally refer to data packets having the same name and the same function and data packets having incomplete dependency relationship of the class; the data packet in this embodiment includes a jar packet.
As an alternative embodiment, the detection unit 22 is specifically configured to: determining a target data packet to be subjected to collision detection;
screening out classes to be detected from the target data packets;
aiming at each class after being screened in the target data packet, checking whether a byte code file corresponding to the class which the class depends on exists in a pre-specified data packet list and whether an element accessed by the class exists in the byte code file related to the depended class or not by analyzing the byte code file corresponding to the class; and if any check result is that the dependency relationship of the class to be detected is not complete, determining that the current data packet has conflict.
The pre-specified packet list refers to a packet list specified under a pre-set class load path, and the class load path generally refers to a path specified in a system variable classPath.
As an alternative embodiment, the apparatus further comprises: the generating unit 24 is configured to generate a data package display page displaying the data packages with conflicts after the data packages with conflicts are determined, and display the data package display page to the user for the user to view conveniently.
As an alternative embodiment, after determining the data packet with collision, the processing unit 23 is configured to process the data packet with collision according to a preset processing policy.
As an alternative embodiment, in order to avoid the situation of error deletion or error deletion, the processing unit 23 is configured to: sending prompt information to a user, wherein the prompt information is used for prompting the user to delete the data packet with the conflict;
if the user needs to delete the data packet with the conflict, sending confirmation information for confirming the deletion, and deleting the data packet appointed by the user in the data packet with the conflict according to a deletion instruction carried in the confirmation deletion information after receiving the confirmation information.
For example, the data packets with collision under the same data packet name include A, B, C data packets, and after viewing the display pages of the three data packets, the user can determine that the data packet needs to be deleted (for example, A, B data packet needs to be deleted), and then send deletion confirmation information, where the deletion confirmation information carries a deletion instruction for deleting A, B data packet, so that the A, B data packet can be deleted according to the deletion confirmation information.
As an alternative embodiment, this embodiment may also delete the data packet with conflict intelligently, and then the processing unit 23 is configured to:
acquiring the version number of each data packet with conflict;
comparing the version number of each data packet with the conflict to determine the data packet with the highest version number;
and reserving the data packet with the highest version number, and deleting all the remaining data packets with the conflict.
For example, as described above, if it is determined that the data packet with collision under the same packet name includes A, B, C data packets, the version number of a is the best, B is the second, and C is the lowest, then B, C data packets are directly deleted and the a data packet is retained.
Alternatively, when it is determined that the packet with the conflict includes only one packet, but the dependency relationship of the class of the packet is incomplete, the processing unit 23 may directly delete the packet.
The technical scheme provided in the embodiment of the application at least has the following technical effects or advantages:
the embodiment of the application provides a method, a device and computer equipment for detecting data packet conflict, wherein the method comprises the following steps: acquiring the name of a target engineering directory; detecting all data packets in the target engineering catalog based on the name of the target engineering catalog according to a preset detection strategy to determine data packets with conflicts; therefore, the method can automatically detect the data packets with conflicts in the target project directory, so that the data packets with conflicts can be processed in advance, the uniqueness of the data packets in the target project directory is ensured, and the problem of program operation failure can be avoided when the target project directory is called.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components in an apparatus according to an embodiment of the invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
The invention discloses, A1, a method for detecting data packet collision, comprising:
acquiring the name of a target engineering directory;
and detecting all data packets in the target engineering catalog based on the name of the target engineering catalog according to a preset detection strategy to determine the data packets with conflicts.
The method of a2, as in a1, the detecting all the packets in the target engineering directory based on the name of the target engineering directory according to a preset detection policy to determine the packets with conflicts includes:
acquiring all data packets under the target engineering catalog based on the name of the target engineering catalog;
and traversing all the data packets in the target engineering directory, and if a plurality of data packets with the same name exist, determining the data packets as the data packets with conflicts.
A3, the method as claimed in a1 or a2, wherein said determining the data packet with collision includes:
and processing the data packet with the conflict according to a preset processing strategy.
A4, the method according to A3, wherein the processing the data packet with the conflict according to the preset processing strategy comprises:
sending prompt information to a user, wherein the prompt information is used for prompting the user to delete the data packet with the conflict;
and if the confirmation information for confirming the deletion is received, deleting the data packet appointed by the user in the data packets with the conflict according to a deletion instruction carried in the confirmation information.
A5, the method according to A3, wherein the processing the data packet with the conflict according to the preset processing strategy comprises:
acquiring the version number of each data packet with conflict;
comparing the version number of each data packet with the conflict to determine the data packet with the highest version number;
and reserving the data packet with the highest version number, and deleting all the remaining data packets with the conflict.
A6, the method as in a1, wherein the determining the data packets having collision includes:
and generating a data packet display page displaying the data packets with the conflicts.
B7, an apparatus for detecting packet collisions, the apparatus comprising:
the acquisition unit is used for acquiring the name of the target project directory;
and the detection unit is used for detecting all data packets in the target engineering catalog based on the name of the target engineering catalog according to a preset detection strategy and determining the data packets with conflicts.
B8, the device as described in B7, the detecting unit is specifically used for:
acquiring all data packets under the target engineering catalog based on the name of the target engineering catalog;
and traversing all the data packets in the target engineering directory, and if a plurality of data packets with the same name exist, determining the data packets as the data packets with conflicts.
B9, the apparatus of claim 7, further comprising:
and the processing unit is used for processing the data packet with the conflict according to a preset processing strategy.
B10, the apparatus as in B9, the processing unit being configured to:
sending prompt information to a user, wherein the prompt information is used for prompting the user to delete the data packet with the conflict;
and if the confirmation information for confirming the deletion is received, deleting the data packet appointed by the user in the data packets with the conflict according to a deletion instruction carried in the confirmation information.
B11, the apparatus as in B9, the processing unit being configured to:
acquiring the version number of each data packet with conflict;
comparing the version number of each data packet with the conflict to determine the data packet with the highest version number;
and reserving the data packet with the highest version number, and deleting all the remaining data packets with the conflict.
B12, the apparatus of B7, further comprising: and the generating unit is used for generating a data packet display page displaying the data packets with the conflict after the data packets with the conflict are determined.
C13, a computer readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the method of any one of a1 to a 6.
D14, a computer device for detecting packet collisions, comprising:
at least one processor; and
at least one memory communicatively coupled to the processor, wherein the memory stores program instructions executable by the processor to perform the steps of the method as recited in any one of A1 to A6.

Claims (10)

1. A method for detecting packet collisions, comprising:
acquiring the name of a target engineering directory;
and detecting all data packets in the target engineering catalog based on the name of the target engineering catalog according to a preset detection strategy to determine the data packets with conflicts.
2. The method as claimed in claim 1, wherein said detecting all the data packets under the target project directory based on the name of the target project directory according to a preset detection policy to determine the data packets with conflicts comprises:
acquiring all data packets under the target engineering catalog based on the name of the target engineering catalog;
and traversing all the data packets in the target engineering directory, and if a plurality of data packets with the same name exist, determining the data packets as the data packets with conflicts.
3. The method of claim 1 or 2, wherein determining that there are colliding packets comprises:
and processing the data packet with the conflict according to a preset processing strategy.
4. The method as claimed in claim 3, wherein said processing said data packet with collision according to a preset processing policy comprises:
sending prompt information to a user, wherein the prompt information is used for prompting the user to delete the data packet with the conflict;
and if the confirmation information for confirming the deletion is received, deleting the data packet appointed by the user in the data packets with the conflict according to a deletion instruction carried in the confirmation information.
5. An apparatus for detecting packet collisions, the apparatus comprising:
the acquisition unit is used for acquiring the name of the target project directory;
and the detection unit is used for detecting all data packets in the target engineering catalog based on the name of the target engineering catalog according to a preset detection strategy and determining the data packets with conflicts.
6. The apparatus of claim 5, wherein the detection unit is specifically configured to:
acquiring all data packets under the target engineering catalog based on the name of the target engineering catalog;
and traversing all the data packets in the target engineering directory, and if a plurality of data packets with the same name exist, determining the data packets as the data packets with conflicts.
7. The apparatus of claim 5, wherein the apparatus further comprises:
and the processing unit is used for processing the data packet with the conflict according to a preset processing strategy.
8. The apparatus as claimed in claim 7, wherein said processing unit is specifically configured to:
sending prompt information to a user, wherein the prompt information is used for prompting the user to delete the data packet with the conflict;
and if the confirmation information for confirming the deletion is received, deleting the data packet appointed by the user in the data packets with the conflict according to a deletion instruction carried in the confirmation information.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4.
10. A computer device for detecting packet collisions, comprising:
at least one processor; and
at least one memory communicatively coupled to the processor, wherein the memory stores program instructions executable by the processor, and wherein the processor is capable of executing the steps of the method of any of claims 1 to 4 when invoked by the program instructions.
CN201810942720.8A 2018-08-17 2018-08-17 A kind of method, apparatus and computer equipment for detection data packet conflict Pending CN109271197A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810942720.8A CN109271197A (en) 2018-08-17 2018-08-17 A kind of method, apparatus and computer equipment for detection data packet conflict

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810942720.8A CN109271197A (en) 2018-08-17 2018-08-17 A kind of method, apparatus and computer equipment for detection data packet conflict

Publications (1)

Publication Number Publication Date
CN109271197A true CN109271197A (en) 2019-01-25

Family

ID=65153993

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810942720.8A Pending CN109271197A (en) 2018-08-17 2018-08-17 A kind of method, apparatus and computer equipment for detection data packet conflict

Country Status (1)

Country Link
CN (1) CN109271197A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111651195A (en) * 2020-06-17 2020-09-11 深圳市钱海网络技术有限公司 System dependency package conflict detection method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101313506A (en) * 2006-01-19 2008-11-26 华为技术有限公司 Data synchronization implementing method and apparatus
CN104715197A (en) * 2012-02-07 2015-06-17 北京奇虎科技有限公司 Quick file scanning method and system
CN105446757A (en) * 2014-08-21 2016-03-30 阿里巴巴集团控股有限公司 Data packet processing method and device
US20180113808A1 (en) * 2016-10-26 2018-04-26 Huawei Technologies Co., Ltd. Memory access method and multiprocessor system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101313506A (en) * 2006-01-19 2008-11-26 华为技术有限公司 Data synchronization implementing method and apparatus
CN104715197A (en) * 2012-02-07 2015-06-17 北京奇虎科技有限公司 Quick file scanning method and system
CN105446757A (en) * 2014-08-21 2016-03-30 阿里巴巴集团控股有限公司 Data packet processing method and device
US20180113808A1 (en) * 2016-10-26 2018-04-26 Huawei Technologies Co., Ltd. Memory access method and multiprocessor system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111651195A (en) * 2020-06-17 2020-09-11 深圳市钱海网络技术有限公司 System dependency package conflict detection method and device
CN111651195B (en) * 2020-06-17 2024-03-12 深圳市钱海网络技术有限公司 System dependent packet conflict detection method and device

Similar Documents

Publication Publication Date Title
CN105630463B (en) For detecting the method and device of JAR packet conflict
CN103914302A (en) Webpage loading progress monitoring method and webpage loading progress monitoring device
CN104536810B (en) A kind of method for detecting abnormality and device based on stack
CN109933350B (en) Method and device for embedding codes in application and electronic equipment
CN105426310A (en) Method and apparatus for detecting performance of target process
CN111026455B (en) Plug-in generation method, electronic device and storage medium
CN107357558A (en) Build the method and device of code
CN104036019A (en) Method and device for opening webpage links
CN103019872B (en) Browser restorative procedure and device
CN106909486B (en) Method, device and system for processing business exception
CN111124480A (en) Application package generation method and device, electronic equipment and storage medium
CN106302712B (en) Handle the method and device of web data
CN102929732B (en) Method and device for calling file by application program and client-side equipment
CN110825391A (en) Service management method, device, electronic equipment and storage medium
CN109271197A (en) A kind of method, apparatus and computer equipment for detection data packet conflict
JP2007233432A (en) Inspection method and apparatus for fragileness of application
CN107967192B (en) System crash processing method and device for intelligent terminal
CN102929733A (en) Method and device for processing error files and client-side equipment
CN103095698B (en) The restorative procedure of client software, device and communication system
CN102999555A (en) Webpage exception handling method and device
CN109960656B (en) Program detection method and device and electronic equipment
CN108156048A (en) It is a kind of to realize the method and apparatus that application crashes information is obtained in complex scene
CN112560030A (en) File monitoring method and device, electronic equipment and computer readable storage medium
CN106648788B (en) Application program installation method and device
CN107330327B (en) Infected file detection method, server, processing method, device and detection system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190125

RJ01 Rejection of invention patent application after publication