CN106899681A - The method and server of a kind of information pushing - Google Patents
The method and server of a kind of information pushing Download PDFInfo
- Publication number
- CN106899681A CN106899681A CN201710142023.XA CN201710142023A CN106899681A CN 106899681 A CN106899681 A CN 106899681A CN 201710142023 A CN201710142023 A CN 201710142023A CN 106899681 A CN106899681 A CN 106899681A
- Authority
- CN
- China
- Prior art keywords
- proxy server
- network quality
- default
- server
- client
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Computer And Data Communications (AREA)
Abstract
The embodiment of the invention discloses a kind of method of information pushing, including:The network connecting request that destination client sends is received, destination client is a client in target area;According to network connecting request, the default proxy server set associated with target area in current time is obtained, at least one proxy server is included in default proxy server set, and at least one proxy server is predetermined according to network quality information;Default proxy server set is pushed to destination client, so that destination client determines target proxy server from default proxy server set.The embodiment of the present invention also provides a kind of server.The present invention is without the poor proxy server of each client repeated measurement network quality, but from server actively to a default proxy server set corresponding to client push current time, so as to avoid the waste of Internet resources, the startup time of client is shortened simultaneously, is conducive to the operation and experience of user.
Description
Technical field
The present invention relates to Internet technical field, more particularly to a kind of information pushing method and server.
Background technology
Nowadays, the application program in majority of network can all provide proxy server, and these proxy servers are mainly used in carrying
The connection speed and quality between client and service server are risen, how to select suitable proxy server to seem particularly heavy
Will.
At present, the screening of proxy server is carried out by the way of as shown in Figure 1, Fig. 1 is referred to, Fig. 1 is existing scheme
Middle client detects the embodiment schematic diagram of proxy server, and first, client gets all theoretical available agency services
Then all proxy servers in this intersection are carried out network test and screening by device intersection respectively, finally can therefrom obtain optimal
Proxy server subset.
However, due to proxy server cannot active obtaining client environment to the network quality of itself, it is impossible to according to visitor
Family end own net situation is pointedly screened, and when proxy server intersection is prepared, each client must be to it
The poor proxy server of middle network quality repeats test, and this will cause the waste of Internet resources, while extending client
The startup time at end, it is unfavorable for the operation and experience of user.
The content of the invention
The method and server of a kind of information pushing are the embodiment of the invention provides, without each client repeated measurement
The poor proxy server of network quality, but actively preset to corresponding to client push current time from server
Proxy server set, so as to avoid the waste of Internet resources, while shortening the startup time of client, is conducive to user's
Operation and experience.
In view of this, first aspect present invention provides a kind of method of information pushing, including:
The network connecting request that destination client sends is received, the destination client is a client in target area
End;
According to the network connecting request, the default proxy server associated with the target area in current time is obtained
Set, includes at least one proxy server, and at least one proxy server in the default proxy server set
It is predetermined according to network quality information;
The default proxy server set is pushed to the destination client, so that the destination client is from described pre-
If determining target proxy server in proxy server set.
Second aspect present invention provides a kind of server, including:
Receiver module, the network connecting request for receiving destination client transmission, the destination client is target area
A client in domain;
First acquisition module, for the network connecting request received according to the receiver module, obtains current time
The interior default proxy server set associated with the target area, includes at least one in the default proxy server set
Proxy server, and at least one proxy server is predetermined according to network quality information;
First pushing module, for pushing the described default generation that first acquisition module is obtained to the destination client
Reason server set, so that the destination client determines target proxy server from the default proxy server set.
As can be seen from the above technical solutions, the embodiment of the present invention has advantages below:
In the embodiment of the present invention, there is provided a kind of method of information pushing, destination client transmission is first received by server
Network connecting request, the destination client is a client in target area, and server obtains according to network connecting request
The default proxy server set associated with target area in current time is taken, at least one is included in default proxy server set
Individual proxy server, and at least one proxy server is predetermined according to network quality information, last server is to mesh
The default proxy server set of mark client push, so that destination client determines target generation from default proxy server set
Reason server.Through the above way, without the proxy server that each client repeated measurement network quality is poor, but by taking
Device be engaged in actively to a default proxy server set corresponding to client push current time, so as to avoid Internet resources
Waste, while shortening the startup time of client, be conducive to the operation and experience of user.
Brief description of the drawings
Fig. 1 is the embodiment schematic diagram of client detection proxy server in existing scheme;
Fig. 2 is the system architecture diagram of information pushing in the embodiment of the present invention;
Fig. 3 is the interactive embodiment schematic diagram of method one of information pushing in the embodiment of the present invention;
Fig. 4 is method one embodiment schematic diagram of information pushing in the embodiment of the present invention;
Fig. 5 is the interface schematic diagram of selection proxy server in application scenarios of the present invention;
Fig. 6 is server one embodiment schematic diagram in the embodiment of the present invention;
Fig. 7 is another embodiment schematic diagram of server in the embodiment of the present invention;
Fig. 8 is another embodiment schematic diagram of server in the embodiment of the present invention;
Fig. 9 is another embodiment schematic diagram of server in the embodiment of the present invention;
Figure 10 is another embodiment schematic diagram of server in the embodiment of the present invention;
Figure 11 is another embodiment schematic diagram of server in the embodiment of the present invention;
Figure 12 is another embodiment schematic diagram of server in the embodiment of the present invention;
Figure 13 is one structural representation of server in the embodiment of the present invention.
Specific embodiment
The method and server of a kind of information pushing are the embodiment of the invention provides, without each client repeated measurement
The poor proxy server of network quality, but actively preset to corresponding to client push current time from server
Proxy server set, so as to avoid the waste of Internet resources, while shortening the startup time of client, is conducive to user's
Operation and experience.
Term " first ", " second ", " the 3rd ", " in description and claims of this specification and above-mentioned accompanying drawing
Four " etc. (if present) is for distinguishing similar object, without for describing specific order or precedence.Should manage
Solution so data for using can be exchanged in the appropriate case, so that embodiments of the invention described herein for example can be removing
Order beyond those for illustrating herein or describing is implemented.Additionally, term " comprising " and " having " and theirs is any
Deformation, it is intended that covering is non-exclusive to be included, for example, containing process, method, system, the product of series of steps or unit
Product or equipment are not necessarily limited to those steps clearly listed or unit, but may include not list clearly or for this
A little processes, method, product or other intrinsic steps of equipment or unit.
It should be understood that the present invention is applied to information transmission system, server can provide current more excellent agency for client
Server set so that client selects a preferable proxy server of signal quality by the information in set.Refer to
Fig. 2, Fig. 2 are the system architecture diagram of information pushing in the embodiment of the present invention, as illustrated, in same region (i.e. target area)
Interior user normally comprises the new user for reaching the standard grade and user on line, the corresponding client of each user, visitor
Family end can carry out the real-time monitoring of communication link based on business datum, that is, detect client and current connected agency service
Network quality between device, and the network quality letter that these are real-time monitored to server real-time report provided by the present invention
Breath, by the server according to network quality information come the default proxy server set of real-time adjustment, and enters decision-making of racking, finally
Server issues the default proxy server set after adjusting to the client newly reached the standard grade.
It should be noted that the server mentioned in the present invention program is " control centre " in Fig. 2, additionally, Fig. 2
In with six clients in region be only one signal, in actual applications, can also be the client of other quantity, herein not
Limit.
Wherein, proxy server is a kind of important server security function, and its work is main in Open System Interconnection
The session layer of model, so as to play a part of fire wall.Proxy server is used to connect Internet or LAN mostly,
The transmission services data between service server.
One complete proxy requests process is:Client creates with proxy server be connected first, then according to agency
The agency agreement that server is used, request creates connection or obtains the specified resource of destination server to destination server.
In the later case, proxy server may be to the resource downloading of service server to local cache, if client is wanted
Among the caching of proxy server, then proxy server can't send and ask the resource of acquisition to destination server, but
The resource of direct return cache.Some agency agreements allow proxy server to change raw requests, the business service of client
The original response of device, to meet agency agreement the need for.The option of proxy server and it is arranged in computer program, generally bag
Include one " fire wall ", it is allowed to user input agent address, it can cover their network activity, can allow to bypass internet
Network access is realized in filtering.
In order to make it easy to understand, referring to Fig. 3, Fig. 3 is that one interaction of method of information pushing in the embodiment of the present invention is implemented
Illustrate and be intended to, as illustrated, server and client side will perform following steps:
Step 101, client initiates network connecting request to server first, and the network connecting request is used to indicate to service
Device determines the client belongs to which region, such as certain cell or certain affiliated operator;
Step 102, region of the server according to where client obtains the corresponding default proxy server collection of the client
Close, can be one group of list of proxy server in the default proxy server set, contained in present period in the list
Network quality preferably proxy server;
Step 103, client just can be automatically selected after the default proxy server set that server is issued is received
One proxy server is accessed as target proxy server, it is also possible to by user according to default proxy server set come
Target proxy server is manually selected to be accessed.
Below by from the angle of server, the method to information pushing in the present invention is introduced, and refers to Fig. 4, this hair
Method one embodiment of information pushing includes in bright embodiment:
201st, the network connecting request that destination client sends is received, destination client is a client in target area
End;
In the present embodiment, server receives the network connecting request that certain destination client in target area sends, its
In, target area is that, according to the ready-portioned region of certain area, server can be by the iso-ip Internetworking protocol ISO-IP (English of client
Full name:Internet Protocol, english abbreviation:IP) address obtains the affiliated city of client and Virtual network operator, with
Reasonably divided, and server for each region manage to a default proxy server set.
202nd, according to network connecting request, the default proxy server collection associated with target area in current time is obtained
Close, at least one proxy server is included in default proxy server set, and at least one proxy server is according to network
Quality information is predetermined;
In the present embodiment, the network connecting request that server sends according to destination client is obtained in current time and mesh
The default proxy server set of the target area association where mark client, wherein, included in default proxy server set
At least one proxy server, proxy server here is also to be shifted to an earlier date really according to respective network quality information by server
Set.
It is understood that under normal circumstances, presetting each proxy server network quality in proxy server set
Better than the proxy server quality in non-default proxy server set.
203rd, default proxy server set is pushed to destination client, so that destination client is from default proxy server
Target proxy server is determined in set.
In the present embodiment, after the default proxy server set associated with target area in current time is determined,
The server just should push default proxy server set to destination client, and the default generation is then shown on destination client
List information corresponding to reason server set, finally selects one of proxy server in default proxy server set
As target proxy server, and communicated with service server foundation by target proxy server, for transmission services number
According to.
In the embodiment of the present invention, there is provided a kind of method of information pushing, destination client transmission is first received by server
Network connecting request, the destination client is a client in target area, and server obtains according to network connecting request
The default proxy server set associated with target area in current time is taken, at least one is included in default proxy server set
Individual proxy server, and at least one proxy server is predetermined according to network quality information, last server is to mesh
The default proxy server set of mark client push, so that destination client determines target generation from default proxy server set
Reason server.Through the above way, without the proxy server that each client repeated measurement network quality is poor, but by taking
Device be engaged in actively to a default proxy server set corresponding to client push current time, so as to avoid Internet resources
Waste, while shortening the startup time of client, be conducive to the operation and experience of user.
Alternatively, on the basis of the corresponding embodiments of above-mentioned Fig. 4, the method for information pushing provided in an embodiment of the present invention
In first alternative embodiment, before obtaining the default proxy server set associated with target area in current time, may be used also
To include:
The network quality information that at least one client is reported in target area is obtained, network quality information is based on communication
What link detecting was obtained;
Network quality ordering according to corresponding to network quality information determines each proxy server, network quality row
Row order is used to indicating putting in order for each proxy server in default proxy server set;
Default proxy server set is obtained according to network quality ordering.
In the present embodiment, in server obtains current time the default proxy server set that is associated with target area it
Before, also each proxy server in default proxy server should in an orderly manner be arranged, so could be in screening target
With certain reliability during proxy server.
Specifically, the network quality information that each client is reported first in server acquisition target area, and client
It is come real-time detection, more targetedly by communication link.Physical channel in network between two nodes is referred to as communication
Link, and so-called link is exactly one section of physical circuit from a node to adjacent node, and it is middle without any other friendship
Change node, node be include a data element and several point to the branch of other subtrees.
Wherein, network quality information can include but is not limited to following information, and such as handling capacity, time delay, time delay become
Change and packet loss etc., each item data in integrated network quality information can determine the network matter corresponding to each proxy server
Amount ordering, it is assumed that the client in target area has corresponded to 100 proxy servers altogether, but presets proxy server collection
Regulation can only be put into 5 proxy servers for treating selection in conjunction, then according to the network quality arrangement time of each proxy server
Sequence selection is arranged in front 5 default proxy server set of proxy server composition.
Secondly, in the embodiment of the present invention, the default agency clothes that server is associated within acquisition current time with target area
, it is necessary to first obtain the network quality information that at least one client is reported in target area before business device set, and network quality
Information is obtained based on communication link detection, and the network corresponding to each proxy server is determined further according to network quality information
Quality ordering, default proxy server set is obtained finally according to network quality ordering.Through the above way, service
Device can obtain the preferable proxy server set of network quality according to the corresponding network quality information of each client, with this
The reliability of proxy server set is lifted, meanwhile, real-time detection network quality information can be realized using based on communication link,
So that the result of detection is more targeted.
Alternatively, on the basis of the corresponding one embodiment of above-mentioned Fig. 4, information pushing provided in an embodiment of the present invention
Second alternative embodiment of method in, network quality according to corresponding to network quality information determines each proxy server row
Row order, can include:
Network quality ordering according to corresponding to network quality information calculates each proxy server;
Default proxy server set is obtained according to the network quality ordering, can be included:
Network quality ordering according to corresponding to each proxy server, according to sequential arrangement from high to low each
Proxy server;
According to preset proxy server alternative condition, the default proxy server set in each proxy server is obtained.
In the present embodiment, the network matter how server determines each proxy server according to network quality information is described
Amount ordering.
Server needs to be calculated the network quality arrangement time of each proxy server according to network quality information first
Sequence, then secondary ordered pair each proxy server specifically according to network quality ordering from high to low arranged, such as when
Before have 100 proxy servers, the network quality ordering according to this 100 proxy servers can select to meet preset generation
Manage the default proxy server set of proxy server composition of server alternative condition.
Preset proxy server alternative condition presets proxy server set, predetermined quantity to constitute in predetermined amounts
Can be 5 or 10, be not construed as limiting herein.Additionally, preset proxy server alternative condition can also be believed for network quality
At least one parameter constitutes default proxy server set more than threshold value proxy server in breath.
Again, in the embodiment of the present invention, server can calculate each proxy server institute according to network quality information
Corresponding network quality ordering, then arranges these proxy servers, most according to network quality from getting well to poor order
Afterwards according to preset proxy server alternative condition, a part of default proxy server set of proxy server composition is selected.Pass through
Aforesaid way, currently can preferably preset proxy server set, so as to carry according to the quality of network quality come reasonable selection
Feasibility and reliability in the practical application of the scheme of liter, the default proxy server set obtained after screening have more preferable net
Network quality, further improves the data transmission efficiency between client and service server.
Alternatively, on the basis of the corresponding one embodiment of above-mentioned Fig. 4, information pushing provided in an embodiment of the present invention
The 3rd alternative embodiment of method in, network quality according to corresponding to network quality information calculates each proxy server row
Row order, can include:
Calculating network quality ordering as follows:
Orderdelay=Fixeddelay+max(Addeddelay- 5,0, Adddelay);
Wherein, OrderdelayRepresent network quality ordering, FixeddelayRepresent from proxy server to business service
The time delay value of device, AddeddelayRepresent the time delay value in the first Preset Time, AdddelayRepresent the time delay in the second Preset Time
Value, the first Preset Time is the previous Preset Time of the second Preset Time, and max () represents maximizing computing.
In the present embodiment, how describe carries out network quality ordering OrderdelayCalculating.Each agency service
Device network quality information mainly includes following these information:
1st, the time delay value Fixed of intrinsic time delay, i.e. proxy server to service serverdelay;
2nd, the packet loss Fixed of intrinsic packet loss, i.e. proxy server to service serverlost;
3rd, the punishment time delay value in the first Preset Time, i.e., last adjustment result Addeddelay’;
4th, the punishment time delay value in the second Preset Time, i.e. this adjustment result Adddelay’;
5th, communication link is switched efficient Switchrate;
6th, the real-time average delay Delay of linkavg;
7th, the real-time average delay fluctuation DelayAmp of linkavg;
8th, the real-time average packet loss ratio Lost of linkavg。
Based on above quality condition data, the algorithm of sequence is as follows:
Orderdelay=Fixeddelay+max(Addeddelay- 5,0, Adddelay);
The sequence of default proxy server set is according to OrderdelayValue determine that it is equal to proxy server
Intrinsic time delay is plus the Added after last adjustmentdelay, with reference to when time new punishment time delay being calculated, take maximum.Upper one
It is secondary calculating or punishment time delay, every 30 minutes reduce 5 milliseconds, if less than 5 milliseconds, then value be 0.
Again, in the embodiment of the present invention, there is provided the mode of calculating network quality ordering, i.e., the calculating by providing
Formula can obtain network quality ordering, with the reasonability and feasibility of this lifting scheme, for the realization of scheme is provided
Concrete implementation foundation, so that the reliability of enhanced scheme.
Alternatively, on the basis of corresponding 3rd embodiment of above-mentioned Fig. 4, information pushing provided in an embodiment of the present invention
The 4th alternative embodiment of method in, the time delay value in the second Preset Time be reported according to client average delay value,
The efficient determination of average delay undulating value, average packet loss ratio and link switching, wherein, average delay value, average delay ripple
There is incidence relation between dynamic value and average packet loss ratio.
In the present embodiment, the time delay value Add how calculated in the second Preset Time is further describeddelay。
ADDdelay=Votedelay+Switchrate;
Time delay value Add in second Preset TimedelayIt is the time delay D elay reported according to clientavg, time delay fluctuation
DelayAmpavg, packet loss LostavgWith link switching effective percentage Switchrate, the time delay result after aggregative weighted calculating.Its
In, VotedelayIt is according to certain weight proportion average delay Delay real-time to linkavg, the real-time average delay of average link
Fluctuation DelayAmpavgAnd the real-time average packet loss ratio Lost of linkavgObtained after being calculated, these three value it is interrelated and
Influence, obtains the maximum of different weights value, link switching effective percentage Switch after inquiry mapping tablerateIt is also inquiry mapping table
After obtain corresponding weighted value.
The sorting position of the proxy server in default proxy server set can be preposition or rearmounted.It should be noted that
In order to avoid certain proxy server because sorting rearward, and treated coldly always, cause the data for reporting little or no, and according to
Time delay value Add in this second Preset Time for calculatingdelay, the reference significance of calculating is lost, it is therefore desirable to every 30
Minute is to the punishment time delay value Added in the first Preset Time of the proxy serverdelay, 5 milliseconds are reduced, to make it progressively
Rise sorting position, have any opportunity for user and reuse and detect newest network quality.
Further, in the embodiment of the present invention, define that the time delay value in the second Preset Time can be according to certain
What rule was calculated, and some data also have certain relevance, i.e. average delay value, average delay undulating value and flat
There is incidence relation between equal packet loss.More reasonably data can so be processed in calculating process, with
The practicality of this lifting scheme.
Alternatively, on the basis of the corresponding embodiments of above-mentioned Fig. 4, the method for information pushing provided in an embodiment of the present invention
In 5th alternative embodiment, before obtaining the default proxy server set associated with target area in current time, may be used also
To include:
The first network quality information that at least one client is reported in target area is obtained in the first Preset Time, the
One network quality information is used to represent the network connection quality between client and proxy server;
Default proxy server set is determined according to network quality information;
The second network quality information that at least one client is reported in target area is obtained in the second Preset Time, the
Two Preset Times are the time after the first Preset Time;
Default proxy server set is updated according to the second network quality information, and the default agency service after being updated
Device set.
In the present embodiment, in server obtains current time the default proxy server set that is associated with target area it
It is preceding, it is necessary to ensure that the default proxy server collection is combined into current newest content, that is to say, that server needs basis in real time
The network quality situation of proxy server enters the adjustment and sequence of row set.
Specifically, server obtains the first net that at least one client is reported in target area in the first Preset Time
Network quality information, wherein, first network quality information is used to represent the network connection quality between client and proxy server,
First Preset Time can be specifically sometime.The first Preset Time is determined then according to first network link quality information
Corresponding default proxy server set.
Within next time, i.e. in the second Preset Time, server will again obtain at least one visitor in target area
The second network quality information that family end reports, although and the attribute phase of the second network quality information and first network quality information
Together, but concrete numerical value may have occurred change, therefore, server will update default agency according to the second network quality information
Server set, and issue newest default proxy server set to destination client.
Secondly, in the embodiment of the present invention, the default agency clothes associated with target area in current time are obtained in server
Before business device set, the first network quality information in target area is obtained in the first Preset Time, then according to network matter
Amount information determines default proxy server set, then continues to be obtained in the second Preset Time the second network matter of target area
Amount information, default proxy server set is updated further according to the second network quality information, and default agency after being updated takes
Business device set.Through the above way, it is ensured that server is the default proxy server set of real-time update, reduce due to
Occur network quality fluctuation in a period of time and cause the situation of default proxy server set not enough optimization, so as to preferably carry
The accuracy and practicality of scheme are risen.
Alternatively, on the basis of the corresponding embodiments of above-mentioned Fig. 4, the method for information pushing provided in an embodiment of the present invention
In 6th alternative embodiment, before obtaining the default proxy server set associated with target area in current time, may be used also
To include:
The network state parameters of first agent's server in proxy server set are preset in detection, and first agent's server is
Network quality ordering highest proxy server in default proxy server set;
If the network state parameters of first agent's server are less than or equal to preset thresholding, it is determined that first agent's server
Gone out state in appearance;
First agent's server is deleted from default proxy server set, and adds second agent's server.
In the present embodiment, in server obtains current time the default proxy server set that is associated with target area it
Before, in addition it is also necessary to default proxy server set is updated.A kind of feasible update mode described below.
Specifically, server joins the network state of first agent's server in the default proxy server set of real-time detection
Number, wherein, first agent's server is the network quality ordering highest agency service in default proxy server set
Device, that is to say, that server is most possible directly to client push first agent's server.However, many times can be because of
Outside meeting internal cause, causes the best first agent's server of original network quality to break down, so as to cause its network-like
State parameter is less than or equal to preset thresholding, this when, and just be defined as first agent's server to be gone out shape in appearance by server
State.
Wherein, holding to go out can refer in the case of various possibility, such as equipment fault, human factor and other irresistible calamities
When difficult and unexpected (fire, floods, earthquake, war, artificial destruction), have measure can adapter disaster spot business in time, really
Protect whole system normally to run, more precisely, being exactly when database redundancy alternate device suffers from damaging or failing, moreover it is possible to
Guarantee system is normally run.But in this programme, will not recycle to have sent and hold the proxy server that goes out as client
The target proxy server of access.
Then server deletes first agent's server from default proxy server set, and adds second agent to take
Business device, second agent's server is the minimum proxy server of network quality ordering in default proxy server set.It is false
If in the default proxy server set of script, each proxy server is ordered as proxy server A > proxy server B >
Proxy server C > proxy server D > proxy server E, when act on behalf of server A hold go out when, then first from default agency service
Proxy server A is rejected in device set, a new proxy server F for meeting network quality condition is added, then constituted
New default proxy server set:Proxy server B > proxy server C > proxy server A > proxy server D > generations
Reason server F.
It should be noted that second agent's server may be located at any one in current preset proxy server set
Position, this depends on the network quality of second agent's server, is not construed as limiting herein.
Secondly, in the embodiment of the present invention, the default agency clothes that server is associated within acquisition current time with target area
Before business device set, in addition it is also necessary to which whether the network state parameters of the first agent's server in the default proxy server set of detection
Meet condition, if being unsatisfactory for condition, determine that first agent's server has held and go out, at this time can just add one it is new
Proxy server, i.e. second agent's server.Through the above way, can cause that the agency in default proxy server set takes
The network quality of business device can in real time meet requirement, so as to when proxy server is selected, ensure that the agency takes
The network quality of business device is preferable, meanwhile, the optimal default proxy server set of server real-time servicing, with this lifting scheme
Flexibility and practicality.
Alternatively, on the basis of any one of corresponding first to the 6th embodiment of above-mentioned Fig. 4 and Fig. 4, this hair
In the 7th alternative embodiment of method for the information pushing that bright embodiment is provided, default proxy server is pushed to destination client
After set, can also include:
Network quality ordering according to corresponding to each proxy server in default proxy server set, selects net
Network quality ordering highest proxy server is used as target proxy server;
Target proxy server push is delivered into destination client.
In the present embodiment, server has been pushed after default proxy server set to destination client, can also enter one
Step selection in default proxy server set network quality ordering highest proxy server as target proxy service
Device, finally informs destination client by the selection result of target proxy server so that destination client can directly and target
Proxy server sets up communication connection.
Secondly, in the embodiment of the present invention, server after default proxy server set has been pushed to destination client,
Net can also be selected according to the network quality ordering corresponding to each proxy server in the default proxy server set
Network quality ordering highest proxy server as target proxy server, and further to destination client push target
Proxy server.Through the above way, server can push a preferentially result from trend destination client, on the one hand can be with
Realization automatically selects the function of optimal proxy server, and a generation is selected from default proxy server set manually without user
Reason server, so that the ease of use of lifting scheme, on the other hand, is selected by server from default proxy server set
Target proxy server be the top-quality proxy server of current network, the network matter of proxy server is ensure that with this
Amount is preferable.
For ease of understanding, the flow in the present invention to information pushing can be carried out in detail with a concrete application scene below
Thin description, specially:
A client request server in Shenzhen Telecom network issues (10 points of December 26 day in 2016 at current time
It is whole) default proxy server set, then server current time corresponding default proxy server collection is issued according to request
Close, wherein, proxy server network quality is ordered as proxy server A > generations from excellent to bad in default proxy server set
Reason server B > proxy server C > proxy server D > proxy servers E.
Client have finally chosen proxy server A and use after network test is carried out.In use, client
Real-time quality testing is carried out to proxy server A.The qualitative data that client timing is detected to server reporting links, if
The transparent switching of disaster tolerance for occurring in that, also reports the link-quality comparing result after switching.The data for reporting are lost including network
The fluctuation of bag rate, time delay and time delay.In order to reflect current network condition, the data for reporting are the average value of nearest one minute.
Wherein, client is to carry out network quality detection based on business practical communication link, is obtained with less cost
The qualitative datas such as more accurate packet loss, time delay and time delay fluctuation.In addition, if client finds that proxy server A occurs
After serious network problem, can carry out that disaster tolerance is transparent to be switched to proxy server B.Therefore, presetting proxy server set is
According to the reported data of client, dynamic order and adjustment are carried out in real time.
In sequencer procedure can exist two kinds of operating results, one be proxy server arrangement position change, two because
Proxy server is unsatisfactory for minimum requirements and is eliminated.For example, default proxy server set (proxy server originally
A > proxy server B > proxy server C > proxy server D > proxy server E), after being adjusted, find agency's clothes
The network quality of business device A have dropped, and proxy server E too poor and superseded, so as to obtain new set (proxy server B >
Proxy server C > proxy server A > proxy server D > proxy server F).The network quality of proxy server F is relative
Take a turn for the better, sorting position migration.
Server sends to client default proxy server set, by client render treatment after, present such as
Interface shown in Fig. 5, user can select to accelerate the proxy server that link delay is minimum and packet loss is minimum, certainly, client
End can also be actively to the top-quality proxy server of user's recommendation network.
The server in the present invention is described in detail below, refers to Fig. 6, the server in the embodiment of the present invention is
The server in the simulation time delay of business datum is applied to, server 30 includes:
Receiver module 301, the network connecting request for receiving destination client transmission, the destination client is target
A client in region;
First acquisition module 302, for the network connecting request received according to the receiver module 301, obtains and works as
The default proxy server set associated with the target area in the preceding moment, comprising extremely in the default proxy server set
A few proxy server, and at least one proxy server is predetermined according to network quality information;
First pushing module 303, for being pushed described in the acquisition of the first acquisition module 302 to the destination client
Default proxy server set, so that the destination client determines that target proxy takes from the default proxy server set
Business device.
In the present embodiment, receiver module 301 receives the network connecting request that destination client sends, the destination client
A client in for target area, the network connection that the first acquisition module 302 is received according to the receiver module 301
Request, obtains the default proxy server set associated with the target area in current time, the default proxy server
At least one proxy server is included in set, and at least one proxy server is true in advance according to network quality information
Fixed, the first pushing module 303 pushes the described default agency that first acquisition module 302 is obtained to the destination client
Server set, so that the destination client determines target proxy server from the default proxy server set.
In the embodiment of the present invention, there is provided a kind of server of information pushing, destination client hair is first received by server
The network connecting request sent, the destination client be target area in a client, server according to network connecting request,
The default proxy server set associated with target area in current time is obtained, comprising at least in default proxy server set
One proxy server, and at least one proxy server be it is predetermined according to network quality information, last server to
Destination client pushes default proxy server set, so that destination client determines target from default proxy server set
Proxy server.Through the above way, without the proxy server that each client repeated measurement network quality is poor, but by
Server actively to a default proxy server set corresponding to client push current time, so as to avoid Internet resources
Waste, while shortening the startup time of client, be conducive to the operation and experience of user.
Alternatively, on the basis of the embodiment corresponding to above-mentioned Fig. 6, Fig. 7, clothes provided in an embodiment of the present invention are referred to
It is engaged in another embodiment of device,
The server 30 also includes:
Second acquisition module 304A, for first acquisition module obtain 302 current times in the target area
Before the default proxy server set of domain association, the network quality that at least one client is reported in the target area is obtained
Information, the network quality information is obtained based on communication link detection;
First determining module 304B, the network quality information for being obtained according to the second acquisition module 304A is true
Network quality ordering corresponding to fixed each proxy server, the network quality ordering is used to indicate described presetting
Each proxy server puts in order in proxy server set;
3rd acquisition module 304C, for the network quality arrangement time determined according to the first determining module 304B
Sequence obtains the default proxy server set.
Secondly, in the embodiment of the present invention, the default agency clothes that server is associated within acquisition current time with target area
, it is necessary to first obtain the network quality information that at least one client is reported in target area before business device set, and network quality
Information is obtained based on communication link detection, and the network corresponding to each proxy server is determined further according to network quality information
Quality ordering, default proxy server set is obtained finally according to network quality ordering.Through the above way, service
Device can obtain the preferable proxy server set of network quality according to the corresponding network quality information of each client, with this
The reliability of proxy server set is lifted, meanwhile, real-time detection network quality information can be realized using based on communication link,
So that the result of detection is more targeted.
Alternatively, on the basis of the embodiment corresponding to above-mentioned Fig. 7, Fig. 8, clothes provided in an embodiment of the present invention are referred to
It is engaged in another embodiment of device,
The first determining module 304B includes:
Computing unit 3041, for the net according to corresponding to each proxy server described in network quality information calculating
Network quality ordering;
The 3rd acquisition module 304C includes:
Arrangement units 3042, for corresponding to each proxy server according to the calculating of the computing unit 3041
Network quality ordering, according to each proxy server described in sequential arrangement from high to low;
Acquiring unit 3043, arranges for according to preset proxy server alternative condition, obtaining the arrangement units 3042
Described each proxy server in described default proxy server set.
Again, in the embodiment of the present invention, server can calculate each proxy server institute according to network quality information
Corresponding network quality ordering, then arranges these proxy servers, most according to network quality from getting well to poor order
Afterwards according to preset proxy server alternative condition, a part of default proxy server set of proxy server composition is selected.Pass through
Aforesaid way, currently can preferably preset proxy server set, so as to carry according to the quality of network quality come reasonable selection
Feasibility and reliability in the practical application of the scheme of liter, the default proxy server set obtained after screening have more preferable net
Network quality, further improves the data transmission efficiency between client and service server.
Alternatively, on the basis of the embodiment corresponding to above-mentioned Fig. 8, Fig. 9, clothes provided in an embodiment of the present invention are referred to
It is engaged in another embodiment of device,
The computing unit 3041 includes:
Computation subunit 30411, for calculating the network quality ordering as follows:
Orderdelay=Fixeddelay+max(Addeddelay- 5,0, Adddelay);
Wherein, the OrderdelayRepresent the network quality ordering, the FixeddelayRepresent from agency service
Device to service server time delay value, the AddeddelayRepresent the time delay value in the first Preset Time, the AdddelayRepresent
Time delay value in second Preset Time, first Preset Time is the previous Preset Time of second Preset Time, institute
State max () and represent maximizing computing.
Again, in the embodiment of the present invention, there is provided the mode of calculating network quality ordering, i.e., the calculating by providing
Formula can obtain network quality ordering, with the reasonability and feasibility of this lifting scheme, for the realization of scheme is provided
Concrete implementation foundation, so that the reliability of enhanced scheme.
Alternatively, on the basis of the embodiment corresponding to above-mentioned Fig. 6, Figure 10 is referred to, it is provided in an embodiment of the present invention
In another embodiment of server,
The server 30 also includes:
4th acquisition module 305A, for first acquisition module 302 obtain current time in the target area
Before the default proxy server set of association, at least one client in the target area is obtained in the first Preset Time
The first network quality information for reporting, the first network quality information is used to represent the net between client and proxy server
Network quality of connection;
Second determining module 305B, the network quality information for being obtained according to the 4th acquisition module 305A is true
The fixed default proxy server set;
5th acquisition module 305C, for obtaining at least one visitor in the target area in the second Preset Time
The second network quality information that family end reports, second Preset Time is the time after first Preset Time;
Update module 305D, for second network quality information that is obtained according to the 5th acquisition module 305C more
The new default proxy server set, and the default proxy server set after being updated.
Secondly, in the embodiment of the present invention, the default agency clothes associated with target area in current time are obtained in server
Before business device set, the first network quality information in target area is obtained in the first Preset Time, then according to network matter
Amount information determines default proxy server set, then continues to be obtained in the second Preset Time the second network matter of target area
Amount information, default proxy server set is updated further according to the second network quality information, and default agency after being updated takes
Business device set.Through the above way, it is ensured that server is the default proxy server set of real-time update, reduce due to
Occur network quality fluctuation in a period of time and cause the situation of default proxy server set not enough optimization, so as to preferably carry
The accuracy and practicality of scheme are risen.
Alternatively, on the basis of the embodiment corresponding to above-mentioned Fig. 6, Figure 11 is referred to, it is provided in an embodiment of the present invention
In another embodiment of server,
The server 30 also includes:
Detection module 306A, for being associated with the target area in first acquisition module 302 acquisition current time
Default proxy server set before, detect the network state of first agent's server in the default proxy server set
Parameter, first agent's server is network quality ordering highest agency's clothes in the default proxy server set
Business device;
3rd determining module 306B, if detecting the network of first agent's server for the detection module 306A
State parameter is less than or equal to preset thresholding, it is determined that first agent's server goes out state in appearance;
Removing module 306C, it is true for deleting the 3rd determining module 306B from the default proxy server set
Fixed first agent's server, and add second agent's server.
Secondly, in the embodiment of the present invention, the default agency clothes that server is associated within acquisition current time with target area
Before business device set, in addition it is also necessary to which whether the network state parameters of the first agent's server in the default proxy server set of detection
Meet condition, if being unsatisfactory for condition, determine that first agent's server has held and go out, at this time can just add one it is new
Proxy server, i.e. second agent's server.Through the above way, can cause that the agency in default proxy server set takes
The network quality of business device can in real time meet requirement, so as to when proxy server is selected, ensure that the agency takes
The network quality of business device is preferable, meanwhile, the optimal default proxy server set of server real-time servicing, with this lifting scheme
Flexibility and practicality.
Alternatively, on the basis of the corresponding embodiments of any one of above-mentioned Fig. 6 to Figure 11, Figure 12, this hair are referred to
In another embodiment of the server that bright embodiment is provided,
The server 30 also includes:
Selecting module 307A, the default agency is pushed for first pushing module 303 to the destination client
After server set, the network quality arrangement according to corresponding to each proxy server in the default proxy server set
Order, selection network quality ordering highest proxy server is used as the target proxy server;
Second pushing module 307B, for the target proxy server push that the selecting module 307A is selected to be delivered to
The destination client.
Secondly, in the embodiment of the present invention, server after default proxy server set has been pushed to destination client,
Net can also be selected according to the network quality ordering corresponding to each proxy server in the default proxy server set
Network quality ordering highest proxy server as target proxy server, and further to destination client push target
Proxy server.Through the above way, server can push a preferentially result from trend destination client, on the one hand can be with
Realization automatically selects the function of optimal proxy server, and a generation is selected from default proxy server set manually without user
Reason server, so that the ease of use of lifting scheme, on the other hand, is selected by server from default proxy server set
Target proxy server be the top-quality proxy server of current network, the network matter of proxy server is ensure that with this
Amount is preferable.
Figure 13 is a kind of server architecture schematic diagram provided in an embodiment of the present invention, and the server 400 can be because of configuration or property
Can the different and larger difference of producing ratio, one or more central processing units (central processing can be included
Units, CPU) 422 (for example, one or more processors) and memory 432, one or more storages apply journey
The storage medium 430 (such as one or more mass memory units) of sequence 442 or data 444.Wherein, the He of memory 432
Storage medium 430 can be of short duration storage or persistently storage.The program stored in storage medium 430 can include one or one
With upper module (diagram is not marked), each module can be included to the series of instructions operation in server.Further, in
Central processor 422 could be arranged to be communicated with storage medium 430, a series of in performing storage medium 430 on server 400
Command operating.
Server 400 can also include one or more power supplys 426, one or more wired or wireless networks
Interface 450, one or more input/output interfaces 458, and/or, one or more operating systems 441, for example
Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc..
Wherein, CPU 422 is used to perform following steps:
The network connecting request that destination client sends is received, the destination client is a client in target area
End;
According to the network connecting request, the default proxy server associated with the target area in current time is obtained
Set, includes at least one proxy server, and at least one proxy server in the default proxy server set
It is predetermined according to network quality information;
The default proxy server set is pushed to the destination client, so that the destination client is from described pre-
If determining target proxy server in proxy server set.
Alternatively, CPU 422 is additionally operable to perform following steps:
The network quality information that at least one client is reported in the target area is obtained, the network quality information is
Obtained based on communication link detection;
Network quality ordering according to corresponding to the network quality information determines each proxy server, the net
Network quality ordering is used to indicate putting in order for each proxy server in the default proxy server set;
The default proxy server set is obtained according to the network quality ordering.
Alternatively, CPU 422 is additionally operable to perform following steps:
Network quality ordering according to the network quality information is calculated corresponding to each proxy server;
Network quality ordering according to corresponding to described each proxy server, according to sequential arrangement from high to low
Described each proxy server;
According to preset proxy server alternative condition, the described default agency service in described each proxy server is obtained
Device set.
Alternatively, CPU 422 is additionally operable to perform following steps:
The network quality ordering is calculated as follows:
Orderdelay=Fixeddelay+max(Addeddelay- 5,0, Adddelay);
Wherein, the OrderdelayRepresent the network quality ordering, the FixeddelayRepresent from agency service
Device to service server time delay value, the AddeddelayRepresent the time delay value in the first Preset Time, the AdddelayRepresent
Time delay value in second Preset Time, first Preset Time is the previous Preset Time of second Preset Time, institute
State max () and represent maximizing computing.
Alternatively, CPU 422 is additionally operable to perform following steps:
The first network quality letter that at least one client is reported in the target area is obtained in the first Preset Time
Breath, the first network quality information is used to represent the network connection quality between client and proxy server;
The default proxy server set is determined according to the network quality information;
The second network matter that at least one client in the target area is reported is obtained in the second Preset Time
Amount information;
The default proxy server set is updated according to second network quality information, and presetting after being updated
Proxy server set.
Alternatively, CPU 422 is additionally operable to perform following steps:
Detect the network state parameters of first agent's server in the default proxy server set, the first agent
Server is network quality ordering highest proxy server in the default proxy server set;
If the network state parameters of first agent's server are less than or equal to preset thresholding, it is determined that the first generation
Reason server goes out state in appearance;
First agent's server is deleted from the default proxy server set, and adds the second agent to take
Business device, second agent's server is the minimum agency's clothes of network quality ordering in the default proxy server set
Business device.
Alternatively, CPU 422 is additionally operable to perform following steps:
Network quality ordering according to corresponding to each proxy server in the default proxy server set, choosing
Network quality ordering highest proxy server is selected as the target proxy server;
The target proxy server push is delivered into the destination client.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with
Realize by another way.For example, device embodiment described above is only schematical, for example, the unit
Divide, only a kind of division of logic function there can be other dividing mode when actually realizing, for example multiple units or component
Can combine or be desirably integrated into another system, or some features can be ignored, or do not perform.It is another, it is shown or
The coupling each other for discussing or direct-coupling or communication connection can be the indirect couplings of device or unit by some interfaces
Close or communicate to connect, can be electrical, mechanical or other forms.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be according to the actual needs selected to realize the mesh of this embodiment scheme
's.
In addition, during each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list
Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is to realize in the form of SFU software functional unit and as independent production marketing or use
When, can store in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part for being contributed to prior art in other words or all or part of the technical scheme can be in the form of software products
Embody, the computer software product is stored in a storage medium, including some instructions are used to so that a computer
Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the invention
Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to preceding
Embodiment is stated to be described in detail the present invention, it will be understood by those within the art that:It still can be to preceding
State the technical scheme described in each embodiment to modify, or equivalent is carried out to which part technical characteristic;And these
Modification is replaced, and does not make the spirit and scope of the essence disengaging various embodiments of the present invention technical scheme of appropriate technical solution.
Claims (16)
1. a kind of method of information pushing, it is characterised in that including:
The network connecting request that destination client sends is received, the destination client is a client in target area;
According to the network connecting request, the default proxy server collection associated with the target area in current time is obtained
Close, at least one proxy server is included in the default proxy server set, and at least one proxy server is
It is predetermined according to network quality information;
The default proxy server set is pushed to the destination client, so that the destination client is from the default generation
Determine target proxy server in reason server set.
2. method according to claim 1, it is characterised in that associated with the target area in the acquisition current time
Default proxy server set before, methods described also includes:
Obtain the network quality information that at least one client is reported in the target area, the network quality information be based on
Communication link detection is obtained;
Network quality ordering according to corresponding to the network quality information determines each proxy server, the network matter
Amount ordering is used to indicate putting in order for each proxy server in the default proxy server set;
The default proxy server set is obtained according to the network quality ordering.
3. method according to claim 2, it is characterised in that described to determine that each is acted on behalf of according to the network quality information
Network quality ordering corresponding to server, including:
Network quality ordering according to the network quality information is calculated corresponding to each proxy server;
It is described that the default proxy server set is obtained according to the network quality ordering, including:
Network quality ordering according to corresponding to described each proxy server, according to described in sequential arrangement from high to low
Each proxy server;
According to preset proxy server alternative condition, the described default proxy server collection in described each proxy server is obtained
Close.
4. method according to claim 3, it is characterised in that it is described according to the network quality information is calculated each
Network quality ordering corresponding to proxy server, including:
The network quality ordering is calculated as follows:
Orderdelay=Fixeddelay+max(Addeddelay- 5,0, Adddelay);
Wherein, the OrderdelayRepresent the network quality ordering, the FixeddelayRepresent from proxy server to
The time delay value of service server, the AddeddelayRepresent the time delay value in the first Preset Time, the AdddelayRepresent second
Time delay value in Preset Time, first Preset Time is the previous Preset Time of second Preset Time, the max
() represents maximizing computing.
5. method according to claim 4, it is characterised in that the time delay value in second Preset Time is according to client
The efficient determination of average delay value, average delay undulating value, average packet loss ratio and link switching that end reports, wherein, institute
Stating has incidence relation between average delay value, average delay undulating value and average packet loss ratio.
6. method according to claim 1, it is characterised in that associated with the target area in the acquisition current time
Default proxy server set before, methods described also includes:
The first network quality information that at least one client is reported in the target area, institute are obtained in the first Preset Time
State the network connection quality that first network quality information is used to represent between client and proxy server;
The default proxy server set is determined according to the network quality information;
The second network quality letter that at least one client is reported in the target area is obtained in the second Preset Time
Breath, second Preset Time is the time after first Preset Time;
The default proxy server set is updated according to second network quality information, and the default agency after being updated
Server set.
7. method according to claim 1, it is characterised in that associated with the target area in the acquisition current time
Default proxy server set before, methods described also includes:
Detect the network state parameters of first agent's server in the default proxy server set, first agent's service
Device is network quality ordering highest proxy server in the default proxy server set;
If the network state parameters of first agent's server are less than or equal to preset thresholding, it is determined that first agent's clothes
Business device goes out state in appearance;
First agent's server is deleted from the default proxy server set, and adds the second agent to service
Device.
8. method according to any one of claim 1 to 7, it is characterised in that described to be pushed to the destination client
After the default proxy server set, methods described also includes:
Network quality ordering according to corresponding to each proxy server in the default proxy server set, selects net
Network quality ordering highest proxy server is used as the target proxy server;
The target proxy server push is delivered into the destination client.
9. a kind of server, it is characterised in that including:
Receiver module, the network connecting request for receiving destination client transmission, the destination client is in target area
A client;
First acquisition module, for the network connecting request received according to the receiver module, obtain in current time with
The default proxy server set of the target area association, comprising at least one agency in the default proxy server set
Server, and at least one proxy server is predetermined according to network quality information;
First pushing module, for pushing described default agency's clothes that first acquisition module is obtained to the destination client
Business device set, so that the destination client determines target proxy server from the default proxy server set.
10. server according to claim 9, it is characterised in that the server also includes:
Second acquisition module, it is default for what is associated with the target area within first acquisition module acquisition current time
Before proxy server set, the network quality information that at least one client is reported in the target area, the net are obtained
Network quality information is obtained based on communication link detection;
First determining module, the network quality information for being obtained according to second acquisition module determines each agency's clothes
Network quality ordering corresponding to business device, the network quality ordering is used to indicate the default proxy server collection
Each proxy server puts in order in conjunction;
3rd acquisition module, the network quality ordering for being determined according to first determining module obtains described pre-
If proxy server set.
11. servers according to claim 10, it is characterised in that first determining module includes:
Computing unit, for the network quality row according to corresponding to each proxy server described in network quality information calculating
Row order;
3rd acquisition module includes:
Arrangement units, for the network quality arrangement corresponding to each proxy server according to computing unit calculating
Order, according to each proxy server described in sequential arrangement from high to low;
Acquiring unit, for according to preset proxy server alternative condition, obtaining described each generation of the arrangement units arrangement
Described default proxy server set in reason server.
12. servers according to claim 11, it is characterised in that the computing unit includes:
Computation subunit, for calculating the network quality ordering as follows:
Orderdelay=Fixeddelay+max(Addeddelay- 5,0, Adddelay);
Wherein, the OrderdelayRepresent the network quality ordering, the FixeddelayRepresent from proxy server to
The time delay value of service server, the AddeddelayRepresent the time delay value in the first Preset Time, the AdddelayRepresent second
Time delay value in Preset Time, first Preset Time is the previous Preset Time of second Preset Time, the max
() represents maximizing computing.
13. servers according to claim 12, it is characterised in that according to the time delay value in second Preset Time
The efficient determination of average delay value, average delay undulating value, average packet loss ratio and link switching that client is reported, its
In, the average delay value, between average delay undulating value and average packet loss ratio have incidence relation.
14. servers according to claim 9, it is characterised in that the server also includes:
4th acquisition module, the default generation associated with the target area in current time is obtained for first acquisition module
Before reason server set, the first net that at least one client in the target area is reported is obtained in the first Preset Time
Network quality information, the first network quality information is used to represent the network connection quality between client and proxy server;
Second determining module, the network quality information for being obtained according to the 4th acquisition module determines the default generation
Reason server set;
5th acquisition module, reports for obtaining at least one client in the target area in the second Preset Time
The second network quality information, second Preset Time is the time after first Preset Time;
Update module, second network quality information for being obtained according to the 5th acquisition module updates the default generation
Reason server set, and the default proxy server set after being updated.
15. servers according to claim 9, it is characterised in that the server also includes:
Detection module, the default agency associated with the target area in current time clothes are obtained for first acquisition module
Before business device set, the network state parameters of first agent's server in the default proxy server set are detected, described the
One proxy server is network quality ordering highest proxy server in the default proxy server set;
3rd determining module, if being less than for the network state parameters that the detection module detects first agent's server
Or equal to preset thresholding, it is determined that first agent's server goes out state in appearance;
Removing module, for deleting the 3rd determining module determines described first from the default proxy server set
Proxy server, and add second agent's server.
16. server according to any one of claim 9 to 15, it is characterised in that the server also includes:
Selecting module, for first pushing module to the destination client push the default proxy server set it
Afterwards, the network quality ordering according to corresponding to each proxy server in the default proxy server set, selects net
Network quality ordering highest proxy server is used as the target proxy server;
Second pushing module, the target proxy server push for the selecting module to be selected delivers to the target customer
End.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710142023.XA CN106899681B (en) | 2017-03-10 | 2017-03-10 | Information pushing method and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710142023.XA CN106899681B (en) | 2017-03-10 | 2017-03-10 | Information pushing method and server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106899681A true CN106899681A (en) | 2017-06-27 |
CN106899681B CN106899681B (en) | 2020-10-27 |
Family
ID=59192771
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710142023.XA Active CN106899681B (en) | 2017-03-10 | 2017-03-10 | Information pushing method and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106899681B (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108574733A (en) * | 2018-03-23 | 2018-09-25 | 网易有道信息技术(北京)有限公司 | Network agent method and device, storage medium and electronic equipment |
CN108900604A (en) * | 2018-06-28 | 2018-11-27 | 中国建设银行股份有限公司 | Information dispensing method, device, branch office service end and storage medium |
CN109040174A (en) * | 2018-06-21 | 2018-12-18 | 上海携程商务有限公司 | The dynamic selection method and system of server ip |
CN109327542A (en) * | 2018-11-19 | 2019-02-12 | 网易(杭州)网络有限公司 | Game service access response method, request retransmission method, connection method, device |
CN109966736A (en) * | 2019-03-06 | 2019-07-05 | 绎谛数据科技(上海)有限公司 | Server elasticity dispositions method, equipment and computer readable storage medium based on user's geography information |
CN110071977A (en) * | 2019-04-25 | 2019-07-30 | 北京风行极客科技有限公司 | A kind of data transmission method and device |
CN110113446A (en) * | 2019-05-23 | 2019-08-09 | 竞技世界(成都)网络技术有限公司 | A kind of client addressing method, apparatus and system |
CN110149407A (en) * | 2019-05-24 | 2019-08-20 | 深圳市网心科技有限公司 | Method for network access and device, computer installation and storage medium |
CN110311963A (en) * | 2019-06-19 | 2019-10-08 | 中国平安财产保险股份有限公司 | Information push method, device, computer equipment and computer readable storage medium |
CN110855784A (en) * | 2019-11-15 | 2020-02-28 | 深圳市网心科技有限公司 | Proxy server node selection method, electronic device, system and medium |
CN111405039A (en) * | 2020-03-16 | 2020-07-10 | 深圳市网心科技有限公司 | Data transparent transmission method, device and system, client and server |
CN112217853A (en) * | 2019-07-12 | 2021-01-12 | 腾讯科技(深圳)有限公司 | Resource access method and device |
CN112825527A (en) * | 2019-11-21 | 2021-05-21 | 中移物联网有限公司 | Service node distribution method and device based on MEC and related server |
CN113163002A (en) * | 2021-04-09 | 2021-07-23 | 深圳市腾讯网络信息技术有限公司 | Server switching method and device and storage medium |
CN114500278A (en) * | 2021-12-30 | 2022-05-13 | 武汉思普崚技术有限公司 | Method and device for upgrading feature library through proxy server |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102624920A (en) * | 2012-03-31 | 2012-08-01 | 奇智软件(北京)有限公司 | Method and device for performing access through proxy server |
CN103973682A (en) * | 2014-04-30 | 2014-08-06 | 北京奇虎科技有限公司 | Method and device for having access to webpage |
CN105338082A (en) * | 2015-10-30 | 2016-02-17 | 浪潮(北京)电子信息产业有限公司 | Load balancing method and load balancing device based on application proxy server |
US20170048104A1 (en) * | 2012-10-05 | 2017-02-16 | Aaa Internet Publishing Inc. | Method of Using Cloud Infrastructure and Virtualization for Bandwidth-Efficient Remote Video Streaming of Software Application Operation by Executing Computer-Executable Instructions Stored On a Non-Transitory Computer-Readable Medium |
-
2017
- 2017-03-10 CN CN201710142023.XA patent/CN106899681B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102624920A (en) * | 2012-03-31 | 2012-08-01 | 奇智软件(北京)有限公司 | Method and device for performing access through proxy server |
US20170048104A1 (en) * | 2012-10-05 | 2017-02-16 | Aaa Internet Publishing Inc. | Method of Using Cloud Infrastructure and Virtualization for Bandwidth-Efficient Remote Video Streaming of Software Application Operation by Executing Computer-Executable Instructions Stored On a Non-Transitory Computer-Readable Medium |
CN103973682A (en) * | 2014-04-30 | 2014-08-06 | 北京奇虎科技有限公司 | Method and device for having access to webpage |
CN105338082A (en) * | 2015-10-30 | 2016-02-17 | 浪潮(北京)电子信息产业有限公司 | Load balancing method and load balancing device based on application proxy server |
Cited By (23)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108574733A (en) * | 2018-03-23 | 2018-09-25 | 网易有道信息技术(北京)有限公司 | Network agent method and device, storage medium and electronic equipment |
CN109040174A (en) * | 2018-06-21 | 2018-12-18 | 上海携程商务有限公司 | The dynamic selection method and system of server ip |
CN108900604A (en) * | 2018-06-28 | 2018-11-27 | 中国建设银行股份有限公司 | Information dispensing method, device, branch office service end and storage medium |
CN109327542A (en) * | 2018-11-19 | 2019-02-12 | 网易(杭州)网络有限公司 | Game service access response method, request retransmission method, connection method, device |
CN109966736A (en) * | 2019-03-06 | 2019-07-05 | 绎谛数据科技(上海)有限公司 | Server elasticity dispositions method, equipment and computer readable storage medium based on user's geography information |
CN109966736B (en) * | 2019-03-06 | 2022-08-16 | 绎谛数据科技(上海)有限公司 | Server elastic deployment method and device based on user geographic information and computer readable storage medium |
CN110071977A (en) * | 2019-04-25 | 2019-07-30 | 北京风行极客科技有限公司 | A kind of data transmission method and device |
CN110071977B (en) * | 2019-04-25 | 2022-04-01 | 北京风行极客科技有限公司 | Data transmission method and device |
CN110113446B (en) * | 2019-05-23 | 2022-03-18 | 竞技世界(成都)网络技术有限公司 | Client addressing method, device and system |
CN110113446A (en) * | 2019-05-23 | 2019-08-09 | 竞技世界(成都)网络技术有限公司 | A kind of client addressing method, apparatus and system |
CN110149407A (en) * | 2019-05-24 | 2019-08-20 | 深圳市网心科技有限公司 | Method for network access and device, computer installation and storage medium |
CN110311963B (en) * | 2019-06-19 | 2023-04-18 | 中国平安财产保险股份有限公司 | Message pushing method and device, computer equipment and computer readable storage medium |
CN110311963A (en) * | 2019-06-19 | 2019-10-08 | 中国平安财产保险股份有限公司 | Information push method, device, computer equipment and computer readable storage medium |
CN112217853A (en) * | 2019-07-12 | 2021-01-12 | 腾讯科技(深圳)有限公司 | Resource access method and device |
CN112217853B (en) * | 2019-07-12 | 2022-07-12 | 腾讯科技(深圳)有限公司 | Resource access method and device |
CN110855784A (en) * | 2019-11-15 | 2020-02-28 | 深圳市网心科技有限公司 | Proxy server node selection method, electronic device, system and medium |
CN112825527A (en) * | 2019-11-21 | 2021-05-21 | 中移物联网有限公司 | Service node distribution method and device based on MEC and related server |
WO2021098407A1 (en) * | 2019-11-21 | 2021-05-27 | 中移物联网有限公司 | Mec-based service node allocation method and apparatus, and related server |
CN111405039A (en) * | 2020-03-16 | 2020-07-10 | 深圳市网心科技有限公司 | Data transparent transmission method, device and system, client and server |
CN113163002B (en) * | 2021-04-09 | 2022-06-17 | 深圳市腾讯网络信息技术有限公司 | Server switching method and device and storage medium |
CN113163002A (en) * | 2021-04-09 | 2021-07-23 | 深圳市腾讯网络信息技术有限公司 | Server switching method and device and storage medium |
CN114500278A (en) * | 2021-12-30 | 2022-05-13 | 武汉思普崚技术有限公司 | Method and device for upgrading feature library through proxy server |
CN114500278B (en) * | 2021-12-30 | 2024-04-09 | 武汉思普崚技术有限公司 | Method and device for upgrading feature library through proxy server |
Also Published As
Publication number | Publication date |
---|---|
CN106899681B (en) | 2020-10-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106899681A (en) | The method and server of a kind of information pushing | |
US7584292B2 (en) | Hierarchical system configuration method and integrated scheduling method to provide multimedia streaming service on two-level double cluster system | |
CN107453929B (en) | Cluster system self-construction method and device and cluster system | |
CN109451540B (en) | Resource allocation method and equipment for network slices | |
JPH09504913A (en) | Method and apparatus for determining network topology | |
CN108616525A (en) | Website access method and device, electronic equipment and storage medium | |
CN107656807A (en) | The automatic elastic telescopic method and device of a kind of virtual resource | |
CN108259238A (en) | The method that network function service chaining maps in data center | |
CN106960060A (en) | The management method and device of a kind of data-base cluster | |
CN106452836A (en) | Method and apparatus for setting host node | |
CN106021284A (en) | Data query method, data monitoring method and device | |
CN115174416B (en) | Network planning system, method and device and electronic equipment | |
CN114791846A (en) | Method for realizing observability aiming at cloud native chaos engineering experiment | |
CN105430052B (en) | A kind of referee method and device for group system | |
CN104735063B (en) | A kind of safe evaluating method for cloud infrastructure | |
CN108809680B (en) | Equipment management method and equipment | |
US7646729B2 (en) | Method and apparatus for determination of network topology | |
CN108459926A (en) | Data remote backup method, apparatus and computer-readable medium | |
Cavers | Cutset manipulations for communication network reliability estimation | |
CN106534234A (en) | Relationship chain processing system, method and device | |
CN104579793B (en) | The dispatching method and system of Internet resources | |
CN112804313B (en) | Data synchronization method, device, equipment and medium based on cross-domain edge node | |
CN114997877A (en) | Network topology data analysis method of IP of virtual currency public link network transaction node, storage medium and electronic equipment | |
CN114422409A (en) | Block chain network testing method, device, equipment and storage medium | |
CN116781769B (en) | Communication method based on point-to-point network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |