CN105119829B - Data transmission method, device and system - Google Patents
Data transmission method, device and system Download PDFInfo
- Publication number
- CN105119829B CN105119829B CN201510564519.7A CN201510564519A CN105119829B CN 105119829 B CN105119829 B CN 105119829B CN 201510564519 A CN201510564519 A CN 201510564519A CN 105119829 B CN105119829 B CN 105119829B
- Authority
- CN
- China
- Prior art keywords
- handling result
- random access
- service request
- access memory
- data transmission
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 96
- 238000000034 method Methods 0.000 title claims abstract description 31
- 238000012545 processing Methods 0.000 claims description 19
- 230000011664 signaling Effects 0.000 abstract description 21
- 230000006870 function Effects 0.000 description 21
- 230000003068 static effect Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 235000013399 edible fruits Nutrition 0.000 description 5
- 238000004891 communication Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000000151 deposition Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000032683 aging Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000011017 operating method Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/54—Organization of routing tables
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/70—Admission control; Resource allocation
- H04L47/80—Actions related to the user profile or the type of traffic
- H04L47/805—QOS or priority aware
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention provides a kind of data transmission method, device and system, wherein method includes:Receive that virtual gateway sends to the first service request treated the first handling result, and first handling result is stored to random access memory, the first service request is that terminal is sent;The first handling result in random access memory is backed up in flash memory;If being connected to the first service request that terminal is sent again, judge whether there is the first handling result in random access memory, if judging result is no, the first handling result in flash memory is loaded onto random access memory;The first handling result in random access memory is read, and is handled according to the first handling result.The data transmission method of the present invention, device and system, when the same service request that terminal is sent to home gateway, home gateway to virtual gateway without sending service request every time, so as to reduce signaling overheads.
Description
Technical field
The present invention relates to the communication technology more particularly to a kind of data transmission method, device and system.
Background technology
At this stage, under the deployment scenario of virtualization gateway, the partial function of family gateway equipment is held by virtual gateway
Row, terminal send service request to home gateway, and service request is transmitted to virtual gateway by home gateway, and virtual gateway is to family
The service request of gateway forwards is handled, and handling result is sent to home gateway, and home gateway is further according to obtained place
It manages result and carries out the operations such as subsequent forwarding or analysis.
But when the same service request that terminal is sent to home gateway, home gateway is required for every time to virtual net
It closes and sends service request, handling result is sent to home gateway again after being handled by virtual gateway, but is undoubtedly increased in this way
Communication delay and signaling overheads are added.
Invention content
A kind of data transmission method of present invention offer, device and system, for solving in the prior art in virtual gateway
The problem of data transmission method under deployment scenario can increase communication delay and signaling overheads.
The first aspect of the invention is to provide a kind of data transmission method, including:Receive that virtual gateway sends to the
One service request treated the first handling result, and first handling result is stored to random access memory, described first
Service request is that terminal is sent;
The first handling result in the random access memory is backed up in flash memory;
If being connected to the first service request that the terminal is sent again, judge whether to have in the random access memory described
The first handling result in the flash memory is loaded onto the random access memory by the first handling result if judging result is no;
The first handling result in the random access memory is read, and is handled according to first handling result.
The second aspect of the invention also provides a kind of data transmission device, including:Receiving module, for receiving virtual net
Close send to the first service request treated the first handling result, and first handling result is stored to random storage
Device, first service request are that terminal is sent;
Backup module, for backing up to the first handling result in the random access memory in flash memory;
Judgment module, for when being connected to the first service request that the terminal is sent again, judging the random storage
Whether there is first handling result in device, if judging result is no, the first handling result in the flash memory is loaded onto
The random access memory;
Read module is tied for reading the first handling result in the random access memory, and according to first processing
Fruit is handled.
The third aspect of the invention also provides a kind of data transmission system, including:Above-mentioned data transmission device and virtual
Gateway, the virtual gateway are used to receive the first service request that the data transmission device is sent, and to first business
Request is handled, and generates the first processing result data packet, and first handling result is sent to the data transmission and is filled
It sets.
By above technical scheme it is found that data transmission method provided by the invention, device and system, when terminal is to home network
When closing the same service request sent, home gateway to virtual gateway without sending service request every time, so as to subtract
Few signaling overheads, in addition, the present invention asks business in flash memory by the pattern provided with two-level memory in home gateway
The handling result asked is backed up, so as to receive again terminal transmission same service request when, if depositing at random
The first handling result in reservoir is wiped free of, then the processing result data packet in flash memory is directly loaded onto random access memory, from
Without the first service request is sent to virtual gateway again, and first is asked without the virtual gateway of waiting network side
Handling result send back home gateway, to reduce signaling delay and signaling overheads.
Description of the drawings
Fig. 1 is the flow chart of data transmission method provided in an embodiment of the present invention;
Fig. 2 is the flow chart for the data transmission method that further embodiment of this invention provides;
Fig. 3 is the flow chart for the data transmission method that yet another embodiment of the invention provides;
Fig. 4 is the structural schematic diagram for the data transmission device that another embodiment of the present invention provides;
Fig. 5 is the structural schematic diagram for the data transmission device that one embodiment of the invention provides;
Fig. 6 is the structural schematic diagram for the data transmission system that further embodiment of this invention provides.
Specific implementation mode
Embodiment one
The present embodiment provides a kind of data transmission method, Fig. 1 is the stream of data transmission method provided in an embodiment of the present invention
The executive agent of Cheng Tu, the present embodiment are home gateway, which is located at user side, and the home network in the present embodiment
Pass only remains part of functions compared with conventional gateway, for example, remote management capability, but home gateway and conventional gateway
It compares, hardware interface is constant.
As shown in Figure 1, data transmission method provided in this embodiment includes:
Step 101, receive that virtual gateway sends to the first service request treated the first handling result, and by first
Handling result is stored to random access memory, wherein first service request is that terminal is sent.
Wherein, virtual gateway is located at network side, and the virtual gateway in the present embodiment can execute traditional family in the prior art
The partial function of front yard gateway, for example, give address handset allocation IP (Internet Protocol, abbreviation IP) of household internal
Dynamic host configuration protocol DHCP (Dynamic Host Configuration Protocol, abbreviation DHCP) function, dial work(
Energy is equal.Wherein, random access memory, that is, RAM (Random Access Memory, abbreviation RAM) can support electrification to store.
First handling result is the procotol that virtual gateway is stored according to itself, and carrying out different processing to the first service request obtains
Result.
As can be seen that since virtual gateway performs the function of a part of conventional gateway, with traditional home gateway
It compares, the home gateway of the present embodiment can reduce CPU (Central Processing since the function of execution tails off
Unit, abbreviation CPU) dominant frequency, so as to reduce the burden of home gateway.
Step 102, the first handling result in random access memory is backed up in flash memory.
Wherein, the memory size of flash memory is less than the flash memory size of traditional-family's gateway, for example, family in the prior art
For front yard gateway due to executing too many function, Flash sizes are generally 16MB or so, but the home gateway in the application due to
Partial function is executed by virtual gateway, and therefore, the memory size of Flash is greatly reduced, it is however generally that, 8MB sizes are
It can.Certainly it is only that citing illustrates here, the size of specific Flash is simultaneously not limited.As can be seen that in the present embodiment
Home gateway compared with the conventional gateway of the prior art, hsrdware requirements are minimized.
Step 103, if being connected to the first service request that terminal is sent again, judge whether there is first in random access memory
The first handling result in flash memory is loaded onto random access memory by handling result if judging result is no.
What needs to be explained here is that since random access memory does not support electrification to store, there are home gateway power-off, numbers
It is wiped free of according to the first handling result in random access memory caused by the reasons such as update, traffic failure.
Therefore, when user reuses the first business, home gateway receives the first business that terminal is sent again and asks
It asks, then judges to whether there is the first handling result in RAM, if the first handling result is not present in RAM, by the in flash memory
One handling result is loaded into RAM, to provide service faster, to which home gateway can not send the first service request
To virtual gateway.
Certainly, the random access memory for being used to back up the first handling result can also exist independently of home gateway.
Step 104, the first handling result in random access memory is read, and is handled according to the first handling result.
First handling result can be sent to net by home gateway after the first handling result in reading random access memory
Network processing core (Network processor, abbreviation NP) carries out the work(such as subsequent forwarding, dismantling packet, addition label by NP
Energy.
By above technical scheme it is found that data transmission method provided by the invention, when terminal send to home gateway it is same
When the service request of sample, home gateway to virtual gateway without sending service request every time, so as to reduce signaling overheads,
In addition, the present invention by home gateway be provided with two-level memory pattern, i.e., to the processing knot of service request in flash memory
Fruit is backed up, so as to when receiving the same service request of terminal transmission again, if the in random access memory
One handling result is wiped free of, then the processing result data packet in flash memory is directly loaded onto random access memory, without again will
First service request is sent to virtual gateway, and without the handling result for waiting for the virtual gateway of network side to be asked first
Home gateway is sent back, to reduce signaling delay and signaling overheads.
Embodiment two
The present embodiment is the further supplementary explanation to above-described embodiment, and Fig. 2 is that further embodiment of this invention provides
The flow chart of data transmission method, as shown in Fig. 2, this method includes:
Step 201, the first service request that terminal is sent is received.
Step 202, the first service request is sent to virtual gateway, so that the first service request of virtual gateway pair is handled
And generate the first handling result.
Step 203, receive that virtual gateway sends to the first service request treated the first handling result, and by first
Handling result is stored to random access memory, wherein the first handling result includes at least one of following result:With the first business
Corresponding MAC (Media Access Control, abbreviation MAC) address table, IP (Internet Protocol, abbreviation IP)
Location allocation table, routing table, quality of service Qos (Quality of Service, abbreviation Qos) Policy Table.
Wherein, the first service request can be any service request, such as can be the request that network is added in terminal, at this time
First handling result can be when network is added in terminal, and virtual gateway is the IP address allocation table of terminal distribution static ip address
Deng, for example, usually use mobile phone be added home router when, mobile phone can obtain a static ip address.
It is illustrated so that the first service request is to access the request for browsing www.baidu.com as an example in the present embodiment.When terminal needs
When accessing Baidu, home gateway receives the browse request of the Baidu of terminal transmission if, by the service request of the browsing
It is sent to virtual gateway, virtual gateway is according to the IP address of Baidu and and the MAC Address of terminal or the static IP of terminal
Location generates a routing table, i.e. virtual gateway generates routing table according to purpose IP address and the source addresses MAC/IP.I.e. in routing table
It include the one-to-one relationship of purpose IP address and the source addresses MAC/IP.Alternatively, can also be according to the MAC of the server of Baidu
The MAC Address of address and terminal generates mac address table, i.e. mac address table includes the one of source MAC and target MAC (Media Access Control) address
One correspondence.Certain first handling result can also be Qos Policy Tables corresponding with the first business, and differ a citing herein.
Step 204, the first handling result in random access memory is backed up in flash memory.
Step 205, if being connected to the first service request that terminal is sent again, judge whether there is first in random access memory
The first handling result in flash memory is loaded onto random access memory by handling result if judging result is no.
When terminal sends the browse request of Baidu again, since random access memory does not support electrification to store, exist
Industry caused by the reasons such as home gateway power-off, data update, traffic failure, aging mechanism in random access memory with Baidu
Whether relevant mac address table, the routing table etc. of being engaged in are wiped free of, at this point, judging to have in random access memory relevant with Baidu business
If mac address table, routing table, Qos Policy Tables etc. are handled as a result, judging result is no, by the mac address table backed up in flash memory,
Routing table, Qos Policy Tables etc. are loaded onto random access memory, to which the first service request can not be sent to virtually by home gateway
Gateway.
Step 206, the first handling result in random access memory is read, and is handled according to the first handling result.
Home gateway will be sent to NP with the relevant mac address table of Baidu business, routing table, Qos Policy Tables etc., by NP
Carry out the functions such as subsequent forwarding, dismantling packet, addition label.
By above technical scheme it is found that data transmission method provided by the invention, when terminal send to home gateway it is same
When the service request of sample, home gateway to virtual gateway without sending service request every time, so as to reduce signaling overheads,
In addition, the present invention by home gateway be provided with two-level memory pattern, i.e., by flash memory to the handling result of service request
Backed up, so as to receive again terminal transmission same service request, if in random access memory first at
Reason result is wiped free of, then the processing result data packet in flash memory is directly loaded onto random access memory, without again by first
Service request is sent to virtual gateway, and is sent without the handling result for waiting for the virtual gateway of network side to be asked first
Home gateway is returned, to reduce signaling delay and signaling overheads.In addition, the pattern by secondary storage can also avoid family
Gateway in power-off or failure and caused by loss of data.
Embodiment three
The present embodiment is the further supplementary explanation to above-described embodiment, and Fig. 3 is that yet another embodiment of the invention provides
The flow chart of data transmission method, as shown in figure 3, this method includes:
Step 301, receive that virtual gateway sends to the first service request treated the first handling result, and by first
Handling result is stored to random access memory, wherein the first handling result includes at least one of following result:With the first business
Corresponding mac address table, IP address allocation table, routing table, quality of service Qos Policy Table.
Step 302, the first handling result in random access memory is backed up in flash memory.
Step 301, step 302 are corresponding identical as step 101, the step 102 in above-described embodiment respectively, herein no longer
It repeats.
Step 303, if being connected to the first service request that terminal is sent again, judge whether there is first in random access memory
Handling result.
Step 3031, if judging result is no, the first handling result in flash memory is loaded onto random access memory.
Since random access memory does not support electrification to store, exist when home gateway power-off, data update, traffic failure
Etc. the first handling result caused by reasons in random access memory be wiped free of.At this point, judging there is no in random access memory
The first handling result in flash memory is then loaded onto random access memory by one handling result.
Step 3032, if the determination result is YES, then the first handling result in random access memory is read, and according at first
Reason result is handled.
If home gateway after first business of access, there is no other business are accessed, is answered in random access memory at this time
Still it is stored with the first handling result.Therefore, when the first service request that home gateway reception terminal is sent again, if depositing at random
There are the first handling results in reservoir, then read the first handling result in random access memory.
Step 304, the first handling result in random access memory is read, and is handled according to the first handling result.
Step 304 is consistent with step 206 or step 104, and details are not described herein.
By above technical scheme it is found that data transmission method provided by the invention, by being provided with two in home gateway
The pattern of grade storage, i.e., back up the handling result of service request by flash memory, so as to receive terminal hair again
When the same service request sent, if the first handling result in random access memory is wiped free of, directly by the processing knot in flash memory
Fruit data packet is loaded onto random access memory, if being loaded directly into random access memory there are the first handling result in random access memory
In the first handling result, without the first service request is sent to virtual gateway again, and without waiting for network side
Virtual gateway by first request handling result send back home gateway, to reduce signaling delay and signaling overheads.
Example IV
The present embodiment provides a kind of data transmission device, Fig. 4 is the data transmission device that another embodiment of the present invention provides
Structural schematic diagram, the data transmission method for executing embodiment one, as shown in figure 4, in the present embodiment data transmission dress
Setting in user side, for example, can be home gateway.As shown in figure 4, the data transmission device includes:Receiving module connects
Receive module 401, backup module 402, judgment module 403 and read module 404.
Wherein, receiving module 401 be used for receive virtual gateway transmission to the first service request treated first processing
As a result, and the first handling result is stored to random access memory, the first service request be terminal send.
Specifically, virtual gateway is located at network side, the virtual gateway in the present embodiment can execute number in the prior art
According to the partial function of transmitting device, for example, with giving the handset allocation IP (Internet Protocol, abbreviation IP) of household internal
Dynamic host configuration protocol DHCP (Dynamic Host Configuration Protocol, abbreviation DHCP) function of location is dialled
Number function etc..Wherein, random access memory, that is, RAM (Random Access Memory, abbreviation RAM) can support to charge
Storage.First handling result is the procotol that virtual gateway is stored according to itself, and different places is carried out to the first service request
Manage obtained result.
As can be seen that since virtual gateway performs the function of a part of data transmission device in the prior art, with
Traditional data transmission device is compared, and the data transmission device of the present embodiment can be reduced since the function of execution tails off
The dominant frequency of CPU (Central Processing Unit, abbreviation CPU), so as to reduce the burden of data transmission device.
Backup module 402 is connect with receiving module 401, can obtain the first handling result of the reception of receiving module 401, tool
Body, backup module 402 is for backing up to the first handling result in random access memory in flash memory.
Wherein, the memory size of flash memory is less than the flash memory size of conventional data transmission device, for example, in the prior art
Data transmission device be generally 16MB or so, but the data in the application due to executing too many function, Flash sizes
Transmitting device since partial function is executed by virtual gateway, the memory size of Flash is greatly reduced, it is general and
Speech, 8MB sizes.Certainly it is only that citing illustrates here, the size of specific Flash is simultaneously not limited.It can see
Go out, compared with the data transmission device of the prior art, hsrdware requirements are minimized the data transmission device in the present embodiment.
Judgment module 403 is connect with receiving module 401 and backup module 402 respectively, is sent again for that ought be connected to terminal
The first service request when, judge whether there is the first handling result in random access memory, will be in flash memory if judging result is no
The first handling result be loaded onto random access memory.
What needs to be explained here is that since random access memory does not support electrification to store, it is disconnected that there are data transmission devices
The first handling result caused by the reasons such as electricity, data update, traffic failure in random access memory is wiped free of.
Therefore, when user reuses the first business, data transmission device receives the first industry that terminal is sent again
Business request, judgment module 403 then judge to whether there is the first handling result in RAM, if there is no the first processing to tie in RAM
The first handling result in flash memory is then loaded into RAM by fruit, to provide service faster, to which data transmission device can
The first service request is not sent to virtual gateway.
Certainly, the random access memory for being used to back up the first handling result can also exist independently of data transmission device.
Read module 404 is connect with backup module 402, which is used to read first in random access memory
Handling result, and handled according to the first handling result.
Specifically, read module 404 can tie the first processing after the first handling result in reading random access memory
Fruit is sent to network processing core (Network processor, abbreviation NP), and subsequent forwarding, dismantling packet, addition are carried out by NP
The functions such as label.
By above technical scheme it is found that data transmission device provided by the invention, when terminal is sent to data transmission device
Same service request when, data transmission device without every time to virtual gateway send service request, so as to reduce
Signaling overheads, in addition, the present invention by data transmission device be provided with two-level memory pattern, i.e., to business in flash memory
The handling result of request is backed up, so as to receive again terminal transmission same service request when, if at random
The first handling result in memory is wiped free of, then the processing result data packet in flash memory is directly loaded onto random access memory,
Without the first service request is sent to virtual gateway again, and first is asked without the virtual gateway of waiting network side
The handling result asked sends back data transmission device, to reduce signaling delay and signaling overheads.
Embodiment five
The present embodiment is further remarked additionally to above-described embodiment.Fig. 5 is the data that one embodiment of the invention provides
The structural schematic diagram of transmitting device, the data transmission method for executing above-described embodiment two, the data transmission in the present embodiment
Device is located at user side, for example, can be home gateway.As shown in figure 5, the data transmission device includes:Receiving module
501, backup module 502, judgment module 503, read module 504 and sending module 505.
Wherein, effect and the receiving module in embodiment one of receiving module 501, backup module 502, judgment module 503
401, backup module 402, the effect of judgment module 403 are identical, and details are not described herein.
Receiving module 501 is connect with sending module 505, and receiving module 501 is additionally operable to receive the first business that terminal is sent
Request, so that sending module 505 sends the first service request to virtual gateway.
Sending module 505 is used to send the first service request to virtual gateway, so that the virtual gateway is to described first
Service request is handled and generates the first handling result.
Wherein, the first handling result includes at least one of following result:MAC (Media corresponding with the first business
Access Control, abbreviation MAC) address table, IP (Internet Protocol, abbreviation IP) allocation tables, routing table,
Quality of service Qos (Quality of Service, abbreviation Qos) Policy Table.
Wherein, the first service request can be any service request, such as can be the request that network is added in terminal, at this time
First handling result can be when network is added in terminal, and virtual gateway is the IP address allocation table of terminal distribution static ip address
Deng, for example, usually use mobile phone be added home router when, mobile phone can obtain a static ip address.
Unlike the embodiments above, the read module 504 in the present embodiment is additionally operable to be sent again when being connected to terminal
The first service request when, judge whether there is the first handling result in random access memory, if judging to have in random access memory
One handling result then reads the first handling result in random access memory, and is handled according to the first handling result.
If specifically, after first business of access, there is no the other business of access by user, at this time in random access memory
The first handling result should be still stored with.Therefore, when the first service request that data transmission device reception terminal is sent again, if
There are the first handling results in random access memory, then read the first handling result in random access memory.
By above technical scheme it is found that data transmission device provided by the invention, by being arranged in data transmission device
The pattern of two-level memory, i.e., back up the handling result of service request by flash memory, so as to receive end again
When holding the same service request sent, if the first handling result in random access memory is wiped free of, directly by the place in flash memory
Reason result data packet is loaded onto random access memory, if there are the first handling result in random access memory, is loaded directly into and deposits at random
The first handling result in reservoir, without the first service request is sent to virtual gateway again, and without waiting net
The handling result of first request is sent back data transmission device by the virtual gateway of network side, to reduce signaling delay and signaling
Expense.
Embodiment six
The present embodiment provides a kind of data transmission system, Fig. 6 is the data transmission system that further embodiment of this invention provides
Structural schematic diagram, as shown in fig. 6, the system includes:Data transmission device 1 and virtual gateway 2, virtual gateway 2 is for receiving
The first service request that data transmission device 1 is sent, and the first service request is handled, the first handling result is generated, and
First handling result is sent to data transmission device.
Virtual gateway 2 in the present embodiment can perform the function of a part of data transmission device in the prior art, because
This, compared with traditional data transmission device, the data transmission device 1 of the present embodiment, thus can since the function of execution tails off
To reduce the dominant frequency of CPU, so as to reduce the burden of data transmission device 1.
Wherein, the first handling result includes at least one of following result:Mac address table corresponding with the first business,
IP address allocation table, routing table, Qos Policy Tables.
Data transmission device 1 can execute the function of any data transmitting device provided in above-described embodiment, former
Details are not described herein for reason.
First service request can be any service request, such as can be the request that network is added in terminal, at this time first
Handling result can be when network is added in terminal, and virtual gateway is the IP address allocation table etc. of terminal distribution static ip address,
For example, when usually using mobile phone that home router is added, mobile phone can obtain a static ip address.
It is illustrated so that the first service request is to access the request for browsing www.baidu.com as an example in the present embodiment.When terminal needs
When accessing Baidu, data transmission device 1 receives the browse request of the Baidu of terminal transmission if, by the business of the browsing
Request is sent to virtual gateway 2, virtual gateway 2 according to the IP address of Baidu and and terminal MAC Address or terminal it is quiet
State IP address generates a routing table, i.e. virtual gateway 2 generates routing table, i.e. road according to purpose IP address and the source addresses MAC/IP
By the one-to-one relationship in table including purpose IP address and the source addresses MAC/IP.Alternatively, can also be according to the service of Baidu
The MAC Address of device and the MAC Address of terminal generate mac address table, i.e., mac address table includes source MAC and purpose MAC
The one-to-one relationship of location.Certain first handling result can also be Qos Policy Tables corresponding with the first business, herein not one by one
Citing.
After virtual gateway 2 generates the first handling result, virtual gateway 2 sends the first processing to data transmission device 1
As a result, data transmission device 1 after receiving the first handling result, may refer to the data transmission provided in above-described embodiment
The operating procedure of method, details are not described herein.
By above technical scheme it is found that data transmission system provided by the invention, virtual gateway 2 perform partial data biography
The function of defeated device 1, therefore the dominant frequency of the CPU of data transmission device 1 can be reduced, to reduce the negative of data transmission device 1
Load, and the present invention data transmission system by data transmission device 1 be provided with two-level memory pattern, i.e., by flash memory
The handling result of service request is backed up, so as to receive again terminal transmission same service request when,
If the first handling result in random access memory is wiped free of, the processing result data packet in flash memory is directly loaded onto random storage
Device, if there are the first handling result in random access memory, the first handling result being loaded directly into random access memory, to nothing
Need to the first service request be sent to virtual gateway 2 again, and asked first without the virtual gateway 2 of waiting network side
Handling result sends back data transmission device 1, to reduce signaling delay and signaling overheads.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of above-mentioned each method embodiment can lead to
The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer read/write memory medium.The journey
When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned includes:ROM, RAM, magnetic disc or
The various media that can store program code such as person's CD.
Finally it should be noted that:The above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Present invention has been described in detail with reference to the aforementioned embodiments for pipe, it will be understood by those of ordinary skill in the art that:Its according to
So can with technical scheme described in the above embodiments is modified, either to which part or all technical features into
Row equivalent replacement;And these modifications or replacements, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.
Claims (6)
1. a kind of data transmission method, which is characterized in that including:
Receive that virtual gateway sends to the first service request treated the first handling result, and by first handling result
It stores to random access memory, first service request is that terminal is sent;
The first handling result in the random access memory is backed up in flash memory;
If being connected to the first service request that the terminal is sent again, judge whether there is described first in the random access memory
The first handling result in the flash memory is loaded onto the random access memory by handling result if judging result is no;
The first handling result in the random access memory is read, and is handled according to first handling result;
If judging there is first handling result in the random access memory, read at first in the random access memory
Reason according to first handling result as a result, and handled.
2. data transmission method according to claim 1, which is characterized in that first handling result includes following result
At least one of:Mac address table corresponding with the first business, IP address allocation table, routing table, Qos Policy Tables.
3. according to the data transmission method described in any one of claim 1-2, which is characterized in that sent receiving virtual gateway
To the first service request treated the first handling result before, further include:
Receive the first service request that terminal is sent;
The first service request is sent to virtual gateway, so that the virtual gateway is handled and given birth to first service request
At the first handling result.
4. a kind of data transmission device, which is characterized in that including:
Receiving module, for receive virtual gateway transmission to the first service request treated the first handling result, and by institute
It states the first handling result to store to random access memory, first service request is that terminal is sent;
Backup module, for backing up to the first handling result in the random access memory in flash memory;
Judgment module, for when being connected to the first service request that the terminal is sent again, judging in the random access memory
Whether there is first handling result, if judging result is no, the first handling result in the flash memory is loaded onto described
Random access memory;
Read module, for reading the first handling result in the random access memory, and according to first handling result into
Row processing;
The read module is additionally operable to when judging there is first handling result in the random access memory, then read it is described with
The first handling result in machine memory, and handled according to first handling result.
5. data transmission device according to claim 4, which is characterized in that
The receiving module, the first service request for receiving terminal transmission;
Further include:
Sending module, for sending the first service request to virtual gateway, so that the virtual gateway asks first business
It asks and is handled and generated the first handling result.
6. a kind of data transmission system, which is characterized in that including data transmission device as described in claim 4 or 5 and virtually
Gateway, the virtual gateway are used to receive the first service request that the data transmission device is sent, and to first business
Request is handled, and generates the first handling result, and first handling result is sent to the data transmission device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510564519.7A CN105119829B (en) | 2015-09-07 | 2015-09-07 | Data transmission method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510564519.7A CN105119829B (en) | 2015-09-07 | 2015-09-07 | Data transmission method, device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105119829A CN105119829A (en) | 2015-12-02 |
CN105119829B true CN105119829B (en) | 2018-11-09 |
Family
ID=54667724
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510564519.7A Active CN105119829B (en) | 2015-09-07 | 2015-09-07 | Data transmission method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105119829B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109088867A (en) * | 2018-08-08 | 2018-12-25 | 浙江天地人科技有限公司 | A method of reducing data and uploads the connection frequency |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101969407A (en) * | 2010-11-03 | 2011-02-09 | 中国电信股份有限公司 | Home gateway based storage service method and storage service device |
CN103973834A (en) * | 2014-05-12 | 2014-08-06 | 重庆邮电大学 | Domain name resolution (DNS) acceleration method and device based on home gateway |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1311337C (en) * | 2004-06-24 | 2007-04-18 | 华为技术有限公司 | Realization and maintainment for running mode of preventing apparatus |
CN101673229A (en) * | 2008-09-10 | 2010-03-17 | 创惟科技股份有限公司 | Memory system and method for automatically backing up data stored by flash memory |
JP2012014574A (en) * | 2010-07-02 | 2012-01-19 | Fujitsu Ltd | Storage device, configuration information storage method and configuration information storage program |
WO2013098429A1 (en) * | 2011-12-30 | 2013-07-04 | Juniper Networks, Inc. | Virtual customer premises equipment |
-
2015
- 2015-09-07 CN CN201510564519.7A patent/CN105119829B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101969407A (en) * | 2010-11-03 | 2011-02-09 | 中国电信股份有限公司 | Home gateway based storage service method and storage service device |
CN103973834A (en) * | 2014-05-12 | 2014-08-06 | 重庆邮电大学 | Domain name resolution (DNS) acceleration method and device based on home gateway |
Non-Patent Citations (1)
Title |
---|
家庭网关功能虚拟化技术研究;蒋铭;李浩琳;沈成彬;曹敏;;《电信科学》;20140720(第7期);第135-138页 * |
Also Published As
Publication number | Publication date |
---|---|
CN105119829A (en) | 2015-12-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111917649B (en) | Virtual private cloud communication and configuration method and related device | |
CN108449282B (en) | Load balancing method and device | |
CN109302466B (en) | Data processing method, related device and computer storage medium | |
CN101964799B (en) | Solution method of address conflict in point-to-network tunnel mode | |
KR102392120B1 (en) | Processing method, device and system for nf component abnormality | |
CN105142189B (en) | The roam control method and device of website | |
CN109150638A (en) | A kind of route management method and device | |
WO2009097776A1 (en) | System, device and method for achieving service upgrade | |
CN112583655B (en) | Data transmission method and device, electronic equipment and readable storage medium | |
CN116996908A (en) | Fusion management method, device, equipment and medium of master-slave gateway and wireless AP | |
CN106100986A (en) | Line control of communication method and device | |
CN104426816B (en) | A kind of virtual machine communication method and device | |
US9521586B2 (en) | Mobile communication system, communication system, node, flow-control network, and communication-control method | |
CN108494679B (en) | Linux system based SSH message forwarding method and device for realizing router | |
WO2024114022A1 (en) | Session control method and system, and smf network element | |
CN105119829B (en) | Data transmission method, device and system | |
CN104539752B (en) | Access method and system between multilevel field platform | |
WO2017166038A1 (en) | Communication method and terminal | |
CN103442357B (en) | A kind of method and device expanding maximum support number of users | |
CN105072669B (en) | The connection control method and device of website | |
WO2014180156A1 (en) | Data transmission method and device | |
CN108881026B (en) | Linux system based BGP message forwarding method and device for realizing router | |
CN105847143A (en) | VRRP (virtual router redundancy protocol)-based load balancing method and system | |
CN116301630A (en) | Multi-user access method and related device for storage equipment | |
CN105704646A (en) | Communication method and mobile communication device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |