Data packet processing method and device and electronic equipment
The packet processing operation is automatically performed through the target task script group, which solves the problem of low packet processing efficiency in the existing technology, and realizes an efficient and automated packet processing process.
Patent Information
- Application Number
- CN202311303618.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-10
- Publication Date
- 2025-04-18
AI Technical Summary
Currently, the efficiency of processing data packets is low, and it requires manual step-by-step packaging, packetization and other processing, which takes a long time.
Automate the execution of multiple target processing operations through the target task script group, including packaging operations, uploading and publishing platform operations and sending target messages, improving the automation and efficiency of data packet processing.
The data packet processing is automated, which significantly improves the operation efficiency of packaging, packetization and notification downloads, and reduces the time and error rate of manual operation.
Smart Images

Figure CN119847581A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of software technology, and in particular to a data packet processing method, device and electronic device. Background Art
[0002] Currently, during the software version iteration process, data packets need to be packaged and sent out numerous times, so that the processed data packets can be provided to R&D engineers for self-testing and to test engineers for verification. Currently, operators usually manually package and send out data packets in steps, and the above-mentioned process of packaging and sending out data packets in steps is relatively long. It can be seen that the current efficiency of processing data packets is low. Summary of the invention
[0003] Embodiments of the present application provide a data packet processing method, device, and electronic device to solve the current problem of low efficiency in processing data packets.
[0004] In order to solve the above technical problems, this application is implemented as follows:
[0005] In a first aspect, an embodiment of the present application provides a data packet processing method, including:
[0006] Get the first data packet;
[0007] Execute multiple target processing operations corresponding to the target task script group in sequence according to the first data packet, wherein the target task script group is used to automatically execute the multiple target processing operations on the first data packet;
[0008] Among them, the multiple target processing operations include packaging operations, uploading to the publishing platform operations and sending target message operations, and the target message is used to notify the download of a second data packet stored on the publishing platform. The second data packet is a data packet obtained after executing the multiple target processing operations based on the first data packet.
[0009] In a second aspect, an embodiment of the present application provides a data packet processing device, including:
[0010] An acquisition module, used for acquiring a first data packet;
[0011] an execution module, configured to sequentially execute a plurality of target processing operations corresponding to a target task script group according to the first data packet, wherein the target task script group is configured to automatically execute the plurality of target processing operations on the first data packet;
[0012] Among them, the multiple target processing operations include packaging operations, uploading to the publishing platform operations and sending target message operations, and the target message is used to notify the download of a second data packet stored on the publishing platform. The second data packet is a data packet obtained after executing the multiple target processing operations based on the first data packet.
[0013] In a third aspect, an embodiment of the present application further provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps in the above-mentioned data packet processing method when executing the computer program.
[0014] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps in the above-mentioned data packet processing method are implemented.
[0015] In an embodiment of the present application, multiple target processing operations can be automatically performed on the first data packet through the target task script group, and the multiple target processing operations include packaging operations, uploading and publishing platform operations, and sending target message operations. That is, the target task script group can be used to automatically perform packaging, sending, and notifying download operations on the first data packet, thereby improving the efficiency of packaging, sending, and notifying download operations on the data packet. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0017] Figure 1 is a flow chart of a data packet processing method provided by an embodiment of the present application;
[0018] Figure 2 It is a flowchart of writing multiple scripts provided in the embodiments of the present application;
[0019] Figure 3 It is a flowchart of modifying the dependency relationship in the target file provided by the embodiment of the present application;
[0020] Figure 4 It is a structural schematic diagram of a data packet processing device provided in an embodiment of the present application;
[0021] Figure 5 is a structural schematic diagram of an electronic device provided in an embodiment of the present application;
[0022] Figure 6 It is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application. DETAILED DESCRIPTION
[0023] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0024] See also Figure 1 , Figure 1 is a flow chart of a data packet processing method provided in an embodiment of the present application. This embodiment can be applied to a target server, that is, the execution subject of this embodiment can be understood as the target server, such as Figure 1 As shown, the data packet processing method includes the following steps:
[0025] Step 101: Obtain a first data packet.
[0026] Among them, the first data packet can be understood as a data packet that needs to be packaged and sent to R&D engineers for self-testing, and to test engineers for verification.
[0027] Among them, the specific method of obtaining the first data packet is not limited here. Optionally, the first data packet can be stored in the above-mentioned target server, and the above-mentioned target server can directly call the above-mentioned first data packet; or, the first data packet can also be stored on other servers, and the above-mentioned target server can obtain the above-mentioned first data from other servers.
[0028] As an optional implementation manner, obtaining the first data packet includes:
[0029] Get the original data packet in the target database;
[0030] Modifying a dependency relationship in a target file in the original data packet, wherein the dependency relationship exists between a plurality of files included in the original data packet;
[0031] The original data packet after the target file is modified is determined as the first data packet.
[0032] Among them, optionally, the target database can be called a third-party database, that is, the target database can be located on other servers, for example: the target database can be an open source database gradle-mvn-push.gradle database; optionally, the target database can be located on the target server, that is, the target database can be the database corresponding to the target server.
[0033] The original data packet may be a software development kit (SDK), which is generally a collection of development tools used by software engineers to build application software for specific software packages, software frameworks, hardware platforms, operating systems, and the like.
[0034] Among them, the original data packet may include a target file and multiple files, and the target file can be used to store dependencies between multiple files. When there are dependencies between multiple files included in the original data packet, various errors are usually reported when the original data packet is packaged.
[0035] In the implementation manner of the present application, the target file can be modified first, so that the original data packet after the target file is modified is determined as the first data packet, and no error is reported during the packaging of the first data packet, thereby enhancing the packaging efficiency of the first data packet.
[0036] It should be noted that the above-mentioned method of modifying the target file is not limited here. Optionally, the dependency relationship stored in the target file can be directly modified, so that the dependency relationship between the multiple files included in the original data package is modified to there being no dependency relationship between the multiple files; optionally, the target file can be directly deleted, which can also make there being no dependency relationship between the multiple files.
[0037] As an optional implementation manner, modifying the dependency relationship in the target file in the original data packet includes:
[0038] Get the target packaging plug-in;
[0039] The target packaging plug-in is used to modify the dependency relationship in the target file in the original data packet.
[0040] The target packaging plug-in may be a plug-in provided by the target database, or the target packaging plug-in may be a third-party open source plug-in, for example, the target packaging plug-in may be a gradle-mvn-push.gradle plug-in.
[0041] For example: See Figure 3 In steps 301 and 302, step 301 may be performed in sequence, obtaining the gradle-mvn-push.gradle plug-in, and step 302 may be performed, modifying the dependencies in the target file through the gradle-mvn-push.gradle plug-in.
[0042] In the implementation manner of the present application, the dependency relationship in the target file in the original data packet is modified by the target packaging plug-in, thereby solving the problem of easy error reporting when packaging the first data packet and improving the efficiency of packaging and sending the first data packet.
[0043] Step 102: sequentially execute multiple target processing operations corresponding to a target task script group according to the first data packet, wherein the target task script group is used to automatically execute the multiple target processing operations on the first data packet;
[0044] Among them, the multiple target processing operations include packaging operations, uploading to the publishing platform operations and sending target message operations, and the target message is used to notify the download of a second data packet stored on the publishing platform. The second data packet is a data packet obtained after executing the multiple target processing operations based on the first data packet.
[0045] Among them, the target task script group may include only one script, and the script can perform multiple target processing operations, that is, the script can perform packaging operations, uploading to the publishing platform operations and sending target message operations, so that the packaging operations, uploading to the publishing platform operations and sending target message operations can be completed in one click through the target task script group, which simplifies user operations and can improve the intelligence level of packaging operations, uploading to the publishing platform operations and sending target messages, as well as improve the efficiency of packaging, uploading to the publishing platform and sending target messages.
[0046] In addition, the target task script group may also include multiple scripts, and each of the multiple scripts may correspond to an operation.
[0047] As an optional implementation, the target task script group includes a packaging script, an upload publishing platform task script, and a send message task script;
[0048] The step of sequentially executing a plurality of target processing operations corresponding to the target task script group according to the first data packet includes:
[0049] Input the first data packet into the packaging script for packaging, and output a second data packet;
[0050] Inputting the second data packet into the upload publishing platform task script for uploading, so that the second data packet is stored on the publishing platform;
[0051] The target message is sent to the electronic device through the sending message task script.
[0052] Among them, when uploading the second data package, the upload publishing platform task script can also bind the second data package to the publishing platform Appkey, related update instructions, and the update instructions can obtain git submission records or customized update content and other information.
[0053] Among them, when the sending message task script sends the target message to the electronic device, the target message can also be bound to information such as the message assistant Appkey, update instructions, apk download address and download password.
[0054] In the implementation manner of the present application, since the target task script group includes a packaging script, an upload and publishing platform task script and a sending message task script, and the packaging script can be used to perform a packaging operation, the upload and publishing platform task script can be used to perform an upload and publishing operation, and the sending message task script can be used to perform a sending message operation, that is, the packaging script, the upload and publishing platform task script and the sending message task script can respectively perform a corresponding operation. In this way, through the collaboration between the packaging script, the upload and publishing platform task script and the sending message task script, the packaging operation, the upload and publishing platform operation and the sending target message operation can be performed in sequence, thereby improving the execution efficiency of the packaging operation, the upload and publishing platform operation and the sending target message operation.
[0055] It should be noted that when uploading the publishing platform task script, the second data packet can also be bound to the publishing platform Appkey, related update instructions, and the update instructions can obtain git submission records or customized update content and other information for the second data packet; when the sending message task script sends the target message to the electronic device, the message assistant Appkey, update instructions, apk download address and download password and other information can also be bound to the target message. In this way, the target server can automatically bind various information through the packaging script, uploading the publishing platform task script and sending message task script, without the need for users to manually configure signature files and enter passwords, nor to notify the electronic device to download and install the second data packet after the second data packet is uploaded to the platform, thereby simplifying the user's operation.
[0056] Also, see Figure 2 , you can write the packaging script, upload publishing platform task script and sending message task script in sequence, and then connect the packaging script, upload publishing platform task script and sending message task script in parallel in sequence to obtain the packaging script, upload publishing platform task script and sending message task script.
[0057] It should be noted that when the packaging script, uploading publishing platform task script and sending message task script execute corresponding operations, they need to be executed strictly in the order of packaging operation, uploading publishing platform operation and sending target message operation, so as to reduce errors.
[0058] As an optional implementation, the packaging script includes an aar packaging script and an apk packaging script, and the step of inputting the first data packet into the packaging script for packaging and outputting the second data packet includes:
[0059] Input the first data packet into the aar packaging script for packaging, and output the target data packet;
[0060] The target data packet is input into the apk packaging script for packaging, and the second data packet is output.
[0061] Among them, the aar packaging script can be used to compress the first data packet into a target data packet in aar format, and the apk packaging script can compress the target data packet in aar format into a second data packet in apk format.
[0062] When the aar packaging script compresses the first data packet into a target data packet in aar format, the target data packet in aar format may also be copied to the libs file, that is, the target data packet in aar format may be stored in the directory corresponding to the libs file.
[0063] In the implementation manner of the present application, the second data packet in apk format can be packaged through the aar packaging script and the apk packaging script. In this way, through the collaboration of the aar packaging script and the apk packaging script, the efficiency of obtaining the second data packet in apk format can be improved.
[0064] In the embodiment of the present application, through steps 101 to 102, the target task script group can automatically perform multiple target processing operations on the first data packet, and the multiple target processing operations include packaging operations, uploading publishing platform operations, and sending target message operations, that is, the target task script group can automatically perform packaging, sending, and download notification operations on the first data packet, thereby improving the efficiency of the operations of packaging, sending, and download notification on the data packet. At the same time, it will not cause the process to be interrupted when executing packaging, sending, and download notification, thereby affecting the test progress of the tester.
[0065] For example: In the related art, taking a medium-configuration computer according to the traditional process of packaging, sending packages and sending messages as an example, it takes 90 seconds to pack aar, 60 seconds to pack apk, 30 seconds to upload to the publishing platform, and 15 seconds to send message notifications, so the above process requires 90+60+30+15=195>=3.2 minutes, and then count the time N seconds wasted in the intermediate link of packaging, and N is the unknown occupied time, because each step of the above packaging, sending packages and sending messages requires the operator to manually control the computer to execute, and the operator cannot always keep an eye on the packaging progress, which causes the time waste of the packaging link. According to the previous average packaging time calculation, N is at least greater than 3 minutes, that is, packaging, sending packages and sending messages need to take more than 6 minutes. And adopting the scheme in the embodiment of the present application, that is, packaging, sending packages and sending messages can be completed automatically with one key, thereby significantly improving work efficiency, and the above process can be completed automatically, avoiding the time wasted in the intermediate link of packaging.
[0066] In the embodiment of the present application, the above-mentioned electronic device can be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer), a personal digital assistant (Personal Digital Assistant, referred to as PDA), a mobile Internet device (Mobile Internet Device, MID) or a wearable device (Wearable Device), etc.
[0067] See also Figure 4 , Figure 4 1 is a structural diagram of a data packet processing device provided in an embodiment of the present application, which can implement the details of the data packet processing method in the above embodiment and achieve the same effect. Figure 4 As shown, the data packet processing device 400 includes:
[0068] An acquisition module 401 is used to acquire a first data packet;
[0069] An execution module 402 is used to sequentially execute a plurality of target processing operations corresponding to a target task script group according to the first data packet, wherein the target task script group is used to automatically execute the plurality of target processing operations on the first data packet;
[0070] Among them, the multiple target processing operations include packaging operations, uploading to the publishing platform operations and sending target message operations, and the target message is used to notify the download of a second data packet stored on the publishing platform. The second data packet is a data packet obtained after executing the multiple target processing operations based on the first data packet.
[0071] As an optional implementation, the target task script group includes a packaging script, an upload publishing platform task script, and a send message task script;
[0072] The execution module 402 includes:
[0073] A packaging submodule, used for inputting the first data packet into the packaging script for packaging, and outputting a second data packet;
[0074] An upload submodule, used for inputting the second data packet into the upload publishing platform task script for uploading, so that the second data packet is stored on the publishing platform;
[0075] The sending submodule is used to send the target message to the electronic device through the sending message task script.
[0076] As an optional implementation, the packaging script includes an aar packaging script and an apk packaging script, and the packaging submodule includes:
[0077] A first packaging unit, used for inputting the first data packet into the aar packaging script for packaging, and outputting a target data packet;
[0078] The second packaging unit is used to input the target data packet into the apk packaging script for packaging, and output the second data packet.
[0079] As an optional implementation, the acquisition module 401 includes:
[0080] The acquisition submodule is used to obtain the original data packet in the target database;
[0081] A modification submodule, used to modify a dependency relationship in a target file in the original data packet, wherein the dependency relationship exists between a plurality of files included in the original data packet;
[0082] The determination submodule is used to determine the original data packet after the target file is modified as the first data packet.
[0083] As an optional implementation manner, the modification submodule includes:
[0084] The acquisition unit is used to acquire the target package plug-in;
[0085] The modification unit is used to modify the dependency relationship in the target file in the original data packet through the target packaging plug-in.
[0086] The data packet processing device provided in the embodiment of the present application can be used for Figure 1 In the target server shown, the data packet processing device provided in the embodiment of the present application can achieve Figure 1 In order to avoid repetition, the various processes implemented by the target server in the method embodiment are not described here.
[0087] Optional, such as Figure 5 As shown, an embodiment of the present application also provides an electronic device 500, including a processor 501, a memory 502, and a program or instruction stored in the memory 502 and executable on the processor 501. When the program or instruction is executed by the processor 501, each process of the above-mentioned data packet processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0088] Figure 6 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0089] The electronic device 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, and a processor 610.
[0090] Those skilled in the art will appreciate that the electronic device 600 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 610 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 6 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0091] The processor 610 is used to obtain a first data packet; and sequentially execute a plurality of target processing operations corresponding to a target task script group according to the first data packet, wherein the target task script group is used to automatically execute the plurality of target processing operations on the first data packet;
[0092] Among them, the multiple target processing operations include packaging operations, uploading to the publishing platform operations and sending target message operations, and the target message is used to notify the download of a second data packet stored on the publishing platform. The second data packet is a data packet obtained after executing the multiple target processing operations based on the first data packet.
[0093] As an optional implementation, the target task script group includes a packaging script, an upload publishing platform task script, and a message sending task script; the processor 610 executes the multiple target processing operations corresponding to the target task script group in sequence according to the first data packet, including:
[0094] Input the first data packet into the packaging script for packaging, and output a second data packet;
[0095] Inputting the second data packet into the upload publishing platform task script for uploading, so that the second data packet is stored on the publishing platform;
[0096] The target message is sent to the electronic device through the sending message task script.
[0097] As an optional implementation, the packaging script includes an aar packaging script and an apk packaging script, and the processor 610 executes the step of inputting the first data packet into the packaging script for packaging and outputting the second data packet, including:
[0098] Input the first data packet into the aar packaging script for packaging, and output the target data packet;
[0099] The target data packet is input into the apk packaging script for packaging, and the second data packet is output.
[0100] As an optional implementation manner, the processor 610 executes the acquiring of the first data packet, including:
[0101] Get the original data packet in the target database;
[0102] Modifying a dependency relationship in a target file in the original data packet, wherein the dependency relationship exists between a plurality of files included in the original data packet;
[0103] The original data packet after the target file is modified is determined as the first data packet.
[0104] As an optional implementation manner, the processor 610 executes the modification of the dependency relationship in the target file in the original data packet, including:
[0105] Get the target packaging plug-in;
[0106] The target packaging plug-in is used to modify the dependency relationship in the target file in the original data packet.
[0107] It should be understood that in the embodiment of the present application, the input unit 604 may include a graphics processor (GPU) 6041 and a microphone 6042, and the graphics processor 6041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 607 includes a touch panel 6071 and other input devices 6072. The touch panel 6071 is also called a touch screen. The touch panel 6071 may include two parts: a touch detection device and a touch controller. Other input devices 6072 may include but are not limited to a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 609 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 610 can integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, the user interface, and the application program, and the modem processor mainly processes wireless communication. It is understandable that the above-mentioned modem processor may not be integrated into the processor 610.
[0108] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned data packet processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0109] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0110] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned data packet processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0111] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0112] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0113] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0114] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A data packet processing method, characterized in that: include: Get the first data packet; Execute multiple target processing operations corresponding to the target task script group in sequence according to the first data packet, wherein the target task script group is used to automatically execute the multiple target processing operations on the first data packet; Among them, the multiple target processing operations include packaging operations, uploading to the publishing platform operations and sending target message operations, and the target message is used to notify the download of a second data packet stored on the publishing platform. The second data packet is a data packet obtained after executing the multiple target processing operations based on the first data packet.
2. The method according to claim 1, characterized in that The target task script group includes a packaging script, an upload publishing platform task script and a send message task script; The step of sequentially executing a plurality of target processing operations corresponding to the target task script group according to the first data packet includes: Input the first data packet into the packaging script for packaging, and output a second data packet; Inputting the second data packet into the upload publishing platform task script for uploading, so that the second data packet is stored on the publishing platform; The target message is sent to the electronic device through the sending message task script.
3. The method according to claim 2, characterized in that The packaging script includes an aar packaging script and an apk packaging script, and the step of inputting the first data packet into the packaging script for packaging and outputting the second data packet includes: Input the first data packet into the aar packaging script for packaging, and output the target data packet; The target data packet is input into the apk packaging script for packaging, and the second data packet is output.
4. The method according to any one of claims 1 to 3, characterized in that The obtaining of the first data packet comprises: Get the original data packet in the target database; Modifying a dependency relationship in a target file in the original data packet, wherein the dependency relationship exists between a plurality of files included in the original data packet; The original data packet after the target file is modified is determined as the first data packet.
5. The method according to claim 4, characterized in that The modifying of the dependency relationship in the target file in the original data packet includes: Get the target packaging plug-in; The target packaging plug-in is used to modify the dependency relationship in the target file in the original data packet.
6. A data packet processing device, characterized in that: include: An acquisition module, used for acquiring a first data packet; an execution module, configured to sequentially execute a plurality of target processing operations corresponding to a target task script group according to the first data packet, wherein the target task script group is configured to automatically execute the plurality of target processing operations on the first data packet; Among them, the multiple target processing operations include packaging operations, uploading to the publishing platform operations and sending target message operations, and the target message is used to notify the download of a second data packet stored on the publishing platform. The second data packet is a data packet obtained after executing the multiple target processing operations based on the first data packet.
7. The data packet processing device according to claim 6, characterized in that: The target task script group includes a packaging script, an upload publishing platform task script and a send message task script; The execution module comprises: A packaging submodule, used for inputting the first data packet into the packaging script for packaging, and outputting a second data packet; An upload submodule, used for inputting the second data packet into the upload publishing platform task script for uploading, so that the second data packet is stored on the publishing platform; The sending submodule is used to send the target message to the electronic device through the sending message task script.
8. The data packet processing device according to claim 7, characterized in that: The packaging script includes an aar packaging script and an apk packaging script, and the packaging submodule includes: A first packaging unit, used for inputting the first data packet into the aar packaging script for packaging, and outputting a target data packet; The second packaging unit is used to input the target data packet into the apk packaging script for packaging, and output the second data packet.
9. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps in the data packet processing method according to any one of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the data packet processing method according to any one of claims 1 to 5 are implemented.