CN107231567A - A kind of message transmitting method, apparatus and system - Google Patents
A kind of message transmitting method, apparatus and system Download PDFInfo
- Publication number
- CN107231567A CN107231567A CN201610178022.6A CN201610178022A CN107231567A CN 107231567 A CN107231567 A CN 107231567A CN 201610178022 A CN201610178022 A CN 201610178022A CN 107231567 A CN107231567 A CN 107231567A
- Authority
- CN
- China
- Prior art keywords
- message
- side router
- data volume
- tcp
- sent
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/238—Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
- H04N21/2385—Channel allocation; Bandwidth allocation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/24—Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
- H04N21/2405—Monitoring of the internal components or processes of the server, e.g. server load
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- General Engineering & Computer Science (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
A kind of message transmitting method, apparatus and system, software defined network SDN controllers receive the resource request message that user terminal is sent;The SDN controllers send the resource request message with agent way to server.The message that network side router the reception server is sent, SDN controllers are sent to by the information header message of required transmission;The data volume message of required transmission is sent to each user side router in the router-list of pre-set user side.TCP sequence number and TCP acknowledgment sequence number that the transmission control protocol TCP heading that the user side router changes the data volume message includes, and generate new data body message for being sent to user terminal, by the new data body message, each user terminal in pre-set user terminal list is sent to.Occupancy of the transmission to carrier network of duplicate message can be reduced by the present invention.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of message transmitting method, apparatus and system.
Background technology
With the development of Internet technology, video live broadcast service is widely used.
The realization of current video live broadcast service mainly uses following process:Video is cut into several and is based on
The HTTP files of HTTP (Hyper Text Transfer Protocol, HTTP), these
HTTP files are uploaded to HTTP streaming media server clusters.During user terminal requests live video, to
HTTP streaming media servers send HTTP request, and HTTP streaming media servers receive user terminal hair
After the HTTP request sent, transmission control protocol (Transmission Control are based between user terminal
Protocol, TCP) TCP links are set up, and using end-to-end pattern by carrier network, by message
It is transferred to user terminal.But for same video content, it will usually there are a fairly large number of user terminal requests
It is live, so using Packet Transfer Mode end to end, it is necessary to for the request of each user terminal,
HTTP streaming media servers are set up TCP with each user terminal and linked, and by the message of same video content
Different user terminals are transferred to respectively, and the message for causing a large amount of contents to repeat is propagated in the operator network,
Occupy unnecessary bandwidth resources.
The content of the invention
The embodiment of the present invention provides a kind of message transmitting method, apparatus and system, to reduce the biography of duplicate message
The defeated occupancy to carrier network.
On the one hand there is provided a kind of message transmitting method, the message that network side router the reception server is sent,
Determine to be sent to the data volume message in the case of the data volume message that the message is transmitted for needed for pre-
If each user side router indicated in user side router-list, user side router receives network dypass
The data volume message sent by device, is sent to each user side router by the data volume message and connects respectively
At least one user terminal, the user terminal of usual user side router connection can include more than one user
Terminal, the i.e. quantity of user side router can be less than the quantity of user terminal, therefore network side router will need
The message for being transferred to user terminal is distributed to user side router, and carrier network can be reduced to a certain extent
The quantity of the content identical message of middle transmission, content identical message can be reduced to a certain extent to operation
The bandwidth resources occupancy of business's network.
In a kind of possible design, at least one user terminal of user side router itself connection sends resource
Request message, the user side router receives the resource request message, and the user side router is determined
The resource request message that the resource request message is transmitted for needed for, the resource request message of required transmission refers to
SDN controllers are transmitted to by user side router, and sent out from SDN controllers with agent way to server
The resource request message sent;The resource request message is sent to SDN controls by the user side router
Device.Software defined network (Software Defined Network, SDN) controller intercepts and captures user terminal hair
The resource request message sent and forwarded by user side router, with agent way, by the resource request message
Send to server, server responds the resource request message and sends message, and the message includes information
Head message and data volume message, described information head message refer to the network for carrying description to the server
The message of the metamessage of resource request operation, Internet resources current state and Internet resources attribute, the number
The message for the data entity content for referring to send for carrying service device according to body message, the network side router
Receive after the message, it is determined that the information header message and the data volume message of required transmission of required transmission, institute
The data volume message of transmission needed for stating refer to via network side router be sent to user side router and by with
Family side router is distributed to the data volume message of user terminal, and the information header message of required transmission refers to via net
Network side router is sent to the information header message of SDN controllers.Network side router is by the letter of required transmission
Breath head message be sent to SDN controllers, by SDN controllers realize to described information head message agency and
Processing, is sent to user side router by the data volume message of required transmission, is distributed to by user side router
User terminal.
In alternatively possible design, SDN controllers, which are intercepted and captured, to be come after the resource request message of user terminal,
The first control instruction is sent to network side router, the second control instruction is sent to user side router.
First control instruction is used to indicating that the network side router to set user side router-list, the
One flow table and the first caching;The user side router indicated in the user side router-list is used to receive
The data volume message of required transmission, the data volume message of required transmission refers to be sent to via network side router
User side router and the data volume message that user terminal is distributed to by user side router;First flow table
The flow table item included is used for the information header message and the data volume message of required transmission of transmission needed for recognizing,
The information header message of required transmission refers to send via network side router and needs to be sent to the SDN controls
The information header message of device processed;Described first caches for caching the data volume that the network side server is received
Needed for message and the network side router send transmission control protocol TCP message to the server
TCP sequence number and TCP acknowledgment sequence number.
Second control instruction be used to indicating the user side router set terminal list, the second flow table with
And second caching.The user terminal indicated in the terminal list is used for the data volume report of transmission needed for receiving
Text;The flow table item that second flow table includes is used for the data volume message of transmission needed for identifying;Described
Two cache the number that the data volume message received for cache user side router, the user side router are received
Each use according to the TCP sequence number and the SDN controllers of body message to be indicated in the terminal list
The TCP sequence number revision value and TCP acknowledgment sequence number of family terminal profile.
Network side router receives first control instruction and is pre-created the first flow table, and according to advance wound
Flow table item in the first flow table built carries out deep message detection to the message, identifies the service received
The information header message that the message that device is sent is transmitted for needed for, described information head message is sent to SDN
Controller, identifies the data volume message that the message that the server received is sent is transmitted for needed for, will
The data volume message is sent to user side router.
User side router receives second control instruction and is pre-created the second flow table, user's dypass
By device according to the flow table item in second flow table being pre-created, the network side router hair received is recognized
The data volume message that the data volume message sent is transmitted for needed for, changes the transmission control of the data volume message
TCP sequence number and TCP acknowledgment sequence number that agreement TCP message head processed includes, and generate for distinguishing
It is sent to the new data body message of at least one user terminal of the user side router connection.The user
The new data body message is sent to user's dypass indicated in default terminal list, described by side router
At least one user terminal connected respectively by device.
In another possible design, the user side router changes the data volume report in the following way
TCP sequence number and TCP acknowledgment sequence number that the TCP message head of text includes, including:The user side
Router changes the data according to the TCP sequence number revision value of software defined network SDN controllers setting
The TCP sequence number that the TCP message head of body message includes;Wherein, wrapped in amended TCP message head
The TCP sequence number included for the data volume message the TCP message TCP sequence number that includes of head with it is described
TCP sequence number revision value sum, the TCP sequence number revision value is that the SDN controllers and user are whole
End set up the TCP sequence number of message that is sent during TCP links as transmitting terminal and the SDN controllers and
Server sets up the difference of the TCP sequence number of the message sent during TCP links as transmitting terminal;The user
The TCP acknowledgment sequence number that side router is set according to the SDN controllers, changes the data volume message
The TCP acknowledgment sequence number that includes of TCP message head, wherein, amended TCP message head includes
TCP acknowledgment Serial No. described in SDN controllers setting TCP acknowledgment sequence number.
In another possible design, the network side router determines the data that the message is transmitted for needed for
After body message, the network side router can also be cached within the valid cache time of setting receive should
Data volume message, and cache the TCP sequence number that the data volume message received is carried.The network side
Router sends transmission control protocol TCP confirmation message to the server, wherein, the TCP acknowledgment
The TCP sequence number that the TCP message head of message includes carries out message interaction for SDN controllers with server
When the TCP sequence number that sets, the TCP acknowledgment that the TCP message head of the TCP acknowledgment message includes
Sequence number is determined according to the TCP sequence number of caching.
The user side router caches the data volume message received within the valid cache time of setting,
And cache the TCP sequence number that the data volume message received is carried.
On the other hand there is provided a kind of network side router, the network side router, which has, realizes that above-mentioned message is passed
The function of network side router in transmission method.The function can be realized by hardware, can also pass through hardware
Corresponding software is performed to realize.The hardware or software include one or more moulds corresponding with above-mentioned functions
Block.
In a kind of possible design, the network side router includes receiving unit, and processing unit and transmission are single
Member, the receiving unit, the message sent for the reception server.The processing unit, for determining
The data volume message that the message of receiving unit reception is transmitted for needed for is stated, the data volume message refers to use
The message of the data entity content sent in carrying service device, the data volume message of required transmission refers to via net
Network side router is sent to user side router and the data volume of user terminal is distributed to by user side router
Message.The transmitting element, for the data volume message for the required transmission for determining the processing unit
The each user side router indicated in the router-list of pre-set user side is sent to, passes through each user's dypass
The data volume message is sent at least one user end that each user side router is connected respectively by device
End.
In alternatively possible design, the structure of network side router includes receiver, processor and transmitting
Device, the processor is configured as supporting network side router to perform corresponding function in the above method.It is described
Receiver, transmitter are used to support the communication between network side router and server, support network side route
Communication between device and SDN controllers, and support between network side router and user side router
Communication.The network side router can also include memory, and the memory is used to couple with processor,
It preserves the necessary programmed instruction of network side router and data.
Another further aspect is there is provided a kind of user side router, and the user side router, which has, realizes that above-mentioned message is passed
The function of user side router in transmission method.The function can be realized by hardware, can also pass through hardware
Corresponding software is performed to realize.The hardware or software include one or more moulds corresponding with above-mentioned functions
Block.
In a kind of possible design, the user side router includes receiving unit, processing unit and sends single
Member, wherein, the receiving unit, the data volume message for receiving the transmission of network side router, the number
According to the message that body message is the data entity content sent for carrying service device.The processing unit, is used for
The data volume message that the data volume message that the receiving unit is received is transmitted for needed for is determined, modification is described
TCP sequence number and TCP acknowledgment sequence that the transmission control protocol TCP heading of data volume message includes
Number, and generate the new number of at least one user terminal for being sent respectively to the user side router connection
According to body message, the data volume message of required transmission refers to be sent to user side router via network side router
And the data volume message of user terminal is distributed to by user side router.The transmitting element, for by described in
The new data body message of processing unit generation, is sent to being indicated in pre-set user terminal list, described
At least one user terminal that user side router is connected respectively.
In alternatively possible design, the structure of the user side router include receiver, processor and
Transmitter, the processor is configured as supporting user side router to perform corresponding function in the above method.
The receiver, transmitter is used to support the communication between user side router and network side router, supports
Communication between user side router and SDN controllers, and support user side router and user terminal
Between communication.The user side router can also include memory, and the memory is used for and processor
Coupling, it preserves the necessary programmed instruction of user side router and data.
Another aspect is there is provided a kind of SDN controllers, and the SDN controllers, which have, realizes above-mentioned message transmissions
The function of SDN controllers in method.The function can be realized by hardware, can also be held by hardware
The corresponding software of row is realized.The hardware or software include one or more moulds corresponding with above-mentioned functions
Block.
In a kind of possible design, the SDN controllers include receiving unit and transmitting element, wherein,
The receiving unit, the resource request message for receiving the forwarding of user side router, the resource request report
The resource request message that text is transmitted for needed for, the resource request message of required transmission refers to by user side router
It is transmitted to SDN controllers, and the resource request report sent from SDN controllers with agent way to server
Text.The transmitting element, for agent way, sending what the receiving unit was received to server
The resource request message.
In alternatively possible design, the SDN controllers include receiver and transmitter, the reception
Device and the transmitter are used to support the communication between SDN controllers and user side router, support SDN
Communication between controller and network side router, and support logical between SDN controllers and server
Letter.
Another further aspect is there is provided a kind of communication system, and the communication system includes the above-mentioned network side route being related to
Device, user side router and SDN controllers.
Another further aspect, the embodiments of the invention provide a kind of computer-readable storage medium, for saving as above-mentioned net
Computer software instructions used in the router of network side, it, which is included, is used to perform the program involved by above-mentioned aspect.
Another further aspect, the embodiments of the invention provide a kind of computer-readable storage medium, for saving as above-mentioned use
Computer software instructions used in the router of family side, it, which is included, is used to perform the program involved by above-mentioned aspect.
Another further aspect, it is above-mentioned for saving as the embodiments of the invention provide a kind of computer-readable storage medium
Computer software instructions used in SDN controllers, it, which is included, is used to perform the program involved by above-mentioned aspect.
Compared to prior art, scheme provided in an embodiment of the present invention can reduce operator to a certain extent
The quantity of the content identical message transmitted in network, content identical message pair can be reduced to a certain extent
The bandwidth resources occupancy of carrier network.
Brief description of the drawings
Fig. 1 is the configuration diagram of net cast recording system;
Fig. 2 is the system architecture diagram that the embodiment of the present invention is applicable;
Fig. 3 is message transmitting method implementing procedure figure provided in an embodiment of the present invention;
Fig. 4 is the process schematic that network side router provided in an embodiment of the present invention carries out message transmissions;
Fig. 5 is the process schematic that user side router provided in an embodiment of the present invention carries out message transmissions;
Fig. 6 A to Fig. 6 C are network side router topology schematic diagram provided in an embodiment of the present invention;
Fig. 7 A to Fig. 7 C are user side router topology schematic diagram provided in an embodiment of the present invention;
Fig. 8 A to Fig. 8 B are SDN controller architectures schematic diagram provided in an embodiment of 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 detailed
Carefully describe.
Message transmitting method provided in an embodiment of the present invention, device and system, can be applied to for example shown in Fig. 1
Net cast recording system.The video file of live recording is cut into several and assisted based on Hyper text transfer
Discuss on the HTTP files of (Hyper Text Transfer Protocol, HTTP), these HTTP files
HTTP server is reached, it is whole that HTTP files are transferred to user by HTTP server by carrier network
End.
In net cast recording system shown in Fig. 1, it is transferred to by HTTP files during user terminal
The HTTP message for generally having a large amount of contents repetitions is transmitted in the operator network.It is in the embodiment of the present invention
The HTTP message excessively repeated in the net cast recording system for example shown in Fig. 1 is avoided in carrier network
Middle transmission, causes unnecessary bandwidth resources to waste, and can pass through network using the system architecture described in Fig. 2
Side router will need the message for being transferred to user terminal to be distributed to user side router, then be route by user side
Device is distributed to user terminal, and the user terminal of usual user side router connection can include more than one user end
End, the i.e. quantity of user side router can be less than the quantity of user terminal, therefore network side router will need to pass
It is defeated by user terminal message and is distributed to user side router, can to a certain extent reduces in carrier network and pass
The quantity of defeated content identical message, content identical message can be reduced to a certain extent to operator's net
The bandwidth resources occupancy of network.
Include user side router, network side router and software defined network in system shown in Fig. 2
(Software Defined Network, SDN) controller.Server needs the message sent to include information
Head message and data volume message, wherein, information header refers in request/response model, for describing to network
The metamessage for asking operation, Internet resources current state and Internet resources attribute of resource.Data volume is
Refer to the data entity content transmitted by server.Described information head message refers to the report for carrying information head
Text.The data volume message refers to the message for carrying data volume.Information header message and data volume message exist
Different titles are might have in different host-host protocols, such as when using HTTP transport protocol, information
Head message is properly termed as http protocol message, and http protocol message includes resource request message and HTTP
Response message.Data volume message can be described as HTTP data messages.It can be controlled in the embodiment of the present invention by SDN
Device processed is responsible for agency or the processing of information header message, by the network side router and user side in carrier network
Router processing data body message.User side router connects user terminal, receives the money that user terminal is sent
Source request message, SDN controllers are sent to by the resource request message.SDN controllers are with agent
Formula sends the resource request message to server.Server, which is received, sends message after resource request message,
Network side router is connected with server, the message that the reception server is sent, and information header message is sent to
SDN controllers, user side router is distributed to by data volume message, by each user side router by institute
State data volume message and be distributed at least one user terminal that each user side router is connected respectively.
Below the embodiment of the present invention for convenience of description, it will be sent via network side router and need to be sent to
The information header message of transmission, will send out via network side router needed for the information header message of SDN controllers is referred to as
Give user side router and the data volume message of user terminal is distributed to by user side router, needed for being referred to as
The data volume message of transmission.
Generally, the quantity of user side router is more described in the embodiment of the present invention to be multiple in carrier network
It is individual to can be understood as at least one.It is understood that passing through network side router in the embodiment of the present invention
Data volume message is distributed to user side router, then user terminal is distributed to by user side router, to subtract
The quantity of identical HTTP message in few carrier network, it is adaptable to the user terminal of user side router connection
Quantity, which is more than in the scene of the quantity of the user side router, i.e., the multiple user side router, to be had at least
The user terminal quantity of one user side router connection is at least two.
It should be noted that Fig. 1 is illustrated by taking video living transmission system as an example in the embodiment of the present invention, but
Do not regard it as and be limited, it is other also in the operator network using the TCP systems for linking progress message transmissions
It is applicable.
The user terminal for needing further exist for being related in explanation, the embodiment of the present invention can have including various
The handheld device of radio communication function, mobile unit, wearable device, computing device are connected to wireless tune
Other processing equipments of modulator-demodulator, and various forms of user equipmenies (User Equipment, UE),
Mobile station (Mobile station, MS), terminal (terminal), terminal device (Terminal Equipment)
Etc..
The implementation process that message transmissions are carried out to application system shown in Figure 2 is said below the embodiment of the present invention
It is bright.
Fig. 3 show message transmitting method implementing procedure figure provided in an embodiment of the present invention, as shown in Figure 3 bag
Include:
S101:User terminal sends resource request message.
User terminal sends resource when needing request server to send message and asked in the embodiment of the present invention
Message is sought, such as user terminal can be sent when needing to carry out video live broadcast service to HTTP server
HTTP request message.
S102:SDN controllers intercept and capture the resource request message that user terminal is sent, and with agent way to clothes
Business device sends the resource request message.
Optionally, network side is passed through by SDN controllers processing information head message in the embodiment of the present invention
Router and user side router processing data body message, and then realize message between server and user terminal
The agency of transmission, therefore SDN controllers described in the embodiment of the present invention sends the first control to network side router
System instruction, first control instruction is used to indicate network side router pre-set user side router row
Table, the first flow table and the first caching.Wherein, user's dypass that the user side router-list includes
It is used for the data volume message of transmission needed for receiving by device.The flow table item that first flow table includes is used to recognize
The information header message of required transmission and the data volume message of required transmission.Described first caches for caching institute
Data volume message and the network side router that network side server receives is stated to send out to the server
Send the TCP sequence number and TCP acknowledgment sequence number needed for transmission control protocol TCP message.
The SDN controllers send the second control instruction, second control instruction to user side router
For indicating that the user side router presets terminal list, the second flow table and the second caching.Wherein, institute
The user terminal that stating user terminal list includes is used for the data volume message of transmission needed for receiving, described second
The flow table item that flow table includes is used for the data volume message of transmission needed for identifying, described second caches for delaying
Deposit the data volume message of user side router reception, the data volume message that the user side router is received
TCP sequence number and the SDN controllers are each user terminal setting that the terminal list includes
TCP sequence number revision value and TCP acknowledgment sequence number.
S103:Server sends message, and the message includes information header message and data volume message.
The message that server described in the embodiment of the present invention is sent can be that user side router is set in advance
The message of certain type of service, for example, can be HTTP video messages.
S104:The message that network side router the reception server is sent, determines the message that the server is sent
The information header message of the transmission for needed for or the data volume message of required transmission.
The information header message and data of transmission needed for network side router can be preset in the embodiment of the present invention
Body message, you can to preset flow table, the flow table set in advance is can be sent out according to SDN controllers
What the first control instruction sent was pre-created, i.e., the first flow table being above related to.Network side router
When receiving the information header message of server transmission, according to the flow table item in the flow table being pre-created to described
Message carries out deep message detection, identifies information header message or data volume report that the message is transmitted for needed for
Text.Wherein, the progress deep message detection process can be:Judge whether deposited in the flow table being pre-created
In the IP five-tuples and keyword matched with the message, if in the presence of the message is transmitted for needed for
Information header message;If being not present, continue to judge to whether there is and the message in the flow table being pre-created
The IP five-tuples that match of IP five-tuples, if in the presence of the data volume report that the message is transmitted for needed for
Text.
In the embodiment of the present invention, if the information header message that the message is transmitted for needed for, perform S105's
Step.If the data volume message that the message is transmitted for needed for, the step of performing S106.
S105:If the information header message that the message is transmitted for needed for, network side router is by described information
Head message is sent to SDN controllers.
S106:If the data volume message that the message is transmitted for needed for, network side router is by the data
Body message is sent to each user side router in the router-list of pre-set user side.
S107:The data volume message that network side router cache is received, and cache the data volume received
The TCP sequence number that message is carried, realizes the TCP sequence number for updating the data volume message cached.
In the embodiment of the present invention by the data volume packet buffer received in first caches, and record buffer memory
The TCP sequence number of data volume message, can be achieved the number received at present according to TCP sequence number determination
According to the byte number of body message.
First caching described in the embodiment of the present invention is the sent according to SDN controllers in above-described embodiment
What one control instruction was created.
In order to ensure the accuracy of the TCP sequence number of data volume message recorded in the first caching, each
During data cached body message, the TCP sequence number of data cached body message is updated.
Further, data volume message is ageing in being cached in the embodiment of the present invention for guarantee first, can set
Surely the ageing time of the data volume message cached, that is, realize and cache the number within the valid cache time of setting
According to body message.
It should be noted that S107 is optional step in the embodiment of the present invention.
S108:The network side router sends TCP acknowledgment message to server.
Wherein, the TCP sequence number that the TCP message head of the TCP acknowledgment message includes is controlled for SDN
The TCP sequence number of setting, the TCP of the TCP acknowledgment message when device processed is with server progress message interaction
The TCP sequence number that the TCP acknowledgment sequence number that heading includes has been cached according to the network side router
Determined.
It should be noted that S108 is optional step in the embodiment of the present invention.
Explanation is needed further exist for, S105, S106, S107 and S108 execution sequence are in no particular order.
The process schematic of network side router progress message transmissions is as shown in Figure 4 in the embodiment of the present invention.
S109:User side router receives the data volume message that network side router is sent, and changes the data
TCP sequence number and TCP acknowledgment sequence number that the TCP message head of body message includes, and generate for dividing
The new data body message of at least one user terminal of the user side router connection is not sent to.
SDN controllers are set up a public TCP with server and are connected in the embodiment of the present invention, user equipment
Independent user TCP is set up with SDN controllers again to be connected, therefore user side router in the embodiment of the present invention
, it is necessary to which the public TCP messages connected are changed into independent user when sending data volume message to user terminal
The message of TCP connections, is transmitted to user terminal.
User side router described in the embodiment of the present invention is repaiied according to the TCP sequence number of SDN controllers setting
Order value and change the TCP sequence number that the TCP message head of the data volume message includes.Wherein, after modification
The TCP message TCP sequence number that includes of head include for the TCP message head of the data volume message
TCP sequence number and the TCP sequence number revision value sum, the TCP sequence number revision value are the SDN
Controller sets up TCP sequence number and the institute of the message sent when TCP is linked as transmitting terminal with user terminal
State the TCP sequence number that SDN controllers set up the message sent when TCP is linked as transmitting terminal with server
Difference.
For example, it is assumed that the SDN controllers set up what is sent when TCP is linked as transmitting terminal with server
The TCP sequence number of message is 0.The SDN controllers set up conduct when TCP is linked with user terminal a
The TCP sequence number for the message that transmitting terminal is sent is 17, then TCP sequence number revision value=17-0=17.
Assuming that the data volume message that current server is sent is the 10000th byte, the data volume message
TCP sequence number=10000 that TCP message head includes, the then TCP that amended TCP message head includes
Sequence number=10000+17=10017.
Likewise, TCP acknowledgment sequence number, be by user terminal send the initial TCP sequence number of message with
Byte number decision has been sent, therefore the TCP acknowledgment sequence number of different user terminals is also different.
The TCP acknowledgment that user side router described in the embodiment of the present invention is set according to the SDN controllers
Sequence number, changes the confirmation TCP sequence number that the TCP message head of the data volume message includes.Wherein,
The TCP of SDN controllers setting described in the TCP acknowledgment Serial No. that amended TCP message head includes
Confirm sequence number, the TCP acknowledgment Serial No. user terminal of the SDN controllers setting sends message
Initial TCP sequence number adds 1 again with having sent byte number sum.
The data volume message of transmission needed for user side router can be preset in the embodiment of the present invention, you can with
Flow table is preset, the flow table set in advance is that the second control that can be sent according to SDN controllers refers to
What order was pre-created, i.e., the second flow table being above related to is used by the flow table item preserved in the flow table
The data volume message of transmission needed for identification.User side router receives the data of network side router transmission
After body message, it can determine whether in the flow table being pre-created with the presence or absence of the IP five-tuples with the data volume message
The IP five-tuples matched, if in the presence of, it is determined that the data volume message is to need to be transferred to user terminal
Message, the modification that message is then carried out again generates new message and is sent to user terminal.
S110:The new data body message is sent to default terminal list middle finger by the user side router
At least one user terminal that user side router show, described is connected respectively.
S111:User side router caches the data volume message within the valid cache time of setting, and delays
The TCP sequence number that the data volume message that receives is carried is deposited, realizes and updates data cached body message
TCP sequence number.
The implementation process of user side router cache message is preserved with network side router in the embodiment of the present invention
The process of data volume message is similar, will not be repeated here.
S110 and S111 execution sequence is in no particular order in the embodiment of the present invention.
The process schematic of user side router progress message transmissions is as shown in Figure 5 in the embodiment of the present invention.
The above-mentioned method for realizing message transmissions in the embodiment of the present invention, by network side router by data volume report
Text is distributed to user side router, then is distributed to user terminal, usual user side route by user side router
The user terminal of device connection can include more than one user terminal, realize that a kind of tree-like message of similar multicast is passed
Transmission method, TCP transmission mode end to end is needed between server and user terminal instead of existing, can be
The quantity of the content identical message transmitted in carrier network is reduced to a certain extent, is dropped to a certain extent
Bandwidth resources occupancy of the low content identical message to carrier network.
Optionally, user side router the first flow table set in advance and the second flow table in the embodiment of the present invention,
The resource request message that can be again received according to SDN controllers is updated.Even SDN controllers are received
During the resource request message sent to new user terminal, however, it is determined that the message of the new user terminal requests is
The message repeated, then SDN controllers no longer send resource request message to server, but directly generate
Response message.SDN controllers issue more new command to user side router, to update the second flow table and terminal
In list, the terminal list that new user terminal information is added to user side router.Controller is to network side
Router issues more new command, to update the first flow table and user side router-list.
The above-mentioned main angle from interaction between each network element is carried out to scheme provided in an embodiment of the present invention
Introduce.It is understood that each network element, such as user side router, network side router and SDN
Controller etc. is in order to realize above-mentioned functions, and it comprises perform the corresponding hardware configuration of each function and/or software
Module.Those skilled in the art should be readily appreciated that, be described with reference to the embodiments described herein
The unit and algorithm steps of each example, the present invention can be with the combining form of hardware or hardware and computer software
To realize.Some functions is performed in the way of hardware or computer software driving hardware actually, is depended on
The application-specific and design constraint of technical scheme.Professional and technical personnel can come to each specific application
Described function is realized using distinct methods, but this realization is it is not considered that beyond the model of the present invention
Enclose.
The embodiment of the present invention provides a kind of network side router 100, and Fig. 6 A show the embodiment of the present invention and carried
A kind of possible structural representation of the network side router 100 of confession, as shown in Figure 6A, network side route
Device 100 includes receiving unit 101, processing unit 102 and transmitting element 103, wherein,
Receiving unit 101, the message sent for the reception server.
Processing unit 102, is transmitted for determining the message of the reception of receiving unit 101 for needed for
Data volume message, the data volume message refers to the report of the data entity content sent for carrying service device
Text, the data volume message of required transmission refer to via network side router be sent to user side router and by with
Family side router is distributed to the data volume message of user terminal.
Transmitting element 103, for the data volume report for the required transmission for determining the processing unit 102
Text is sent to each user side router indicated in the router-list of pre-set user side, passes through each user side
The data volume message is sent at least one user that each user side router is connected respectively by router
Terminal.
In a kind of achievable mode, the processor is additionally operable to:Receive and service in the receiving unit 101
After the message that device is sent, the information header message that the message is transmitted for needed for, described information head message are determined
Refer to for carry description to the operation of the network resource request of the server, Internet resources current state and
The message of the metamessage of Internet resources attribute, the information header message of required transmission refers to via network side router
It is sent to the information header message of SDN controllers.
The transmitting element 103, is additionally operable to described information head message being sent to the SDN controllers.
Wherein, the processing unit 102, specifically determines what the message was transmitted for needed in the following way
Information header message or data volume message:
Deep message detection is carried out to the message according to the flow table item in the flow table being pre-created, institute is identified
Information header message or data volume message that message is transmitted for needed for are stated, wherein, the flow table is the network side
The router control transmitted when receiving the resource request message of user terminal transmission according to SDN controllers
System instruction is pre-created.
In another achievable mode, the network side router also includes buffer unit 104, such as Fig. 6 B
It is shown, wherein,
The buffer unit 104, for determining what the message was transmitted for needed in the processing unit 102
After data volume message, the data volume message received is cached within the valid cache time of setting, and delay
Deposit the TCP sequence number that the data volume message received is carried.
The transmitting element 103, is additionally operable to:Transmission control protocol TCP, which is sent, to the server confirms report
Text, wherein, the TCP sequence number that the TCP message head of the TCP acknowledgment message includes is controlled for SDN
The TCP sequence number of setting, the TCP of the TCP acknowledgment message when device processed is with server progress message interaction
The TCP sequence number institute that the TCP acknowledgment sequence number that heading includes is cached according to the buffer unit 104
It is determined that.
Fig. 6 C are the alternatively possible structural representation of network side router 100 provided in an embodiment of the present invention,
As shown in Figure 6 C, network side router 100 includes processor 1001, receiver 1002, the and of transmitter 1003
Memory 1004.
Memory 1004, the program code for storing the execution of processor 1001.
Processor 1001, for the program for calling the memory 1004 to store, passes through receiver 1002
The message that the reception server is sent, and the data volume message that the message received is transmitted for needed for is determined, lead to
Cross transmitter 1003 the data volume message of the required transmission is sent in the router-list of pre-set user side
The data volume message, is sent to often by each user side router indicated by each user side router
At least one user terminal that individual user side router is connected respectively.
The embodiments of the invention provide a kind of computer-readable storage medium, for saving as above-mentioned network side router
Computer software instructions used, it, which is included, is used to perform the program involved by above-mentioned aspect.
The embodiment of the present invention provides a kind of user side router, and Fig. 7 A are user provided in an embodiment of the present invention
A kind of possible structural representation of side router 200, as shown in Figure 7 A, user side router 200 is wrapped
Receiving unit 201, processing unit 202 and transmitting element 203 are included, wherein,
Receiving unit 201, the data volume message for receiving the transmission of network side router, the data volume report
Text is the message of the data entity content sent for carrying service device.
Processing unit 202, for determining the data volume message of the reception of receiving unit 201 for needed for
The data volume message of transmission, changes the TCP sequence number that the TCP message head of the data volume message includes
With TCP acknowledgment sequence number, and generate for be sent respectively to user side router connection at least one
The new data body message of individual user terminal, the data volume message of required transmission refers to send out via network side router
Give user side router and the data volume message of user terminal is distributed to by user side router.
Transmitting element 203, for the new data body message for generating the processing unit 202, sends
At least one user connected respectively to user side router indicated in pre-set user terminal list, described is whole
End.
Wherein, the processing unit 202, the TCP specifically for changing the data volume message as follows
TCP sequence number and TCP acknowledgment sequence number that heading includes:
TCP sequence number revision value according to the setting of SDN controllers changes the TCP reports of the data volume message
The TCP sequence number that literary head includes.Wherein, the TCP sequence number that amended TCP message head includes
The TCP sequence number included for the TCP message head of the data volume message is revised with the TCP sequence number
It is worth sum, the TCP sequence number revision value is set up TCP with user terminal for the SDN controllers and linked
The TCP sequence number for the message that Shi Zuowei transmitting terminals are sent sets up TCP with the SDN controllers and server
The difference of the TCP sequence number of the message sent during link as transmitting terminal.According to SDN controllers setting
TCP acknowledgment sequence number, change the TCP acknowledgment sequence that the TCP message head of the data volume message includes
Row number, wherein, SDN controls described in the TCP acknowledgment Serial No. that amended TCP message head includes
The TCP acknowledgment sequence number of device setting.
Wherein, the processing unit 202, specifically for determining that the data volume message is institute as follows
The data volume message that need to be transmitted:
According to the flow table item in the flow table being pre-created, the data that the data volume message is transmitted for needed for are recognized
Body message, wherein, the flow table is that the user side router is receiving user according to SDN controllers
Transmitted control instruction is pre-created during the resource request message that terminal is sent.
In a kind of possible implementation, the user side router also includes buffer unit 204, such as Fig. 7 B
It is shown, wherein,
The buffer unit 204, for receiving the number that network side router is sent in the receiving unit 201
After body message, the data volume message received is cached within the valid cache time of setting, and cache
The TCP sequence number that the data volume message received is carried.
In alternatively possible implementation, the receiving unit 201 is additionally operable to:Receive network side route
Before the data volume message that device is sent, the resource request that at least one user terminal of itself connection is sent is received
Message.
The processing unit 202, is additionally operable to:Determine that the resource that the resource request message is transmitted for needed for please
Message is sought, the resource request message of required transmission refers to be transmitted to SDN controllers by user side router,
And the resource request message sent from SDN controllers with agent way to server.
The transmitting element 203, is additionally operable to:The resource request message is sent to SDN controllers.
Fig. 7 C are the alternatively possible structural representation of user side router 200 provided in an embodiment of the present invention,
As seen in figure 7 c, user side router 200 includes processor 2001, receiver 2002, the and of transmitter 2003
Memory 2004.
Memory 2004, the program code for storing the execution of processor 2001.
Processor 2001, for the program for calling the memory 2004 to store, passes through receiver 2002
The data volume message that network side router is sent is received, and determines the number that the data volume message is transmitted for needed for
According to body message, change TCP sequence number that the TCP message head of the data volume message includes and TCP is true
Recognize sequence number, and generate at least one user terminal for being sent respectively to the user side router connection
New data body message, and the new data body message of generation is sent to pre- by transmitter 2003
If at least one user terminal that user side router indicated in terminal list, described is connected respectively.
The embodiments of the invention provide a kind of computer-readable storage medium, for saving as above-mentioned user side router
Computer software instructions used, it, which is included, is used to perform the program involved by above-mentioned aspect.
The embodiment of the present invention also provides a kind of SDN controllers, and Fig. 8 A show provided in an embodiment of the present invention
A kind of possible structural representation of SDN controllers 300, as shown in Figure 8 A, SDN controls 300 include
Receiving unit 301 and transmitting element 302, wherein, receiving unit 301, for receiving user side router
The resource request message of forwarding, the resource request message that the resource request message is transmitted for needed for, required biography
Defeated resource request message refers to be transmitted to SDN controllers by user side router, and by SDN controllers
The resource request message sent with agent way to server.
Transmitting element 302, for agent way, sending the receiving unit 301 to server and connecing
The resource request message received.
In a kind of possible implementation, the transmitting element 302 is additionally operable to:In the receiving unit 301
After the resource request message for receiving the forwarding of user side router, send the first control to network side router and refer to
Order, and send the second control instruction to user side router.
First control instruction is used to indicating that the network side router to set user side router-list, the
One flow table and the first caching.The user side router indicated in the user side router-list is used to receive
The data volume message of required transmission, the data volume message of required transmission refers to be sent to via network side router
User side router and the data volume message that user terminal is distributed to by user side router.First flow table
The flow table item included is used for the information header message and the data volume message of required transmission of transmission needed for recognizing,
The information header message of required transmission refers to send via network side router and needs to be sent to the SDN controls
The information header message of device processed.Described first caches for caching the data volume that the network side server is received
Needed for message and the network side router send transmission control protocol TCP message to the server
TCP sequence number and TCP acknowledgment sequence number.
Second control instruction be used to indicating the user side router set terminal list, the second flow table with
And second caching.The user terminal indicated in the terminal list is used for the data volume report of transmission needed for receiving
Text.The flow table item that second flow table includes is used for the data volume message of transmission needed for identifying.Described
Two cache the number that the data volume message received for cache user side router, the user side router are received
Each use according to the TCP sequence number and the SDN controllers of body message to be indicated in the terminal list
The TCP sequence number revision value and TCP acknowledgment sequence number of family terminal profile.
Fig. 8 B are another structural representation of SDN controllers 300 provided in an embodiment of the present invention, are such as schemed
Shown in 8B.SDN controllers 300 include receiver 3001 and transmitter 3002.
Wherein, receiver 3001 is used for the resource request message for receiving the forwarding of user side router.
Transmitter 3002, for agent way, sending the receiver 3001 to server and receiving
The resource request message.
The embodiments of the invention provide a kind of computer-readable storage medium, for saving as above-mentioned SDN controllers
Computer software instructions used, it, which is included, is used to perform the program involved by above-mentioned aspect.
It is understood that the above-mentioned network side router 100 being related to of the embodiment of the present invention, user side are route
Device 200 and SDN controllers 300, available for the function that is related in above method embodiment is realized, its is specific
Implementation process is referred to the associated description of above method embodiment, and here is omitted.
The embodiment of the present invention also provides a kind of message transfer system, and the message transfer system includes above-mentioned be related to
Network side router 100, user side router 200 and SDN controllers 300, and with corresponding function,
It will not be repeated here.
Message transmitting method provided in an embodiment of the present invention, apparatus and system, network side router will need to pass
The message for being defeated by user terminal is distributed to user side router, and user side router receives network side router hair
The data volume message sent, is sent to each user side router by the data volume message and connects respectively at least
One user terminal, the number of the content identical message transmitted in carrier network can be reduced to a certain extent
Amount, bandwidth resources occupancy of the content identical message to carrier network can be reduced to a certain extent.
Obviously, those skilled in the art can carry out various changes and modification without departing from this hair to the present invention
Bright spirit and scope.So, if the present invention these modifications and variations belong to the claims in the present invention and
Within the scope of its equivalent technologies, then the present invention is also intended to comprising including these changes and modification.
Claims (23)
1. a kind of message transmitting method, it is characterised in that including:
The message that network side router the reception server is sent;
The network side router determines the data volume message that the message is transmitted for needed for, the data volume report
Text refers to the message of the data entity content sent for carrying service device, and the data volume message of required transmission is
Finger is sent to user side router via network side router and is distributed to user terminal by user side router
Data volume message;
The data volume message is sent to pre-set user side router-list middle finger by the network side router
The data volume message, is sent to each by each user side router shown by each user side router
At least one user terminal that user side router is connected respectively.
2. the method as described in claim 1, it is characterised in that network side router the reception server is sent out
After the message sent, methods described also includes:
The network side router determines the information header message that the message is transmitted for needed for, described information head report
Text refer to for carry description to the operation of the network resource request of the server, Internet resources current state with
And the message of the metamessage of Internet resources attribute, the information header message of required transmission refers to route via network side
Device is sent to the information header message of SDN controllers;
Described information head message is sent to the SDN controllers by the network side router.
3. method as claimed in claim 2, it is characterised in that the network side router determines described
Information header message or data volume message that message is transmitted for needed for, including:
The network side router carries out depth according to the flow table item in the flow table being pre-created to the message
Packet check, identifies information header message or data volume message that the message is transmitted for needed for, wherein, institute
Stating flow table please in the resource for receiving user terminal transmission according to SDN controllers for the network side router
Ask what control instruction transmitted during message was pre-created.
4. the method as described in any one of claims 1 to 3, it is characterised in that the network side route
Device determines after the data volume message that the message is transmitted for needed for that methods described also includes:
The network side router caches the data volume message received within the valid cache time of setting,
And cache the TCP sequence number that the data volume message received is carried;
The network side router sends transmission control protocol TCP confirmation message to the server, wherein,
The TCP sequence number that the TCP message head of the TCP acknowledgment message includes is SDN controllers and service
Device wrapped in the TCP sequence number of setting during message interaction, the TCP message head of the TCP acknowledgment message
The TCP acknowledgment sequence number included is determined according to the TCP sequence number of caching.
5. a kind of message transmitting method, it is characterised in that including:
User side router receives the data volume message that network side router is sent, and the data volume message is use
The message of the data entity content sent in carrying service device;
The user side router determines the data volume message that the data volume message is transmitted for needed for, required biography
Defeated data volume message refers to be sent to user side router via network side router and route by user side
Device is distributed to the data volume message of user terminal;
The user side router is changed to be wrapped in the transmission control protocol TCP heading of the data volume message
The TCP sequence number and TCP acknowledgment sequence number included, and generate for being sent respectively to the user side route
The new data body message of at least one user terminal of device connection;
The new data body message is sent in pre-set user terminal list and indicated by the user side router
, at least one user terminal that the user side router is connected respectively.
6. method as claimed in claim 5, it is characterised in that the user side router modification is described
TCP sequence number and TCP acknowledgment sequence number that the TCP message head of data volume message includes, including:
TCP sequence number revision of the user side router according to the setting of software defined network SDN controllers
Value changes the TCP sequence number that the TCP message head of the data volume message includes;
Wherein, the TCP sequence number that amended TCP message head includes is the TCP of the data volume message
The TCP sequence number that heading includes and the TCP sequence number revision value sum, the TCP sequence number
Revision value is that the SDN controllers set up the message sent when TCP is linked as transmitting terminal with user terminal
TCP sequence number set up what is sent when TCP is linked as transmitting terminal with the SDN controllers and server
The difference of the TCP sequence number of message;
The TCP acknowledgment sequence number that the user side router is set according to the SDN controllers, changes institute
The TCP acknowledgment sequence number that the TCP message head of data volume message includes is stated, wherein, amended TCP
The TCP acknowledgment sequence number that SDN controllers described in the TCP acknowledgment Serial No. that heading includes are set.
7. the method as described in claim 5 or 6, it is characterised in that the user side router is determined
The data volume message that the data volume message is transmitted for needed for, including:
The user side router recognizes the data volume message according to the flow table item in the flow table being pre-created
The data volume message of the transmission for needed for, wherein, the flow table is that the user side router is controlled according to SDN
The device processed control instruction transmitted when receiving the resource request message of user terminal transmission is pre-created.
8. the method as described in any one of claim 5 to 7, it is characterised in that the user side route
Device is received after the data volume message that network side router is sent, and methods described also includes:
The user side router caches the data volume message received within the valid cache time of setting,
And cache the TCP sequence number that the data volume message received is carried.
9. the method as described in any one of claim 5 to 8, it is characterised in that user side router connects
Receive before the data volume message that network side router is sent, methods described also includes:
The user side router receives the resource request report that at least one user terminal of itself connection is sent
Text;
The user side router determines the resource request message that the resource request message is transmitted for needed for, institute
The resource request message that need to be transmitted refers to be transmitted to SDN controllers by user side router, and is controlled by SDN
The resource request message that device processed is sent with agent way to server;
The resource request message is sent to SDN controllers by the user side router.
10. a kind of message transmitting method, it is characterised in that including:
Software defined network SDN controllers receive the resource request message of user side router forwarding, described
The resource request message that resource request message is transmitted for needed for, the resource request message of required transmission refer to by with
Family side router is transmitted to SDN controllers, and sent from SDN controllers with agent way to server
Resource request message;
The SDN controllers send the resource request message with agent way to server.
11. method as claimed in claim 10, it is characterised in that the SDN controllers receive user
After the resource request message of side router forwarding, methods described also includes:
The SDN controllers send the first control instruction, first control instruction to network side router
For indicating that the network side router sets user side router-list, the first flow table and the first caching;
The user side router indicated in the user side router-list is used for the data of transmission needed for receiving
Body message, the data volume message of required transmission refers to be sent to user side router simultaneously via network side router
The data volume message of user terminal is distributed to by user side router;
The flow table item that first flow table includes is used for the information header message transmitted needed for recognizing and required
The data volume message of transmission, the information header message of required transmission refers to send and need via network side router
It is sent to the information header message of the SDN controllers;
Described first caches for caching data volume message that the network side server receives and described
Network side router to the server send transmission control protocol TCP message needed for TCP sequence number and
TCP acknowledgment sequence number;
The SDN controllers send the second control instruction, second control instruction to user side router
For indicating that the user side router sets terminal list, the second flow table and the second caching;
The user terminal indicated in the terminal list is used for the data volume message of transmission needed for receiving;
The flow table item that second flow table includes is used for the data volume message of transmission needed for identifying;
Described second caches the data volume message received for cache user side router, user side route
The TCP sequence number and the SDN controllers for the data volume message that device is received are the terminal list middle finger
The TCP sequence number revision value and TCP acknowledgment sequence number for each user terminal setting shown.
12. a kind of network side router, it is characterised in that including:
Receiving unit, the message sent for the reception server;
Processing unit, for determining the data volume report that the message that the receiving unit is received is transmitted for needed for
Text, the data volume message refers to the message of the data entity content sent for carrying service device, required biography
Defeated data volume message refers to be sent to user side router via network side router and route by user side
Device is distributed to the data volume message of user terminal;
Transmitting element, the data volume message of the required transmission for the processing unit to be determined is sent to
The each user side router indicated in the router-list of pre-set user side, will by each user side router
The data volume message is sent at least one user terminal that each user side router is connected respectively.
13. network side router as claimed in claim 12, it is characterised in that the processor is also used
In:
After the message that the receiving unit the reception server is sent, determine what the message was transmitted for needed for
Information header message, described information head message refers to the network resource request for carrying description to the server
The message of the metamessage of operation, Internet resources current state and Internet resources attribute, the information of required transmission
Head message refers to the information header message that SDN controllers are sent to via network side router;
The transmitting element, is additionally operable to described information head message being sent to the SDN controllers.
14. network side router as claimed in claim 13, it is characterised in that the processing unit,
Specifically information header message or data volume message that the message is transmitted for needed for are determined in the following way:
Deep message detection is carried out to the message according to the flow table item in the flow table being pre-created, institute is identified
Information header message or data volume message that message is transmitted for needed for are stated, wherein, the flow table is the network side
The router control transmitted when receiving the resource request message of user terminal transmission according to SDN controllers
System instruction is pre-created.
15. the network side router as described in any one of claim 12 to 14, it is characterised in that described
Network side router also includes buffer unit, wherein,
The buffer unit, for determining the data volume report that the message is transmitted for needed in the processing unit
After text, the data volume message received is cached within the valid cache time of setting, and caching is received
The data volume message carry TCP sequence number;
The transmitting element, is additionally operable to:
Transmission control protocol TCP confirmation message is sent to the server, wherein, the TCP acknowledgment report
When the TCP sequence number that the TCP message head of text includes carries out message interaction for SDN controllers with server
The TCP sequence number of setting, the TCP acknowledgment sequence that includes of TCP message head of the TCP acknowledgment message
Row number is determined according to the TCP sequence number that the buffer unit is cached.
16. a kind of user side router, it is characterised in that including:
Receiving unit, for receiving the data volume message that network side router is sent, the data volume message is
The message of the data entity content sent for carrying service device;
Processing unit, for determining the number that the data volume message that the receiving unit is received is transmitted for needed for
According to body message, the TCP sequences that the transmission control protocol TCP heading of the data volume message includes are changed
Row number and TCP acknowledgment sequence number, and generate for being sent respectively to the user side router connection extremely
The new data body message of a few user terminal, the data volume message of required transmission refers to route via network side
Device is sent to user side router and the data volume message of user terminal is distributed to by user side router;
Transmitting element, for the new data body message for generating the processing unit, is sent to default whole
Indicated in the list of end, at least one user terminal that the user side router is connected respectively.
17. user side router as claimed in claim 16, it is characterised in that the processing unit,
Specifically for changing the TCP sequence number that the TCP message head of the data volume message includes as follows
With TCP acknowledgment sequence number:
TCP sequence number revision value according to the setting of software defined network SDN controllers changes the data volume
The TCP sequence number that the TCP message head of message includes;
Wherein, the TCP sequence number that amended TCP message head includes is the TCP of the data volume message
The TCP sequence number that heading includes and the TCP sequence number revision value sum, the TCP sequence number
Revision value is that the SDN controllers set up the message sent when TCP is linked as transmitting terminal with user terminal
TCP sequence number set up what is sent when TCP is linked as transmitting terminal with the SDN controllers and server
The difference of the TCP sequence number of message;
The TCP acknowledgment sequence number set according to the SDN controllers, changes the TCP of the data volume message
The TCP acknowledgment sequence number that heading includes, wherein, the TCP that amended TCP message head includes
Confirm the TCP acknowledgment sequence number of SDN controllers setting described in Serial No..
18. the user side router as described in claim 16 or 17, it is characterised in that the processing list
Member, specifically for determining the data volume message that the data volume message is transmitted for needed for as follows:
According to the flow table item in the flow table being pre-created, the data that the data volume message is transmitted for needed for are recognized
Body message, wherein, the flow table is that the user side router is receiving user according to SDN controllers
Transmitted control instruction is pre-created during the resource request message that terminal is sent.
19. the user side router as described in any one of claim 16 to 18, it is characterised in that described
User side router also includes buffer unit, wherein,
The buffer unit, for receiving the data volume message that network side router is sent in the receiving unit
Afterwards, the data volume message received is cached within the valid cache time of setting, and caches what is received
The TCP sequence number that the data volume message is carried.
20. the user side router as described in any one of claim 16 to 19, it is characterised in that described
Receiving unit, is additionally operable to:
Receive before the data volume message that network side router is sent, receive at least one user of itself connection
The resource request message that terminal is sent;
The processing unit, is additionally operable to:
Determine the resource request message that the resource request message is transmitted for needed for, the resource request of required transmission
Message refers to be transmitted to SDN controllers by user side router, and from SDN controllers with agent way to
The resource request message that server is sent;
The transmitting element, is additionally operable to:
The resource request message is sent to SDN controllers.
21. a kind of software defined network SDN controllers, it is characterised in that including:
Receiving unit, the resource request message for receiving the forwarding of user side router, the resource request report
The resource request message that text is transmitted for needed for, the resource request message of required transmission refers to by user side router
It is transmitted to SDN controllers, and the resource request report sent from SDN controllers with agent way to server
Text;
Transmitting element, for agent way, being sent to server described in the receiving unit reception
Resource request message.
22. SDN controllers as claimed in claim 21, it is characterised in that the transmitting element, also
For:
After the resource request message that the receiving unit receives the forwarding of user side router, to network dypass
First control instruction is sent by device, and the second control instruction is sent to user side router;
First control instruction is used to indicating that the network side router to set user side router-list, the
One flow table and the first caching;
The user side router indicated in the user side router-list is used for the data of transmission needed for receiving
Body message, the data volume message of required transmission refers to be sent to user side router simultaneously via network side router
The data volume message of user terminal is distributed to by user side router;
The flow table item that first flow table includes is used for the information header message transmitted needed for recognizing and required
The data volume message of transmission, the information header message of required transmission refers to send and need via network side router
It is sent to the information header message of the SDN controllers;
Described first caches for caching data volume message that the network side server receives and described
Network side router to the server send transmission control protocol TCP message needed for TCP sequence number and
TCP acknowledgment sequence number;
Second control instruction be used to indicating the user side router set terminal list, the second flow table with
And second caching;
The user terminal indicated in the terminal list is used for the data volume message of transmission needed for receiving;
The flow table item that second flow table includes is used for the data volume message of transmission needed for identifying;
Described second caches the data volume message received for cache user side router, user side route
The TCP sequence number and the SDN controllers for the data volume message that device is received are the terminal list middle finger
The TCP sequence number revision value and TCP acknowledgment sequence number for each user terminal setting shown.
23. a kind of message transfer system, it is characterised in that including described in any one of claim 12 to 15
Network side router, the user side router described in any one of claim 16 to 20 and claim 21
To any one of 22 software defined network SDN controllers.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610178022.6A CN107231567B (en) | 2016-03-25 | 2016-03-25 | Message transmission method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610178022.6A CN107231567B (en) | 2016-03-25 | 2016-03-25 | Message transmission method, device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107231567A true CN107231567A (en) | 2017-10-03 |
CN107231567B CN107231567B (en) | 2020-10-23 |
Family
ID=59931891
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610178022.6A Active CN107231567B (en) | 2016-03-25 | 2016-03-25 | Message transmission method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107231567B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113812122A (en) * | 2019-05-13 | 2021-12-17 | 128技术公司 | Source based routing |
US11784907B2 (en) | 2019-05-13 | 2023-10-10 | 128 Technology, Inc. | Routing using segment-based metrics |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20010084769A (en) * | 2000-02-29 | 2001-09-06 | 윤영찬 | Ethernet TCP/IP Modem |
CN101243724A (en) * | 2005-08-16 | 2008-08-13 | 西门子公司 | Method, communication arrangement and communication device for transferring information |
CN101924771A (en) * | 2010-08-26 | 2010-12-22 | 北京天融信科技有限公司 | Core-level TCP adhering junction method for accelerating application proxy |
CN102098167A (en) * | 2010-12-29 | 2011-06-15 | 杭州华三通信技术有限公司 | Multicasting stream forwarding method, device and system |
CN102137005A (en) * | 2010-12-31 | 2011-07-27 | 华为技术有限公司 | Method, device and system for forwarding date in communication system |
CN105262667A (en) * | 2015-09-17 | 2016-01-20 | 杭州数梦工场科技有限公司 | Method and device for controlling multicast transmission in Overlay network |
-
2016
- 2016-03-25 CN CN201610178022.6A patent/CN107231567B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20010084769A (en) * | 2000-02-29 | 2001-09-06 | 윤영찬 | Ethernet TCP/IP Modem |
CN101243724A (en) * | 2005-08-16 | 2008-08-13 | 西门子公司 | Method, communication arrangement and communication device for transferring information |
CN101924771A (en) * | 2010-08-26 | 2010-12-22 | 北京天融信科技有限公司 | Core-level TCP adhering junction method for accelerating application proxy |
CN102098167A (en) * | 2010-12-29 | 2011-06-15 | 杭州华三通信技术有限公司 | Multicasting stream forwarding method, device and system |
CN102137005A (en) * | 2010-12-31 | 2011-07-27 | 华为技术有限公司 | Method, device and system for forwarding date in communication system |
CN105262667A (en) * | 2015-09-17 | 2016-01-20 | 杭州数梦工场科技有限公司 | Method and device for controlling multicast transmission in Overlay network |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113812122A (en) * | 2019-05-13 | 2021-12-17 | 128技术公司 | Source based routing |
US11750508B2 (en) | 2019-05-13 | 2023-09-05 | 128 Technology, Inc. | Source-based routing |
US11784907B2 (en) | 2019-05-13 | 2023-10-10 | 128 Technology, Inc. | Routing using segment-based metrics |
Also Published As
Publication number | Publication date |
---|---|
CN107231567B (en) | 2020-10-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20140181140A1 (en) | Terminal device based on content name, and method for routing based on content name | |
CN113411313B (en) | Data transmission method, device and system | |
CN104509069B (en) | Support the technology of selective mobile content optimization | |
CN102904959B (en) | Network accelerating method and gateway | |
US10129722B2 (en) | Service processing method and network device | |
CN104519139B (en) | Caching method, caching edges server, caching Core server and caching system System | |
US20170164231A1 (en) | Data transmission method and base station | |
CN103401946B (en) | HTTP uploads accelerated method and system | |
US9268813B2 (en) | Terminal device based on content name, and method for routing based on content name | |
EP3135016B1 (en) | Managing sequence values with added headers in computing devices | |
US20150127837A1 (en) | Relay apparatus and data transfer method | |
WO2017148419A1 (en) | Data transmission method and server | |
Cha et al. | A mobility link service for ndn consumer mobility | |
US7512715B2 (en) | System and method for requesting a resource over at least one network with reduced overhead | |
CN107231567A (en) | A kind of message transmitting method, apparatus and system | |
EP3186959B1 (en) | Enrichment of upper layer protocol content in tcp based session | |
WO2009011968A1 (en) | Endpoint discriminator in network transport protocol startup packets | |
CN105897452A (en) | Data retransmission method and device | |
CN106506572B (en) | The method of router and router push local information | |
CN109688085B (en) | Transmission control protocol proxy method, storage medium and server | |
CN114489730A (en) | Remote upgrading method, terminal equipment and computer readable storage medium | |
AU2014231331B2 (en) | System and method for reliable messaging between application sessions across volatile networking conditions | |
CN111225423B (en) | Method and device for forwarding data | |
CN102395121B (en) | Method, system and device for resending update-location-request information | |
JP2009044695A (en) | Communication control method, transmitter, and computer program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |