CN110474789A - Network state information processing method, device and system - Google Patents
Network state information processing method, device and system Download PDFInfo
- Publication number
- CN110474789A CN110474789A CN201810450352.5A CN201810450352A CN110474789A CN 110474789 A CN110474789 A CN 110474789A CN 201810450352 A CN201810450352 A CN 201810450352A CN 110474789 A CN110474789 A CN 110474789A
- Authority
- CN
- China
- Prior art keywords
- network connection
- network
- storage organization
- status data
- journal file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/069—Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/14—Network analysis or design
- H04L41/142—Network analysis or design using statistical or mathematical methods
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/50—Network service management, e.g. ensuring proper service fulfilment according to agreements
- H04L41/5003—Managing SLA; Interaction between SLA and QoS
- H04L41/5009—Determining service level performance parameters or violations of service level contracts, e.g. violations of agreed response time or mean time between failures [MTBF]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/02—Capturing of monitoring data
- H04L43/028—Capturing of monitoring data by filtering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/04—Processing captured monitoring data, e.g. for logfile generation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
Abstract
The invention discloses a kind of network state information processing methods, device and system.Wherein, this method comprises: for there is currently at least one network connection creation storage organization;Obtain the status data of at least one network connection respectively according to default sampling time granularity, wherein status data is used to monitor the network service quality of each network connection;Status data is stored to storage organization, to obtain journal file, wherein journal file is used for statistic behavior data.The present invention solves the technical issues of prior art can not carry out accurate statistics to the network state information in entire request process.
Description
Technical field
The present invention relates to message areas, in particular to a kind of network state information processing method, device and system.
Background technique
Currently, network work, in terms of be widely used.In order to guarantee that user can have a stabilization
Network environment, network maintenance staff needs to count network state information, for example, user is to CDN (Content
Delivery Network, i.e. content distributing network) network state information counted.
The prior art is mainly acquired from the real time monitoring of network service quality and detailed network service quality data
Network state information is counted in terms of two.Wherein, the real time monitoring of network service quality mainly requests user
The data such as average response time, average server response time, average delay and the average packet loss ratio of file are supervised in real time
Control, detailed network service quality data acquisition are mainly the sound of the response time of each request accessed user, server
Between seasonable, the data such as response delay, packet loss are monitored.
As shown in the above, the prior art is the network state information just counted after each request terminates,
For example, request size, service response time etc., and it is only capable of reflecting the size of window per minute, transmit queue in each connection
The information such as length can not reflect the real-time changes situation such as size, transmit queue length of window per second in each connection.Therefore,
When network service quality is deteriorated in system, network maintenance staff is only capable of recognizing Service Quality quantitative change according to network state information
Difference, but can not determine the concrete reason that service quality is deteriorated, for example, can not determine that the reason of service quality is deteriorated is upper layer application
It does not send data or network congestion causes that congestion window (Congestion window) becomes smaller or receiving end connects
Window is received to become smaller.
Aiming at the problem that the above-mentioned prior art can not carry out accurate statistics to the network state information in entire request process,
Currently no effective solution has been proposed.
Summary of the invention
The embodiment of the invention provides a kind of network state information processing methods, device and system, existing at least to solve
The technical issues of technology can not carry out accurate statistics to the network state information in entire request process.
According to an aspect of an embodiment of the present invention, a kind of network state information processing method is provided, comprising: be current
At least one existing network connection creation storage organization;At least one network is obtained respectively according to default sampling time granularity to connect
The status data connect, wherein status data is used to monitor the network service quality of each network connection;By status data store to
Storage organization, to obtain journal file, wherein journal file is used for statistic behavior data.
According to another aspect of an embodiment of the present invention, a kind of network state information processing unit is additionally provided, comprising: creation
Module, for for there is currently at least one network connection creation storage organization;Module is obtained, when for according to default sampling
Between granularity obtain status data of at least one network connection respectively, wherein status data is for monitoring each network connection
Network service quality;Statistical module, for storing status data to storage organization, to obtain journal file, wherein log text
Part is used for statistic behavior data.
According to another aspect of an embodiment of the present invention, a kind of storage medium is additionally provided, which includes storage
Program, wherein program operation when control storage medium where equipment execute following steps: for there is currently at least one net
Network connection creation storage organization;Obtain the status data of at least one network connection respectively according to default sampling time granularity,
In, status data is used to monitor the network service quality of each network connection;Status data is stored to storage organization, to obtain
Journal file, wherein journal file is used for statistic behavior data.
According to another aspect of an embodiment of the present invention, a kind of processor is additionally provided, which is used to run program,
In, program run when execute following steps: for there is currently at least one network connection creation storage organization;It is adopted according to default
Sample time granularity obtains the status data of at least one network connection respectively, wherein status data connects for monitoring each network
The network service quality connect;Status data is stored to storage organization, to obtain journal file, wherein journal file is for uniting
Count status data.
According to another aspect of an embodiment of the present invention, a kind of network state information processing system is additionally provided, comprising: timing
Device, server and client;Wherein, server is communicated with client, and executes following steps: for there is currently extremely
A few network connection creates storage organization;Obtain the state of at least one network connection respectively according to default sampling time granularity
Data, wherein status data is used to monitor the network service quality of each network connection;Status data is stored to storage and is tied
Structure, to obtain journal file, wherein journal file is used for statistic behavior data.
In embodiments of the present invention, by the way of increasing storage organization, by for there is currently at least one network
Connection creation storage organization, then obtains the status data of at least one network connection respectively according to default sampling time granularity,
And store status data to storage organization, to obtain journal file, wherein status data is for monitoring each network connection
Network service quality, journal file are used for statistic behavior data, have achieved the purpose that carry out accurate statistics to status data, thus
The technical effect analyzed according to analysis of statistical results network service quality is realized, and then solving the prior art can not
The technical issues of accurate statistics are carried out to the network state information in entire request process.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair
Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart of network state information processing method according to an embodiment of the present invention;
Fig. 2 is a kind of schematic diagram of optional ltsh chain table according to an embodiment of the present invention;
Fig. 3 is a kind of interaction schematic diagram of optional network state information processing system according to an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of network state information processing unit according to an embodiment of the present invention;And
Fig. 5 is a kind of hardware block diagram of terminal according to an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work
It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or
Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover
Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to
Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product
Or other step or units that equipment is intrinsic.
Embodiment 1
According to embodiments of the present invention, a kind of embodiment of network state information processing method is additionally provided, needs to illustrate
It is that step shown in the flowchart of the accompanying drawings can execute in a computer system such as a set of computer executable instructions,
Also, although logical order is shown in flow charts, and it in some cases, can be to be different from sequence execution herein
Shown or described step.
In addition it is also necessary to which explanation, network state information processing method provided herein can be widely applied to
In terms of network operation.The application is by increasing HASH list structure on the basis of existing statistics network status information.When with
When access request is initiated at family, server calculates cryptographic Hash according to the source destination address and port information of the request, and will be corresponding
Nodal information is added in the HASH chained list of HASH list structure.Wherein, each node of HASH chained list can be reserved for multiple groups request
Corresponding average delay, retransmits the information such as packet number, transmit queue length at congestion window size.Therefore, server is according to HASH chain
Table structure can be obtained real-time network state information, also, when network breaks down, and network maintenance staff can be to passing through
The network state information that HASH list structure obtains is analyzed, to obtain the reason of network quality is deteriorated.
As shown in the above, by increasing HASH list structure, server is not only available to request connection procedure
In real time data, can also be gone out according to the real-time data analysis in connection procedure network quality be deteriorated the reason of.
Specifically, Fig. 1 is the flow chart of network state information processing method provided herein, as shown in Figure 1, network
State information processing method specifically comprises the following steps:
Step S102, for there is currently at least one network connection creation storage organization, wherein the life of storage organization
Period is the duration between the second moment that server receives the first moment of connection foundation request and connection procedure terminates.
It should be noted that server can for there is currently at least one network connection creation storage organization, wherein clothes
Device of being engaged in can be the server with Linux kernel module, and above-mentioned storage organization can be but be not limited to the node of HASH chained list,
The storage organization can record the case where quantization output information of each network connection, and each network connection is according to its source destination address
The corresponding HASH value of the network connection can be obtained with port information.
Specifically, user by user end to server send connection request, server after receiving connection request,
Feedback message is sent to client, for client after receiving feedback message, client sends confirmation connection to server again
Really it reads symbol, server is after receiving confirmation character, and confirmation is set up with client to be connect, at this point, server is
Current network connection creates storage organization.Wherein, when multiple client sends connection request to server simultaneously, server
Storage organization can be created for each connection.
In addition it is also necessary to explanation, server is after the access request for receiving client transmission, by access request
Corresponding data packet is all sent to client, at the time of client confirmation receives entire packet, as connection procedure
The second moment terminated.
Step S104 obtains the status data of at least one network connection according to default sampling time granularity respectively, wherein
Status data is used to monitor the network service quality of each network connection.
It should be noted that time granularity is the minimum unit for describing time data in temporal information system, the time is indicated
Discretization degree between point.In this application, preset sampling time granularity be M second, wherein M be positive integer and 1≤M≤5,
For example, M=3, i.e., every 3 seconds acquisition status datas, the value of default sampling time granularity can be configured according to the actual situation.
Wherein, status data can be but be not limited to the time delay of server, the size of congestion window, retransmit packet number, transmit queue length,
The data such as queue length received by receiving end.
Step S106 stores status data to storage organization, to obtain journal file, wherein journal file is for uniting
Count status data.
It should be noted that since each storage organization can store the corresponding status data of one or more network connections,
And exported in the form of journal file, therefore, when network maintenance staff needs to unite to the network state information of network connection
Timing, can be by obtaining the journal file in the corresponding storage organization of the network connection, and then to the status number in journal file
According to being counted, and determine according to statistical result the situation of change of the network environment of each network connection, and cause network rings
The reason of border changes.
Based on content defined by above-mentioned steps S102 to step S106, it can know, by for there is currently at least
One network connection creates storage organization, then obtains the shape of at least one network connection respectively according to default sampling time granularity
State data, and status data is stored to storage organization, to obtain journal file, wherein the life cycle of storage organization is clothes
The duration between the second moment that business device receives the first moment of connection request and connection procedure terminates, status data is for supervising
The network service quality of each network connection is controlled, journal file is used for statistic behavior data.
It is easily noted that, at the time of the life cycle of storage organization is that request is established in the connection received from server
At the time of end to connection procedure, within this period, connection status is between client and server, therefore, storage
What structure stored is the status data during the entire process of server is connect with client, i.e., the data energy stored in storage organization
Enough reflect the status information of each network connection each second, and then provides the foundation for accurate statistical data.Further, since storage
Structure storage is therefore the real time data being connected to the network is made by analyzing to analyze to the data in storage organization
The reason of at change of network environment.
As shown in the above, network state information processing method provided by the present application, can achieve to status data into
The purpose of row accurate statistics, so that the technical effect analyzed according to analysis of statistical results network service quality is realized,
And then solves the technical issues of prior art can not carry out accurate statistics to the network state information in entire request process.
In an alternative embodiment, server can be by the following method at least one network connection creation storage knot
Structure, specific step is as follows includes:
Step S1020 obtains the N tuple information of each network connection at least one network connection, wherein N tuple letter
Breath includes at least: each to be connected to the network corresponding source internet protocol address, purpose Internet protocol address, source port and mesh
Port, N is positive integer;
Step S1022 calculates the packet identification of each network connection according to N tuple information;
Step S1024 successively creates the storage organization of each network connection in the corresponding grouping of packet identification.
It should be noted that the packet identification of each network connection is cryptographic Hash, packet identification is corresponding to be grouped into Hash
Chained list, the storage organization of each network connection are a node in ltsh chain table.Optionally, N tuple information is four-tuple letter
Breath.
Specifically, as shown in Fig. 2, server creates four in one or more ltsh chain table for four network connections
A node.HASH value, which is calculated, by the four-tuple being connected to the network to every is put into same hash chain if HASH value is identical
In the different nodes of table;If HASH value is different, it is respectively put into the different nodes of different ltsh chain tables.Wherein, Fig. 2 shows
Go out four ltsh chain tables, respectively HASH1, HASH2, HASH3 and HASH4, the corresponding storage organization of every ltsh chain table
Number may be different, for example, packet identification is the ltsh chain table of HASH1, there are two storage organization NODE1 and NODE2 for tool;Grouping
It is identified as the ltsh chain table of HASH2, there are three storage organization NODE1, NODE2 and NODE3 for tool;Packet identification is the Kazakhstan of HASH3
Uncommon chained list, has a storage organization NODE1;Packet identification is the ltsh chain table of HASH4, has a storage organization NODE2.
In an alternative embodiment, server is after the storage organization for creating each network connection, it is also necessary to
The first numerical value is set by the value of the service condition field of the storage organization of each network connection, wherein the first numerical value is used for
Indicate each network connection in use state.Wherein, the service condition field of storage organization can be in_use field.Separately
Outside, different values is arranged in the service condition field of storage organization, the use state of network connection is indicated, for example, by storage organization
Service condition field be set as nonzero integer, then it represents that network connection be in use state;And by the use feelings of storage organization
Condition field is set as zero, then it represents that network connection is in unused state.
It should be noted that server can obtain respectively according to default sampling time granularity after creating storage organization
Take the status data of each network connection, the specific steps are as follows:
Step S1040, according to the sampling interval duration point of default sampling time granularity configuration timer.
Step S1042 acquires the status data of each network connection when reaching sampling interval duration point.
It should be noted that server can be used storage organization and unite to status data after obtaining status data
Meter.Specifically, server from there is currently grouping in search the corresponding storage organization of each network connection respectively, and according to adopting
Sample time sequencing stores each collected status data of network connection to corresponding storage organization.Specifically, in timer
Sampling interval duration point be set as 1 second in the case where, server once traversed entire list structure every 1 second, and
Corresponding status data storage will be connected to the network into corresponding storage organization.
In addition it is also necessary to explanation, the memory capacity of storage organization is limited, for example, storage organization can only store
30 groups of status data.Therefore, it stores by status data to storage organization, the storage that server detects storage organization is held
Whether amount has expired, if the memory capacity of storage organization has expired, server saves the status data in storage organization.
In an alternative embodiment, server is after counting status data using storage organization, first
It determines that the memory capacity of storage organization has expired, then exports the status data stored in storage organization into journal file, so
Continue to count next 30 groups of status data afterwards.In this process, server is not to the status data in storage organization
It is filtered, as long as just exporting status data to log text at this point, server detects that the memory capacity of storage organization has expired
In part, alternatively, whether the memory capacity every preset time (for example, 3 seconds) detection storage organization has expired, it is defeated if expired
Data do well into journal file.
In an alternative embodiment, the status data to be analyzed of network maintenance staff may not be storage knot
Therefore all data in structure before storing to status data, can first be filtered status data, only export
Status data after filter, the specific steps are as follows:
Step S2020 determines that the memory capacity of storage organization has expired;
Step S2022 is filtered the status data stored in storage organization according to default filter condition, obtains wait divide
Analyse status data;
Step S2024 is analysed to status data and exports to journal file.
It should be noted that above-mentioned default filter condition can be configured according to the actual demand of network maintenance staff, In
This is without limitation.
In addition it is also necessary to which explanation, exports by the status data of storage or status data to be analyzed to journal file
Later, server is handled according to the connection status of network connection.
In an alternative embodiment, terminated in determining network connection, server, which is deleted, is connected to the network corresponding deposits
Storage structure, the specific steps are as follows:
Step S2040 determines that part or overall network connection have terminated at least one network connection;
Step S2042 sets for the value of the service condition field for the storage organization being partly or entirely connected to the network
Two numerical value, wherein second value is for indicating each network connection in unused state;
Step S2044 deletes part or all of net from the grouping that the storage organization being partly or entirely connected to the network belongs to
The storage organization of network connection.
It should be noted that above-mentioned second value may be configured as 0.
Specifically, the corresponding network connection of HASH1 in Fig. 2 has terminated, and the corresponding network connection of HASH2-HASH4 is not
Terminate, then the value of the service condition field of the corresponding storage organization NODE1 and NODE2 of HASH1 is set as 0, deletes simultaneously
NODE1 and NODE2.
In an alternative embodiment, it exports by the status data of storage or status data to be analyzed to journal file
Later, server need to empty the content of storage organization, the specific steps are as follows:
Step S2060 determines that part or overall network connection not yet terminate at least one network connection;
Step S2062 carries out the storage organization being partly or entirely connected to the network to empty processing, to complete subsequent connection shape
State statistics is until being partly or entirely connected to the network terminates.
Specifically, server detection within a preset period of time client whether to server issue request or server to
Whether client sends the data of return, if within a preset period of time, client did not issued access request to server, and
And server does not also send the data returned to client, then server has determined the network connection between server and client side
Terminate;If within a preset period of time, user end to server issued access request or server and returned to client transmission
The data returned, then server determines that the network connection between server and client side not yet terminates.At this point, if the server determine that
Data in storage organization have exported, then server will empty the storage organization of network connection.
In an alternative embodiment, export by the status data of storage or status data to be analyzed to log text
After part, server obtains the change of network environment situation of each network connection by journal file, and is become according to network environment
Change the reason of situation analysis causes change of network environment.For example, server is analyzed by the size to congestion window, determine
The reason of network service quality is deteriorated when congestion window becomes smaller.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of
Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because
According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know
It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention
It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation
The network state information processing method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to
By hardware, but in many cases, the former is more preferably embodiment.Based on this understanding, technical solution of the present invention essence
On in other words the part that contributes to existing technology can be embodied in the form of software products, the computer software product
It is stored in a storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can
To be mobile phone, computer, server or the network equipment etc.) execute method described in each embodiment of the present invention.
Embodiment 2
According to embodiments of the present invention, it additionally provides a kind of for implementing the network-like of above-mentioned network state information processing method
State information processing unit, as shown in figure 4, network state information processing unit 100 includes: creation module 401, obtains module 403
And statistical module 405.
Wherein, creation module 401, for for there is currently at least one network connection creation storage organization, wherein deposit
The life cycle of storage structure is the second moment that server receives that the first moment of request is established in connection and connection procedure terminates
Between duration;Module 403 is obtained, for obtaining the state of at least one network connection respectively according to default sampling time granularity
Data, wherein status data is used to monitor the network service quality of each network connection;Statistical module 405 is used for status number
According to storing to storage organization, to obtain journal file, wherein journal file is used for statistic behavior data.
Herein it should be noted that above-mentioned creation module 401, acquisition module 403 and statistical module 405 correspond to implementation
Step S102 to step S106 in example 1, three modules are identical as example and application scenarios that corresponding step is realized, but not
It is limited to one disclosure of that of above-described embodiment.
From the foregoing, it will be observed that by creation module be there is currently at least one network connection creation storage organization, then obtain
Modulus block obtains status data of at least one network connection according to default sampling time granularity respectively, and statistical module is by status number
According to storing to storage organization, to obtain journal file, wherein the life cycle of storage organization is that server receives connection request
The first moment and the second moment for terminating of connection procedure between duration, status data is used to monitor the net of each network connection
Network service quality, journal file are used for statistic behavior data.
It is easily noted that, at the time of the life cycle of storage organization is that request is established in the connection received from server
At the time of end to connection procedure, within this period, connection status is between client and server, therefore, storage
What structure stored is the status data during the entire process of server is connect with client, i.e., the data energy stored in storage organization
Enough reflect the status information of each network connection each second, and then provides the foundation for accurate statistical data.Further, since storage
Structure storage is therefore the real time data being connected to the network is made by analyzing to analyze to the data in storage organization
The reason of at change of network environment.
As shown in the above, network state information processing unit provided by the present application, can achieve to status data into
The purpose of row accurate statistics, so that the technical effect analyzed according to analysis of statistical results network service quality is realized,
And then solves the technical issues of prior art can not carry out accurate statistics to the network state information in entire request process.
In an alternative embodiment, creation module includes: the first acquisition module, computing module and the first creation mould
Block.Wherein, first module is obtained, for obtaining the N tuple information of each network connection at least one network connection, wherein N
Tuple information includes at least: each to be connected to the network corresponding source internet protocol address, purpose Internet protocol address, source port
And destination port, N are positive integer;Computing module, for calculating the packet identification of each network connection according to N tuple information;
First creation module, for successively creating the storage organization of each network connection in the corresponding grouping of packet identification.
It should be noted that packet identification is cryptographic Hash, packet identification is corresponding to be grouped into ltsh chain table, and each network connects
The storage organization connect is a node in ltsh chain table.In addition, N tuple information can be quaternary group information.When default sampling
Between granularity be M second, wherein M be positive integer and 1≤M≤5.
Herein it should be noted that above-mentioned first obtains module, computing module and the first creation module corresponding to implementation
Step S1020 to step S1024 in example 1, three modules are identical as example and application scenarios that corresponding step is realized, but
It is not limited to the above embodiments a disclosure of that.
In an alternative embodiment, network state information processing unit further include: the first configuration module.Wherein,
One configuration module, for setting the first numerical value for the value of the service condition field of the storage organization of each network connection,
In, the first numerical value is for indicating each network connection in use state.
In an alternative embodiment, obtaining module includes: the second configuration module and acquisition module.Wherein, second
Configuration module, for the sampling interval duration point according to default sampling time granularity configuration timer;Acquisition module, for whenever
When sampling interval duration point reaches, the status data of each network connection is acquired.
Herein it should be noted that above-mentioned second configuration module and acquisition module correspond to the step in embodiment 1
S1040 to step S1042, two modules are identical as example and application scenarios that corresponding step is realized, but are not limited to above-mentioned
One disclosure of that of embodiment.
In an alternative embodiment, statistical module includes: enquiry module and memory module.Wherein, enquiry module,
For from there is currently grouping in search the corresponding storage organization of each network connection respectively;Memory module, for according to adopting
Sample time sequencing stores each collected status data of network connection to corresponding storage organization.
In an alternative embodiment, network state information processing unit further include: the first determining module and first
Output module.Wherein, the first determining module, for determining that the memory capacity of storage organization has expired;First output module, being used for will
The status data stored in storage organization is exported to journal file.
In an alternative embodiment, network state information processing unit further include: the second determining module, filtering module
And second output module.Wherein, the second determining module, for determining that the memory capacity of storage organization has expired;Filtering module is used
In being filtered according to default filter condition to the status data stored in storage organization, status data to be analyzed is obtained;Second
Output module is exported for being analysed to status data to journal file.
Herein it should be noted that above-mentioned second determining module, filtering module and the second output module correspond to implementation
Step S2020 to step S2024 in example 1, three modules are identical as example and application scenarios that corresponding step is realized, but
It is not limited to the above embodiments a disclosure of that.
In an alternative embodiment, network state information processing unit further include: third determining module, third configuration
Module and removing module.Wherein, third determining module, for determining, part or overall network connect at least one network connection
Connecing has terminated;Third configuration module, for by the value of the service condition field for the storage organization being partly or entirely connected to the network
It is set as second value, wherein second value is for indicating each network connection in unused state;Removing module is used for
The storage organization being partly or entirely connected to the network is deleted from the grouping that the storage organization being partly or entirely connected to the network belongs to.
Herein it should be noted that above-mentioned third determining module, third configuration module and removing module correspond to implementation
Step S2040 to step S2044 in example 1, three modules are identical as example and application scenarios that corresponding step is realized, but
It is not limited to the above embodiments a disclosure of that.
In an alternative embodiment, network state information processing unit further include: the 4th determining module and empty
Module.Wherein, the 4th determining module, for determining, part or overall network connection not yet terminate at least one network connection;
Module is emptied, empties processing for carrying out to the storage organization being partly or entirely connected to the network, to complete subsequent connection status system
Meter is until being partly or entirely connected to the network terminates.
Herein it should be noted that above-mentioned 4th determining module and emptying module corresponding to the step in embodiment 1
S2060 to step S2062, two modules are identical as example and application scenarios that corresponding step is realized, but are not limited to above-mentioned
One disclosure of that of embodiment.
In an alternative embodiment, network state information processing unit further include: analysis module.Wherein, mould is analyzed
Block, for obtaining the change of network environment situation of each network connection by journal file, and according to change of network environment situation
The reason of analysis causes change of network environment.
Embodiment 3
According to embodiments of the present invention, it additionally provides a kind of for implementing the network-like of above-mentioned network state information processing method
State information processing system, as shown in figure 3, the system includes: timer, server and client.
Wherein, server is communicated with client, and executes following steps: for there is currently at least one network company
Connect creation storage organization, wherein the life cycle of storage organization be server receive connection establish request the first moment with
The duration between the second moment that connection procedure terminates;At least one network connection is obtained respectively according to default sampling time granularity
Status data, wherein status data is used to monitor the network service quality of each network connection;Status data is stored to depositing
Storage structure, to obtain journal file, wherein journal file is used for statistic behavior data.
From the foregoing, it will be observed that server pass through for there is currently at least one network connection creation storage organization, then according to
Default sampling time granularity obtains the status data of at least one network connection respectively, and status data is stored to storage and is tied
Structure, to obtain journal file, wherein the life cycle of storage organization is the first moment and the company that server receives connection request
The duration between the second moment that termination process terminates, status data are used to monitor the network service quality of each network connection, day
Will file is used for statistic behavior data.
It is easily noted that, at the time of the life cycle of storage organization is that request is established in the connection received from server
At the time of end to connection procedure, within this period, connection status is between client and server, therefore, storage
What structure stored is the status data during the entire process of server is connect with client, i.e., the data energy stored in storage organization
Enough reflect the status information of each network connection each second, and then provides the foundation for accurate statistical data.Further, since storage
Structure storage is therefore the real time data being connected to the network is made by analyzing to analyze to the data in storage organization
The reason of at change of network environment.
As shown in the above, network state information processing system provided by the present application, can achieve to status data into
The purpose of row accurate statistics, so that the technical effect analyzed according to analysis of statistical results network service quality is realized,
And then solves the technical issues of prior art can not carry out accurate statistics to the network state information in entire request process.
In a kind of preferred embodiment, Fig. 3 shows the interaction schematic diagram of network state information processing system.Specific step
It is rapid as follows:
Step S1, user end to server send connection request, and server is after receiving connection request, to client
Return to feedback message;Client sends confirmation to server and connects symbol of reading really after receiving feedback message.
Step S2, for server after receiving confirmation character, confirmation server establishes connection with client, at this point,
Server creates storage organization, and initializes to storage organization.
Step S3, after server and client establish connection, user end to server sends network connection.
Step S4, server is after the network connection for receiving client transmission, and server is by the quaternary of network connection
Group information is inserted into HASH chained list (i.e. Hash table), wherein quaternary group information includes: the corresponding source interconnection net association of network connection
Discuss address, purpose Internet protocol address, source port and destination port.
Step S5, server send response message to client.
Step S6, at this point, the sampling interval duration point of timer reaches, quaternary group information is saved in corresponding by server
In storage organization.
The sampling interval duration point of step S7, timer reach, and server sends response message to client again.
Step S8, when timer reaches sampling interval duration point, server exports the data in storage organization.
Step S9, server send response message to client again.
In an alternative embodiment, server is also used to obtain each network connection at least one network connection
N tuple information, wherein N tuple at least information includes: the corresponding source internet protocol address of each network connection, purpose interconnection
FidonetFido address, source port and destination port, N are positive integer;The grouping mark of each network connection is calculated according to N tuple information
Know;The storage organization of each network connection is successively created in the corresponding grouping of packet identification.Wherein, packet identification is Hash
Value, packet identification is corresponding to be grouped into ltsh chain table, and the storage organization of each network connection is a node in ltsh chain table.
Optionally, N tuple information can be quaternary group information, and presetting sampling time granularity is M second, wherein M for positive integer and 1≤M≤
5。
In an alternative embodiment, server is also used to the service condition word of the storage organization of each network connection
The value of section is set as the first numerical value, wherein the first numerical value is for indicating each network connection in use state.
In an alternative embodiment, server is also used to configure the sampling of timer according to default sampling time granularity
Interval time point;When reaching sampling interval duration point, the status data of each network connection is acquired.
In an alternative embodiment, server be also used to from there is currently grouping in search each network respectively and connect
Connect corresponding storage organization;Each collected status data of network connection is stored to corresponding according to sample time order and is deposited
Storage structure.
In an alternative embodiment, server is also used to determine that the memory capacity of storage organization has expired;Storage is tied
The status data stored in structure is exported to journal file.
In an alternative embodiment, server is also used to determine that the memory capacity of storage organization has expired;According to default
Filter condition is filtered the status data stored in storage organization, obtains status data to be analyzed;It is analysed to status number
According to output to journal file.
In an alternative embodiment, server is also used to determine part or overall network at least one network connection
Connection has terminated;Second value is set by the value of the service condition field for the storage organization being partly or entirely connected to the network,
Wherein, second value is for indicating each network connection in unused state;From the storage knot being partly or entirely connected to the network
The storage organization being partly or entirely connected to the network is deleted in the grouping of structure ownership.
In an alternative embodiment, server is also used to determine part or overall network at least one network connection
Connection not yet terminates;The storage organization being partly or entirely connected to the network is carried out to empty processing, to complete subsequent connection status system
Meter is until being partly or entirely connected to the network terminates.
In an alternative embodiment, server is also used to obtain the network rings of each network connection by journal file
Border situation of change, and the reason of cause change of network environment according to change of network environment situation analysis.
Embodiment 4
The embodiment of the present invention can provide a kind of terminal, which can be in terminal group
Any one computer terminal.Optionally, in the present embodiment, above-mentioned terminal also could alternatively be mobile whole
The terminal devices such as end.
Optionally, in the present embodiment, above-mentioned terminal can be located in multiple network equipments of computer network
At least one network equipment.
Fig. 5 shows a kind of hardware block diagram of terminal.As shown in figure 5, terminal A may include one
(processor 502 may include but unlimited for a or multiple (502a, 502b ... ... being used in figure, 502n is shown) processor 502
In the processing unit of Micro-processor MCV or programmable logic device FPGA etc.), memory 504, Yi Jiyong for storing data
In the transmitting device 506 of communication function.In addition to this, it can also include: display, input/output interface (I/O interface), lead to
With the port universal serial bus (USB) (can be used as a port in the port of I/O interface is included), network interface, power supply and/
Or camera.It will appreciated by the skilled person that structure shown in fig. 5 is only to illustrate, not to above-mentioned electronic device
Structure cause to limit.For example, terminal A may also include the more perhaps less component than shown in Fig. 5 or have
The configuration different from shown in Fig. 5.
It is to be noted that said one or multiple processors 502 and/or other data processing circuits lead to herein
Can often " data processing circuit " be referred to as.The data processing circuit all or part of can be presented as software, hardware, firmware
Or any other combination.In addition, data processing circuit for single independent processing module or all or part of can be integrated to meter
In any one in other elements in calculation machine terminal A.As involved in the embodiment of the present application, the data processing circuit
(such as the selection for the variable resistance end path connecting with interface) is controlled as a kind of processor.
Processor 502 can call the information and application program of memory storage by transmitting device, to execute following steps
It is rapid: for there is currently at least one network connection creation storage organization, wherein the life cycle of storage organization connects for server
Receive the duration between the second moment that the first moment of request is established in connection and connection procedure terminates;According to the default sampling time
Granularity obtains the status data of at least one network connection respectively, wherein status data is used to monitor the net of each network connection
Network service quality;Status data is stored to storage organization, to obtain journal file, wherein journal file is used for statistic behavior
Data.
Memory 504 can be used for storing the software program and module of application software, such as the network in the embodiment of the present application
Corresponding program instruction/the data storage device of state information processing method, processor 502 are stored in memory 504 by operation
Interior software program and module realizes above-mentioned network state letter thereby executing various function application and data processing
Cease processing method.Memory 504 may include high speed random access memory, may also include nonvolatile memory, such as one or more
A magnetic storage device, flash memory or other non-volatile solid state memories.In some instances, memory 504 can be further
Including the memory remotely located relative to processor 502, these remote memories can pass through network connection to computer end
Hold A.The example of above-mentioned network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Transmitting device 506 is used to that data to be received or sent via a network.Above-mentioned network specific example may include
The wireless network that the communication providers of terminal A provide.In an example, transmitting device 506 includes that a network is suitable
Orchestration (Network Interface Control ler, NIC), can be connected by base station with other network equipments so as to
It is communicated with internet.In an example, transmitting device 506 can be radio frequency (Radio Frequency, RF) module,
It is used to wirelessly be communicated with internet.
Display can such as touch-screen type liquid crystal display (LCD), the liquid crystal display aloow user with
The user interface of terminal A interacts.
Herein it should be noted that in some optional embodiments, above-mentioned terminal A shown in fig. 5 may include
Hardware element (including circuit), software element (including the computer code that may be stored on the computer-readable medium) or hardware member
The combination of both part and software element.It should be pointed out that Fig. 5 is only an example of particular embodiment, and it is intended to show
It may be present in the type of the component in above-mentioned terminal A out.
In the present embodiment, above-mentioned terminal A can be in the network state information processing method of executing application
The program code of following steps: for there is currently at least one network connection creation storage organization, wherein the life of storage organization
The life period is the duration between the second moment that server receives the first moment of connection foundation request and connection procedure terminates;
Obtain the status data of at least one network connection respectively according to default sampling time granularity, wherein status data is for monitoring
The network service quality of each network connection;Status data is stored to storage organization, to obtain journal file, wherein log
File is used for statistic behavior data.
Optionally, the program code of following steps can also be performed in above-mentioned processor: obtaining at least one network connection
The N tuple information of each network connection, wherein N tuple information includes at least: each to be connected to the network corresponding source internet protocol
Address, purpose Internet protocol address, source port and destination port, N are positive integer;Each net is calculated according to N tuple information
The packet identification of network connection;The storage organization of each network connection is successively created in the corresponding grouping of packet identification.Wherein, divide
Group is identified as cryptographic Hash, and packet identification is corresponding to be grouped into ltsh chain table, and the storage organization of each network connection is ltsh chain table
In a node.
Optionally, N tuple information is quaternary group information, and presetting sampling time granularity is M seconds, wherein M is positive integer and 1
≤M≤5。
Optionally, the program code of following steps can also be performed in above-mentioned processor: by the storage knot of each network connection
The value of the service condition field of structure is set as the first numerical value, wherein the first numerical value makes for indicating that each network connection is in
Use state.
Optionally, the program code of following steps can also be performed in above-mentioned processor: matching according to default sampling time granularity
Set the sampling interval duration point of timer;When reaching sampling interval duration point, the status data of each network connection is acquired.
Optionally, the program code of following steps can also be performed in above-mentioned processor: from there is currently grouping in respectively
Search the corresponding storage organization of each network connection;Collected status data is connected to the network by each according to sample time order
It stores to corresponding storage organization.
Optionally, the program code of following steps can also be performed in above-mentioned processor: determining the memory capacity of storage organization
Expire;The status data stored in storage organization is exported to journal file.
Optionally, the program code of following steps can also be performed in above-mentioned processor: determining the memory capacity of storage organization
Expire;The status data stored in storage organization is filtered according to default filter condition, obtains status data to be analyzed;It will
Status data to be analyzed is exported to journal file.
Optionally, the program code of following steps can also be performed in above-mentioned processor: determining at least one network connection
Partly or entirely network connection has terminated;The value of the service condition field for the storage organization being partly or entirely connected to the network is set
It is set to second value, wherein second value is for indicating each network connection in unused state;From part or all of network
The storage organization being partly or entirely connected to the network is deleted in the grouping of the storage organization ownership of connection.
Optionally, the program code of following steps can also be performed in above-mentioned processor: determining at least one network connection
Partly or entirely network connection not yet terminates;The storage organization being partly or entirely connected to the network is carried out to empty processing, to complete
Subsequent connection status statistics is until being partly or entirely connected to the network terminates.
Optionally, the program code of following steps can also be performed in above-mentioned processor: obtaining each net by journal file
The change of network environment situation of network connection, and the reason of cause change of network environment according to change of network environment situation analysis.
It will appreciated by the skilled person that structure shown in fig. 5 is only to illustrate, terminal is also possible to intelligence
It can mobile phone (such as Android phone, iOS mobile phone), tablet computer, applause computer and mobile internet device (Mobi
LeInternetDevices, MID), the terminal devices such as PAD.Fig. 5 it does not cause to limit to the structure of above-mentioned electronic device.Example
Such as, terminal A may also include the more or less component (such as network interface, display device) than shown in Fig. 5, or
Person has the configuration different from shown in Fig. 5.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can
It is completed with instructing the relevant hardware of terminal device by program, which can store in a computer readable storage medium
In, storage medium may include: flash disk, read-only memory (Read-Only Memory, ROM), random access device (Random
Access Memory, RAM), disk or CD etc..
Embodiment 5
The embodiments of the present invention also provide a kind of storage mediums.Optionally, in the present embodiment, above-mentioned storage medium can
For saving program code performed by network state information processing method provided by above-described embodiment one.
Optionally, in the present embodiment, above-mentioned storage medium can be located in computer network in computer terminal group
In any one terminal, or in any one mobile terminal in mobile terminal group.
Optionally, in the present embodiment, storage medium is arranged to store the program code for executing following steps: for
There is currently at least one network connection creation storage organization, wherein the life cycle of storage organization receives for server
The duration between the second moment that the first moment of request is established in connection and connection procedure terminates;According to default sampling time granularity
The status data of at least one network connection is obtained respectively, wherein status data is used to monitor the network clothes of each network connection
Business quality;Status data is stored to storage organization, to obtain journal file, wherein journal file is used for statistic behavior data.
Optionally, in the present embodiment, storage medium is arranged to store the program code for executing following steps: obtaining
Take the N tuple information of each network connection at least one network connection, wherein N tuple information includes at least: each network connects
Corresponding source internet protocol address, purpose Internet protocol address, source port and destination port are connect, N is positive integer;According to
N tuple information calculates the packet identification of each network connection;Each network is successively created in the corresponding grouping of packet identification to connect
The storage organization connect.Wherein, packet identification is cryptographic Hash, and packet identification is corresponding to be grouped into ltsh chain table, each network connection
Storage organization be ltsh chain table in a node.
Optionally, N tuple information is quaternary group information, and presetting sampling time granularity is M seconds, wherein M is positive integer and 1
≤M≤5。
Optionally, in the present embodiment, storage medium is arranged to store the program code for executing following steps: will
The value of the service condition field of the storage organization of each network connection is set as the first numerical value, wherein the first numerical value is used for table
Show each network connection in use state.
Optionally, in the present embodiment, storage medium is arranged to store the program code for executing following steps: pressing
According to the sampling interval duration point of default sampling time granularity configuration timer;When reaching sampling interval duration point, acquisition is every
The status data of a network connection.
Optionally, in the present embodiment, storage medium is arranged to store the program code for executing following steps: from
There is currently grouping in search the corresponding storage organization of each network connection respectively;According to sample time order by each network
Collected status data is connected to store to corresponding storage organization.
Optionally, in the present embodiment, storage medium is arranged to store the program code for executing following steps: really
The memory capacity for determining storage organization has expired;The status data stored in storage organization is exported to journal file.
Optionally, in the present embodiment, storage medium is arranged to store the program code for executing following steps: really
The memory capacity for determining storage organization has expired;The status data stored in storage organization is filtered according to default filter condition,
Obtain status data to be analyzed;Status data is analysed to export to journal file.
Optionally, in the present embodiment, storage medium is arranged to store the program code for executing following steps: really
Part or overall network connection have terminated at least one fixed network connection;By the storage organization being partly or entirely connected to the network
The value of service condition field is set as second value, wherein second value is for indicating each network connection in unused
State;The storage knot being partly or entirely connected to the network is deleted from the grouping that the storage organization being partly or entirely connected to the network belongs to
Structure.
Optionally, in the present embodiment, storage medium is arranged to store the program code for executing following steps: really
Part or overall network connection not yet terminate at least one fixed network connection;To the storage organization being partly or entirely connected to the network
It carries out emptying processing, to complete subsequent connection status statistics until partly or entirely network connection terminates.
Optionally, in the present embodiment, storage medium is arranged to store the program code for executing following steps: logical
The change of network environment situation that journal file obtains each network connection is crossed, and net is caused according to change of network environment situation analysis
The reason of network environmental change.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment
The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others
Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, only
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module
It connects, can be electrical 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, the functional units in various embodiments of the present invention may be integrated into 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, technical solution of the present invention 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 for personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or
Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code
Medium.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.
Claims (18)
1. a kind of network state information processing method characterized by comprising
For there is currently at least one network connection creation storage organization;
Obtain the status data of at least one network connection respectively according to default sampling time granularity, wherein the state
Data are used to monitor the network service quality of each network connection;
The status data is stored to the storage organization, to obtain journal file, wherein the journal file is for counting
The status data.
2. the method according to claim 1, wherein at least one described network connection creation storage organization packet
It includes:
Obtain the N tuple information of each network connection at least one described network connection, wherein the N tuple information is at least
It include: the corresponding source internet protocol address of each network connection, purpose Internet protocol address, source port and destination
Mouthful, N is positive integer;
The packet identification of each network connection is calculated according to the N tuple information;
The storage organization of each network connection is successively created in the corresponding grouping of the packet identification.
3. according to the method described in claim 2, it is characterized in that, the packet identification is cryptographic Hash, the packet identification pair
That answers is grouped into ltsh chain table, and the storage organization of each network connection is a node in the ltsh chain table.
4. according to the method described in claim 2, it is characterized in that, being gone back after the storage organization for creating each network connection
Include:
The first numerical value is set by the value of the service condition field of the storage organization of each network connection, wherein described first
Numerical value is for indicating each network connection in use state.
5. according to the method described in claim 2, it is characterized in that, being obtained respectively each according to the default sampling time granularity
The status data of network connection includes:
According to the sampling interval duration point of the default sampling time granularity configuration timer;
When reaching the sampling interval duration point, the status data of each network connection is acquired.
6. according to the method described in claim 5, it is characterized in that, the status data is stored to the storage organization packet
It includes:
From there is currently grouping in search the corresponding storage organization of each network connection respectively;
Each collected status data of network connection is stored to corresponding storage organization according to sample time order.
7. the method according to claim 1, wherein by the status data store to the storage organization it
Afterwards, further includes:
Determine that the memory capacity of the storage organization has expired;
The status data stored in the storage organization is exported to the journal file.
8. the method according to claim 1, wherein by the status data store to the storage organization it
Afterwards, further includes:
Determine that the memory capacity of the storage organization has expired;
The status data stored in the storage organization is filtered according to default filter condition, obtains status number to be analyzed
According to;
The status data to be analyzed is exported to the journal file.
9. method according to claim 7 or 8, which is characterized in that export by the status data to the log text
After part, further includes:
Determine that part or overall network connection have terminated at least one described network connection;
Second value is set by the value of the service condition field of the storage organization being partly or entirely connected to the network,
In, the second value is for indicating each network connection in unused state;
The part or all of network connection is deleted from the grouping that the storage organization being partly or entirely connected to the network belongs to
Storage organization.
10. method according to claim 7 or 8, which is characterized in that export by the status data to the log text
After part, further includes:
Determine that part or overall network connection not yet terminate at least one described network connection;
The storage organization being partly or entirely connected to the network is carried out emptying processing, to complete subsequent connection status statistics until
The part or all of network connection terminates.
11. method according to claim 7 or 8, which is characterized in that export in the status data to the journal file
Later, further includes:
The change of network environment situation of each network connection is obtained by the journal file, and according to the change of network environment
Situation analysis causes the reason of change of network environment.
12. the method according to claim 1, wherein the life cycle of the storage organization is server reception
Duration between the second moment that the first moment of request is established in connection and connection procedure terminates.
13. according to the method described in claim 2, it is characterized in that, the N tuple information is quaternary group information.
14. according to the method described in claim 2, it is characterized in that, the default sampling time granularity is M seconds, wherein M is
Positive integer and 1≤M≤5.
15. a kind of network state information processing unit characterized by comprising
Creation module, for for there is currently at least one network connection creation storage organization;
Module is obtained, for obtaining the status data of at least one network connection respectively according to default sampling time granularity,
Wherein, the status data is used to monitor the network service quality of each network connection;
Statistical module, for storing the status data to the storage organization, to obtain journal file, wherein the day
Will file is for counting the status data.
16. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein run in described program
When control the storage medium where equipment execute following steps:
For there is currently at least one network connection creation storage organization;
The status data at least one described network connection is obtained respectively according to default sampling time granularity, wherein the shape
State data are used to monitor the network service quality of each network connection;
The status data is stored to the storage organization, to obtain journal file, wherein the journal file is for counting
The status data.
17. a kind of processor, which is characterized in that the processor is for running program, wherein executed such as when described program is run
Lower step:
For there is currently at least one network connection creation storage organization;
The status data of at least one network connection is obtained according to difference granularity of default sampling time, wherein the state
Data are used to monitor the network service quality of each network connection;
The status data is stored to the storage organization, to obtain journal file, wherein the journal file is for counting
The status data.
18. a kind of network state information processing system characterized by comprising
Timer, server and client;
Wherein, the server is communicated with the client, and executes following steps:
For there is currently at least one network connection creation storage organization;
Obtain the status data of at least one network connection respectively according to default sampling time granularity, wherein the state
Data are used to monitor the network service quality of each network connection;
The status data is stored to the storage organization, to obtain journal file, wherein the journal file is for counting
The status data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810450352.5A CN110474789A (en) | 2018-05-11 | 2018-05-11 | Network state information processing method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810450352.5A CN110474789A (en) | 2018-05-11 | 2018-05-11 | Network state information processing method, device and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110474789A true CN110474789A (en) | 2019-11-19 |
Family
ID=68504470
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810450352.5A Pending CN110474789A (en) | 2018-05-11 | 2018-05-11 | Network state information processing method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110474789A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112630557A (en) * | 2020-11-25 | 2021-04-09 | 深圳市宏电技术股份有限公司 | Equipment state detection method, device, equipment and medium |
CN112749354A (en) * | 2020-12-29 | 2021-05-04 | 深圳赛安特技术服务有限公司 | Data scanning method, device, computer equipment and medium based on artificial intelligence |
CN113595776A (en) * | 2021-07-22 | 2021-11-02 | 中移(杭州)信息技术有限公司 | Monitoring data processing method and system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050094637A1 (en) * | 2003-09-25 | 2005-05-05 | Kentaro Umesawa | Communication connection method, authentication method, server computer, client computer and program |
CN103179039A (en) * | 2012-10-25 | 2013-06-26 | 四川省电力公司信息通信公司 | Method for effectively filtering normal network data package |
CN106341291A (en) * | 2016-09-08 | 2017-01-18 | 北京小米移动软件有限公司 | Test method of network connection stability and apparatus thereof |
-
2018
- 2018-05-11 CN CN201810450352.5A patent/CN110474789A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050094637A1 (en) * | 2003-09-25 | 2005-05-05 | Kentaro Umesawa | Communication connection method, authentication method, server computer, client computer and program |
CN103179039A (en) * | 2012-10-25 | 2013-06-26 | 四川省电力公司信息通信公司 | Method for effectively filtering normal network data package |
CN106341291A (en) * | 2016-09-08 | 2017-01-18 | 北京小米移动软件有限公司 | Test method of network connection stability and apparatus thereof |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112630557A (en) * | 2020-11-25 | 2021-04-09 | 深圳市宏电技术股份有限公司 | Equipment state detection method, device, equipment and medium |
CN112749354A (en) * | 2020-12-29 | 2021-05-04 | 深圳赛安特技术服务有限公司 | Data scanning method, device, computer equipment and medium based on artificial intelligence |
CN112749354B (en) * | 2020-12-29 | 2024-04-02 | 深圳赛安特技术服务有限公司 | Data scanning method, device, computer equipment and medium based on artificial intelligence |
CN113595776A (en) * | 2021-07-22 | 2021-11-02 | 中移(杭州)信息技术有限公司 | Monitoring data processing method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110535965A (en) | A kind of data processing method and device, storage medium | |
CN103795580B (en) | A kind of data monitoring method, system and relevant device | |
CN110474789A (en) | Network state information processing method, device and system | |
CN110417558A (en) | Verification method and device, the storage medium and electronic device of signature | |
CN105930191B (en) | The overloaded method and device of system service | |
CN106101264A (en) | Content distributing network daily record method for pushing, device and system | |
CN110795203A (en) | Resource scheduling method, device and system and computing equipment | |
CN108924050A (en) | Data forwarding method and its device, storage medium and network card equipment | |
CN109271793A (en) | Internet of Things cloud platform device class recognition methods and system | |
CN109636304B (en) | Business system publishing method and device, storage medium and electronic device | |
CN109873734A (en) | A kind of bottom data monitoring method, medium, equipment and device | |
CN110505640A (en) | The processing method of apparatus bound, apparatus and system, to distribution net equipment and terminal | |
CN108733545B (en) | Pressure testing method and device | |
CN108075912A (en) | The definite method, apparatus and device node of Network Central Node | |
CN108989101A (en) | A kind of log output system, method and electronic equipment | |
CN104683460B (en) | A kind of communication means of Internet of Things, device and server | |
CN110855741A (en) | Service self-adaptive access method and device, storage medium and electronic device | |
CN110430070A (en) | A kind of service state analysis method, device, server, data analysis equipment and medium | |
CN110245759A (en) | A kind of method for inspecting, system, server and equipment | |
CN109597735A (en) | Monitoring method, system and storage medium | |
CN108462590A (en) | The monitoring method and device of network flow, terminal | |
CN109299195A (en) | Data processing method, device and storage medium | |
CN110198246B (en) | Method and system for monitoring flow | |
CN107332739A (en) | Network detecting method, network detection means and intelligent terminal | |
CN110188258A (en) | The method and device of external data is obtained using crawler |
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 | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 40016350 Country of ref document: HK |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191119 |