CN109769265A - A kind of application flow quantity management method, system, device and computer media - Google Patents
A kind of application flow quantity management method, system, device and computer media Download PDFInfo
- Publication number
- CN109769265A CN109769265A CN201910016135.XA CN201910016135A CN109769265A CN 109769265 A CN109769265 A CN 109769265A CN 201910016135 A CN201910016135 A CN 201910016135A CN 109769265 A CN109769265 A CN 109769265A
- Authority
- CN
- China
- Prior art keywords
- unit
- plug
- application
- target service
- network
- 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.)
- Granted
Links
Landscapes
- Stored Programmes (AREA)
Abstract
This application discloses a kind of application flow quantity management method, system, device and computer medias, applied to the network library plug-in unit of android system, this method comprises: determining target service plug-in unit in destination application;When target service plug-in unit carries out data transmission or data receiver, the corresponding network flow of statistics target service plug-in unit;Wherein, destination application includes the application program handled by plug-in unitization.A kind of application flow quantity management method, system, device and computer readable storage medium disclosed in the present application, target service plug-in unit is determined in destination application, and destination application includes the application program handled by plug-in unitization, namely the application needs to carry out plug-in unit processing to application program, so as to carry out network flow statistic to each business plug-in unit by network library plug-in unit, the accuracy of the network flow of android system statistics can be improved.
Description
Technical field
This application involves software technology field, more specifically to a kind of application flow quantity management method, system,
Device and computer media.
Background technique
Android system is mostly using multi-user system, and each application program has respective UID (User
Identification, user identity prove), network flow statistic and monitoring can be carried out to application program according to different UID.
However, what android system counted is the network flow of each UID, rather than each for mobile subscriber
The network flow of application program, so that the network flow of android system statistics can not react each application program and be consumed
Network flow so that android system statistics network flow accuracy it is poor.
In conclusion the accuracy for how improving the network flow of android system statistics is current those skilled in the art
Member's urgent problem to be solved.
Summary of the invention
The purpose of the application is to provide a kind of application flow quantity management method, can solve how to mention to a certain extent
The technical issues of accuracy of the network flow of high android system statistics.Present invention also provides a kind of application rs traffics
Management system, device and computer readable storage medium.
To achieve the goals above, a kind of application flow quantity management method provided by the present application is applied to Android system
The network library plug-in unit of system, comprising:
Target service plug-in unit is determined in destination application;
When the target service plug-in unit carries out data transmission or data receiver, it is corresponding to count the target service plug-in unit
Network flow;
Wherein, the destination application includes the application program handled by plug-in unitization.
Preferably, after the corresponding network flow of the statistics target service plug-in unit, further includes:
According to the corresponding flow management strategy of the target service plug-in unit, network flow corresponding to the target service plug-in unit
Amount is monitored.
Preferably, the corresponding network flow of the statistics target service plug-in unit, comprising:
The corresponding network flow of target service plug-in unit described in real-time statistics.
It is preferably, described that the corresponding network flow of the target service plug-in unit is monitored, comprising:
Timing is monitored the corresponding network flow of the target service plug-in unit.
Preferably, further includes:
Receive the application for the request web socket that the target service plug-in unit is sent;
Respond the application, distribution target network socket to the target service plug-in unit;
It is established and is communicated to connect based on the target network socket and the target service plug-in unit;
Carried out data transmission based on the communication connection with the target service plug-in unit.
Preferably, the network library plug-in unit includes the network library plug-in unit based on the encapsulation of the library jdk.
To achieve the above object, the application further provides for a kind of application rs traffic management system, is applied to Android
The network library plug-in unit of system, comprising:
First determining module, for determining target service plug-in unit in destination application;
First statistical module is used for when the target service plug-in unit carries out data transmission or data receiver, described in statistics
The corresponding network flow of target service plug-in unit;
Wherein, the destination application includes the application program handled by plug-in unitization.
Preferably, further includes:
First monitoring module, for the corresponding network flow of target service plug-in unit described in first statistical module counts it
Afterwards, according to the corresponding flow management strategy of the target service plug-in unit, to the corresponding network flow of the target service plug-in unit into
Row monitoring.
Preferably, first statistical module includes:
First statistic unit, for the corresponding network flow of target service plug-in unit described in real-time statistics.
Preferably, first monitoring module includes:
First monitoring unit is monitored the corresponding network flow of the target service plug-in unit for timing.
Preferably, further includes:
First receiving module, for receiving the application for the request web socket that the target service plug-in unit is sent;
First distribution module, for responding the application, distribution target network socket to the target service plug-in unit;
First establishes module, for establishing communication link based on the target network socket and the target service plug-in unit
It connects;
First transmission module, for being carried out data transmission based on the communication connection with the target service plug-in unit.
Preferably, the network library plug-in unit includes the network library plug-in unit based on the encapsulation of the library jdk.
To achieve the above object, the application further provides for a kind of application rs traffic managing device, and described device includes
Memory and processor are stored with the application rs traffic management program that can be run on the processor on the memory,
As above any method is realized when the application rs traffic management program is executed by the processor.
Preferably, described device is the node for forming CDN network or block chain network.
To achieve the above object, the application further provides for a kind of computer readable storage medium, described computer-readable
Application rs traffic management program is stored on storage medium, the application rs traffic management program can be by one or more
Processor executes, to realize as above any application flow quantity management method.
To achieve the above object, the application further provides for a kind of application flow quantity management method, is applied to Android
The plug-in management platform of system, comprising:
First judgment module, for judging whether the application program passes through plug-in unitization processing;
First processing module, when determining that the application program is handled without plug-in unitization for the first judgment module,
Plug-in unit processing is carried out to the application program, and pipe is carried out to the business plug-in unit in the application program by plug-in unitization processing
Reason.
Preferably, the business plug-in unit in the described pair of application program by plug-in unitization processing is managed, comprising:
Judge whether the business plug-in unit abends, restarts if so, being monitored to the business plug-in unit.
A kind of application flow quantity management method provided by the present application, applied to the network library plug-in unit of android system,
Target service plug-in unit is determined in destination application;When target service plug-in unit carries out data transmission or data receiver, statistics
The corresponding network flow of target service plug-in unit;Wherein, destination application includes the application program handled by plug-in unitization.This Shen
A kind of application flow quantity management method that please be provided, determines target service plug-in unit, and target is answered in destination application
It include that the application program handled by plug-in unitization namely the application need to carry out plug-in unit processing to application program with program, from
And network flow statistic can be carried out to each business plug-in unit by network library plug-in unit, the network with the existing each UID of statistics
Flow is compared, and the elaborator of the network flow of statistical service plug-in unit is higher, so as to improve the net of android system statistics
The accuracy of network flow.Application rs traffic management system, device and computer readable storage medium provided by the present application also solve
Relevant art of having determined problem.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is the flow diagram of the application first embodiment;
Fig. 2 is the structural schematic diagram of the application second embodiment;
Fig. 3 is the structural schematic diagram for the application rs traffic management system that one embodiment of the application discloses;
Fig. 4 is the schematic diagram of internal structure for the application rs traffic managing device that one embodiment of the application discloses.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall in the protection scope of this application.
The description and claims of this application and term " first ", " second ", " third ", " in above-mentioned attached drawing
The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage
The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiments described herein can be in addition to illustrating herein
Or the sequence other than the content of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that
Cover it is non-exclusive include, for example, containing the process, method, system, product or equipment of a series of steps or units need not limit
In step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, produce
The other step or units of product or equipment inherently.
It should be noted that the description for being related to " first ", " second " etc. in the present invention is used for description purposes only, and cannot
It is interpreted as its relative importance of indication or suggestion or implicitly indicates the quantity of indicated technical characteristic.Define as a result, " the
One ", the feature of " second " can explicitly or implicitly include at least one of the features.In addition, the skill between each embodiment
Art scheme can be combined with each other, but must be based on can be realized by those of ordinary skill in the art, when technical solution
Will be understood that the combination of this technical solution is not present in conjunction with there is conflicting or cannot achieve when, also not the present invention claims
Protection scope within.
The application provides a kind of application flow quantity management method.
Referring to Fig. 1, Fig. 1 is the flow diagram of the application first embodiment.
In the first embodiment, a kind of application flow quantity management method provided by the present application is applied to android system
Network library plug-in unit when, may comprise steps of:
Step S101: target service plug-in unit is determined in destination application.
In practical application, destination application can be first determined, then target service is determined in destination application
Plug-in unit, destination application are referred to when the processed application program of front-wheel, correspondingly, target service plug-in unit refers to working as front-wheel
Processed business plug-in unit, the type of business plug-in unit can determine according to actual needs in application program, for example business plug-in unit can
Think download management plug-in unit, music application plug-in unit, Video Applications plug-in unit, plugin data storage etc..
Step S102: when target service plug-in unit carries out data transmission or data receiver, statistics target service plug-in unit is corresponding
Network flow;
Wherein, destination application includes the application program handled by plug-in unitization.
In practical application, when target service plug-in unit carries out data transmission or data receiver, network library plug-in unit just counts mesh
The corresponding network flow of mark business.Namely the application is by the network flow of network library plug-in unit statistical service plug-in unit.
A kind of application flow quantity management method provided by the present application, applied to the network library plug-in unit of android system,
Target service plug-in unit is determined in destination application;When target service plug-in unit carries out data transmission or data receiver, statistics
The corresponding network flow of target service plug-in unit;Wherein, destination application includes the application program handled by plug-in unitization.This Shen
A kind of application flow quantity management method that please be provided, determines target service plug-in unit, and target is answered in destination application
It include that the application program handled by plug-in unitization namely the application need to carry out plug-in unit processing to application program with program, from
And network flow statistic can be carried out to each business plug-in unit by network library plug-in unit, the network with the existing each UID of statistics
Flow is compared, and the elaborator of the network flow of statistical service plug-in unit is higher, so as to improve the net of android system statistics
The accuracy of network flow.
In the first embodiment, after the corresponding network flow of network library plug-in unit statistics target service plug-in unit, the external world is also possible to
The network flow of target service plug-in unit is monitored, such as the network flow etc. of limited target business plug-in unit, it is outer in order to meet
The monitoring of bound pair network data can also be according to mesh after network library plug-in unit counts the corresponding network flow of target service plug-in unit
The corresponding flow management strategy of mark business plug-in unit is monitored the corresponding network flow of target service plug-in unit.Such as in target
When the network flow of business plug-in unit is less, the message transmission rate of target service plug-in unit is improved;In the network of target service plug-in unit
When flow is more, dynamic speed limit or limitation access etc. are carried out to target service plug-in unit.
In the first embodiment, the corresponding network flow of accurate target service plug-in unit in order to obtain can be taken in real time
The mode of network flow calculation, then the process for counting the corresponding network flow of target service plug-in unit can be with specifically: real-time statistics
The corresponding network flow of target service plug-in unit.It is of course also possible to which timing counts network flow, the application is not done herein to be had
Body limits.
In the first embodiment, if be monitored in real time to network flow, it will increase the processing of network library plug-in unit
Pressure can indirectly or periodically be monitored network flow, then in order to alleviate the processing pressure of network library plug-in unit to target industry
The process that the corresponding network flow of business plug-in unit is monitored can be with specifically: periodically to the corresponding network flow of target service plug-in unit
It is monitored.
In the first embodiment, the business plug-in unit in destination application can pass through with extraneous data transmission procedure
Network library plug-in unit, and in order to guarantee the communications security between network library plug-in unit and business plug-in unit, it can be to business plug-in unit and network
Communication link between the plug-in unit of library is protected, then can also include: to connect in application flow quantity management method provided by the present application
Receive the application for the request web socket that target service plug-in unit is sent;Response application, distribution target network socket to target industry
Business plug-in unit;It is established and is communicated to connect based on target network socket and target service plug-in unit;It is inserted based on communication connection and target service
Part carries out data transmission.Namely in the application, carried out data transmission between business plug-in unit and network library plug-in unit by sockets technology,
And in concrete application scene, network library plug-in unit can be carried out data transmission by physical network device and the external world.
In the first embodiment, for the ease of creating network library plug-in unit, and it is convenient for the network flow of statistical service plug-in unit, this
Network library plug-in unit in application may include the network library plug-in unit based on the encapsulation of the library jdk.Jdk involved in the application is Java language
The Software Development Kit of speech is mainly used for mobile device, the java application program on embedded device, is that entire java is opened
The core of hair, it contains the running environment (JVM+Java system class libraries) and JAVA tool of JAVA.
Referring to figure 2., Fig. 2 is the structural schematic diagram of the application second embodiment.
In a second embodiment, a kind of application flow quantity management method provided by the present application is applied to android system
Plug-in management platform, may comprise steps of:
Step S201: judge whether application program passes through plug-in unitization processing;If it is not, thening follow the steps S202.
Step S202: plug-in unit processing is carried out to application program, and to the industry in the application program by plug-in unitization processing
Business plug-in unit is managed.
Namely in practical applications, plug-in unit management can be carried out to application program based on plug-in management platform.Specifically
In application scenarios, plug-in management platform includes: to install business plug-in unit, starting business in the application to the management of business plug-in unit
Plug-in unit stops business plug-in unit, unloading business plug-in unit, more new business plug-in unit, the version information of maintenance service plug-in unit and operating status
Deng.If application program has been subjected to plug-in unitization processing, plug-in management platform can be directly managed business plug-in unit.
In a second embodiment, when business plug-in unit abends, it will affect the performance of application program, in order to guarantee to answer
It with the performance of program, needs to safeguard business plug-in unit, then plug-in management platform is to the application program by plug-in unitization processing
In the process that is managed of business plug-in unit can be with specifically: judge whether business plug-in unit abends, if so, inserting to business
Part, which is monitored, restarts.
On the other hand, the application provides a kind of application rs traffic management system.
Referring to figure 3., Fig. 3 is the structural schematic diagram for the application rs traffic management system that one embodiment of the application discloses.
A kind of application rs traffic management system provided by the present application can applied to the network library plug-in unit of android system
To include:
First determining module 301, for determining target service plug-in unit in destination application;
First statistical module 302, for counting target industry when target service plug-in unit carries out data transmission or data receiver
The corresponding network flow of business plug-in unit;
Wherein, destination application includes the application program handled by plug-in unitization.
A kind of application rs traffic management system provided by the present application, applied to the network library plug-in unit of android system, also
May include:
First monitoring module is used for after the corresponding network flow of the first statistical module counts target service plug-in unit, according to
The corresponding flow management strategy of target service plug-in unit is monitored the corresponding network flow of target service plug-in unit.
A kind of application rs traffic management system provided by the present application, applied to the network library plug-in unit of android system,
One statistical module may include:
First statistic unit is used for the corresponding network flow of real-time statistics target service plug-in unit.
A kind of application rs traffic management system provided by the present application, applied to the network library plug-in unit of android system,
One monitoring module may include:
First monitoring unit is monitored the corresponding network flow of target service plug-in unit for timing.
A kind of application rs traffic management system provided by the present application, applied to the network library plug-in unit of android system, also
May include:
First receiving module, the application of the request web socket for receiving the transmission of target service plug-in unit;
First distribution module, for responding application, distribution target network socket to target service plug-in unit;
First establishes module, communicates to connect for being established based on target network socket and target service plug-in unit;
First transmission module, for being carried out data transmission based on communication connection with target service plug-in unit.
A kind of application rs traffic management system provided by the present application, applied to the network library plug-in unit of android system, net
Network library plug-in unit includes the network library plug-in unit based on the encapsulation of the library jdk.
On the other hand, the application provides a kind of application rs traffic managing device.
Referring to the internal structure signal that Fig. 4, Fig. 4 are the application rs traffic managing device that one embodiment of the application discloses
Figure.
In the present embodiment, application rs traffic management 1 can be PC (PersonalComputer, PC), can also
To be that smart phone, tablet computer, palm PC, portable computer, intelligent router, mine machine, network storage equipment terminal are set
It is standby.
The application rs traffic managing device 1 can be the node of composition CDN network or block chain network.
The application rs traffic managing device 1 may include memory 11, processor 12 and bus 13.
Wherein, memory 11 includes at least a type of readable storage medium storing program for executing, and readable storage medium storing program for executing includes flash memory, hard
Disk, multimedia card, card-type memory (for example, SD or DX memory etc.), magnetic storage, disk, CD etc..Memory 11 exists
It can be the internal storage unit of application rs traffic managing device 1 in some embodiments, such as the video code conversion device 1 is hard
Disk.Memory 11 is also possible to the External memory equipment of application rs traffic managing device 1 in further embodiments, such as answers
With the plug-in type hard disk being equipped on program flow management device 1, intelligent memory card (Smart Media Card, SMC), safe number
Word (Secure Digital, SD) card, flash card (Flash Card) etc..Further, memory 11 can also both include answering
Internal storage unit with program flow management device 1 also includes External memory equipment.Memory 11 can be not only used for storing
It is installed on the application software and Various types of data of application rs traffic managing device 1, such as application rs traffic management program 01
Code etc. can be also used for temporarily storing the data that has exported or will export.
Processor 12 can be in some embodiments a central processing unit (Central Processing Unit,
CPU), controller, microcontroller, microprocessor or other data processing chips, the program for being stored in run memory 11
Code or processing data, such as executing application traffic management program 01 etc..
The bus 13 can be Peripheral Component Interconnect standard (peripheral component interconnect, abbreviation
PCI) bus or expanding the industrial standard structure (extended industry standard architecture, abbreviation EISA)
Bus etc..The bus can be divided into address bus, data/address bus, control bus etc..For convenient for indicating, in Fig. 4 only with one slightly
Line indicates, it is not intended that an only bus or a type of bus.
Further, application rs traffic managing device can also include network interface 14, and network interface 14 optionally may be used
To include wireline interface and/or wireless interface (such as WI-FI interface, blue tooth interface), commonly used in the device 1 and other electricity
Communication connection is established between sub- equipment.
Optionally, which can also include user interface, and user interface may include display
Device (Display), input unit such as keyboard (Keyboard), optional user interface can also include that the wired of standard connects
Mouth, wireless interface.Optionally, in some embodiments, display can be light-emitting diode display, liquid crystal display, touch control type LCD
Display and OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) touch device etc..Wherein, it shows
Device appropriate can also be known as display screen or display unit, for being shown in the letter handled in application rs traffic managing device 1
It ceases and for showing visual user interface.
Fig. 4 illustrates only the application rs traffic management with component 11-14 and application rs traffic management program 01
Device 1, it will be appreciated by persons skilled in the art that the structure shown in Fig. 4 is not constituted to application flow amount managing device 1
Restriction, may include perhaps combining certain components or different component layouts than illustrating less perhaps more components.
A kind of computer readable storage medium provided by the present application is stored with application program on computer readable storage medium
Traffic management program, application rs traffic management program can be executed by one or more processor, as above any to realize
Application flow quantity management method.
Computer readable storage medium involved in the application includes random access memory (RAM), memory, read-only memory
(ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field
Any other form of storage medium well known to interior.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real
It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.
The computer program product includes one or more computer instructions.Load and execute on computers the meter
When calculation machine program instruction, entirely or partly generate according to process or function described in the embodiment of the present invention.The computer can
To be general purpose computer, special purpose computer, computer network or other programmable devices.The computer instruction can be deposited
Storage in a computer-readable storage medium, or from a computer readable storage medium to another computer readable storage medium
Transmission, for example, the computer instruction can pass through wired (example from a web-site, computer, server or data center
Such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless (such as infrared, wireless, microwave) mode to another website
Website, computer, server or data center are transmitted.The computer readable storage medium can be computer and can deposit
Any usable medium of storage either includes that the data storages such as one or more usable mediums integrated server, data center are set
It is standby.The usable medium can be magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or partly lead
Body medium (such as solid state hard disk Solid State Disk (SSD)) etc.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the application
Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey
The medium of sequence code.
It should be noted that the serial number of the above embodiments of the invention is only for description, do not represent the advantages or disadvantages of the embodiments.And
The terms "include", "comprise" herein or any other variant thereof is intended to cover non-exclusive inclusion, so that packet
Process, device, article or the method for including a series of elements not only include those elements, but also including being not explicitly listed
Other element, or further include for this process, device, article or the intrinsic element of method.Do not limiting more
In the case where, the element that is limited by sentence "including a ...", it is not excluded that including process, device, the article of the element
Or there is also other identical elements in method.
The foregoing description of the disclosed embodiments makes those skilled in the art can be realized or use the application.To this
A variety of modifications of a little embodiments will be apparent for a person skilled in the art, and the general principles defined herein can
Without departing from the spirit or scope of the application, to realize in other embodiments.Therefore, the application will not be limited
It is formed on the embodiments shown herein, and is to fit to consistent with the principles and novel features disclosed in this article widest
Range.
Claims (12)
1. a kind of application flow quantity management method, which is characterized in that the network library plug-in unit applied to android system, comprising:
Target service plug-in unit is determined in destination application;
When the target service plug-in unit carries out data transmission or data receiver, the corresponding network of the target service plug-in unit is counted
Flow;
Wherein, the destination application includes the application program handled by plug-in unitization.
2. the method according to claim 1, wherein the corresponding network flow of the statistics target service plug-in unit
After amount, further includes:
According to the corresponding flow management strategy of the target service plug-in unit, to the corresponding network flow of the target service plug-in unit into
Row monitoring.
3. according to the method described in claim 2, it is characterized in that, the corresponding network flow of the statistics target service plug-in unit
Amount, comprising:
The corresponding network flow of target service plug-in unit described in real-time statistics.
4. according to the method described in claim 3, it is characterized in that, described to the corresponding network flow of the target service plug-in unit
It is monitored, comprising:
Timing is monitored the corresponding network flow of the target service plug-in unit.
5. method according to any one of claims 1 to 4, which is characterized in that further include:
Receive the application for the request web socket that the target service plug-in unit is sent;
Respond the application, distribution target network socket to the target service plug-in unit;
It is established and is communicated to connect based on the target network socket and the target service plug-in unit;
Carried out data transmission based on the communication connection with the target service plug-in unit.
6. according to the method described in claim 5, it is characterized in that, the network library plug-in unit includes the net based on the encapsulation of the library jdk
Network library plug-in unit.
7. a kind of application rs traffic management system, which is characterized in that the network library plug-in unit applied to android system, comprising:
First determining module, for determining target service plug-in unit in destination application;
First statistical module, for counting the target when the target service plug-in unit carries out data transmission or data receiver
The corresponding network flow of business plug-in unit;
Wherein, the destination application includes the application program handled by plug-in unitization.
8. a kind of application rs traffic managing device, which is characterized in that described device includes memory and processor, the storage
The application rs traffic management program that can be run on the processor, the application rs traffic management program are stored on device
Such as method as claimed in any one of claims 1 to 6 is realized when being executed by the processor.
9. device according to claim 8, which is characterized in that described device is composition CDN network or block chain network
Node.
10. a kind of computer readable storage medium, which is characterized in that be stored on the computer readable storage medium using journey
Sequence traffic management program, the application rs traffic management program can be executed by one or more processor, to realize as weighed
Benefit require any one of 1 to 6 described in application flow quantity management method.
11. a kind of application flow quantity management method, which is characterized in that applied to the plug-in management platform of android system, packet
It includes:
Judge whether the application program passes through plug-in unitization processing;
If it is not, then carrying out plug-in unit processing to the application program, and to the business in the application program by plug-in unitization processing
Plug-in unit is managed.
12. according to the method for claim 11, which is characterized in that in the described pair of application program by plug-in unitization processing
Business plug-in unit is managed, comprising:
Judge whether the business plug-in unit abends, restarts if so, being monitored to the business plug-in unit.
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 true CN109769265A (en) | 2019-05-17 |
CN109769265B 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 (8)
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 |
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 |
CN105453509A (en) * | 2013-05-29 | 2016-03-30 | 微软技术许可有限责任公司 | Use of a datagram-based protocol to communicate with a VPN server |
CN106603345A (en) * | 2017-02-04 | 2017-04-26 | 广东欧珀移动通信有限公司 | Method and device for monitoring application program usage flow and terminal |
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 |
-
2019
- 2019-01-08 CN CN201910016135.XA patent/CN109769265B/en active Active
Patent Citations (8)
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 |
CN103428754A (en) * | 2012-12-05 | 2013-12-04 | 中兴通讯股份有限公司 | Method and device for reporting traffic, network traffic statistical method and device |
CN105453509A (en) * | 2013-05-29 | 2016-03-30 | 微软技术许可有限责任公司 | Use of a datagram-based protocol to communicate with a VPN server |
CN104468269A (en) * | 2014-12-01 | 2015-03-25 | 郭丹 | Directional traffic monitoring method based on Android terminal device |
CN106681764A (en) * | 2016-12-23 | 2017-05-17 | 昆明联诚科技股份有限公司 | Windowless webpage player plug-in device |
CN106603345A (en) * | 2017-02-04 | 2017-04-26 | 广东欧珀移动通信有限公司 | Method and device for monitoring application program usage flow and terminal |
CN107196954A (en) * | 2017-06-15 | 2017-09-22 | 网宿科技股份有限公司 | A kind of service access method, apparatus and system |
Also Published As
Publication number | Publication date |
---|---|
CN109769265B (en) | 2023-02-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108733005B (en) | Method and device for controlling linkage of intelligent equipment | |
CN109600441B (en) | Alliance link information publishing control method and terminal equipment | |
CN107769949A (en) | A kind of application component dispositions method and deployment node | |
CN106339222A (en) | Service implementing method and device | |
CN105357204B (en) | Method and device for generating terminal identification information | |
CN110493357A (en) | A kind of calculation resource disposition method, system, device and computer storage medium | |
CN106851779A (en) | A kind of method and mobile terminal for recognizing access point and focus | |
CN109656608A (en) | A kind of MCU firmware upgrade method and its relevant device | |
CN109634915A (en) | File dispositions method, Cloud Server, system and storage medium | |
CN110278278A (en) | A kind of data transmission method, system, device and computer media | |
CN110191204A (en) | A kind of Intranet communication between devices method, system, device and computer storage medium | |
CN110517138A (en) | Intelligent contract processing method, device, computer equipment and storage medium | |
CN111563075B (en) | Service verification system, method and equipment and storage medium | |
CN109918203A (en) | Access server memory management optimization method, access server and communication system | |
CN110474903A (en) | Trust data acquisition methods, device and block chain node | |
CN109413207A (en) | A kind of file uploading method, system, device and computer readable storage medium | |
CN110290399A (en) | A kind of data distributing method, system, device and computer readable storage medium | |
CN113890712A (en) | Data transmission method and device, electronic equipment and readable storage medium | |
CN110602004A (en) | Supervision data reporting, electronic device, equipment and computer readable storage medium | |
CN112667405A (en) | Information processing method, device, equipment and storage medium | |
CN106571933A (en) | Service processing method and device | |
CN104915302B (en) | Data transmission processing method and data link | |
CN110851334A (en) | Flow statistical method, electronic device, system and medium | |
CN110457925A (en) | Data isolation method, device, terminal and storage medium are applied in the storage of inside and outside | |
CN110598419A (en) | Block chain client vulnerability mining method, device, equipment and 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 |