CN107086943A - The computational methods and system of packet loss in network linking - Google Patents
The computational methods and system of packet loss in network linking Download PDFInfo
- Publication number
- CN107086943A CN107086943A CN201710373758.3A CN201710373758A CN107086943A CN 107086943 A CN107086943 A CN 107086943A CN 201710373758 A CN201710373758 A CN 201710373758A CN 107086943 A CN107086943 A CN 107086943A
- Authority
- CN
- China
- Prior art keywords
- packet
- packet loss
- network linking
- computational methods
- header field
- 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
- 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
- H04L43/0823—Errors, e.g. transmission errors
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides the computational methods and system of packet loss in a kind of network linking, methods described comprises the following steps:Receive packet to be sent;By the quantity of interpolation data bag in the header field of the packet;The packet is such as received, the first quantity in header field is extracted and detects the second quantity of the packet, the difference of the first quantity and the second quantity is packet loss quantity.The technical scheme that the present invention is provided has the advantages that user experience is high.
Description
Technical field
The present invention relates to the computational methods and system of packet loss in the communications field, more particularly to a kind of network linking.
Background technology
Network linking is the link that data are sent in network, and existing link occurs packet loss, link can to whether packet loss
Detected, but link can not calculate specific packet loss quantity, and then influence customer experience degree.
The content of the invention
A kind of computational methods of packet loss in network linking are provided, which solve prior art customer experience degree difference lack
Point.
On the one hand there is provided a kind of computational methods of packet loss in network linking, methods described comprises the following steps:
Receive packet to be sent;
By the quantity of interpolation data bag in the header field of the packet;
The packet is such as received, the first quantity in header field is extracted and detects the second quantity of the packet, the
The difference of one quantity and the second quantity is packet loss quantity.
Optionally, methods described also includes:
Packet loss quantity is returned, the data retransmitted are received.
Optionally, methods described also includes:
First quantity is added to the extended field in packet header.
Second aspect includes there is provided a kind of computing system of packet loss in network linking, methods described:
Receiving unit, the packet to be sent for receiving;
Adding device, the quantity for interpolation data bag in the header field by the packet;
Control unit, for such as receiving the packet, extracts the first quantity in header field and detects the packet
The second quantity, the difference of the first quantity and the second quantity is packet loss quantity.
Optionally, the system also includes:
Control unit, for packet loss quantity to be returned, receives the data retransmitted.
Optionally, the system also includes:
Control unit, the extended field for first quantity to be added to packet header.
The third aspect is stored thereon with computer program there is provided a kind of computer-readable recording medium, and the program is processed
Device realizes the computational methods of packet loss in above-mentioned network linking when performing.
There is provided a kind of terminal, including one or more processors, memory, transceiver, and one or many for fourth aspect
Individual program, one or more of programs are stored in the memory, and are configured by one or more of processing
Device is performed, and described program includes the instruction for being used to perform the step in above-mentioned network linking in the computational methods of packet loss.
The technical scheme that the specific embodiment of the invention is provided receives packet to be sent, by the packet header word of the packet
The quantity of interpolation data bag in section, such as receives the packet, extracts the first quantity in header field and detects the packet
The second quantity, the difference of the first quantity and the second quantity is packet loss quantity, so it, which has, calculates specific packet loss quantity, is carried
The advantage of high user experience.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
The flow chart of the computational methods of packet loss in a kind of network linking that Fig. 1 provides for the present invention.
The structure chart of the computing system of packet loss in a kind of network linking that Fig. 2 provides for the present invention.
A kind of hardware architecture diagram for terminal that Fig. 3 provides for the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
Refering to Fig. 1, the computational methods of packet loss in a kind of network linking that Fig. 1 provides for the first better embodiment of the invention
Flow chart, this method completes by a node, and this method is as shown in figure 1, comprise the following steps:
Step S101, reception packet to be sent;
Step S102, the quantity by interpolation data bag in the header field of the packet;
Step S103, such as receive the packet, extract the first quantity in header field and detect the of the packet
Two quantity, the difference of the first quantity and the second quantity is packet loss quantity.
The technical scheme that the specific embodiment of the invention is provided receives packet to be sent, by the packet header word of the packet
The quantity of interpolation data bag in section, such as receives the packet, extracts the first quantity in header field and detects the packet
The second quantity, the difference of the first quantity and the second quantity is packet loss quantity, so it, which has, calculates specific packet loss quantity, is carried
The advantage of high user experience.
Optionally, it can also include after above-mentioned steps S103:
Packet loss quantity is returned, the data retransmitted are received.
Optionally, it can also include after above-mentioned steps S103:
First quantity is added to the extended field in packet header.
Refering to Fig. 2, the calculating system of packet loss in a kind of network linking that Fig. 2 provides for the second better embodiment of the invention
System, the system as shown in Fig. 2 including:
Receiving unit 201, the packet to be sent for receiving;
Adding device 202, the quantity for interpolation data bag in the header field by the packet;
Control unit 203, for such as receiving the packet, extracts the first quantity in header field and detects the data
Second quantity of bag, the difference of the first quantity and the second quantity is packet loss quantity.
The technical scheme that the specific embodiment of the invention is provided receives packet to be sent, by the packet header word of the packet
The quantity of interpolation data bag in section, such as receives the packet, extracts the first quantity in header field and detects the packet
The second quantity, the difference of the first quantity and the second quantity is packet loss quantity, so it, which has, calculates specific packet loss quantity, is carried
The advantage of high user experience.
Optionally, said system can also include:
Control unit 203, for packet loss quantity to be returned, receives the data retransmitted.
Optionally, said system can also include:
Control unit 203, the extended field for first quantity to be added to packet header.
It should be noted that for foregoing each method embodiment or embodiment, in order to be briefly described, therefore by its all table
State as a series of combination of actions, but those skilled in the art should know, the present invention is not by described sequence of movement
Limitation because according to the present invention, some steps can be carried out using other orders or simultaneously.Secondly, people in the art
Member should also know that embodiment or embodiment described in the specification belong to preferred embodiment, involved action and list
Necessary to the member not necessarily present invention.
The specific embodiment of the invention also provides a kind of computer-readable recording medium, is stored thereon with computer program,
The program realizes the computational methods of packet loss in above-mentioned network linking when being executed by processor.
The specific embodiment of the invention also provides a kind of terminal, as shown in figure 3, including one or more processors 302, depositing
Reservoir 301, transceiver 303, and one or more programs, one or more of programs are stored in the memory,
And it is configured by one or more of computing devices, described program includes being used to perform packet loss in above-mentioned network linking
The instruction of step in computational methods.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment
Point, it may refer to the associated description of other embodiment.
Step in present invention method can be sequentially adjusted, merged and deleted according to actual needs.
Unit in device of the embodiment of the present invention can be combined, divided and deleted according to actual needs.This area
Not be the same as Example and the feature of non-be the same as Example described in this specification can be combined or combined by technical staff.
Through the above description of the embodiments, it is apparent to those skilled in the art that the present invention can be with
Realized with hardware, or firmware is realized, or combinations thereof mode is realized.When implemented in software, can be by above-mentioned functions
It is stored in computer-readable medium or is transmitted as one or more instructions on computer-readable medium or code.Meter
Calculation machine computer-readable recording medium includes computer-readable storage medium and communication media, and wherein communication media includes being easy to from a place to another
Any medium of individual place transmission computer program.Storage medium can be any usable medium that computer can be accessed.With
Exemplified by this but it is not limited to:Computer-readable medium can include random access memory (Random Access Memory,
RAM), read-only storage (Read-Only Memory, ROM), EEPROM (Electrically
Erasable Programmable Read-Only Memory, EEPROM), read-only optical disc (Compact Disc Read-
Only Memory, CD-ROM) or other optical disc storages, magnetic disk storage medium or other magnetic storage apparatus or can be used in
Carry or storage with instruction or data structure form desired program code and can by computer access any other
Medium.In addition.Any connection can be suitably turn into computer-readable medium.If for example, software is to use coaxial cable, light
Fine optical cable, twisted-pair feeder, Digital Subscriber Line (Digital Subscriber Line, DSL) or such as infrared ray, radio and
The wireless technology of microwave etc is transmitted from website, server or other remote sources, then coaxial cable, optical fiber cable, double
The wireless technology of twisted wire, DSL or such as infrared ray, wireless and microwave etc be included in belonging to medium it is fixing in.Such as this hair
Used in bright, disk (Disk) and dish (disc) include compressing laser disc (CD), laser disc, laser disc, Digital Versatile Disc (DVD),
Floppy disk and Blu-ray Disc, the replicate data of the usual magnetic of which disk, and dish is then with laser come optical replicate data.Group above
Conjunction should also be as being included within the protection domain of computer-readable medium.
In a word, the preferred embodiment of technical solution of the present invention is the foregoing is only, is not intended to limit the present invention's
Protection domain.Within the spirit and principles of the invention, any modification, equivalent substitution and improvements made etc., should be included in
Within protection scope of the present invention.
Claims (8)
1. the computational methods of packet loss in a kind of network linking, it is characterised in that methods described comprises the following steps:
Receive packet to be sent;
By the first quantity of interpolation data bag in the header field of the packet;
The packet is such as received, the first quantity in header field is extracted and detects the second quantity of the packet, the first number
The difference of amount and the second quantity is packet loss quantity.
2. according to the method described in claim 1, it is characterised in that methods described also includes:
Packet loss quantity is returned, the data retransmitted are received.
3. according to the method described in claim 1, it is characterised in that methods described also includes:
First quantity is added to the extended field in packet header.
4. the computing system of packet loss in a kind of network linking, it is characterised in that methods described includes:
Receiving unit, the packet to be sent for receiving;
Adding device, the first quantity for interpolation data bag in the header field by the packet;
Control unit, for such as receiving the packet, extracts the first quantity in header field and detects the of the packet
Two quantity, the difference of the first quantity and the second quantity is packet loss quantity.
5. system according to claim 4, it is characterised in that
Described control unit, for packet loss quantity to be returned, receives the data retransmitted.
6. system according to claim 4, it is characterised in that
Described control unit, the extended field for first quantity to be added to packet header.
7. a kind of computer-readable recording medium, is stored thereon with computer program, realized such as when the program is executed by processor
The computational methods of packet loss in network linking described in claim 1-3 any one.
8. a kind of terminal, it is characterised in that including one or more processors, memory, transceiver, and one or more journeys
Sequence, one or more of programs are stored in the memory, and are configured to be held by one or more of processors
OK, described program includes the finger for being used to perform the step in the network linking described in 1-3 any one in the computational methods of packet loss
Order.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710373758.3A CN107086943A (en) | 2017-05-24 | 2017-05-24 | The computational methods and system of packet loss in network linking |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710373758.3A CN107086943A (en) | 2017-05-24 | 2017-05-24 | The computational methods and system of packet loss in network linking |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107086943A true CN107086943A (en) | 2017-08-22 |
Family
ID=59607512
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710373758.3A Pending CN107086943A (en) | 2017-05-24 | 2017-05-24 | The computational methods and system of packet loss in network linking |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107086943A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109672584A (en) * | 2018-11-30 | 2019-04-23 | 广州市百果园信息技术有限公司 | A kind of data packet detection method, device, system, equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1852174A (en) * | 2005-07-27 | 2006-10-25 | 华为技术有限公司 | Method for detecting service quality of grouped exchanging network |
CN101594268A (en) * | 2009-06-23 | 2009-12-02 | 中兴通讯股份有限公司 | Chain circuit detecting method |
CN106411625A (en) * | 2015-07-27 | 2017-02-15 | 中兴通讯股份有限公司 | Link message packet loss measurement method and system, target node and initiator node |
-
2017
- 2017-05-24 CN CN201710373758.3A patent/CN107086943A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1852174A (en) * | 2005-07-27 | 2006-10-25 | 华为技术有限公司 | Method for detecting service quality of grouped exchanging network |
CN101594268A (en) * | 2009-06-23 | 2009-12-02 | 中兴通讯股份有限公司 | Chain circuit detecting method |
CN106411625A (en) * | 2015-07-27 | 2017-02-15 | 中兴通讯股份有限公司 | Link message packet loss measurement method and system, target node and initiator node |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109672584A (en) * | 2018-11-30 | 2019-04-23 | 广州市百果园信息技术有限公司 | A kind of data packet detection method, device, system, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107171955A (en) | The system of selection of data link and system in network | |
CN107070729A (en) | Main equipment elects method and system in network linking | |
CN107105482A (en) | Terminal wifi connection control methods and system | |
CN107196821A (en) | The method of calibration and system of time delay in network link | |
CN107135108A (en) | The update method and system of network connection list | |
CN107146081A (en) | Terminal quick payment method and system based on positioning | |
CN107180109A (en) | Location-based Condom recommends method and system | |
CN107229875A (en) | Terminal method for secret protection and system | |
CN107204897A (en) | The fault detection method and system of network link | |
CN106992905A (en) | Long-distance service method and system after network link failure | |
CN107145374A (en) | App renewal realization method and system in terminal | |
CN106998394A (en) | The method to set up and system of particular contact prompting | |
CN107103565A (en) | Network meal-ordering method and system based on positioning | |
CN107071090A (en) | Application process and system of the virtual network address in the link of networking | |
CN107086943A (en) | The computational methods and system of packet loss in network linking | |
CN106973072A (en) | Network link encryption method and system based on terminal | |
CN107148001A (en) | Wechat friend invitation method and system based on positioning | |
CN107096228A (en) | Player's grasping means based on positioning and system in fighting landlord | |
CN106973169A (en) | The information-reading method and system of short message | |
CN106992998A (en) | The safety implementation method and system of network link | |
CN106971550A (en) | The detection method and system of intelligent transportation map Bridge | |
CN107172291A (en) | The method to set up and system of terminal alarm clock | |
CN107105397A (en) | The network link method for building up and system of face-to-face terminal | |
CN107277841A (en) | The system of selection of terminal network connection and system | |
CN107197195A (en) | The sharing method and system of cross-platform destination |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170822 |
|
RJ01 | Rejection of invention patent application after publication |