CN106302781A - Routing iinformation distribution processing method, background server and terminal - Google Patents

Routing iinformation distribution processing method, background server and terminal Download PDF

Info

Publication number
CN106302781A
CN106302781A CN201610730462.8A CN201610730462A CN106302781A CN 106302781 A CN106302781 A CN 106302781A CN 201610730462 A CN201610730462 A CN 201610730462A CN 106302781 A CN106302781 A CN 106302781A
Authority
CN
China
Prior art keywords
server
terminal
transcoding server
resource
key message
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
CN201610730462.8A
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.)
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Original Assignee
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing 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 LeTV Holding Beijing Co Ltd, LeTV Mobile Intelligent Information Technology Beijing Co Ltd filed Critical LeTV Holding Beijing Co Ltd
Priority to CN201610730462.8A priority Critical patent/CN106302781A/en
Publication of CN106302781A publication Critical patent/CN106302781A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Embodiments provide a kind of routing iinformation distribution processing method, background server and terminal.In the method, background server receives the key message of each terminal to report, the response time of request resource is returned according to the transcoding server in key message, judge to ask the transcoding server of optimum during this resource, and when there being new terminal request to download this resource, optimum forwarding server IP is sent to this terminal, allow it to connect optimum transcoding server, improve the loading velocity of browser.

Description

Routing iinformation distribution processing method, background server and terminal
Technical field
The present embodiments relate to intelligent terminal's technical field, particularly relate to a kind of routing iinformation distribution processing method, after Station server and terminal.
Background technology
Along with progress and the increase of the income of residents of information technology, the popularity rate of intelligent terminal is greatly improved.Current intelligence Terminal can support increasing function so that people can use intelligent terminal to carry out operation miscellaneous.Wherein, By the browser access webpage in intelligent terminal, it it is one of people's conventional means obtaining various information.People only need to be clear Looking at and input the network address of webpage to be visited in the search column of device, browser just can access this web page contents of issue by mobile network Website server so that people can browse the content of this Homepage Publishing by browser.
In prior art, in order to be accelerated browser, browser can will remove in webpage when accessing Website server The URL information (URL information of such as picture or video resource) of the resource beyond word sends to transcoding server, so that transcoding Server according to URL information obtain corresponding non-legible resource, and to obtain resource process after be sent to browser, make Obtain browser and be able to receive that the non-legible resource after compression, thus accelerate the loading velocity of browser.
But, during realizing the embodiment of the present invention, inventor finds, the URL of non-legible resource is being believed by browser When breath is transmitted to transcoding server, can only be transmitted to the transcoding server preset, the user being such as positioned at Beijing area is using When browser browses webpage, the URL information of the non-legible resource in webpage is forwarded Beijing transcoding server;It is positioned at the use in Chongqing URL information can be forwarded Chengdu transcoding server by family.But it is true that Chengdu transcoding services when Beijing transcoding server is busy When device is in idle state, Beijing user can not show a candle to Beijing user from the speed of Beijing forwarding server acquisition resource and turns from Chengdu Code server obtains the speed of resource.Therefore, such transcoding server method of salary distribution can not improve the loading speed of browser Degree, thus affect user and use browser to browse the loading velocity of webpage.
Summary of the invention
The embodiment of the present invention provides a kind of routing iinformation distribution processing method, background server and terminal, existing in order to solve The method of salary distribution of some transcoding servers can not make the browser connecting transcoding server obtain preferable acceleration effect Defect.
First aspect, embodiments provides a kind of routing iinformation distribution processing method, including:
Background server receives the key message of each terminal to report, and described key message includes routing iinformation and connected Transcoding server return request resource response time information, described routing iinformation include described transcoding server IP ground Location;
Described background server, according to multiple described response time informations, determines the mesh obtained corresponding to described request resource Mark transcoding server;
If described background server receives the request downloading described request resource that new terminal sends, then to described newly Terminal return described target transcoding server IP, for described new terminal by described target transcoding server acquisition institute State request resource.
Alternatively, described key message also includes: the equipment identification information that each terminal is corresponding;Correspondingly, described backstage clothes Business device, according to multiple described response time informations, determines that obtaining the target transcoding server corresponding to described request resource includes:
Described background server, according to multiple described response time informations and the number of described equipment identification information, determines and obtains Take the target transcoding server corresponding to described request resource.
Alternatively, the target transcoding server corresponding to described acquisition described request resource includes:
According to Hash principle, determine the target transcoding server obtained corresponding to described request resource.
Alternatively, the key message of each terminal to report of described background server reception includes:
Background server receives the key message that each terminal together reports with heartbeat message.
Second aspect, embodiments provides another routing iinformation distribution processing method, including:
Terminal obtains the IP address of the transcoding server connected, and described transcoding server returns the sound of request resource Answer temporal information;
Described terminal reports key message, described key message to include routing iinformation and described response to background server Temporal information, described routing iinformation includes the IP address of described transcoding server, for described background server according to multiple Described response time information, determines the target transcoding server obtained corresponding to described request resource, and is receiving new end During the request downloading described request resource that end sends, return the IP of described target transcoding server to described new terminal, make Obtain described new terminal and obtain described request resource by described target transcoding server.
Alternatively, described key message also includes: the equipment identification information that terminal is corresponding;Correspondingly, described background service Device, according to multiple described response time informations, determines that obtaining the target transcoding server corresponding to described request resource includes:
Described background server, according to multiple described response time informations and the number of described equipment identification information, determines and obtains Take the target transcoding server corresponding to described request resource.
Alternatively, described terminal reports key message to include to background server:
Heartbeat message and described key message are together reported described background server by described terminal.
The third aspect, embodiments provides a kind of background server, including:
First receives unit, for receiving the key message of each terminal to report, described key message include routing iinformation with And the transcoding server connected returns the response time information of request resource, described routing iinformation includes described transcoding service The IP address of device;
Processing unit, for according to multiple described response time informations, determining the mesh obtained corresponding to described request resource Mark transcoding server;
First transmitting element, receives, for receiving unit described first, the download described request money that new terminal sends During the request in source, return the IP of described target transcoding server to described new terminal, for described new terminal by described Target transcoding server obtains described request resource.
Alternatively, described key message also includes: the equipment identification information that each terminal is corresponding;
Correspondingly,
Described processing unit, is additionally operable to according to multiple described response time informations and the number of described equipment identification information, Determine the target transcoding server obtained corresponding to described request resource.
Alternatively,
Described processing unit, is additionally operable to, according to Hash principle, determine the target transcoding obtained corresponding to described request resource Server.
Alternatively, described first receives unit, for receiving the key message that each terminal and heartbeat message together report.
Fourth aspect, the embodiment of the present invention additionally provides a kind of terminal, including:
Second receives unit, and for obtaining the IP address of the transcoding server connected, and described transcoding server returns Return hospitality the response time information seeking resource;
Second transmitting element, for background server report key message, described key message include routing iinformation with And described response time information, described routing iinformation includes the IP address of described transcoding server, for described background service Device, according to multiple described response time informations, determines the target transcoding server obtained corresponding to described request resource, and is connecing When receiving the request downloading described request resource that new terminal sends, return the service of described target transcoding to described new terminal The IP of device so that described new terminal obtains described request resource by described target transcoding server.
Alternatively,
Described second transmitting element, is additionally operable to report the crucial letter including Terminal Equipment Identifier information to background server Breath, so that described background server is according to multiple described response time informations and the number of described equipment identification information, determines and obtains Take the target transcoding server corresponding to described request resource.
Alternatively, described second transmitting element, it is additionally operable to heartbeat message and described key message are together reported institute State background server.
Embodiments provide a kind of routing iinformation distribution processing method, background server and terminal, in the method Background server receives the key message of each terminal to report, returns the sound of request resource according to the transcoding server in key message Between Ying Shi, it is judged that ask the transcoding server of optimum during this resource, and when there being new terminal request to download this resource, by optimum Forwarding server IP be sent to this terminal, allow it to connect optimum transcoding server, improve the loading speed of browser Degree.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is this Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to root Other accompanying drawing is obtained according to these accompanying drawings.
A kind of routing iinformation distribution processing method embodiment flow chart that Fig. 1 provides for the present invention;
Fig. 2 is a kind of concrete routing iinformation distribution processing method embodiment flow chart of the method shown in Fig. 1;
Another routing iinformation distribution process flow figure that Fig. 3 provides for the present invention;
Fig. 4 is a kind of concrete routing iinformation distribution processing method embodiment flow chart of the method shown in Fig. 3;
A kind of background server example structure schematic diagram that Fig. 5 provides for the present invention;
A kind of terminal example structure schematic diagram that Fig. 6 provides for the present invention;
A kind of routing iinformation distribution processing system example structure schematic diagram that Fig. 7 provides for the present invention.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is The a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under not making creative work premise, broadly falls into the scope of protection of the invention.
First aspect, embodiments provides a kind of routing iinformation distribution processing method, as it is shown in figure 1, include:
S101, background server receive the key message of each terminal to report, and key message includes routing iinformation and connected The transcoding server connect returns the response time information of request resource, and routing iinformation includes the IP address of transcoding server;
Specifically, background server can receive the key message of each terminal to report.Here key message includes The IP address of the transcoding server that this terminal connects, and the response of the request resource after compression is obtained by this transcoding server Time.Wherein, this response time is that terminal records.
S102, background server, according to multiple response time informations, determine that this target corresponding to request resource of request turns Code server;
Specifically, after background server receives the response time information of multiple terminal, according to the length of response time Short, determine and obtain the transcoding service that transcoding server is target transcoding server, such as shortest time that this request resource is optimum Device.Certainly, here when determining optimum transcoding server, except can be according to the length of response time, it is also possible to combine other Because usually judging, setting that the current situation of such as server, server are current etc., this is not made specifically by the embodiment of the present invention Limit.
If S103, background server receive the request downloading request resource that new terminal sends, then to new terminal Return the IP of target transcoding server, obtain request resource for new terminal by target transcoding server.
Specifically, after determining the optimum transcoding server obtaining each request resource, if if background server Receive the request downloading a certain request resource of a certain new terminal to report in addition to each terminal above-mentioned, then according to step The result that S102 determines is to the IP of the target transcoding server of this terminal distribution optimum, to allow the terminal to by target transcoding Server obtains request resource, thus accelerates the loading velocity of browser, promotes the speed of browser refresh page.
In the routing iinformation distribution processing method that the embodiment of the present invention provides, background server receives the pass of each terminal to report Key information, returns the response time of request resource according to the transcoding server in key message, it is judged that optimum when asking this resource Transcoding server, and when there being new terminal request to download this resource, optimum forwarding server IP is sent to this terminal, Allow it to connect optimum transcoding server, thus improve the loading velocity of browser.
On the basis of said method embodiment, the embodiment of the present invention additionally provides a kind of routing iinformation distribution process side Method, specifically includes as shown in Figure 2:
S101a, background server receive the key message of each terminal to report, and key message includes routing iinformation and connected The transcoding server connect returns the response time information of request resource, and routing iinformation includes the IP address of transcoding server, closes Key information also includes the equipment identification information that each terminal is corresponding;
During in other words background server receives the key message of each terminal to report, except including in a upper embodiment Routing iinformation and response time information, it is also possible to include equipment identification information, such as, can be the MAC Address of this equipment, IMSI number of this equipment etc., this is not especially limited by the present invention.
S102a, background server, according to multiple response time informations and the number of equipment identification information, determine that acquisition should Seek the target transcoding server corresponding to resource.
Specifically, background server is when judging optimum transcoding server, except judging according to response time information, The problem that it is also contemplated that load balancing.It is to say, it is also contemplated that the number of the load terminal that each transcoding server can bear Amount, and judge this transcoding server whether overload operation.If the load of this transcoding server has been over preset value, then select Taking other transcoding servers is the target transcoding server obtaining this request resource such that it is able to more reasonable distribution transcoding server Resource.
If S103, background server receive the request downloading request resource that new terminal sends, then to new terminal Return the IP of target transcoding server, obtain request resource for new terminal by target transcoding server.
Step S103 is illustrated by a upper embodiment, does not repeats them here.
In the method that the embodiment of the present invention provides, terminal can also make to the identification information of background server reporting equipment Obtain the identification information that background server can report according to each equipment, it is judged that whether the transcoding server obtaining a certain resource surpasses Load operation, when this transcoding server over loading, choosing other transcoding servers is the target transcoding obtaining this request resource Server such that it is able to more reasonable distribution transcoding server resource, improves terminal and obtains the speed of resource.
Further, in the specific implementation, it is to be understood that the transcoding server that can obtain a certain request resource can Can have multiple, therefore, in step S102a of said method embodiment, obtain turning of this request resource for new terminal distribution During code server, the request of acquisition target transcoding server corresponding to resource can be determined according to Hash principle.
Specifically, determine that the target transcoding server of correspondence refers to according to the Kazakhstan set here according to Hash principle Uncommon function H (key), will process collision method one set of keyword (such as, target transcoding server) is mapped to one limited On address section (such as, the IP address of each target transcoding server) thus set up Hash table.Meanwhile, with keyword in address In interval as record storage position in table, gained storage position is referred to as Hash Round Robin data partition or hash address, thus can In Hash table, the Hash Round Robin data partition of correspondence is inquired about with corresponding keyword.Compared to linear data structure and form and queue etc. Lookup mode is compared, and makes a look up speed ratio beyond doubt according to Hash table a kind of faster.Therefore, look into according to Hash principle Look for, acquisition target transcoding server can be selected quickly, thus when new terminal sends and obtains request, it is possible to it is quickly It distributes target transcoding server.
Additionally, in the specific implementation, understandable, terminal with background server carry out information mutual time, need Timing reports heartbeat message to background server.Here heartbeat message is exactly regularly to notify the other side between client and server The command word of one of oneself state oneself definition, sends according to certain time interval, is similar to heart beating, so referred to as heart beating Information.Therefore, in order to simplify mutual flow process, in above-mentioned two embodiment of the method, terminal can report heartbeat message Report key message, say, that background server can receive the crucial letter that each terminal together reports with heartbeat message simultaneously Breath, just can realize reporting of key message alternately from without too much information, effectively simplifies interaction flow, shortens terminal The time is transmitted with the information of background server.
Second aspect, the embodiment of the present invention additionally provides a kind of routing iinformation distribution processing method, as it is shown on figure 3, include:
S201, terminal obtain the IP address of the transcoding server connected, and transcoding server returns request resource Response time information;
Specifically, the browser of terminal, can be by the non-legible resource in browsing device net page in order to improve loading velocity URL is sent to transcoding server.Now, terminal also can obtain the IP address of the transcoding server of connection, and calculates this transcoding clothes Business device returns the response time of request resource (namely non-legible resource).
S202, terminal report key message, key message to include routing iinformation and response time letter to background server Breath, routing iinformation includes the IP address of transcoding server, for background server according to multiple response time informations, determines and obtain Take request target transcoding server corresponding to resource, and receive the request downloading request resource that new terminal sends Time, return the IP of target transcoding server to new terminal so that new terminal obtains request money by target transcoding server Source.
In the routing iinformation distribution processing method that the embodiment of the present invention provides, by the crucial letter of each terminal to report oneself Breath so that background server can determine transcoding server optimum when asking this resource according to key message, and new having When terminal request downloads this resource, optimum forwarding server IP is sent to this terminal, thus allows the terminal to connect Excellent transcoding server, can improve the loading velocity of browser.
On the basis of said method embodiment, the embodiment of the present invention additionally provides a kind of routing iinformation distribution process side Method, specifically includes as shown in Figure 4:
S201, terminal obtain the IP address of the transcoding server connected, and transcoding server returns request resource Response time information;
Step S103 is illustrated by a upper embodiment, does not repeats them here.
S202b, terminal report key message, key message to include routing iinformation and response time letter to background server Breath and equipment identification information corresponding to terminal, routing iinformation includes the IP address of transcoding server, for background server According to multiple response time informations and the number of described equipment identification information, determine the request of acquisition target transcoding corresponding to resource Server, and when receiving the request of request of the downloading resource that new terminal sends, return target transcoding clothes to new terminal The IP of business device so that new terminal obtains request resource by target transcoding server.
In other words in the key message of terminal to report, except the routing iinformation in a upper embodiment and sound can be included Answer temporal information, it is also possible to include equipment identification information, such as, can be the MAC Address of this equipment, the IMSI number of this equipment Etc., this is not especially limited by the present invention.Correspondingly, background server is when judging optimum transcoding server, except basis Response time information judges, also to consider the quantity of the load terminal that each transcoding server can bear.If this turn The load of code server has been over preset value, then choosing other transcoding servers is the target transcoding obtaining this request resource Server such that it is able to for initiating newly requested terminal distribution more reasonably transcoding server.
In the method that the embodiment of the present invention provides, background server can also be taken into account and consider asking of transcoding server load Topic, it is judged that this transcoding server whether overload operation, and when this transcoding server over loading, choose other transcoding servers For obtaining the target transcoding server of this request resource such that it is able to more reasonable distribution transcoding server resource, improve terminal and obtain Take the speed of resource.
In the specific implementation, in the embodiment of the method that second aspect provides, terminal can also send to background server Report key message while heartbeat message such that it is able to effectively simplify the interaction flow with background server, shorten terminal with The information transmission time of background server.
The third aspect, the embodiment of the present invention additionally provides a kind of background server, connects as it is shown in figure 5, specifically include first Receive unit 301, processing unit 302 and the first transmitting element 303.
Wherein, first receives unit 301 is used for receiving the key message of each terminal to report, and described key message includes route Information and the transcoding server connected return the response time information of request resource, and described routing iinformation includes described turning The IP address of code server;Processing unit 302, for according to multiple described response time informations, determines the described request resource of acquisition Corresponding target transcoding server;First transmitting element 303 is sent out for receiving new terminal at described first reception unit During the request downloading described request resource sent, return the IP of described target transcoding server to described new terminal, for institute State new terminal and obtain described request resource by described target transcoding server.
Specifically, the first reception unit 301 can receive the crucial letter that each terminal reports while browsing webpage Breath.Here key message includes the IP address of the transcoding server that this terminal connects, and is obtained by this transcoding server The response time of the request resource after compression.Wherein, this response time is that terminal records.Afterwards, processing unit 302 can root According to the length of response time, determine that the transcoding server obtaining this request resource optimum is target transcoding server.Determining After obtaining the optimum transcoding server of each request resource, if if the first reception unit 301 receives new terminal to report Download the request of a certain request resource, then the first transmitting element 303 is by optimum to this terminal distribution according to fixed result The IP of target transcoding server, to allow the terminal to obtain request resource by target transcoding server, thus accelerates to browse The loading velocity of device, promotes the speed of browser refresh page.
In the background server that the embodiment of the present invention provides, first receives unit 301 receives the crucial letter of each terminal to report Breath, processing unit 302 returns the response time of request resource according to the transcoding server in key message, it is judged that ask this resource Time optimum transcoding server, and when there being new terminal request to download this resource, receive unit 301 by optimum by first Forwarding server IP is sent to this terminal, allows it to connect optimum transcoding server, thus improves the loading of browser Speed.
In the specific implementation, in above-mentioned background server embodiment, the key message of terminal to report can also include each end The equipment identification information that end is corresponding.And then, the processing unit 302 of background server, it is additionally operable to according to multiple response time informations With the number of described equipment identification information, determine the target transcoding server obtained corresponding to described request resource.Wherein, here The number of equipment identification information primarily to reflect the load condition of each transcoding server so that processing unit 302 exists Carry out optimum transcoding server when judging, it is possible to consider the loading level of each transcoding server, thus be that new initiation is asked The most rational transcoding server of terminal distribution.
In the specific implementation, in above-mentioned background server embodiment, processing unit 302 can also be according to Hash principle, really Surely obtain this target transcoding server corresponding to request resource, thus improve processing unit 302 and search and select target to turn The speed of code server, can be that new terminal quickly distributes transcoding server.The concrete principle of Hash principle here is Explained in detail in the preceding article, do not repeated them here.
In the specific implementation, in above-mentioned background server embodiment, first receive unit 301 be additionally operable to receive each terminal with The key message that heartbeat message together reports, thus reduce the interaction with terminal, improve interactive efficiency.
Fourth aspect, the embodiment of the present invention additionally provides a kind of terminal, as shown in Figure 6, including the second reception unit 401 with And second transmitting element 402.
Wherein, the second reception unit 401 is for obtaining the IP address of the transcoding server connected, and transcoding server Return the response time information of request resource;Second transmitting element 402 is for reporting key message, crucial letter to background server Breath includes routing iinformation and response time information, and routing iinformation includes the IP address of transcoding server, for background service Device, according to multiple response time informations, determines the request of acquisition target transcoding server corresponding to resource, and new receiving When what terminal sent downloads the request of request resource, return the IP of target transcoding server to new terminal so that new terminal Request resource is obtained by target transcoding server.
In the terminal that the embodiment of the present invention provides, the key message reported by the second transmitting element 402 so that backstage takes Business device can determine transcoding server optimum when asking this resource according to key message, and should there being new terminal request to download During resource, optimum forwarding server IP is sent to this terminal, thus allows the terminal to connect optimum transcoding server, The loading velocity of browser can be improved.
In the specific implementation, the second transmitting element 402 in above-mentioned terminal embodiment is additionally operable to report to background server Including the key message of Terminal Equipment Identifier information, so that background server is believed according to multiple response time informations and device identification The number of breath, determines the request of acquisition target transcoding server corresponding to resource.For equipment identification information effect, the most Through being described in detail, do not repeat them here.
In the specific implementation, the second transmitting element 402 in above-mentioned terminal embodiment is additionally operable to heartbeat message and pass Key information together reports described background server, thus reduces the interaction with terminal, improves interactive efficiency.
5th aspect, the embodiment of the present invention additionally provides a kind of routing iinformation distribution processing system, as it is shown in fig. 7, comprises Background server 501 and several terminals 502;
Wherein, background server here is the background server described in the third aspect;Here terminal is fourth aspect Described terminal.In the routing iinformation distribution processing system that the embodiment of the present invention provides, background server 501 receives each terminal 502 key messages reported, and the response time of request resource is returned according to the transcoding server in key message, it is judged that request Transcoding server optimum during this resource.When there being new terminal request to download this resource, optimum forwarding server IP is sent out Give this terminal, allow it to connect optimum transcoding server, improve the loading velocity of browser.
Understandable, the illustration in above-described embodiment is only to facilitate be more fully understood that the embodiment of the present invention The method or apparatus provided, can not constitute the concrete restriction to the present invention.And between each above-mentioned preferred implementation not Can influence each other, the scheme obtained by combination in any between each preferred implementation all should fall into the protection model of the present invention Enclose.
Device embodiment described above is only schematically, and the wherein said unit illustrated as separating component can To be or to may not be physically separate, the parts shown as unit can be or may not be physics list Unit, i.e. may be located at a place, or can also be distributed on multiple NE.Can be selected it according to the actual needs In some or all of module realize the purpose of the present embodiment scheme.Those of ordinary skill in the art are not paying creativeness Work in the case of, be i.e. appreciated that and implement.
Through the above description of the embodiments, those skilled in the art it can be understood that to each embodiment can The mode adding required general hardware platform by software realizes, naturally it is also possible to pass through hardware.Based on such understanding, on State the part that prior art contributes by technical scheme the most in other words to embody with the form of software product, should Computer software product can store in a computer-readable storage medium, such as ROM/RM, magnetic disc, CD etc., including some fingers Make with so that a computer equipment (can be personal computer, server, or the network equipment etc.) performs each and implements The method described in some part of example or embodiment.
Last it is noted that above example is only in order to illustrate technical scheme, it is not intended to limit;Although With reference to previous embodiment, the present invention is described in detail, it will be understood by those within the art that: it still may be used So that the technical scheme described in foregoing embodiments to be modified, or wherein portion of techniques feature is carried out equivalent; And these amendment or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and Scope.

Claims (14)

1. a routing iinformation distribution processing method, it is characterised in that including:
Background server receive each terminal to report key message, described key message include routing iinformation and connected turn Code server returns the response time information of request resource, and described routing iinformation includes the IP address of described transcoding server;
Described background server, according to multiple described response time informations, determines that obtaining the target corresponding to described request resource turns Code server;
If described background server receives the request downloading described request resource that new terminal sends, then to described new end End returns the IP of described target transcoding server, obtains described asking for described new terminal by described target transcoding server Seek resource.
Method the most according to claim 1, it is characterised in that described key message also includes: the equipment that each terminal is corresponding Identification information;Correspondingly, described background server, according to multiple described response time informations, determines the described request resource institute of acquisition Corresponding target transcoding server includes:
Described background server, according to multiple described response time informations and the number of described equipment identification information, determines acquisition institute State request target transcoding server corresponding to resource.
Method the most according to claim 2, it is characterised in that the target transcoding corresponding to described acquisition described request resource Server includes:
According to Hash principle, determine the target transcoding server obtained corresponding to described request resource.
4. according to the method according to any one of claim 1-3, it is characterised in that described background server receives in each terminal The key message of report includes:
Background server receives the key message that each terminal together reports with heartbeat message.
5. a routing iinformation distribution processing method, it is characterised in that including:
Terminal obtains the IP address of the transcoding server connected, and when described transcoding server returns the response asking resource Between information;
Described terminal reports key message, described key message to include routing iinformation and described response time to background server Information, described routing iinformation includes the IP address of described transcoding server, for described background server according to multiple described Response time information, determines the target transcoding server obtained corresponding to described request resource, and sends out receiving new terminal During the request downloading described request resource sent, return the IP of described target transcoding server to described new terminal so that institute State new terminal and obtain described request resource by described target transcoding server.
6. require the method described in 5 according to power, it is characterised in that described key message also includes: the device identification that terminal is corresponding Information;Correspondingly, described background server, according to multiple described response time informations, determines corresponding to the described request resource of acquisition Target transcoding server include:
Described background server, according to multiple described response time informations and the number of described equipment identification information, determines acquisition institute State request target transcoding server corresponding to resource.
7. according to the method described in claim 5 or 6, it is characterised in that described terminal reports key message to background server Including:
Heartbeat message and described key message are together reported described background server by described terminal.
8. a background server, it is characterised in that including:
First receives unit, and for receiving the key message of each terminal to report, described key message includes routing iinformation and institute The transcoding server connected returns the response time information of request resource, and described routing iinformation includes described transcoding server IP address;
Processing unit, for according to multiple described response time informations, determines that obtaining the target corresponding to described request resource turns Code server;
First transmitting element, for receiving the described request resource of download of new terminal transmission at described first reception unit During request, return the IP of described target transcoding server to described new terminal, for described new terminal by described target Transcoding server obtains described request resource.
Background server the most according to claim 8, it is characterised in that described key message also includes: each terminal is corresponding Equipment identification information;
Correspondingly,
Described processing unit, is additionally operable to, according to multiple described response time informations and the number of described equipment identification information, determine Obtain the target transcoding server corresponding to described request resource.
Background server the most according to claim 9, it is characterised in that
Described processing unit, is additionally operable to, according to Hash principle, determine the target transcoding service obtained corresponding to described request resource Device.
Background server described in 11. according to Claim 8 or 9 or 10, it is characterised in that
Described first receives unit, for receiving the key message that each terminal and heartbeat message together report.
12. 1 kinds of terminals, it is characterised in that including:
Second receives unit, and for obtaining the IP address of the transcoding server connected, and described transcoding server returns and asks Seek the response time information of resource;
Second transmitting element, for reporting key message, described key message to include routing iinformation and institute to background server Stating response time information, described routing iinformation includes the IP address of described transcoding server, for described background server root According to multiple described response time informations, determine the target transcoding server obtained corresponding to described request resource, and receiving During the request downloading described request resource that new terminal sends, return described target transcoding server to described new terminal IP so that described new terminal obtains described request resource by described target transcoding server.
13. require the terminal described in 12 according to power, it is characterised in that
Described second transmitting element, is additionally operable to report the key message including Terminal Equipment Identifier information to background server, with Make described background server according to multiple described response time informations and the number of described equipment identification information, determine that acquisition is described Request target transcoding server corresponding to resource.
14. according to the terminal described in claim 12 or 13, it is characterised in that
Described second transmitting element, is additionally operable to heartbeat message and described key message are together reported described background service Device.
CN201610730462.8A 2016-08-25 2016-08-25 Routing iinformation distribution processing method, background server and terminal Pending CN106302781A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610730462.8A CN106302781A (en) 2016-08-25 2016-08-25 Routing iinformation distribution processing method, background server and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610730462.8A CN106302781A (en) 2016-08-25 2016-08-25 Routing iinformation distribution processing method, background server and terminal

Publications (1)

Publication Number Publication Date
CN106302781A true CN106302781A (en) 2017-01-04

Family

ID=57676590

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610730462.8A Pending CN106302781A (en) 2016-08-25 2016-08-25 Routing iinformation distribution processing method, background server and terminal

Country Status (1)

Country Link
CN (1) CN106302781A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107026907A (en) * 2017-03-30 2017-08-08 上海斐讯数据通信技术有限公司 A kind of load-balancing method, load equalizer and SiteServer LBS

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287011A (en) * 2008-05-26 2008-10-15 蓝汛网络科技(北京)有限公司 Method, system and device for responding service request from user in content distributing network
CN101702666A (en) * 2009-11-12 2010-05-05 中兴通讯股份有限公司 Method and system for realizing load balance of media transcoding network and media transcoding units
CN103309946A (en) * 2013-05-16 2013-09-18 华为技术有限公司 Method, device and system for processing multimedia file
US20140019595A1 (en) * 2000-12-22 2014-01-16 Sony Corporation Distributed on-demand media transcoding system and method
CN105828105A (en) * 2015-12-10 2016-08-03 广东亿迅科技有限公司 Distributed environment-based video transcoding system and video transcoding method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140019595A1 (en) * 2000-12-22 2014-01-16 Sony Corporation Distributed on-demand media transcoding system and method
CN101287011A (en) * 2008-05-26 2008-10-15 蓝汛网络科技(北京)有限公司 Method, system and device for responding service request from user in content distributing network
CN101702666A (en) * 2009-11-12 2010-05-05 中兴通讯股份有限公司 Method and system for realizing load balance of media transcoding network and media transcoding units
CN103309946A (en) * 2013-05-16 2013-09-18 华为技术有限公司 Method, device and system for processing multimedia file
CN105828105A (en) * 2015-12-10 2016-08-03 广东亿迅科技有限公司 Distributed environment-based video transcoding system and video transcoding method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107026907A (en) * 2017-03-30 2017-08-08 上海斐讯数据通信技术有限公司 A kind of load-balancing method, load equalizer and SiteServer LBS

Similar Documents

Publication Publication Date Title
CN104618506B (en) A kind of content distribution network system of crowdsourcing, method and apparatus
CN103365695B (en) Method and device for increasing sub-resource loading speed
CN104427005B (en) The method and system that request is accurately dispatched are realized on CDN
CN104967651B (en) Data-pushing, storage, method for down loading and device based on CDN frameworks
CN100562873C (en) Obtain the system and method for web page element in the webpage
US20140280606A1 (en) Method and Apparatus for Content Management
CN103685590B (en) Obtain the method and system of IP address
CN103297528B (en) A kind of method and apparatus obtaining ticket information
CN103888358B (en) Routing method, device, system and gateway equipment
CN108040085A (en) Method for network access, device and server
CN103581111B (en) A kind of communication means and system
CN104714965A (en) Static resource weight removing method, and static resource management method and device
CN101510899B (en) Method, system and equipment for implementing content source selection
CN108173976A (en) Domain name analytic method and device
CN106941507A (en) The dispatching method and device of request message
CN106302630A (en) Transmit private data and data object
CN104320405B (en) A kind of upper optimization method suitable for star-like satellite network
CN102710535B (en) A kind of data capture method and equipment
CN106453576A (en) Interactive method, interactive system and dispatching centre based on hybrid cloud platform
CN107277092A (en) Content distributing network and its data download method
CN101867976A (en) Load balancing method based on mobile terminal number and equipment
CN101146114A (en) A load share method and system of stream media server
WO2014146441A1 (en) Method, server and system for processing task data
CN113301079B (en) Data acquisition method, system, computing device and storage medium
CN106657183A (en) Caching acceleration method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170104

WD01 Invention patent application deemed withdrawn after publication