CN108600010A - Data transmission method and device - Google Patents

Data transmission method and device Download PDF

Info

Publication number
CN108600010A
CN108600010A CN201810382580.3A CN201810382580A CN108600010A CN 108600010 A CN108600010 A CN 108600010A CN 201810382580 A CN201810382580 A CN 201810382580A CN 108600010 A CN108600010 A CN 108600010A
Authority
CN
China
Prior art keywords
data
sent
terminal device
configuration information
nas
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810382580.3A
Other languages
Chinese (zh)
Inventor
蒋俊柯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Junyun Technology Co., Ltd.
Original Assignee
Kunming Junyun Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Kunming Junyun Technology Co Ltd filed Critical Kunming Junyun Technology Co Ltd
Priority to CN201810382580.3A priority Critical patent/CN108600010A/en
Publication of CN108600010A publication Critical patent/CN108600010A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles

Abstract

A kind of data transmission method of offer of the embodiment of the present invention and device, belong to field of communication technology.This method includes:When detecting that terminal device is connect with route device, sends configuration information to configuration information server and obtain request;It obtains configuration information server and the configuration information that request is sent is obtained according to configuration information;Obtain the mark for the target NAS that terminal device is sent;The target configuration information of target NAS is determined from the configuration information of acquisition, and configuration file is generated for route device based on target configuration information, in the acceleration request that receiving terminal apparatus is sent, the data transmission accelerated passage between target NAS is established according to configuration file, to pass through the data of data transmission accelerated passage transmission terminal equipment.In this method, route device can establish the data transmission accelerated passage between route device and target NAS automatically according to configuration file so that the data transmission bauds between terminal device and server faster and is more stablized.

Description

Data transmission method and device
Technical field
The present invention relates to fields of communication technology, in particular to a kind of data transmission method and device.
Background technology
Game player more preferably plays online experience to pursue more stable, experience, respectively thinks out surprising tricks in terms of network insertion, And in order to which game host is connect with game server during, need to carry out network configuration to access server, and it is existing It needs user to carry out manual configuration in technology, i.e., fills in each single item configuration information manually, this mode is complicated and error-prone, configuration Efficiency is low, so that the data transmission between game host and game server is slower and unstable.
Invention content
In view of this, the embodiment of the present invention is designed to provide a kind of data transmission method and device, it is above-mentioned to improve Problem.
In a first aspect, an embodiment of the present invention provides a kind of data transmission method, it is applied to the road in data transmission system By device, the method includes:When detecting that terminal device is connect with the route device, sent to configuration information server Configuration information obtains request;It obtains the configuration information server and matches confidence according to what configuration information acquisition request was sent Breath, the configuration information includes the configuration information of multiple network access server NAS, and the configuration information of any NAS includes The mark of the NAS, and the mark of the NAS is sent to the terminal device;Obtain the target that the terminal device is sent The mark of NAS, the target NAS are one in the multiple NAS;The target is determined from the configuration information of acquisition The target configuration information of NAS, and be that the route device generates configuration file based on the target configuration information;Described in reception When the acceleration request that terminal device is sent, the data transmission established between the target NAS according to the configuration file accelerates Channel, to transmit the data that the terminal device is sent to destination server by the data transmission accelerated passage.
Further, when detecting that terminal device is connect with the route device, match to configuration information server transmission Information acquisition request is set, including:When detecting that terminal device is connect with the route device, identity letter input by user is obtained Breath;The identity information of the user is verified, when being proved to be successful, configuration information is sent to configuration information server and obtains Request.
Further, when receiving the acceleration request that the terminal device is sent, according to configuration file foundation and institute The data transmission accelerated passage between target NAS is stated, is sent out with transmitting the terminal device by the data transmission accelerated passage It send to the data of destination server, the method further includes:The acceleration mode of the data transmission accelerated passage is carried out Monitoring, and when detecting acceleration mode exception, prompt message is sent to the terminal device.
Further, when receiving the acceleration request that the terminal device is sent, according to configuration file foundation and institute The data transmission accelerated passage between target NAS is stated, is sent out with transmitting the terminal device by the data transmission accelerated passage It send to the data of destination server, the method further includes:The acceleration mode of the data transmission accelerated passage is carried out Monitoring, and the acceleration mode is sent to the terminal device, so that the terminal device shows the acceleration mode Show.
Further, when receiving the acceleration request that the terminal device is sent, according to configuration file foundation and institute The data transmission accelerated passage between target NAS is stated, is sent out with transmitting the terminal device by the data transmission accelerated passage It send to the data of destination server, the method further includes:The acceleration mode of the data transmission accelerated passage is carried out Monitoring, when detecting acceleration mode exception, to restart the data transmission accelerated passage by the configuration file.
Further, when receiving the acceleration request that the terminal device is sent, according to configuration file foundation and institute The data transmission accelerated passage between target NAS is stated, is sent out with transmitting the terminal device by the data transmission accelerated passage It send to the data of destination server, the method further includes:The target is obtained from the target configuration information The IP address section of server is added in pre-set target routing lists.
Further, the IP address section that the destination server is obtained from the target configuration information is added in advance After in the target routing lists of setting, the method further includes:In the acceleration stopping request for detecting that the terminal device is sent Afterwards, according to the IP address section for accelerating to stop the destination server that request is deleted in the target routing lists.
Further, when receiving the acceleration request that the terminal device is sent, according to configuration file foundation and institute The data transmission accelerated passage between target NAS is stated, is sent out with transmitting the terminal device by the data transmission accelerated passage It send to the data of destination server, the method further includes:It receives the terminal device and is sent to the destination server Data;Judge whether the data that the terminal device is sent to the destination server are that need to accelerate transmission data;It is being yes When, the data are sent to the destination server by the data transmission accelerated passage.
Further, after judging whether the data be that need to accelerate transmission data, further include:It is not in the data When need to accelerate transmission data, the data are transmitted by public network.
Further, judge whether the data that the terminal device is sent to the destination server are that need to accelerate to transmit number According to, including:Judge acceleration transmission mark whether is carried in the data;When to be, then the data are judged to need to accelerate Transmission data.
Further, judge acceleration transmission mark whether is carried in the data, including:Judge the terminal device with Whether the Protocol IP address interconnected between the network of the destination server is included in pre-set target routing lists, described Target routing lists are stored with the IP address section of the corresponding destination server of data transmitted by the data transmission accelerated passage; When to be, judge to carry acceleration transmission mark in the data.
Further, when carrying acceleration transmission mark in judging the data, the data are passed through into the data Delivery acceleration channel is sent to the destination server, including:Judge prioritised transmission mark whether is carried in the data; When to be, the data are sent to the destination server, institute by the Priority Queues in the data transmission accelerated passage The data stated in Priority Queues pass through the data transmission accelerated passage prioritised transmission.
Further, after prioritised transmission mark whether is carried in judging the data, further include:In the data In do not carry prioritised transmission mark when, the data are sent to by the common queue in the data transmission accelerated passage The destination server, the data in the common queue need to wait for again passing through after the completion of the data transmission in the Priority Queues The common queue sends data to the destination server.
Further, before judging whether to carry prioritised transmission mark in the data, further include:Judge the data Length whether be less than a preset value;When to be, prioritised transmission mark will be added in the data.
Second aspect runs on the road in data transmission system an embodiment of the present invention provides a kind of data transmission device By device, described device includes:Request sending module, for when detecting that terminal device is connect with the route device, to Configuration information server sends configuration information and obtains request;Configuration information acquisition module, for obtaining the configuration information service Device obtains the configuration information that request is sent according to the configuration information, and the configuration information includes multiple network access servers The configuration information of the configuration information of NAS, any NAS includes the mark of the NAS, and the mark of the NAS is sent to The terminal device;NAS identifier acquisition modules, the mark for obtaining the target NAS that the terminal device is sent, the target NAS is one in the multiple NAS;Configuration file generation module, described in being determined from the configuration information of acquisition The target configuration information of target NAS, and be that the route device generates configuration file based on the target configuration information;Accelerate logical Module is established in road, for when receiving the acceleration request that the terminal device is sent, according to the configuration file establish with it is described Data transmission accelerated passage between target NAS is sent with transmitting the terminal device by the data transmission accelerated passage To the data of destination server.
Further, the request sending module includes:Identity information acquiring unit, for detect terminal device with When the route device connection, identity information input by user is obtained;Identity authenticating unit is believed for the identity to the user Breath is verified, and when being proved to be successful, is sent configuration information to configuration information server and is obtained request.
Further, described device further includes:Acceleration mode monitoring module, for the data transmission accelerated passage Acceleration mode is monitored, and when detecting acceleration mode exception, and prompt message is sent to the terminal device.
Further, described device further includes:Acceleration mode sending module, for the data transmission accelerated passage Acceleration mode is monitored, and the acceleration mode is sent to the terminal device, so that the terminal device described will add Fast state is shown.
Further, described device further includes:Module is restarted in acceleration, for the acceleration to the data transmission accelerated passage State is monitored, when detecting acceleration mode exception, to restart the data transmission by the configuration file and accelerate to lead to Road.
Further, described device further includes:It is route add module, for being obtained from the target configuration information The IP address section of the destination server is added in pre-set target routing lists.
Further, described device further includes:It is route removing module, for detecting adding for the terminal device transmission After speed stops request, according to the IP address for accelerating to stop the destination server that request is deleted in the target routing lists Section.
Further, described device further includes:Data acquisition module is sent to target clothes for receiving the terminal device The data of business device;Judgment module, for judging whether the data that the terminal device is sent to the destination server are that need to add Fast transmission data;Transmission module, for when the data are that need to accelerate transmission data, the data to be passed by the data Defeated accelerated passage is sent to the destination server.
Further, the transmission module is additionally operable to when the data are not that need to accelerate transmission data, by the data It is transmitted by public network.
Further, the judgment module, including:Judging unit, for judging whether carry acceleration in the data Transmission mark;Determination unit then judges the data to need to accelerate when accelerating transmission mark for being carried in the data Transmission data.
Further, the judging unit is specifically used for judging the network of the terminal device and the destination server Between the Protocol IP address that interconnects whether be included in pre-set target routing lists, the target routing lists, which are stored with, to be passed through The IP address section of the corresponding destination server of data of the data transmission accelerated passage transmission;When to be, the number is judged Acceleration transmission mark is carried in.
Further, when carrying acceleration transmission mark in judging the data, the transmission module includes:It is preferential to pass Defeated mark judging unit, for judging whether carry prioritised transmission mark in the data;Transmission unit, in the number When carrying prioritised transmission mark in, the data are sent to by the Priority Queues in the data transmission accelerated passage The destination server, the data in the Priority Queues pass through the data transmission accelerated passage prioritised transmission.
Further, the transmission module further includes:Prioritised transmission unit, it is preferential for not carried in the data When transmission mark, the data are sent to the destination service by the common queue in the data transmission accelerated passage Device, the data in the common queue need to wait for after the completion of the data transmission in the Priority Queues again by the common queue Send data to the destination server.
Further, the transmission module further includes:Data length judging unit, for judging that the length of the data is It is no to be less than a preset value;Adding device is identified, for when the length of the data is less than a preset value, will add in the data Prioritised transmission is added to identify.
The third aspect, the embodiment of the present invention provide a kind of electronic equipment, including processor and memory, the memory It is stored with computer-readable instruction fetch, when the computer-readable instruction fetch is executed by the processor, operation such as first party Method described in face.
Fourth aspect, the embodiment of the present invention provide a kind of readable storage medium storing program for executing, are stored thereon with computer program, the meter When calculation machine program is executed by processor, method as described in relation to the first aspect is run.
The advantageous effect of the embodiment of the present invention is:
A kind of data transmission method of offer of the embodiment of the present invention and device, this method is first by detecting terminal device It when being connect with the route device, sends configuration information to configuration information server and obtains request, then acquisition is described matches confidence It ceases server and the configuration information that request is sent is obtained according to the configuration information, the configuration information includes multiple network insertion clothes The configuration information of business device NAS, the configuration information of any NAS includes the mark of the NAS, and the mark of the NAS is sent out The terminal device is given, the mark for the target NAS that the terminal device is sent is obtained, the target NAS is the multiple NAS In one, the target configuration information of the target NAS is then determined from the configuration information of acquisition, and be based on the mesh It is that the route device generates configuration file to mark configuration information, when receiving the acceleration request that the terminal device is sent, according to The configuration file establishes the data transmission accelerated passage between the target NAS, logical to be accelerated by the data transmission Transmit the data that the terminal device is sent to destination server in road.So in this method, route device can obtain phase automatically The configuration information answered carries out network configuration automatically, and allocative efficiency is improved with this, i.e., establishes and route automatically according to configuration file Data transmission accelerated passage between device and target NAS so that the data transmission speed between terminal device and destination server Degree faster and is more stablized.
Other features and advantages of the present invention will be illustrated in subsequent specification, also, partly be become from specification It is clear that by implementing understanding of the embodiment of the present invention.The purpose of the present invention and other advantages can be by saying what is write Specifically noted structure is realized and is obtained in bright book, claims and attached drawing.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 is a kind of structure diagram of data transmission system provided in an embodiment of the present invention;
Fig. 2 shows a kind of structure diagrams can be applied to the electronic equipment in the embodiment of the present application;
Fig. 3 is a kind of flow chart of data transmission method provided in an embodiment of the present invention;
Fig. 4 is a kind of structure diagram of data transmission device provided in an embodiment of the present invention;
Fig. 5 is the structure diagram of a kind of electronic equipment provided in an embodiment of the present invention.
Specific implementation mode
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete Ground describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause This, the detailed description of the embodiment of the present invention to providing in the accompanying drawings is not intended to limit claimed invention below Range, but it is merely representative of the selected embodiment of the present invention.Based on the embodiment of the present invention, those skilled in the art are not doing The every other embodiment obtained under the premise of going out creative work, shall fall within the protection scope of the present invention.
It should be noted that:Similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined, then it further need not be defined and explained in subsequent attached drawing in a attached drawing.Meanwhile the present invention's In description, term " first ", " second " etc. are only used for distinguishing description, are not understood to indicate or imply relative importance.
Fig. 1 is please referred to, Fig. 1 is a kind of structure diagram of data transmission system 10 provided in an embodiment of the present invention, the number Include terminal device 11, route device 12, configuration information server 13, network access server 14 and mesh according to Transmission system 10 Server 15 is marked, terminal device 11 is connect with route device 12, and route device 12 is connect with network access server 14, and network connects Enter server 14 to connect with destination server 15, configuration information server 13 is connect with the route device 12.
Wherein, route device 12 is a router, is used for the transmission of data.
Network access server 14 (Network Access Service, NAS), route device 12 and destination server 15 Service node is established by network insertion service, the user to obtain related service for the online of the needs such as Internet user, which provides, to be connect Enter the service of internet.It is to be appreciated that network access server 14 can refer to a specialized user management terminal device 11 is Network insertion between destination server 15 or the server for also executing other tasks simultaneously.
The data that network access server 14 can send out terminal device are transmitted through the network to destination server 15.
Configuration information server 13 is used to manage the configuration information of route device 12, and NAS is able to indicate that in configuration information The accurate IP address of server on the internet is facilitated route device 12 to be established with nas server using this IP address and accelerated Channel.
Destination server 15 can refer to the game server that terminal device 11 need to access or other servers etc..
Fig. 2 is please referred to, Fig. 2 shows a kind of structure diagrams for the electronic equipment 100 that can be applied in the embodiment of the present application. Electronic equipment 100 can be route device or terminal device etc. in the present invention, may include number when being used as route device According to transmitting device, memory 101, storage control 102, processor 103, Peripheral Interface 104.
The memory 101, storage control 102, processor 103,104 each element of Peripheral Interface between each other directly or It is electrically connected indirectly, to realize the transmission or interaction of data.For example, these elements between each other can be logical by one or more It interrogates bus or signal wire is realized and is electrically connected.The data transmission device include it is at least one can be with software or firmware (firmware) form is stored in the memory 101 or is solidificated in the operating system of the data transmission device Software function module in (operating system, OS).The processor 103 is used to execute to store in memory 101 Module is can perform, such as the software function module or computer program that the data transmission device includes.
Wherein, memory 101 may be, but not limited to, random access memory (Random Access Memory, RAM), read-only memory (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM), Electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc.. Wherein, memory 101 is for storing program, and the processor 103 executes described program after receiving and executing instruction, aforementioned The method performed by server that the stream process that any embodiment of the embodiment of the present invention discloses defines can be applied to processor 103 In, or realized by processor 103.
Processor 103 can be a kind of IC chip, the processing capacity with signal.Above-mentioned processor 103 can To be general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;Can also be digital signal processor (DSP), application-specific integrated circuit (ASIC), Ready-made programmable gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hard Part component.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.General processor Can be microprocessor or the processor 103 can also be any conventional processor etc..
The Peripheral Interface 104 couples various input/output devices to processor 103 and memory 101.At some In embodiment, Peripheral Interface 104, processor 103 and storage control 102 can be realized in one single chip.Other one In a little examples, they can be realized by independent chip respectively.
The Peripheral Interface 104 couples various input/output devices to processor 103 and memory 101.At some In embodiment, Peripheral Interface 104, processor 103 and storage control 102 can be realized in one single chip.Other one In a little examples, they can be realized by independent chip respectively.
It is appreciated that structure shown in Fig. 2 is only to illustrate, the electronic equipment 100 may also include more than shown in Fig. 2 Either less component or with the configuration different from shown in Fig. 2.Hardware, software may be used in each component shown in Fig. 2 Or combinations thereof realize.
Fig. 3 is please referred to, Fig. 3 is a kind of flow chart of data transmission method provided in an embodiment of the present invention, and the method is answered For above-mentioned route device, described method includes following steps:
Step S110:When terminal device is detected and connect with the route device, sent out to the configuration information server Configuration information is sent to obtain request.
If terminal device is wanted to carry out data transmission with destination server, obtains establish network company with destination server first It connects, and the data transmission between terminal device and destination server need to be forwarded by route device to be transmitted.
For example, game player playing game is carried out by terminal device, so terminal device must access network first, And terminal device obtains be attached with route device first, to which data are transmitted.
Terminal device can be game host, PC machine, handheld device etc., can it is wired by cable or WiFi etc. or Wireless mode is attached with route device, after route device detects and obtains connection with terminal device, is taken to configuration information Business device sends configuration information and obtains request.
Specifically, the route device can be controlled by terminal device, and user can be on the terminal device by clear The management backstage that device of looking at opens route device is operated and is configured to route device.
User the identity information of oneself can be inputted on the related pages of terminal device first, such as account information and password, Identity information input by user can be sent to route device by terminal device, and route device is previously stored with the identity letter of the user Breath, is verified so as to the identity information to the user, i.e., by the use of the identity information of the user got and storage The identity information at family is compared, when comparing consistent, then it represents that is proved to be successful, then matches to configuration information server transmission Set information acquisition request.
Alternatively, the identity information of the user can be sent to login service device by route device, login service device is to the user Identity information verified, verification mode can be consistent with aforesaid way.
In addition, the authentication for user can also be carried out in terminal device, carried out by the identity of terminal device and user Verification, verification mode is consistent with the above, can send a prompt message to route device after being proved to be successful, route device is being received To after the prompt message, you can send configuration information to configuration information server and obtain request.
Step S120:It obtains the configuration information server and matches confidence according to what configuration information acquisition request was sent Breath.
Wherein, the configuration information includes the configuration information of multiple network access server NAS, and any NAS's matches Confidence breath includes that the mark of the NAS is looked into after configuration information server obtains the configuration information acquisition request that route device is sent Configuration information is looked for, i.e., currently the configuration information of each network access server, configuration information include but not limited to:Each network The IP address and ID number (identify) of access server, connectivity port, host name, communication protocol, routing iinformation etc..
The configuration information of multiple network access server NAS is sent to route device and protected by configuration information server It deposits.
After route device gets configuration information, the mark of each NAS is sent to the terminal device, so that institute It states terminal device to show the mark of the target NAS obtained from the configuration information, that is to say, that terminal device The mark that each NAS can be obtained from configuration information, then shows the mark of each NAS on display interface, to User can be shown in the phase of terminal device from multiple NAS according to the mark of the mark selection target NAS of NAS on the terminal device The acceleration display interface answered.
Step S130:Obtain the mark for the target NAS that the terminal device is sent.
The target NAS be above-mentioned multiple NAS in one, user can on the corresponding display interface of terminal device point Corresponding button is hit, for example clicks the mark of target NAS, with the instruction of triggering selection target NAS, terminal device is based on the instruction The mark of the target NAS is sent to route device.
Step S140:The target configuration information of the target NAS is determined from the configuration information of acquisition, and is based on institute It is that the route device generates configuration file to state target configuration information.
The configuration information of multiple network access servers is obtained in route device, can be set by the terminal with the route device For including on corresponding interface by the configuration information of multiple network access server, thus user can check on the surface To the configuration information of each network access server, user can click corresponding button on interface, i.e. route device obtains eventually The mark for the target NAS that end equipment is sent, and the mark based on the target NAS obtains the target of the target NAS with confidence Breath.For example, the select button on the corresponding display interface of user's triggering terminal equipment, the ID number (identifying) of selection target NAS, Then indicate that selection target NAS is connect with route device.
Wherein, the selection of target NAS can be selected voluntarily according to the demand of user, can also be configuration information server voluntarily Selection, such as automatically selects any network access server.
After selection target NAS, the configuration information of target NAS is can get, then the configuration information by corresponding Corresponding configuration file is generated after format conversion, is saved in corresponding service processes configuration file, configuration file includes mesh The information such as IP address, the port numbers of NAS are marked, so when follow-up route device and target NAS are established and connected, this can be directly read Configuration file makes route device be attached with corresponding target NAS.
Route device can complete the connection between NAS, and traditional manual configuration side automatically according to configuration file as a result, Method is easy error, it is also necessary to oneself look for corresponding agency service, then compared to traditional manual configuration method, this method can have It imitates and avoids a series of problems caused by configuration file and line quality, such as configure network of staggering the time not connecting.
Step S150:When receiving the acceleration request that the terminal device is sent, according to configuration file foundation and institute The data transmission accelerated passage between target NAS is stated, is sent out with transmitting the terminal device by the data transmission accelerated passage It send to the data of destination server.
In addition, after obtaining configuration file, in order to realize the data transmission between terminal device and destination server, may be used also The acceleration request that is triggered in terminal device of user is obtained, is established by the configuration file based on the acceleration request and target Data transmission accelerated passage between NAS, the data that the terminal device is sent to the destination server pass through the data Delivery acceleration channel is transmitted.
Specifically, the physical link of a data transmission can be established between terminal device and target NAS by cable, and Data transmission accelerated passage is the virtual transmission link different from physical link, and terminal device is to destination server transmission data When, it can be transmitted by the data transmission accelerated passage, so that the data between terminal device and destination server can To be transmitted by specific transmission channel so that data transmission is more unimpeded, without because physical link failure or Cause data that can not transmit or transmit slow situation when congestion, effectively increases data transmission bauds.
So two data transmission links can be established between terminal device and target NAS, i.e., physical transmission link is (public Net transmission) and data delivery acceleration channel, terminal device be sent to the optional wherein link of data of destination server into Row is sent.
It, can also be to the acceleration mode of the data transmission accelerated passage also, after establishing data transmission accelerated passage It is monitored, and the acceleration mode is sent to terminal device, then terminal device can be by acceleration mode in terminal device It is shown accordingly on display interface, wherein acceleration mode includes but not limited to accelerate not accelerate successfully, accelerate unsuccessfully etc. Whether state, the acceleration mode that user can directly observe data delivery acceleration channel by display interface on the terminal device are abnormal Situations such as, so as to take measures to be remedied in acceleration mode exception, such as check that terminal device or route device are The measures such as no failure.
Alternatively, route device can send prompt message to terminal device, such as accelerate to lose when detecting acceleration mode exception Lose, link disconnect etc. prompt messages, as a result, user can be taken appropriate measures and be repaired according to the prompt message, such as into The row operations such as acceleration again.
Alternatively, route device when detecting acceleration mode exception, can also re-start acceleration, such as pass through institute automatically It states configuration file and restarts the data transmission accelerated passage so that acceleration mode restores from new to normal condition, that is, shows acceleration Successful prompt message indicates that acceleration mode is normal.
Wherein, acceleration mode can be that the acceleration mode that show of terminal device such as fails, do not accelerate at the states extremely, Huo Zhegen It carries out judging acceleration mode exception according to some data of acceleration mode, for example, situations such as data transmission bauds is less than a preset value.
In addition, as an implementation, after establishing data transmission accelerated passage, in order to ensure the normal biography of link Defeated state can also obtain the corresponding routing iinformation of the data transmission accelerated passage from the target configuration information, addition To in pre-set target routing lists, i.e., the IP address section of destination server is obtained from target configuration information, then by mesh The IP address section of mark server is added in target routing lists so that data are being passed through data transmission accelerated passage by route device When being transmitted, can directly it be transmitted according to the corresponding routing iinformation in target routing lists.Destination server and terminal device The requirement of real-time for the data directly transmitted is higher, therefore, as the IP of the corresponding destination server of process of terminal device operation When address field is included in target routing lists, then data can be transmitted by data transmission accelerated passage.
But after the corresponding routing iinformation of data transmission accelerated passage is added to target routing lists, can also it examine It measures the acceleration that the terminal device is sent to stop after asking, stopping request according to the acceleration deletes in the target routing lists The routing iinformation, i.e., detect terminal device send acceleration stop request after, according to accelerations stop ask delete Except the IP address section of the destination server in the target routing lists, that is to say, that if terminal device need not pass through number When according to delivery acceleration channel transmission data, then one can be sent to route device and accelerates to stop request, route device gets this and adds After speed stops request, indicate that terminal device is not desired to be transmitted data using data transmission accelerated passage, so can be by target Corresponding routing iinformation is deleted in routing table, and such as the IP address section of destination server, then route device receives terminal device again After the data of transmission, due to can not find the routing iinformation of corresponding data transmission accelerated passage, then data can be passed through normal, chain Road is transmitted, such as public network transmission.
In addition, when receiving the acceleration request that the terminal device is sent, established and the mesh according to the configuration file The data transmission accelerated passage between NAS is marked, is sent to transmitting the terminal device by the data transmission accelerated passage After the data of destination server, the method may also include:
Receive the data that the terminal device is sent to the destination server;It is described to judge that the terminal device is sent to Whether the data of destination server are that need to accelerate transmission data;When to be, the data are accelerated by the data transmission Channel is sent to the destination server.
Specifically, terminal device is sent to the data of destination server and is transmitted by physical link, i.e., data pass through public network Transmission, and data transmission accelerated passage when data transmission accelerated passage bandwidth is identical with public-network bandwidth, is then counted compared to public network It is less than the data volume of public transfers on network according to the data volume in delivery acceleration channel so that the data transmission of data transmission accelerated passage is imitated Rate is higher than the data transmission efficiency of transmission of public network, to reduce network congestion probability, improves message transmission rate.
Route device obtains the data for being sent to destination server from terminal device, then is sent out by network by target NAS Give destination server.
Since the network data used when terminal device operates in different processes is different, and different network datas pair The requirement of real-time of data interaction is also different, for example, network game data or financial transaction data, these data need terminal device Real-time, interactive is carried out between destination server, then the public network broadband that these data are subject to when public network transmits and other network numbers According to influence, interactive real-time reduce, so when transmitting these data, need to judge whether these data are that need to accelerate to transmit Data, so route device after the data for receiving terminal device transmission, judges whether the data are that need to accelerate to transmit number According to when to be, the data being sent to destination server by the data transmission accelerated passage, when to be no, by institute It states data and destination server is transmitted to by public network (such as physical link).
Wherein, judge whether the data that the terminal device is sent to the destination server are that need to accelerate transmission data, Including:
Judge whether carry acceleration transmission mark in the data, when to be, then judges the data to need to accelerate The data then can be transmitted to destination server by transmission data by data transmission accelerated passage.
In terminal device transmission data, if for example, the data be game data, can be the data addition on accelerate Transmission mark, carrying are sent together in data.Wherein, it can be specific unique symbol mark to accelerate transmission mark, for example, Can be special symbol, number, English alphabet etc., specific form can be not specially limited.
After route device receives data, since data are transmitted in the form of data packet, so routing dress Setting also needs first to parse the data, thus can determine whether acceleration transmission mark whether is carried in the data, after parsing Data in obtain accelerate transmission mark after, then can determine whether the data be need to accelerate transmission data, then the data are passed through into data Delivery acceleration channel is transmitted to target NAS, is then transmitted to destination server by target NAS.
Currently, it does not detect when carrying acceleration transmission mark, then judges in route device data after parsing The data are not that need to accelerate transmission data, then can be transmitted the data by public network.
In addition, during establishing data transmission channel, will be set from terminal after establishing data transmission accelerated passage This routing iinformation that the standby data received are sent to destination server by data transmission accelerated passage is written to route device In in the target routing lists that are pre-created, so whether carry acceleration transmission mark in judging the data, including:
Judge whether the Protocol IP address interconnected between the terminal device and the network of the destination server is included in In pre-set target routing lists, the target routing lists are stored with the data transmitted by the data transmission accelerated passage The IP address section of corresponding destination server judges to carry acceleration transmission mark in the data when to be, then can should Data are transmitted by data transmission accelerated passage.
So when data are that need to accelerate transmission data, which is transmitted by data transmission accelerated passage, it can To further increase data transmission efficiency, the real-time of data interaction is improved.
In addition, as an implementation, if the data of transmission need to be accelerated more, in order to by different priorities data into Row effectively accelerates transmission, for example, for game data, quick response, then can preferentially send, then route device in order to obtain It can be pre-created prioritised transmission queue, by taking two priority different transmission queue A, B as an example, the priority of queue A can be set Higher than queue B, then the data in the high queue of priority are effectively sent when data are sent.
If data need to send into row major, in the data other than carrying and accelerating transmission mark, also need to carry excellent First transmission mark, then route device after receiving the data, parses data, to can determine whether carried in the data There is prioritised transmission mark, when to be, the data are passed through into Priority Queues in the data transmission accelerated passage (such as team Row A) it is sent to the destination server, the data in the Priority Queues are preferentially passed by the data transmission accelerated passage It is defeated.When not carrying prioritised transmission mark in the data, the data are passed through in the data transmission accelerated passage Common queue (such as queue B) is sent to the destination server, and the data in the common queue need to wait for the preferential team The destination server is sent data to by the common queue again after the completion of data transmission in row, it thus can be by data It carries out effectively accelerating transmission.
In addition, as an implementation, after route device receives data, and judging the data for that need to accelerate to transmit Data, but in order to effectively be transmitted data, for example, some data are bigger, then possible transmission speed is slower, some numbers It is very fast according to smaller then possible transmission speed, then can the small data of data volume be subjected to prioritised transmission, so receiving data Afterwards, it also needs to judge whether the length of the data is less than a preset value and then will add prioritised transmission in the data when to be Mark, so as to which the data are carried out prioritised transmission by Priority Queues, wherein preset value can be carried out voluntarily according to actual needs Setting, such as 255bit.
Certainly, in order to reduce the workload of route device, before terminal device transmission data, just to the length of data into Row judges, when the length of data is less than preset value, by data addition prioritised transmission mark.
So the progress reasonable definition such as length scale, classification of data that can be based on data to data progress prioritised transmission Whether data need preferentially to send.
Fig. 4 is please referred to, Fig. 4 is a kind of structure diagram of data transmission device 200 provided in an embodiment of the present invention, the dress It sets and runs on above-mentioned route device 12, described device includes:
Request sending module 210, for when detecting that terminal device is connect with the route device, being taken to configuration information Business device sends configuration information and obtains request.
Configuration information acquisition module 220 is asked for obtaining the configuration information server according to configuration information acquisition It includes the configuration information of multiple network access server NAS, any NAS to ask the configuration information of transmission, the configuration information Configuration information include the mark of the NAS, and the mark of the NAS is sent to the terminal device.
NAS identifier acquisition modules 230, the mark for obtaining the target NAS that the terminal device is sent, the target NAS is one in the multiple NAS.
Configuration file generation module 240, for determining that the target of the target NAS is matched from the configuration information of acquisition Confidence ceases, and is that the route device generates configuration file based on the target configuration information.
Accelerated passage establishes module 250, for when receiving the acceleration request that the terminal device is sent, being matched according to described The data transmission accelerated passage between file foundation and the target NAS is set, is transmitted with passing through the data transmission accelerated passage The terminal device is sent to the data of destination server.
As a kind of mode, the request sending module 210 includes:Identity information acquiring unit, for detecting end When end equipment is connect with the route device, identity information input by user is obtained;Identity authenticating unit, for the user Identity information verified, when being proved to be successful, to configuration information server send configuration information obtain request.
As a kind of mode, described device further includes:Configuration information sending module, for the configuration information to be sent to The terminal device, so that the terminal device shows the mark of the target NAS obtained from the configuration information Show.
As a kind of mode, described device further includes:Acceleration mode monitoring module is logical for accelerating to the data transmission The acceleration mode in road is monitored, and when detecting acceleration mode exception, and prompt message is sent to the terminal device.
As a kind of mode, described device further includes:Acceleration mode sending module is logical for accelerating to the data transmission The acceleration mode in road is monitored, and the acceleration mode is sent to the terminal device, so that the terminal device is by institute Acceleration mode is stated to be shown.
As a kind of mode, described device further includes:Module is restarted in acceleration, for the data transmission accelerated passage Acceleration mode is monitored, when detecting acceleration mode exception, to restart the data transmission by the configuration file and add Fast channel.
As a kind of mode, described device further includes:It is route add module, for being obtained from the target configuration information The IP address section for obtaining the destination server is added in pre-set target routing lists.
As a kind of mode, described device further includes:It is route removing module, for detecting the terminal device transmission Acceleration stop request after, according to the IP for accelerating to stop the destination server that request is deleted in the target routing lists Address field.
As a kind of mode, described device further includes:Data acquisition module is sent to mesh for receiving the terminal device Mark the data of server;Judgment module, for judge the terminal device be sent to the destination server data whether be It need to accelerate transmission data;Transmission module, for when the data are that need to accelerate transmission data, the data to be passed through the number It is sent to the destination server according to delivery acceleration channel.
As a kind of mode, the transmission module is additionally operable to when the data are not that need to accelerate transmission data, will be described Data are transmitted by public network.
As a kind of mode, the judgment module, including:Judging unit, for judging whether carried in the data Accelerate transmission mark;Determination unit when accelerating transmission mark for being carried in the data, then judges the data to need Accelerate transmission data.
As a kind of mode, the judging unit is specifically used for judging the terminal device and the destination server Whether the Protocol IP address interconnected between network is included in pre-set target routing lists, and the target routing lists are stored with Pass through the IP address section for the corresponding destination server of data that the data transmission accelerated passage transmits;When to be, institute is judged It states and carries acceleration transmission mark in data.
As a kind of mode, when carrying acceleration transmission mark in judging the data, the transmission module includes:It is excellent First transmission mark judging unit, for judging whether carry prioritised transmission mark in the data;Transmission unit, in institute It states when carrying prioritised transmission mark in data, the data is sent out by Priority Queues in the data transmission accelerated passage It send to the destination server, the data in the Priority Queues pass through the data transmission accelerated passage prioritised transmission.
As a kind of mode, the transmission module further includes:Prioritised transmission unit, for not carried in the data When prioritised transmission identifies, the data are sent to the target by the common queue in the data transmission accelerated passage and are taken It is engaged in device, the data in the common queue need to wait for after the completion of the data transmission in the Priority Queues again by the common team Row send data to the destination server.
As a kind of mode, the transmission module further includes:Data length judging unit, the length for judging the data Whether degree is less than a preset value;Adding device is identified, when for the length in the data less than a preset value, by the data Middle addition prioritised transmission mark.
Fig. 5 is please referred to, Fig. 5 is the structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention, the electronic equipment May include:At least one processor 410, such as CPU, at least one communication interface 420, at least one processor 430 and extremely A few communication bus 440.Wherein, communication bus 440 is for realizing the direct connection communication of these components.Wherein, of the invention The communication interface 420 of equipment is used to carry out the communication of signaling or data with other node devices in embodiment.Memory 430 can be with It is high-speed RAM memory, can also be non-labile memory (non-volatile memory), for example, at least a magnetic Disk storage.Memory 430 optionally can also be at least one storage device for being located remotely from aforementioned processor.Memory It is stored with computer-readable instruction fetch in 430, and has computer-readable instruction fetch luck in the execution memory 430 of processor 410 Step in the above-mentioned data transmission method of row.
The embodiment of the present invention also provides a kind of readable storage medium storing program for executing, is stored thereon with computer program, the computer journey The step in the data transmission method as above stated is run when sequence is executed by processor.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description Specific work process, can refer to preceding method in corresponding process, no longer excessively repeat herein.
In conclusion a kind of data transmission method of offer of the embodiment of the present invention and device, this method is first by detecting When being connect to terminal device with the route device, sends configuration information to configuration information server and obtain request, then obtain The configuration information server obtains the configuration information that request is sent according to the configuration information, and the configuration information includes multiple The configuration information of the configuration information of network access server NAS, any NAS includes the mark of the NAS, and will be described The mark of NAS is sent to the terminal device, obtains the mark for the target NAS that the terminal device is sent, and the target NAS is One in the multiple NAS, the target configuration information of the target NAS is then determined from the configuration information of acquisition, And configuration file is generated for the route device based on the target configuration information, in the acceleration for receiving the terminal device transmission When request, the data transmission accelerated passage between the target NAS is established according to the configuration file, to pass through the data Terminal device described in delivery acceleration channel transfer is sent to the data of destination server.So in this method, route device can be with Automatically it obtains corresponding configuration information to carry out network configuration automatically, allocative efficiency is improved with this, i.e., automatically according to configuration text Part establishes the data transmission accelerated passage between route device and target NAS so that between terminal device and destination server Data transmission bauds faster and is more stablized.
The embodiment of the present invention further discloses the following contents:
A1, a kind of data transmission method, the route device being applied in data transmission system, the method includes:It is examining When measuring terminal device and being connect with the route device, sends configuration information to configuration information server and obtain request;Obtain institute It states configuration information server and the configuration information that request is sent is obtained according to the configuration information, the configuration information includes multiple nets The configuration information of the configuration information of network access server NAS, any NAS includes the mark of the NAS, and by the NAS Mark be sent to the terminal device;The mark for the target NAS that the terminal device is sent is obtained, the target NAS is institute State one in multiple NAS;The target configuration information of the target NAS is determined from the configuration information of acquisition, and is based on The target configuration information is that the route device generates configuration file;In the acceleration request for receiving the terminal device transmission When, the data transmission accelerated passage between the target NAS is established according to the configuration file, to pass through the data transmission Accelerated passage transmits the data that the terminal device is sent to destination server.
A2, the method according to A1 take when detecting that terminal device is connect with the route device to configuration information Business device sends configuration information and obtains request, including:When detecting that terminal device is connect with the route device, it is defeated to obtain user The identity information entered;The identity information of the user is verified, when being proved to be successful, is matched to configuration information server transmission Set information acquisition request.
A3, the method according to A1, when receiving the acceleration request that the terminal device is sent, according to configuration text Part establishes the data transmission accelerated passage between the target NAS, with by described in data transmission accelerated passage transmission Terminal device is sent to after the data of destination server, and the method further includes:The data transmission accelerated passage is added Fast state is monitored, and when detecting acceleration mode exception, and prompt message is sent to the terminal device.
A4, the method according to A1, when receiving the acceleration request that the terminal device is sent, according to configuration text Part establishes the data transmission accelerated passage between the target NAS, with by described in data transmission accelerated passage transmission Terminal device is sent to after the data of destination server, and the method further includes:The data transmission accelerated passage is added Fast state is monitored, and the acceleration mode is sent to the terminal device, so that the terminal device is by the acceleration State is shown.
A5, the method according to A1, when receiving the acceleration request that the terminal device is sent, according to configuration text Part establishes the data transmission accelerated passage between the target NAS, with by described in data transmission accelerated passage transmission Terminal device is sent to after the data of destination server, and the method further includes:The data transmission accelerated passage is added Fast state is monitored, when detecting acceleration mode exception, to restart the data transmission by the configuration file and accelerate Channel.
A6, the method according to A1, when receiving the acceleration request that the terminal device is sent, according to configuration text Part establishes the data transmission accelerated passage between the target NAS, with by described in data transmission accelerated passage transmission Terminal device is sent to after the data of destination server, and the method further includes:It is obtained from the target configuration information The IP address section for taking the destination server is added in pre-set target routing lists.
A7, the method according to A6 obtain the IP address section of the destination server from the target configuration information, After being added in pre-set target routing lists, the method further includes:Detecting adding for the terminal device transmission After speed stops request, according to the IP address for accelerating to stop the destination server that request is deleted in the target routing lists Section.
A8, the method according to A1, when receiving the acceleration request that the terminal device is sent, according to configuration text Part establishes the data transmission accelerated passage between the target NAS, with by described in data transmission accelerated passage transmission Terminal device is sent to after the data of the destination server, and the method further includes:The terminal device is received to be sent to The data of the destination server;Judge whether the data that the terminal device is sent to the destination server are that need to accelerate to pass Transmission of data;When to be, the data are sent to the destination server by the data transmission accelerated passage.
A9, the method according to A8 further include after judging whether the data be that need to accelerate transmission data: The data are not that when need to accelerate transmission data, the data are transmitted by public network.
A10, the method according to A8, judge the terminal device be sent to the destination server data whether be It need to accelerate transmission data, including:Judge acceleration transmission mark whether is carried in the data;When to be, then described in judgement Data are that need to accelerate transmission data.
A11, the method according to A10 judge acceleration transmission mark whether is carried in the data, including:Judge Whether the Protocol IP address interconnected between the terminal device and the network of the destination server is included in pre-set mesh It marks in routing table, the target routing lists are stored with the corresponding target clothes of data transmitted by the data transmission accelerated passage The IP address section of business device;When to be, judge to carry acceleration transmission mark in the data.
A12, the method according to A11, when carrying acceleration transmission mark in judging the data, by the data It is sent to the destination server by the data transmission accelerated passage, including:Judge whether to carry in the data excellent First transmission mark;When to be, the data are sent to by the Priority Queues in the data transmission accelerated passage described Destination server, the data in the Priority Queues pass through the data transmission accelerated passage prioritised transmission.
A13, the method according to A12 are also wrapped after whether carrying prioritised transmission mark in judging the data It includes:When not carrying prioritised transmission mark in the data, the data are passed through in the data transmission accelerated passage Common queue is sent to the destination server, and the data in the common queue need to wait for the biography of the data in the Priority Queues The destination server is sent data to by the common queue again after the completion of defeated.
A14, the method according to A13 are also wrapped before judging whether to carry prioritised transmission mark in the data It includes:Judge whether the length of the data is less than a preset value;When to be, prioritised transmission mark will be added in the data.
B15, a kind of data transmission device, run on the route device in data transmission system, and described device includes:Request Sending module, for when detecting that terminal device is connect with the route device, being sent to configuration information server and matching confidence Breath obtains request;Configuration information acquisition module is asked for obtaining the configuration information server according to configuration information acquisition It includes the configuration information of multiple network access server NAS, any NAS to ask the configuration information of transmission, the configuration information Configuration information include the mark of the NAS, and the mark of the NAS is sent to the terminal device;NAS marks obtain mould Block, the mark for obtaining the target NAS that the terminal device is sent, the target NAS are one in the multiple NAS; Configuration file generation module, the target configuration information for determining the target NAS from the configuration information of acquisition, and base It is that the route device generates configuration file in the target configuration information;Accelerated passage establishes module, for described in reception When the acceleration request that terminal device is sent, the data transmission established between the target NAS according to the configuration file accelerates Channel, to transmit the data that the terminal device is sent to destination server by the data transmission accelerated passage.
B16, the device according to B15, the request sending module include:Identity information acquiring unit, for examining When measuring terminal device and being connect with the route device, identity information input by user is obtained;Identity authenticating unit, for institute The identity information for stating user is verified, and when being proved to be successful, is sent configuration information to configuration information server and is obtained request.
B17, the device according to B15, described device further include:Acceleration mode monitoring module, for the data The acceleration mode in delivery acceleration channel is monitored, and when detecting acceleration mode exception, is carried to terminal device transmission Show information.
B18, the device according to B15, described device further include:Acceleration mode sending module, for the data The acceleration mode in delivery acceleration channel is monitored, and the acceleration mode is sent to the terminal device, so that the end End equipment shows the acceleration mode.
B19, the device according to B15, described device further include:Module is restarted in acceleration, for the data transmission The acceleration mode of accelerated passage is monitored, when detecting acceleration mode exception, to be restarted by the configuration file described Data transmission accelerated passage.
B20, the device according to B15, described device further include:It is route add module, for being configured from the target The IP address section that the destination server is obtained in information, is added in pre-set target routing lists.
B21, the device according to B20, described device further include:It is route removing module, for detecting the end After the acceleration that end equipment is sent stops request, according to the target for accelerating stopping request deleting in the target routing lists The IP address section of server.
B22, the device according to B15, described device further include:Data acquisition module is set for receiving the terminal Preparation gives the data of destination server;Judgment module, for judging that the terminal device is sent to the destination server Whether data are that need to accelerate transmission data;Transmission module, when in the data transmission data need to be accelerated, by the data It is sent to the destination server by the data transmission accelerated passage.
B23, the device according to B22, the transmission module are additionally operable in the data not be that need to accelerate transmission data When, the data are transmitted by public network.
B24, the device according to B22, the judgment module, including:Judging unit is in the data for judging It is no to carry acceleration transmission mark;Determination unit, when accelerating transmission mark for being carried in the data, then described in judgement Data are that need to accelerate transmission data.
B25, the device according to B24, the judging unit are specifically used for judging the terminal device and the target Whether the Protocol IP address interconnected between the network of server is included in pre-set target routing lists, the target routing Table is stored with the IP address section of the corresponding destination server of data transmitted by the data transmission accelerated passage;It is being yes When, judge to carry acceleration transmission mark in the data.
B26, the device according to B25, when carrying acceleration transmission mark in judging the data, the transmission mould Block includes:Prioritised transmission identifies judging unit, for judging whether carry prioritised transmission mark in the data;Transmission is single Member passes through the data in the data transmission accelerated passage when for carrying prioritised transmission mark in the data Priority Queues be sent to the target NAS, the data in the Priority Queues are preferential by the data transmission accelerated passage Transmission.
B27, the device according to B26, the transmission module further include:Prioritised transmission unit, in the data In do not carry prioritised transmission mark when, the data are sent to by the common queue in the data transmission accelerated passage The destination server, the data in the common queue need to wait for again passing through after the completion of the data transmission in the Priority Queues The common queue sends data to the destination server.
B28, the device according to B27, the transmission module further include:Data length judging unit, for judging Whether the length for stating data is less than a preset value;Adding device is identified, when for the length in the data less than a preset value, Prioritised transmission mark will be added in the data.
C29, a kind of electronic equipment, including processor and memory, the memory are stored with computer-readable fetching It enables, when the computer-readable instruction fetch is executed by the processor, runs the step in above-mentioned data transmission method.
D30, a kind of readable storage medium storing program for executing, are stored thereon with computer program, and the computer program is executed by processor When, run the step in above-mentioned data transmission method.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, the flow chart in attached drawing and block diagram Show the device of multiple embodiments according to the present invention, the architectural framework in the cards of method and computer program product, Function and operation.In this regard, each box in flowchart or block diagram can represent the one of a module, section or code Part, a part for the module, section or code, which includes that one or more is for implementing the specified logical function, to be held Row instruction.It should also be noted that at some as in the realization method replaced, the function of being marked in box can also be to be different from The sequence marked in attached drawing occurs.For example, two continuous boxes can essentially be basically executed in parallel, they are sometimes It can execute in the opposite order, this is depended on the functions involved.It is also noted that every in block diagram and or flow chart The combination of box in a box and block diagram and or flow chart can use function or the dedicated base of action as defined in executing It realizes, or can be realized using a combination of dedicated hardware and computer instructions in the system of hardware.
In addition, each function module in each embodiment of the present invention can integrate to form an independent portion Point, can also be modules individualism, can also two or more modules be integrated to form an independent part.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module It is stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be expressed in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic disc or CD.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, any made by repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.It should be noted that:Similar label and letter exist Similar terms are indicated in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing It is further defined and is explained.

Claims (10)

1. a kind of data transmission method, which is characterized in that the route device being applied in data transmission system, the method packet It includes:
When detecting that terminal device is connect with the route device, sends configuration information acquisition to configuration information server and ask It asks;
It obtains the configuration information server and the configuration information that request is sent, the configuration information is obtained according to the configuration information Including the configuration information of multiple network access server NAS, the configuration information of any NAS includes the mark of the NAS, and The mark of the NAS is sent to the terminal device;
The mark for the target NAS that the terminal device is sent is obtained, the target NAS is one in the multiple NAS;
The target configuration information of the target NAS is determined from the configuration information of acquisition, and confidence is matched based on the target Breath is that the route device generates configuration file;
When receiving the acceleration request that the terminal device is sent, established between the target NAS according to the configuration file Data transmission accelerated passage, be sent to destination server to transmit the terminal device by the data transmission accelerated passage Data.
2. according to the method described in claim 1, it is characterized in that, when receiving the acceleration request that the terminal device is sent, The data transmission accelerated passage between the target NAS is established according to the configuration file, to add by the data transmission Terminal device is sent to after the data of destination server described in fast channel transfer, and the method further includes:
The acceleration mode of the data transmission accelerated passage is monitored, and when detecting acceleration mode exception, to described Terminal device sends prompt message or restarts the data transmission accelerated passage by the configuration file.
3. according to the method described in claim 1, it is characterized in that, when receiving the acceleration request that the terminal device is sent, The data transmission accelerated passage between the target NAS is established according to the configuration file, to add by the data transmission Terminal device is sent to after the data of destination server described in fast channel transfer, and the method further includes:
The acceleration mode of the data transmission accelerated passage is monitored, and the acceleration mode is sent to the terminal and is set It is standby, so that the terminal device shows the acceleration mode.
4. according to the method described in claim 1, it is characterized in that, when receiving the acceleration request that the terminal device is sent, The data transmission accelerated passage between the target NAS is established according to the configuration file, to add by the data transmission Terminal device is sent to after the data of destination server described in fast channel transfer, and the method further includes:
The IP address section that the destination server is obtained from the target configuration information, is added to pre-set target In routing table.
5. according to the method described in claim 4, it is characterized in that, obtaining the destination service from the target configuration information The IP address section of device, after being added in pre-set target routing lists, the method further includes:
After detecting the acceleration stopping request that the terminal device is sent, request is stopped according to the acceleration and deletes the target The IP address section of the destination server in routing table.
6. according to the method described in claim 1, it is characterized in that, when receiving the acceleration request that the terminal device is sent, The data transmission accelerated passage between the target NAS is established according to the configuration file, to add by the data transmission Terminal device is sent to after the data of destination server described in fast channel transfer, and the method further includes:
Receive the data that the terminal device is sent to the destination server;
Judge whether the data that the terminal device is sent to the destination server are that need to accelerate transmission data;
When to be, the data are sent to the destination server by the data transmission accelerated passage.
7. according to the method described in claim 6, it is characterized in that, judging that the terminal device is sent to the destination server Data whether be need to accelerate transmission data, including:
Judge acceleration transmission mark whether is carried in the data;
When to be, then the data are judged for transmission data need to be accelerated.
8. the method according to the description of claim 7 is characterized in that judging whether carry acceleration transmission mark in the data Know, including:
Judge whether the Protocol IP address interconnected between the terminal device and the network of the destination server is included in advance In the target routing lists of setting, the target routing lists are stored with to be corresponded to by the data that the data transmission accelerated passage transmits Destination server IP address section;
When to be, judge to carry acceleration transmission mark in the data.
9. according to the method described in claim 8, it is characterized in that, carrying acceleration transmission mark in judging the data When, the data are sent to the destination server by the data transmission accelerated passage, including:
Judge prioritised transmission mark whether is carried in the data;
When carrying prioritised transmission mark in the data, the data are passed through excellent in the data transmission accelerated passage First queue is sent to the destination server, and the data in the Priority Queues are preferentially passed by the data transmission accelerated passage It is defeated;
When not carrying prioritised transmission mark in the data, the data are passed through in the data transmission accelerated passage Common queue is sent to the destination server, and the data in the common queue need to wait for the biography of the data in the Priority Queues The destination server is sent data to by the common queue again after the completion of defeated.
10. a kind of data transmission device, which is characterized in that run on the route device in data transmission system, described device packet It includes:
Request sending module, for when detecting that terminal device is connect with the route device, being sent out to configuration information server Configuration information is sent to obtain request;
Configuration information acquisition module obtains what request was sent for obtaining the configuration information server according to the configuration information Configuration information, the configuration information include the configuration information of multiple network access server NAS, and any NAS's matches confidence Breath includes the mark of the NAS, and the mark of the NAS is sent to the terminal device;
NAS identifier acquisition modules, the mark for obtaining the target NAS that the terminal device is sent, the target NAS is described One in multiple NAS;
Configuration file generation module, the target configuration information for determining the target NAS from the configuration information of acquisition, And configuration file is generated for the route device based on the target configuration information;
Accelerated passage establishes module, is used for when receiving the acceleration request that the terminal device is sent, according to the configuration file The data transmission accelerated passage between the target NAS is established, to transmit the end by the data transmission accelerated passage End equipment is sent to the data of destination server.
CN201810382580.3A 2018-04-26 2018-04-26 Data transmission method and device Pending CN108600010A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810382580.3A CN108600010A (en) 2018-04-26 2018-04-26 Data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810382580.3A CN108600010A (en) 2018-04-26 2018-04-26 Data transmission method and device

Publications (1)

Publication Number Publication Date
CN108600010A true CN108600010A (en) 2018-09-28

Family

ID=63609376

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810382580.3A Pending CN108600010A (en) 2018-04-26 2018-04-26 Data transmission method and device

Country Status (1)

Country Link
CN (1) CN108600010A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109862023A (en) * 2019-02-27 2019-06-07 中国科学院软件研究所 A kind of embedded device, which is realized, to be accelerated to calculate and high speed network data transmission method
CN110392423A (en) * 2019-06-28 2019-10-29 西安万像电子科技有限公司 Data transmission method, system and equipment
CN111901240A (en) * 2020-07-17 2020-11-06 厦门网宿有限公司 Route updating method, network acceleration system, server and switch
CN113225204A (en) * 2021-03-24 2021-08-06 北京戴纳实验科技有限公司 Gateway control method and system
CN115102943A (en) * 2021-09-03 2022-09-23 南方电网深圳数字电网研究院有限公司 Data trans-regional transmission method and device based on multiple channels

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101036353A (en) * 2004-10-08 2007-09-12 艾利森电话股份有限公司 Method, apparatus and system for routing AAA-messages from a home service network over a number of intermediary networks to a roaming network
CN103188243A (en) * 2011-12-30 2013-07-03 北京神州泰岳软件股份有限公司 Method providing services for users in Internet and system providing services for users in Internet
CN103532867A (en) * 2013-10-30 2014-01-22 四川迅游网络科技股份有限公司 Acceleration transmission method and system for network data
CN103618661A (en) * 2013-12-12 2014-03-05 四川迅游网络科技股份有限公司 Data separation method and system
CN104468315A (en) * 2014-12-16 2015-03-25 上海市共进通信技术有限公司 Method for accelerating VPN based on intelligent gateway
CN104852945A (en) * 2014-02-19 2015-08-19 四川迅游网络科技股份有限公司 Method and device for accelerating network transmission
CN105897536A (en) * 2014-10-13 2016-08-24 重庆八方缘网络科技有限公司 Network game accelerating system based on overlay network

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101036353A (en) * 2004-10-08 2007-09-12 艾利森电话股份有限公司 Method, apparatus and system for routing AAA-messages from a home service network over a number of intermediary networks to a roaming network
CN103188243A (en) * 2011-12-30 2013-07-03 北京神州泰岳软件股份有限公司 Method providing services for users in Internet and system providing services for users in Internet
CN103532867A (en) * 2013-10-30 2014-01-22 四川迅游网络科技股份有限公司 Acceleration transmission method and system for network data
CN103618661A (en) * 2013-12-12 2014-03-05 四川迅游网络科技股份有限公司 Data separation method and system
CN104852945A (en) * 2014-02-19 2015-08-19 四川迅游网络科技股份有限公司 Method and device for accelerating network transmission
CN105897536A (en) * 2014-10-13 2016-08-24 重庆八方缘网络科技有限公司 Network game accelerating system based on overlay network
CN104468315A (en) * 2014-12-16 2015-03-25 上海市共进通信技术有限公司 Method for accelerating VPN based on intelligent gateway

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109862023A (en) * 2019-02-27 2019-06-07 中国科学院软件研究所 A kind of embedded device, which is realized, to be accelerated to calculate and high speed network data transmission method
CN110392423A (en) * 2019-06-28 2019-10-29 西安万像电子科技有限公司 Data transmission method, system and equipment
CN111901240A (en) * 2020-07-17 2020-11-06 厦门网宿有限公司 Route updating method, network acceleration system, server and switch
CN113225204A (en) * 2021-03-24 2021-08-06 北京戴纳实验科技有限公司 Gateway control method and system
CN113225204B (en) * 2021-03-24 2022-09-09 北京戴纳实验科技有限公司 Gateway control method and system
CN115102943A (en) * 2021-09-03 2022-09-23 南方电网深圳数字电网研究院有限公司 Data trans-regional transmission method and device based on multiple channels
CN115102943B (en) * 2021-09-03 2024-04-05 南方电网数字平台科技(广东)有限公司 Multi-channel-based data trans-regional transmission method and device

Similar Documents

Publication Publication Date Title
CN108600010A (en) Data transmission method and device
RU2651143C1 (en) Method, device and system of steam recording configuration
US8989002B2 (en) System and method for controlling threshold testing within a network
CN105103494B (en) The network switch emulates
WO2020143180A1 (en) Network congestion detection-based intelligent speed limiting method and apparatus, and storage medium
CN104660557B (en) operation processing method and device
US9825841B2 (en) Method of and network server for detecting data patterns in an input data stream
JP2009017298A (en) Data analysis apparatus
US8619589B2 (en) System and method for removing test packets
CN103297323B (en) A kind of method and apparatus sending User Status
CN108683607A (en) Virtual machine traffic control method, device and server
CN112134893B (en) Internet of things safety protection method and device, electronic equipment and storage medium
CN111490893A (en) Method, device and system for establishing network forwarding model
CN108404416A (en) Game matching interactive approach, device and readable storage medium storing program for executing
CN111125039B (en) Method and device for generating operation log
CN109379239B (en) Method and device for configuring access switch in OpenStack environment
CN104823410B (en) Parameter setting system, program managing device and information processing unit
CN106797329A (en) Special-purpose terminal and its operating method for measuring the Internet wire quality
CN108683529A (en) Data accelerate transmission method and device
US7870251B2 (en) Devices, methods, and computer program products for real-time resource capacity management
CN112272192A (en) Domain name blasting method and device, storage medium and electronic equipment
CN110166518B (en) Session information transmission method, device, storage medium and electronic device
CN115242892B (en) Stream identifier acquisition method, device, equipment and medium
CN107528929A (en) The processing method and processing device of arp entry
CN110474976A (en) A kind of message transfer method, apparatus, storage medium and system applied to automatic vending equipment

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20191115

Address after: 610213 room 706-708, 7 / F, building 15, 1999 Yizhou Avenue, Chengdu high tech Zone, China (Sichuan) pilot Free Trade Zone, Chengdu, Sichuan Province

Applicant after: Chengdu Junyun Technology Co., Ltd.

Address before: 650000 Unit A 30 Floor Office No.01, 5 Blocks, Beijing Road, Panlong District, Kunming, Yunnan Province

Applicant before: Kunming Junyun Technology Co., Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180928