CN109769265B - Application program flow management method, system, device and computer medium - Google Patents

Application program flow management method, system, device and computer medium Download PDF

Info

Publication number
CN109769265B
CN109769265B CN201910016135.XA CN201910016135A CN109769265B CN 109769265 B CN109769265 B CN 109769265B CN 201910016135 A CN201910016135 A CN 201910016135A CN 109769265 B CN109769265 B CN 109769265B
Authority
CN
China
Prior art keywords
plug
network
target
application program
application
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.)
Active
Application number
CN201910016135.XA
Other languages
Chinese (zh)
Other versions
CN109769265A (en
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.)
Shenzhen Onething Technology Co Ltd
Original Assignee
Shenzhen Onething 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 Shenzhen Onething Technology Co Ltd filed Critical Shenzhen Onething Technology Co Ltd
Priority to CN201910016135.XA priority Critical patent/CN109769265B/en
Publication of CN109769265A publication Critical patent/CN109769265A/en
Application granted granted Critical
Publication of CN109769265B publication Critical patent/CN109769265B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The application discloses an application program flow management method, system, device and computer medium, which are applied to a network library plug-in of an Android system, and the method comprises the following steps: determining a target business plug-in a target application program; when the target service plug-in unit transmits or receives data, the network flow corresponding to the target service plug-in unit is counted; the target application program comprises an application program subjected to plug-in processing. According to the application program flow management method, the system, the device and the computer readable storage medium, the target service plug-in is determined in the target application program, the target application program comprises the application program subjected to plug-in processing, namely the application program needs to be subjected to plug-in processing, so that network flow statistics can be performed on each service plug-in by means of the network library plug-in, and the accuracy of the network flow of Android system statistics can be improved.

Description

Application program flow management method, system, device and computer medium
Technical Field
The present application relates to the field of software technologies, and in particular, to a method, a system, an apparatus, and a computer medium for managing application program traffic.
Background
The Android system is a multi-application and multi-User system, each application program has a User Identification (UID), and network flow statistics and monitoring can be performed on the application programs according to different UIDs.
However, for the mobile user, the network traffic of each UID is counted by the Android system, not the network traffic of each application, so that the network traffic counted by the Android system cannot reflect the network traffic consumed by each application, and the accuracy of the network traffic counted by the Android system is poor.
In summary, how to improve the accuracy of the network traffic of the Android system statistics is a problem to be solved urgently by those skilled in the art.
Disclosure of Invention
The application aims to provide an application program flow management method, which can solve the technical problem of improving the accuracy of network flow counted by an Android system to a certain extent. The application also provides an application program flow management system, an application program flow management device and a computer readable storage medium.
In order to achieve the above object, the application program traffic management method provided by the present application is applied to a network library plug-in of an Android system, and includes:
determining a target business plug-in a target application program;
when the target service plug-in unit transmits or receives data, the network flow corresponding to the target service plug-in unit is counted;
wherein the target application program comprises an application program subjected to plug-in processing.
Preferably, after the counting the network traffic corresponding to the target service plug-in, the method further includes:
and monitoring the network flow corresponding to the target service plug-in according to the flow management strategy corresponding to the target service plug-in.
Preferably, the counting network traffic corresponding to the target service plug-in includes:
and carrying out real-time statistics on the network flow corresponding to the target service plug-in.
Preferably, the monitoring the network traffic corresponding to the target service plug-in includes:
and monitoring the network flow corresponding to the target service plug-in at regular time.
Preferably, the method further comprises the following steps:
receiving a request for a network socket sent by the target service plug-in;
responding to the application, and distributing a target network socket to the target service plug-in;
establishing a communication connection with the target service plug-in based on the target network socket;
and carrying out data transmission with the target service plug-in based on the communication connection.
Preferably, the network library plug-in comprises a network library plug-in based on jdk library encapsulation.
In order to achieve the above object, the present application further provides an application flow management system, which is applied to a network library plug-in of an Android system, and includes:
the first determining module is used for determining the target business plug-in the target application program;
the first statistical module is used for counting the network flow corresponding to the target service plug-in when the target service plug-in carries out data transmission or data reception;
wherein the target application program comprises an application program subjected to plug-in processing.
Preferably, the method further comprises the following steps:
and the first monitoring module is used for monitoring the network flow corresponding to the target service plug-in according to the flow management strategy corresponding to the target service plug-in after the first statistical module counts the network flow corresponding to the target service plug-in.
Preferably, the first statistical module includes:
and the first statistical unit is used for carrying out real-time statistics on the network flow corresponding to the target service plug-in.
Preferably, the first monitoring module includes:
and the first monitoring unit is used for monitoring the network flow corresponding to the target service plug-in at regular time.
Preferably, the method further comprises the following steps:
the first receiving module is used for receiving the application of requesting the network socket sent by the target service plug-in;
the first distribution module is used for responding to the application and distributing the target network socket to the target service plug-in;
a first establishing module, configured to establish a communication connection with the target service plug-in based on the target network socket;
and the first transmission module is used for carrying out data transmission with the target service plug-in based on the communication connection.
Preferably, the network library plug-in comprises a network library plug-in based on jdk library encapsulation.
To achieve the above object, the present application further provides an application traffic management device, which includes a memory and a processor, wherein the memory stores an application traffic management program operable on the processor, and the application traffic management program implements the method as described in any one of the above when executed by the processor.
Preferably, the device is a node constituting a CDN network or a blockchain network.
To achieve the above object, the present application further provides a computer readable storage medium having an application traffic management program stored thereon, the application traffic management program being executable by one or more processors to implement the application traffic management method as described in any one of the above.
In order to achieve the above object, the present application further provides an application program traffic management method applied to a plug-in management platform of an Android system, including:
the first judgment module is used for judging whether the application program is subjected to plug-in processing or not;
the first processing module is used for performing plug-in processing on the application program and managing service plug-ins in the application program subjected to plug-in processing when the first judging module judges that the application program is not subjected to plug-in processing.
Preferably, the managing the service plug-in the application program subjected to the plug-in processing includes:
and judging whether the service plug-in is abnormally stopped or not, and if so, monitoring and restarting the service plug-in.
The application program flow management method is applied to a network library plug-in of an Android system, and a target service plug-in is determined in a target application program; when the target service plug-in unit transmits or receives data, the network flow corresponding to the target service plug-in unit is counted; the target application program comprises an application program subjected to plug-in processing. According to the application program flow management method, the target service plug-in is determined in the target application program, the target application program comprises the application program subjected to plug-in processing, namely the application program needs to be subjected to plug-in processing, so that network flow statistics can be performed on each service plug-in by means of the network library plug-in, compared with the existing network flow statistics of each UID, the refining program for counting the network flow of the service plug-in is higher, and the accuracy of the network flow statistics of the Android system can be improved. The application program flow management system, device and computer readable storage medium provided by the application program also solve the corresponding technical problems.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only the embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a schematic flow chart of a first embodiment of the present application;
FIG. 2 is a schematic structural diagram of a second embodiment of the present application;
fig. 3 is a schematic structural diagram of an application traffic management system according to an embodiment of the present disclosure;
fig. 4 is a schematic internal structural diagram of an application traffic management device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that the description relating to "first", "second", etc. in the present invention is for descriptive purposes only and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
The application provides an application program flow management method.
Referring to fig. 1, fig. 1 is a schematic flow chart of a first embodiment of the present application.
In a first embodiment, the application program traffic management method provided by the present application, when applied to a network library plug-in of an Android system, may include the following steps:
step S101: and determining the target service plug-in the target application program.
In practical application, a target application program may be determined first, and then a target service plug-in is determined in the target application program, where the target application program refers to an application program currently being processed, and correspondingly, the target service plug-in refers to a service plug-in currently being processed, and the type of the service plug-in the application program may be determined according to actual needs, for example, the service plug-in may be a download management plug-in, a music application plug-in, a video application plug-in, a data storage plug-in, and the like.
Step S102: when the target service plug-in unit transmits or receives data, the network flow corresponding to the target service plug-in unit is counted;
the target application program comprises an application program subjected to plug-in processing.
In practical application, when the target service plug-in unit transmits or receives data, the network library plug-in unit counts network traffic corresponding to the target service. That is, the network flow of the service plug-in is counted by the aid of the network library plug-in.
The application program flow management method is applied to a network library plug-in of an Android system, and a target service plug-in is determined in a target application program; when the target service plug-in unit transmits or receives data, the network flow corresponding to the target service plug-in unit is counted; the target application program comprises an application program subjected to plug-in processing. According to the application program flow management method, the target service plug-in is determined in the target application program, the target application program comprises the application program subjected to plug-in processing, namely the application program needs to be subjected to plug-in processing, so that network flow statistics can be performed on each service plug-in by means of the network library plug-in.
In the first embodiment, after the network library plug-in counts the network traffic corresponding to the target service plug-in, the outside may also monitor the network traffic of the target service plug-in, for example, the network traffic of the target service plug-in is limited, and in order to meet the monitoring of the network data by the outside, after the network library plug-in counts the network traffic corresponding to the target service plug-in, the network traffic corresponding to the target service plug-in may also be monitored according to the traffic management policy corresponding to the target service plug-in. For example, when the network flow of the target service plug-in is less, the data transmission rate of the target service plug-in is improved; and when the network flow of the target service plug-in is more, carrying out dynamic speed limitation or access limitation on the target service plug-in, and the like.
In the first embodiment, in order to obtain accurate network traffic corresponding to the target service plug-in, a manner of performing real-time network traffic statistics may be adopted, and the process of performing network traffic statistics corresponding to the target service plug-in may specifically be: and carrying out real-time statistics on the network flow corresponding to the target service plug-in. Of course, the network traffic may also be counted at regular time, and the present application is not limited in this respect.
In the first embodiment, if monitoring the network traffic in real time, the processing pressure of the network library plug-in may be increased, and in order to relieve the processing pressure of the network library plug-in, the network traffic may be monitored indirectly or regularly, and the process of monitoring the network traffic corresponding to the target service plug-in may specifically be: and monitoring the network flow corresponding to the target service plug-in at regular time.
In the first embodiment, the data transmission process between the service plug-in the target application program and the outside may pass through the network library plug-in, and in order to ensure the communication security between the network library plug-in and the service plug-in, a communication link between the service plug-in and the network library plug-in may be protected, and then the application program traffic management method provided in the present application may further include: receiving a request for a network socket sent by a target service plug-in; responding to the application, and distributing the target network socket to the target service plug-in; establishing communication connection with a target service plug-in based on a target network socket; and carrying out data transmission with the target service plug-in unit based on the communication connection. That is, in the present application, data transmission is performed between the service plug-in and the network library plug-in through a socket technology, and in a specific application scenario, the network library plug-in may perform data transmission with the outside through a physical network device.
In the first embodiment, in order to facilitate the creation of the network library plug-in and facilitate the statistics of the network traffic of the service plug-in, the network library plug-in the present application may include a network library plug-in based on the jdk library encapsulation. The jdk is a software development toolkit of Java language, which is mainly used for Java application programs on mobile equipment and embedded equipment, is the core of the whole Java development and comprises a Java running environment (JVM + Java system class library) and a JAVA tool.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a second embodiment of the present application.
In a second embodiment, the application program traffic management method provided by the present application is applied to a plug-in management platform of an Android system, and may include the following steps:
step S201: judging whether the application program is subjected to plug-in processing or not; if not, go to step S202.
Step S202: and performing plug-in processing on the application program, and managing the service plug-in the application program subjected to the plug-in processing.
That is, in practical applications, the application program can be managed in a plug-in mode based on the plug-in management platform. In a specific application scenario, the management of the service plug-in by the plug-in management platform comprises: installing a service plug-in, starting the service plug-in, stopping the service plug-in, unloading the service plug-in, updating the service plug-in, maintaining the version information and the running state of the service plug-in, and the like in an application program. If the application program is subjected to plug-in processing, the plug-in management platform can directly manage the service plug-in.
In the second embodiment, when the service plug-in abnormally stops, it may affect performance of the application program, and in order to ensure performance of the application program, the service plug-in needs to be maintained, and a process of the plug-in management platform managing the service plug-in the application program subjected to plug-in processing may specifically be: and judging whether the service plug-in is abnormally stopped or not, and if so, monitoring and restarting the service plug-in.
In another aspect, the present application provides an application traffic management system.
Referring to fig. 3, fig. 3 is a schematic structural diagram of an application traffic management system according to an embodiment of the present disclosure.
The application flow management system is applied to a network library plug-in of an Android system, and can include:
a first determining module 301, configured to determine a target service plug-in a target application;
the first statistical module 302 is configured to, when a target service plug-in performs data transmission or data reception, count a network flow corresponding to the target service plug-in;
the target application program comprises an application program subjected to plug-in processing.
The application program traffic management system provided by the application program is applied to the network library plug-in of the Android system, and can further comprise:
and the first monitoring module is used for monitoring the network flow corresponding to the target service plug-in according to the flow management strategy corresponding to the target service plug-in after the first statistical module counts the network flow corresponding to the target service plug-in.
The application program flow management system is applied to a network library plug-in of an Android system, and the first statistic module can comprise:
and the first statistical unit is used for counting the network flow corresponding to the target service plug-in real time.
The application program flow management system is applied to a network library plug-in of an Android system, and the first monitoring module can comprise:
and the first monitoring unit is used for monitoring the network flow corresponding to the target service plug-in at regular time.
The application program flow management system provided by the application program flow management system is applied to a network library plug-in of an Android system, and can further comprise:
the first receiving module is used for receiving a request for network socket sent by a target service plug-in;
the first distribution module is used for responding to the application and distributing the target network socket to the target service plug-in;
the first establishing module is used for establishing communication connection with the target service plug-in based on the target network socket;
and the first transmission module is used for carrying out data transmission with the target service plug-in unit based on the communication connection.
The application program flow management system is applied to the network library plug-ins of the Android system, and the network library plug-ins comprise network library plug-ins based on jdk library packaging.
In another aspect, the present application provides an application traffic management device.
Referring to fig. 4, fig. 4 is a schematic diagram of an internal structure of an application traffic management device according to an embodiment of the present disclosure.
In this embodiment, the application traffic management 1 may be a PC (personal computer), or may also be a smart phone, a tablet computer, a palmtop computer, a portable computer, an intelligent router, an ore machine, or a network storage device terminal device.
The application traffic management device 1 may be a node constituting a CDN network or a blockchain network.
The application traffic management device 1 may include a memory 11, a processor 12, and a bus 13.
The memory 11 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, and the like. The memory 11 may in some embodiments be an internal storage unit of the application traffic management apparatus 1, for example a hard disk of the video transcoding apparatus 1. The memory 11 may also be an external storage device of the application flow management apparatus 1 in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the application flow management apparatus 1. Further, the memory 11 may also include both an internal storage unit of the application flow management apparatus 1 and an external storage device. The memory 11 may be used not only to store application software installed in the application flow management apparatus 1 and various types of data, such as a code of the application flow management program 01, but also to temporarily store data that has been output or is to be output.
Processor 12, which in some embodiments may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor or other data Processing chip, is configured to execute program code stored in memory 11 or process data, such as executing application traffic manager 01.
The bus 13 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 4, but this does not indicate only one bus or one type of bus.
Further, the application traffic management apparatus may further include a network interface 14, and the network interface 14 may optionally include a wired interface and/or a wireless interface (such as a WI-FI interface, a bluetooth interface, etc.), which are generally used for establishing a communication connection between the apparatus 1 and other electronic devices.
Optionally, the application flow management device 1 may further include a user interface, the user interface may include a Display (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface may further include a standard wired interface and a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable for displaying information processed in the application traffic management device 1 and for displaying a visual user interface.
While fig. 4 only shows the application traffic management device 1 with the components 11-14 and the application traffic management program 01, it will be understood by those skilled in the art that the structure shown in fig. 4 does not constitute a limitation of the application traffic management device 1, and may include fewer or more components than shown, or some components in combination, or a different arrangement of components.
A computer-readable storage medium is provided, having an application traffic management program stored thereon, where the application traffic management program is executable by one or more processors to implement an application traffic management method as described above.
The computer-readable storage media to which the present application relates include Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage media known in the art.
In the above embodiments, all or part of the implementation may be realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product.
The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to be performed in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can store or a data storage device, such as a server, a data center, etc., that includes one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), among others
It can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should be noted that, the above numbers of the embodiments of the present invention are only for description, and do not represent the advantages and disadvantages of the embodiments. And the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising one of 8230, and" comprising 8230does not exclude the presence of additional like elements in a process, apparatus, article, or method comprising the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. An application program traffic management method, comprising:
determining a target business plug-in a target application program;
when the target service plug-in carries out data transmission, the network flow corresponding to the target service plug-in is counted;
the target application program comprises an application program subjected to plug-in processing;
the target service plug-in unit sends data, and the method comprises the following steps: sending a request for a network socket to a network library plug-in; receiving a target network socket sent by the network library plugin after responding to the application; establishing a communication connection with the network library plug-in based on the target network socket; sending data to the network library plug-in based on the communication connection;
wherein the network library plug-ins comprise network library plug-ins based on jdk library encapsulation; the target service plug-in comprises a download management plug-in and/or a music application plug-in and/or a video application plug-in and/or a data storage plug-in.
2. The method of claim 1, wherein after the counting the network traffic corresponding to the target service plug-in, the method further comprises:
and monitoring the network flow corresponding to the target service plug-in according to the flow management strategy corresponding to the target service plug-in.
3. The method of claim 2, wherein the counting network traffic corresponding to the target service plug-in comprises:
and carrying out real-time statistics on the network flow corresponding to the target service plug-in.
4. The method of claim 3, wherein the monitoring the network traffic corresponding to the target service plug-in comprises:
and monitoring the network flow corresponding to the target service plug-in at regular time.
5. An application traffic management system, comprising:
the first determining module is used for determining the target business plug-in the target application program;
the first statistical module is used for counting the network flow corresponding to the target service plug-in when the target service plug-in sends data;
wherein the target application program comprises an application program subjected to plug-in processing;
wherein, the target service plug-in module performs data transmission, and the data transmission comprises: sending a request for a network socket to a network library plug-in; receiving a target network socket sent by the network library plug-in after responding to the application; establishing a communication connection with the network library plug-in based on the target network socket; sending data to the network library plugin based on the communication connection;
wherein the network library plug-in comprises a network library plug-in based on a jdk library package; the target service plug-in comprises a download management plug-in and/or a music application plug-in and/or a video application plug-in and/or a data storage plug-in.
6. An application traffic management apparatus, the apparatus comprising a memory and a processor, the memory having stored thereon an application traffic management program operable on the processor, the application traffic management program when executed by the processor implementing the method of any of claims 1 to 4.
7. The apparatus of claim 6, wherein the apparatus is a node constituting a CDN network or a blockchain network.
8. A computer-readable storage medium having an application traffic management program stored thereon, the application traffic management program being executable by one or more processors to implement the application traffic management method of any one of claims 1 to 4.
9. The application program flow management method is applied to a plug-in management platform of an Android system, and comprises the following steps:
judging whether the application program is subjected to plug-in processing or not;
if not, performing plug-in processing on the application program, and managing service plug-ins in the application program subjected to plug-in processing;
the management of the service plug-in the application program subjected to plug-in processing includes:
determining a target business plug-in a target application program;
when the target service plug-in carries out data transmission, the network flow corresponding to the target service plug-in is counted;
the target application program comprises an application program subjected to plug-in processing;
the target service plug-in unit sends data, and the method comprises the following steps: sending a request for a network socket to a network library plug-in; receiving a target network socket sent by the network library plugin after responding to the application; establishing a communication connection with the network library plug-in based on the target network socket; sending data to the network library plug-in based on the communication connection;
wherein the network library plug-ins comprise network library plug-ins based on jdk library encapsulation; the target service plug-in comprises a download management plug-in and/or a music application plug-in and/or a video application plug-in and/or a data storage plug-in.
10. The method of claim 9, wherein managing the service plug-ins in the application undergoing plug-in processing comprises:
and judging whether the service plug-in unit abnormally stops, and if so, monitoring and restarting the service plug-in unit.
CN201910016135.XA 2019-01-08 2019-01-08 Application program flow management method, system, device and computer medium Active CN109769265B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910016135.XA CN109769265B (en) 2019-01-08 2019-01-08 Application program flow management method, system, device and computer medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910016135.XA CN109769265B (en) 2019-01-08 2019-01-08 Application program flow management method, system, device and computer medium

Publications (2)

Publication Number Publication Date
CN109769265A CN109769265A (en) 2019-05-17
CN109769265B true CN109769265B (en) 2023-02-28

Family

ID=66453510

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910016135.XA Active CN109769265B (en) 2019-01-08 2019-01-08 Application program flow management method, system, device and computer medium

Country Status (1)

Country Link
CN (1) CN109769265B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103428754A (en) * 2012-12-05 2013-12-04 中兴通讯股份有限公司 Method and device for reporting traffic, network traffic statistical method and device
CN104468269A (en) * 2014-12-01 2015-03-25 郭丹 Directional traffic monitoring method based on Android terminal device
CN106603345A (en) * 2017-02-04 2017-04-26 广东欧珀移动通信有限公司 Method and device for monitoring application program usage flow and terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102136954A (en) * 2011-04-26 2011-07-27 苏州阔地网络科技有限公司 Method and system for monitoring network flow based on webpage realization
CN102724629A (en) * 2012-06-21 2012-10-10 中兴通讯股份有限公司 Method and system for realizing driver-free wireless terminal positioning service
US20140359159A1 (en) * 2013-05-29 2014-12-04 Microsoft Corporation Facilitating utilization of datagram-based protocols
CN106681764A (en) * 2016-12-23 2017-05-17 昆明联诚科技股份有限公司 Windowless webpage player plug-in device
CN107196954A (en) * 2017-06-15 2017-09-22 网宿科技股份有限公司 A kind of service access method, apparatus and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103428754A (en) * 2012-12-05 2013-12-04 中兴通讯股份有限公司 Method and device for reporting traffic, network traffic statistical method and device
CN104468269A (en) * 2014-12-01 2015-03-25 郭丹 Directional traffic monitoring method based on Android terminal device
CN106603345A (en) * 2017-02-04 2017-04-26 广东欧珀移动通信有限公司 Method and device for monitoring application program usage flow and terminal

Also Published As

Publication number Publication date
CN109769265A (en) 2019-05-17

Similar Documents

Publication Publication Date Title
CN108376118B (en) Service distribution system, method, device and storage medium
CN108376079B (en) Automatic application updates
CN108462760B (en) Electronic device, automatic cluster access domain name generation method and storage medium
CN110290399B (en) Data distribution method, system, device and computer readable storage medium
CN111800506A (en) Edge computing node deployment method and related device
CN110708366A (en) Plug-in process management method, related method and related device
CN114257551A (en) Distributed current limiting method and system and storage medium
CN110278278A (en) A kind of data transmission method, system, device and computer media
CN110336888B (en) Server distribution method, device, system and medium
CN109857579B (en) Data processing method and related device
CN110851334A (en) Flow statistical method, electronic device, system and medium
CN109561134B (en) Electronic device, distributed cluster service distribution method and storage medium
CN109032693B (en) Method and device for loading display information, electronic equipment and readable storage medium
US8744789B2 (en) Utility meters configured to execute multiple collection agents
CN109769265B (en) Application program flow management method, system, device and computer medium
CN109739868B (en) Data processing method and related equipment thereof
CN110689333B (en) Block chain automatic account checking method, device, system and storage medium
CN112181794A (en) Page monitoring method and device, computer equipment and storage medium
CN112650614A (en) Call chain monitoring method and device, electronic equipment and storage medium
CN110855525A (en) Flow statistical method, electronic device, system and medium
CN109697166B (en) Test data preparation method and related device
CN109857408A (en) Application dispositions method, device, equipment, system and the readable storage medium storing program for executing of terminal
US20240031166A1 (en) Web-side data signature method and apparatus and computer device
CN115102863A (en) Method and device for dynamically configuring DPU (distributed processing Unit) hardware resource pool
CN112214437B (en) Storage device, communication method and device and computer readable storage medium

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
GR01 Patent grant
GR01 Patent grant