CN110022375A - The distribution method and device of agent node - Google Patents

The distribution method and device of agent node Download PDF

Info

Publication number
CN110022375A
CN110022375A CN201910318488.5A CN201910318488A CN110022375A CN 110022375 A CN110022375 A CN 110022375A CN 201910318488 A CN201910318488 A CN 201910318488A CN 110022375 A CN110022375 A CN 110022375A
Authority
CN
China
Prior art keywords
agent node
agent
node
freelist
user terminal
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
CN201910318488.5A
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.)
Pu Xin Heng Ye Technology Development (beijing) Co Ltd
Pleasant Sunny Technology Development (beijing) Co Ltd
Original Assignee
Pu Xin Heng Ye Technology Development (beijing) Co Ltd
Pleasant Sunny Technology Development (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 Pu Xin Heng Ye Technology Development (beijing) Co Ltd, Pleasant Sunny Technology Development (beijing) Co Ltd filed Critical Pu Xin Heng Ye Technology Development (beijing) Co Ltd
Priority to CN201910318488.5A priority Critical patent/CN110022375A/en
Publication of CN110022375A publication Critical patent/CN110022375A/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/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a kind of distribution method of agent node, this method comprises: receiving the agent node distribution request of target terminal;The agent node freelist being pre-configured is obtained, wherein the agent node that the agent node freelist includes, is the agent node for obtain after proxy configurations by the user terminal of arbitrary region;In the agent node freelist, selection target agent node;The target proxy node is distributed into the target terminal.In this method, the user terminal of arbitrary region is subjected to proxy configurations as agent node, provides agency service for user, cost is relatively low for the agent node that this method is built, so that user is relatively low using the cost of agent node access internet.

Description

The distribution method and device of agent node
Technical field
The present invention relates to data communication technology fields, more particularly to the distribution method and device of a kind of agent node.
Background technique
When network operator provides network service for user terminal, IP address can be distributed to the user terminal in advance, used Family terminal, which can be used, accesses internet for the IP address of its distribution.But user terminal uses the IP address of distribution, it may There is situation about postponing or internet is inaccessible.For this purpose, user terminal is needed from the proxy server disposed in advance (also referred to as Agent node) at request agency IP, and then access internet by Agent IP.
Currently, the deployment way of agent node is, agency service quotient builds a large amount of service respectively in different regions Device, and the service that the network operator of corresponding region provides is purchased for server, so that these servers can become to user The agent node of terminal offer agency service.These agent nodes can be managed concentratedly by proxy management platform, work as user When terminal request Agent IP, proxy management platform determines that an agent node distributes the user terminal from numerous agent nodes, And then the Agent IP access internet of agent node offer can be used in the user terminal.
However, the above-mentioned mode for building proxy server, builds higher cost, user terminal access internet is also allowed for Higher cost.
Summary of the invention
In view of this, the embodiment of the present invention provides the distribution method and device of a kind of agent node, to solve existing skill The excessively high problem of proxy server cost is built in art.
To achieve the above object, the embodiment of the present invention provides the following technical solutions:
In a first aspect, the embodiment of the invention provides a kind of distribution methods of agent node, comprising:
Receive the agent node distribution request of target terminal;
Obtain be pre-configured agent node freelist, the agent node that wherein agent node freelist includes, be by The user terminal of arbitrary region carries out the agent node obtained after proxy configurations;
In agent node freelist, selection target agent node;
Target proxy node is distributed into target terminal.
Second aspect, the embodiment of the invention provides a kind of distributors of agent node, comprising:
Distribution request receiving module, for receiving the agent node distribution request of target terminal;
Agent node freelist obtains module, for obtaining the agent node freelist being pre-configured, wherein agency's section The agent node that point freelist includes is the agent node for obtain after proxy configurations by the user terminal of arbitrary region;
Target proxy node determining module is used for the selection target agent node in agent node freelist;
Target proxy node distribution module, for target proxy node to be distributed to target terminal.
As shown from the above technical solution, the present invention provides a kind of distribution methods of agent node, this method comprises: receiving The agent node distribution request of target terminal;The agent node freelist being pre-configured is obtained, wherein agent node freelist The agent node for including is the agent node for obtain after proxy configurations by the user terminal of arbitrary region;In agent node In freelist, selection target agent node;Target proxy node is distributed into target terminal.In this method, by arbitrary region User terminal carry out proxy configurations as agent node, provide agency service for user, the agent node that this method is built Cost is relatively low, so that user is relatively low using the cost of agent node access internet.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 shows the structural block diagram of interaction between user terminal, central platform server and agent node;
Fig. 2 shows a kind of flow charts of the distribution method of agent node;
Fig. 3 shows the structural block diagram that proxy configurations are carried out to user terminal;
Fig. 4 shows a kind of structural block diagram of the distributor of agent node.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
In the present invention, the terms "include", "comprise" or any other variant thereof is intended to cover non-exclusive inclusion, So that the process, method, article or equipment for including a series of elements not only includes those elements, but also including not having The other element being expressly recited, or further include for elements inherent to such a process, method, article, or device.Do not having There is the element limited in the case where more limiting by sentence "including a ...", it is not excluded that in the mistake including the element There is also other identical elements in journey, method, article or equipment.
User terminal will access internet, need to purchase network service from network operator, after purchasing network service, net Network operator can assign IP address for subscriber terminal, and user terminal could access internet by the IP address.But user terminal When using IP address access internet, it is possible that the inaccessible situation of delay or internet.For this purpose, referring to Fig. 1, User terminal need to access internet by agent node, and user terminal requests assignment agent node to central platform server, in Heart Platform Server selector shares the agent node of the assignment agent request of family submission, provides Agent IP service for user, with User is set to access internet using Agent IP.
In the prior art, if agency service provider is intended for the user in some territorial scope and provides Agent IP clothes Business can select (a little) region to build proxy server in the territorial scope, and the server built is that periphery user mentions For the service of answering.In this mode, the stronger large server of performance is generally selected as agent node, and need for server It needs to dispose and builds environment, cause to build higher cost.In addition, in order to guarantee that the service function of proxy server is needed to network Operator pays network service fee, and service operation cost is also excessively high.Furthermore due to higher cost, not easy expansion proxy server, Proxy server is unevenly distributed, and the ability for providing agency service is not balanced enough.Also, the lazy weight of agent node, then may be used User can be limited when providing agency service for the call number of agent node, or cannot even be responded the application of user and be asked It asks, causes user experience poor.
For this purpose, it is applied to central platform server the embodiment of the invention provides a kind of distribution method of agent node, in Heart Platform Server is referred to as management server.Referring to fig. 2, the method comprising the steps of S201-S204.
S201: the agent node distribution request of target terminal is received.
Specifically, it when certain user terminal is wanted using Agent IP access internet, can be sent out to central platform server Send agent node distribution request.The user terminal is properly termed as target terminal.
It in one case, include the attribute conditions of agent node in agent node distribution request, attribute conditions include It is any one or more in following items: area belonging to agent node, used in network segment, agent node belonging to agent node Internet Service Provider's type.
Specifically, if user needs to select agency's section of a certain area, a certain site or a certain Internet Service Provider It puts oneself to provide service, then to add agent node attribute conditions in agent node distribution request, and pass through target terminal The request is submitted, central platform server receives the agent node distribution request that target terminal is submitted.
Central platform server can be cluster server, by load-balancing algorithm, by the agent node of target terminal Distribution request is reasonably assigned to the server not overloaded in cluster server.Such as: there are A, B and C for cluster server Three child servers, the states of A, B child servers be it is busy, that is, indicate can not to provide agency service for the user of new link, and C The state of child servers is the free time, for this purpose, being distributed to the agent node distribution request of target terminal according to load-balancing algorithm C child servers, by the agent node distribution request of C child servers response target terminal.
S202: obtaining the agent node freelist of pre-configuration, the agent node that wherein agent node freelist includes, It is the agent node for obtain after proxy configurations by the user terminal of arbitrary region.
Specifically, user is implanted into application program at the terminal, is configured, is obtained to user terminal by the application program Agent node corresponding with the user terminal.The agent node of all areas is included in agent node freelist, is user The agent node of different zones is provided.
It should be noted that each agent node has one's own label, area, Dai Lijie as belonging to agent node Network segment belonging to point, network server provider type or other labels used in agent node, do not illustrate herein.
S203: in agent node freelist, selection target agent node.
Wherein, the mode of selection target agent node can there are many, such as can be random selection, can be according to agency Requirement in node distribution request is selected, and be can be and select according to the height of agency service ability, etc..
It such as in one implementation, include the attribute item of requested agent node in agent node distribution request Part, attribute conditions include any one or more in following items: area belonging to agent node, net belonging to agent node Internet Service Provider's type used in section, agent node.Then it can select to meet attribute item in agent node freelist The agent node of part is as target proxy node.
Specifically, if user has demand to agent node attribute conditions, the area as belonging to agent node, agent node institute Internet Service Provider's type used in the network segment of category, agent node or other when requiring, agent node is set into demand addition In distribution request, and it is committed to central platform server.Central platform server is added according to user and is asked in agent node distribution Agent node attribute conditions in asking provide and the consistent agent node of attribute conditions needed for user for the user.
For example, the area of the agent node of certain user demand is Beijing area, user terminal will have the agency of the demand Node distribution request is sent to central platform server, and central platform server is according to agent node distribution request, for the user Distribute the agent node of a Beijing area.
It should be noted that central platform server can be according to user's end when user is without agent node attribute specification Area belonging to end is user's distribution and the consistent agent node in this area, and the agent node and user terminal distance are recently.
For another example in one implementation, agent capability score can be selected to meet pre- in agent node freelist If score requires and the agent node of free time is as target proxy node.
Specifically, the grade for distinguishing agent capability can be preset, wherein the grade such as 0 of differentiation agency service ability~ 20 for it is bad, 20~40 be poor, 40~60 be generally, 60~80 be good, 80~100 be excellent;The method of the division score is to distinguish A kind of division methods of the agent capability of agent node, the score division for distinguishing agent capability can also be other modes, herein It is not specifically limited.
Central platform server can determine agency's energy corresponding with its agent capability according to the agent capability of agent node Power score, that is to say, that the agent node in agent node freelist is corresponding with agent capability score, according to agent capability Score can determine the agent capability grade of agent node.In this case, preset fraction requires that energy can be acted on behalf of to be default The target proxy node of power class requirement, central platform server selection is that agent capability reaches default agent capability class requirement Agent node.
For example, default agent capability class requirement be it is excellent, then central platform server can must belong to generation in agent capability Managing ability rating is selection target agent node in excellent agent node.
S204: target proxy node is distributed into target terminal.
Specifically, target proxy address of node can be returned into target terminal, to indicate target proxy node point Dispensing target terminal.Target proxy node can provide Agent IP for target terminal, so that target terminal is accessed by Agent IP Internet.
As shown from the above technical solution, the present invention provides a kind of distribution methods of agent node, this method comprises: receiving The agent node distribution request of target terminal;The agent node freelist being pre-configured is obtained, wherein the agent node is available The agent node that list includes is the agent node for obtain after proxy configurations by the user terminal of arbitrary region;Described In agent node freelist, selection target agent node;The target proxy node is distributed into the target terminal.The party In method, the user terminal of arbitrary region is subjected to proxy configurations as agent node, provides agency service for user, this method is taken Cost is relatively low for the agent node built, so that user is relatively low using the cost of agent node access internet.
In one example, the configuration of agent node freelist specifically comprises the following steps A1-A3:
A1: after the activation request for receiving the user terminal transmission of arbitrary region, activation operation is carried out to user terminal.
Specifically, it is desirable to which the user terminal that application is known as agent node can install level of application.Answering in user terminal Activation request is sent to central platform server by network with program, central platform server receives user terminal transmission After activation request, the application program into user terminal assigns configuration-direct, which is used to indicate the application in user terminal Program configures user terminal, and user terminal is made to become agent node.Configuration-direct, which can be, mutually establishes long link, such as The long link of fruit is successfully established, then it represents that is activated successfully, otherwise long link does not set up success, then it represents that activation failure.Alternatively, if with Family terminal sends activation request, but central platform server does not receive the activation request of user terminal, such feelings Condition indicates activation failure, and user terminal can retransmit activation request under specific opportunity.
Wherein, user terminal can be established the link by mobile networks such as 2G/3G/4G/5G with central platform server, such as Linking between mobile phone and central platform server;Or user terminal can pass through wifi network or household broadband and platform Server establishes the link, such as linking between computer and central platform server.
A2: in the case where activating successful situation to user terminal, agent node is added to using user terminal as agent node Freelist, and establish and linked with the length of user terminal.
Specifically, after receiving the instruction that central platform server issues, the application program of user terminal matches user terminal It is set to proxy server, so that the user terminal becomes agent node.The agent node is included in agency by central platform server Node freelist, which can be is included in by the classification of agent node attribute conditions, It can not also classify and directly be included in, be included in mode and do not illustrate herein.
See Fig. 3, it illustrates the specific examples that proxy configurations are carried out to user terminal.
User terminal can be the mobile terminal devices such as mobile phone, can also be the equipment for being equipped with compact hardware.It is miniature hard Part refer in small-sized hardware server systems, in particular to computer system be made of electronics, machinery and photoelectric cell etc. it is each The general name of kind physical unit, it is computer software operation that these physical units, which constitute an organic whole by the requirement of system structure, Material base is provided.
Mobile terminal device and compact hardware equipment can install application package, with use application package to Central platform server applies to become agent node.Specifically, the mobile networks such as 2G/3G/4G/5G can be used in mobile terminal device Network submits agent node activation request to central platform server, and central platform server is according to the request and the mobile terminal Equipment establishes long link, indicates to activate successfully if long link is successfully established, central platform server is into mobile terminal device Application program issue configuration-direct, agent node is configured by the mobile terminal device, if failure is established in long link, then it represents that Activation failure information is sent to mobile terminal device by activation failure, and mobile terminal device retransmits under specific opportunity to swash Request living.Compact hardware equipment can submit generation to central platform server by home networks such as household broadband, wifi networks Node activation request is managed, central platform server is established length with the compact hardware equipment according to the request and linked, if long link is built Vertical success then indicates to activate successfully, and application program of the central platform server into the compact hardware equipment issues configuration-direct, It is agent node by the compact hardware device configuration, if failure is established in long link, then it represents that activation failure will activate failure information It is sent to compact hardware equipment, compact hardware equipment retransmits activation request under specific opportunity.
It being linked in addition, establishing length with the agent node for being included in agent node freelist, there are two the purposes of length link, One is for the transmission of data, the second is for the heartbeat detection to the agent node.
A3: after the turn-off request for receiving user terminal, long link is disconnected and by user terminal from agent node available column It is deleted in table.
Wherein, user terminal, which can choose, provides service in the period on the shelf, in normal use, closes agency's clothes Business, can flexibly match, to promote the resource utilization of idle network.Specifically, user terminal passes through application program to central platform After server sends closing proxy requests, after central platform server responds the request, long link with the agent node is broken It opens, and the agent node is deleted from agent node freelist, reduce the waste of Internet resources.
From the above technical scheme, user terminal is configured agent node by the present invention, since user terminal is not by ground Area's limitation all can serve as agent node, so that the agency in the application saves as long as there is the place of mobile phone or home network covering The easy extension of point, distribution are also relatively easy to ability that is balanced, providing agency service and are also easy more equilibrium.In addition without purchasing Proxy server and without environment needed for building agency for user terminal, but integrates existing idle money by technological means Agent node is done in source, and it is higher not only to build efficiency, but also builds that cost is relatively low, so that the cost for providing agency service also will It is lower.
During actually using network, suspension can be led to because of some factors often, such as arrearage, power failure, network event The uncertain factors such as barrier.In such cases, as the user terminal of agent node also can suspension therewith, be in off-line state, but The agent node is also in agent node freelist, and to reduce the wasting of resources, central platform server can be according to such situation Following scheme is set.
In one example, the configuration of agent node freelist can also specifically comprise the following steps:
Heartbeat detection is carried out to the user terminal in agent node freelist;If the heartbeat detection result of certain user terminal It is unsatisfactory for preset condition, then is deleted certain user terminal from agent node freelist.
Specifically, whether the agent node that central platform server is not aware that in agent node freelist is in offline State also sends data packet to offline agent node, results in waste of resources.It is arranged in the application program of user terminal thus Heartbeat detection data packet, the heartbeat detection data packet or central platform server sended over by receiving application program Agent node of the meeting into agent node freelist sends heartbeat detection data packet, to judge whether agent node is offline.If The heartbeat detection result of certain user terminal is unsatisfactory for preset condition, then deletes certain user terminal from agent node freelist It removes.Such as: the application program of user terminal needs to send 3 heartbeat detection data packets to central platform server in 10 seconds, If in 10 seconds, 3 heartbeat detection data packets are not received by central platform server, then it represents that the agent node is offline shape State deletes the agent node from agent node freelist.
In one example, the agent capability score calculation of agent node specifically comprises the following steps:
It obtains user terminal and the service parameter of agency service is provided, wherein service parameter includes any one in following items Item is multinomial: enlivening duration, the size of communication data packet, traffic rate, the frequency that goes offline, the duration that goes offline, place urban area, work Jump the period, user feedback;If service parameter is one, according to the parameter value of service parameter, determining and parameter value pair The agent capability score answered;If service parameter be it is multiple, determine the corresponding score of the parameter value of each service parameter respectively, and COMPREHENSIVE CALCULATING is carried out to the score of all service parameters, obtains the agent capability score of agent node.
Specifically, in service parameter enliven duration, the size of communication data packet, traffic rate, the frequency that goes offline, when going offline Length, place urban area, active period are the agent node services that central platform server records when carrying out agency service Parameter.
User feedback situation in service parameter is user after having used the agent node, is commented the agent node Get.
Each single item service parameter is designed with the corresponding fraction levels of this, such as traffic rate, 50M the above are high-speed traffic, 5M divides the grade of the service parameter with rate the following are slow communication, and each grade corresponds to a fraction range, such as The traffic rate of a certain agent node is scored at 90 points, indicates that the traffic rate grade of the agent node is high-speed traffic, with this Analogize, the scoring event of available each service parameter.
It after score corresponding to each service parameter involved in accumulative agent node, is averaged, obtains agency section The agent capability score of point, the calculation of agent capability score not only limit this one kind, can also be other modes, herein no longer It illustrates.
It should be noted that enlivening duration, the size of communication data packet, traffic rate, the frequency that goes offline, the duration that goes offline, institute It is service ginseng of the central platform server in agent node acquisition when carrying out agency service in urban area, active period Number, and be agent node setting identification label, the identification label according to score situation of the agent node in these service parameters For classifying to agent node, such as: traffic rate, the traffic rate of a certain agent node are scored at 90 points, then are this The identification label of agent node addition high-speed traffic rate.User can be by this screening conditions of high-speed traffic rate, can be quickly Slave agent node freelist in filter out the agent node for meeting high-speed traffic rate.
In addition, the case where central platform server can also provide agency service as agent node according to user terminal, Bonus data is arranged for user terminal such as to integrate.
The embodiment of the invention also provides a kind of distributors of agent node, referring to fig. 4, specifically include: distribution request Receiving module 401, agent node freelist obtain module 402, target proxy node determining module 403 and target proxy section Point distribution module 404, in which:
Distribution request receiving module 401, for receiving the agent node distribution request of target terminal.
Agent node freelist obtains module 402, for obtaining the agent node freelist being pre-configured, wherein acting on behalf of The agent node that node freelist includes is that the user terminal of arbitrary region is carried out to the agency obtained after proxy configurations section Point.
Target proxy node determining module 403 is used for the selection target agent node in agent node freelist.
Target proxy node distribution module 404, for target proxy node to be distributed to target terminal.
As shown from the above technical solution, the present invention provides a kind of distributor of agent node, which be can receive The agent node distribution request of target terminal;The agent node freelist being pre-configured is obtained, wherein agent node freelist The agent node for including is the agent node for obtain after proxy configurations by the user terminal of arbitrary region;In agent node In freelist, selection target agent node;Target proxy node is distributed into target terminal.In the device, by arbitrary region User terminal carry out proxy configurations as agent node, provide agency service for user, the agent node which builds Cost is relatively low, so that user is relatively low using the cost of agent node access internet.
In one example, the distributor of agent node can also include: agent node freelist configuration module.
Agent node freelist configuration module, is used for:
After the activation request for receiving the user terminal transmission of arbitrary region, activation operation is carried out to user terminal.
In the case where activating successful situation to user terminal, user terminal, which is added to agent node as agent node, be can be used List, and establish and linked with the length of user terminal.
After the turn-off request for receiving user terminal, long link is disconnected and by user terminal from agent node freelist It deletes.
In one example, the distributor of agent node can also include: agent node detection module and detection knot Fruit execution module, in which:
Agent node detection module, for carrying out heartbeat detection to the user terminal in agent node freelist.
Testing result execution module, if the heartbeat detection result for certain user terminal is unsatisfactory for preset condition, by certain User terminal is deleted from agent node freelist.
In one example, agent node distribution request includes the attribute conditions of requested agent node, attribute item Part includes any one or more in following items: area belonging to agent node, network segment, Dai Lijie belonging to agent node Point Internet Service Provider's type used.
Target proxy node determining module is in the agent node freelist, when selection target agent node, specifically For:
In agent node freelist, select the agent node for meeting attribute conditions as target proxy node.
In one example, target proxy node determining module is in the agent node freelist, selection target generation When managing node, it is specifically used for:
In agent node freelist, agent capability score is selected to meet preset fraction requirement and the agent node of free time As target proxy node.
In one example, the distributor of agent node can also include: agent capability points calculating module.
Agent capability points calculating module, is used for:
It obtains user terminal and the service parameter of agency service is provided, wherein service parameter includes any one in following items Item is multinomial: enlivening duration, the size of communication data packet, traffic rate, the frequency that goes offline, the duration that goes offline, place urban area, work Jump the period, user feedback.
If service parameter is one, according to the parameter value of service parameter, determine that agent capability corresponding with parameter value obtains Point.
If service parameter be it is multiple, determine the corresponding score of the parameter value of each service parameter respectively, and to all clothes The score for parameter of being engaged in carries out COMPREHENSIVE CALCULATING, obtains the agent capability score of agent node.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system or For system embodiment, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to method The part of embodiment illustrates.System and system embodiment described above is only schematical, wherein the conduct The unit of separate part description may or may not be physically separated, component shown as a unit can be or Person may not be physical unit, it can and it is in one place, or may be distributed over multiple network units.It can root According to actual need that some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.Ordinary skill Personnel can understand and implement without creative efforts.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond the scope of this invention.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (12)

1. a kind of distribution method of agent node characterized by comprising
Receive the agent node distribution request of target terminal;
Obtain the agent node freelist being pre-configured, wherein the agent node that the agent node freelist includes, be by The user terminal of arbitrary region carries out the agent node obtained after proxy configurations;
In the agent node freelist, selection target agent node;
The target proxy node is distributed into the target terminal.
2. the distribution method of agent node according to claim 1, which is characterized in that the configuration of agent node freelist Step includes:
After the activation request for receiving the user terminal transmission of arbitrary region, activation operation is carried out to the user terminal;
In the case where activating successful situation to the user terminal, agent node is added to using the user terminal as agent node Freelist, and establish and linked with the length of the user terminal;
After the turn-off request for receiving the user terminal, disconnects the long link and save the user terminal from the agency It is deleted in point freelist.
3. the distribution method of agent node according to claim 2, which is characterized in that the configuration of agent node freelist Step further include:
Heartbeat detection is carried out to the user terminal in agent node freelist;
If the heartbeat detection result of certain user terminal is unsatisfactory for preset condition, certain described user terminal is incited somebody to action from the agent node It is deleted in freelist.
4. the distribution method of agent node according to claim 1, which is characterized in that include in agent node distribution request There are the attribute conditions of requested agent node, attribute conditions include any one or more in following items: agent node Network segment belonging to affiliated area, agent node, Internet Service Provider's type used in agent node;
Then in the agent node freelist, selection target agent node, comprising:
In the agent node freelist, select the agent node for meeting the attribute conditions as target proxy node.
5. the distribution method of agent node according to claim 1, which is characterized in that in the agent node freelist In, selection target agent node, comprising:
In the agent node freelist, agent capability score is selected to meet preset fraction requirement and the agent node of free time As target proxy node.
6. the distribution method of agent node according to claim 5, which is characterized in that the agent capability score of agent node Calculation includes:
Obtain user terminal and the service parameter of agency service be provided, wherein service parameter include any one in following items or It is multinomial: enliven duration, the size of communication data packet, traffic rate, the frequency that goes offline, the duration that goes offline, place urban area, when enlivening Section, user feedback;
If service parameter is one, according to the parameter value of service parameter, agent capability score corresponding with parameter value is determined;
If service parameter be it is multiple, determine the corresponding score of the parameter value of each service parameter respectively, and to all services ginseng Several scores carries out COMPREHENSIVE CALCULATING, obtains the agent capability score of agent node.
7. a kind of distributor of agent node characterized by comprising
Distribution request receiving module, for receiving the agent node distribution request of target terminal;
Agent node freelist obtains module, for obtaining the agent node freelist being pre-configured, wherein the agency saves The agent node that point freelist includes is the agent node for obtain after proxy configurations by the user terminal of arbitrary region;
Target proxy node determining module is used for the selection target agent node in the agent node freelist;
Target proxy node distribution module, for the target proxy node to be distributed to the target terminal.
8. the distributor of agent node according to claim 7, which is characterized in that further include: agent node available column Table configuration module, is used for:
After the activation request for receiving the user terminal transmission of arbitrary region, activation operation is carried out to the user terminal;
In the case where activating successful situation to the user terminal, agent node is added to using the user terminal as agent node Freelist, and establish and linked with the length of the user terminal;
After the turn-off request for receiving the user terminal, disconnects the long link and save the user terminal from the agency It is deleted in point freelist.
9. the distributor of agent node according to claim 8, which is characterized in that further include: agent node detects mould Block is used for:
Heartbeat detection is carried out to the user terminal in agent node freelist;
If the heartbeat detection result of certain user terminal is unsatisfactory for preset condition, certain described user terminal is incited somebody to action from the agent node It is deleted in freelist.
10. the distributor of agent node according to claim 7, which is characterized in that the agent node distribution request It include the attribute conditions of requested agent node, attribute conditions include any one or more in following items: agency Area belonging to node, Internet Service Provider's type used in network segment, agent node belonging to agent node;
Then the target proxy node determining module is used in the agent node freelist, selection target agent node, It specifically includes:
In the agent node freelist, select the agent node for meeting the attribute conditions as target proxy node.
11. the distributor of agent node according to claim 7, which is characterized in that the target proxy node determines Module is used in the agent node freelist, and selection target agent node specifically includes:
In the agent node freelist, agent capability score is selected to meet preset fraction requirement and the agent node of free time As target proxy node.
12. the distributor of agent node according to claim 11, which is characterized in that further include: agent capability score Computing module is used for:
Obtain user terminal and the service parameter of agency service be provided, wherein service parameter include any one in following items or It is multinomial: enliven duration, the size of communication data packet, traffic rate, the frequency that goes offline, the duration that goes offline, place urban area, when enlivening Section, user feedback;
If service parameter is one, according to the parameter value of service parameter, agent capability score corresponding with parameter value is determined;
If service parameter be it is multiple, determine the corresponding score of the parameter value of each service parameter respectively, and to all services ginseng Several scores carries out COMPREHENSIVE CALCULATING, obtains the agent capability score of agent node.
CN201910318488.5A 2019-04-19 2019-04-19 The distribution method and device of agent node Pending CN110022375A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910318488.5A CN110022375A (en) 2019-04-19 2019-04-19 The distribution method and device of agent node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910318488.5A CN110022375A (en) 2019-04-19 2019-04-19 The distribution method and device of agent node

Publications (1)

Publication Number Publication Date
CN110022375A true CN110022375A (en) 2019-07-16

Family

ID=67191903

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910318488.5A Pending CN110022375A (en) 2019-04-19 2019-04-19 The distribution method and device of agent node

Country Status (1)

Country Link
CN (1) CN110022375A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110071980A (en) * 2019-04-26 2019-07-30 宜人恒业科技发展(北京)有限公司 The distribution method and device of agent node
CN110784549A (en) * 2019-11-01 2020-02-11 深圳市网心科技有限公司 Network node selection method and device, first network node and storage medium
CN111565233A (en) * 2020-05-28 2020-08-21 吉林亿联银行股份有限公司 Data transmission method and device
CN112055068A (en) * 2020-08-28 2020-12-08 合肥工业大学 Distribution method, device, terminal and storage medium of multi-agent system master control node
CN113746876A (en) * 2020-05-27 2021-12-03 维沃移动通信有限公司 Communication agent establishing method, device and terminal
CN114097207A (en) * 2019-10-01 2022-02-25 元集群Lt有限责任公司 Intelligent substitute wheel changer

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6643694B1 (en) * 2000-02-09 2003-11-04 Michael A. Chernin System and method for integrating a proxy server, an e-mail server, and a DHCP server, with a graphic interface
CN104320492A (en) * 2014-11-11 2015-01-28 北京国双科技有限公司 Method and device for dispatching web servers
CN108512945A (en) * 2018-05-22 2018-09-07 四川斐讯信息技术有限公司 A kind of decision-making technique of proxy terminal
CN108574733A (en) * 2018-03-23 2018-09-25 网易有道信息技术(北京)有限公司 Network agent method and device, storage medium and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6643694B1 (en) * 2000-02-09 2003-11-04 Michael A. Chernin System and method for integrating a proxy server, an e-mail server, and a DHCP server, with a graphic interface
CN104320492A (en) * 2014-11-11 2015-01-28 北京国双科技有限公司 Method and device for dispatching web servers
CN108574733A (en) * 2018-03-23 2018-09-25 网易有道信息技术(北京)有限公司 Network agent method and device, storage medium and electronic equipment
CN108512945A (en) * 2018-05-22 2018-09-07 四川斐讯信息技术有限公司 A kind of decision-making technique of proxy terminal

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110071980A (en) * 2019-04-26 2019-07-30 宜人恒业科技发展(北京)有限公司 The distribution method and device of agent node
CN114097207A (en) * 2019-10-01 2022-02-25 元集群Lt有限责任公司 Intelligent substitute wheel changer
CN114097207B (en) * 2019-10-01 2024-04-16 奥科西拉博斯私人有限责任公司 Intelligent agent switcher
CN110784549A (en) * 2019-11-01 2020-02-11 深圳市网心科技有限公司 Network node selection method and device, first network node and storage medium
CN113746876A (en) * 2020-05-27 2021-12-03 维沃移动通信有限公司 Communication agent establishing method, device and terminal
CN113746876B (en) * 2020-05-27 2023-09-19 维沃移动通信有限公司 Communication proxy establishing method, device and terminal
CN111565233A (en) * 2020-05-28 2020-08-21 吉林亿联银行股份有限公司 Data transmission method and device
CN112055068A (en) * 2020-08-28 2020-12-08 合肥工业大学 Distribution method, device, terminal and storage medium of multi-agent system master control node
CN112055068B (en) * 2020-08-28 2022-09-16 合肥工业大学 Distribution method, device, terminal and storage medium of multi-agent system master control node

Similar Documents

Publication Publication Date Title
CN110022375A (en) The distribution method and device of agent node
CN110071980A (en) The distribution method and device of agent node
CN107919969B (en) Policy control method and device
US6661780B2 (en) Mechanisms for policy based UMTS QoS and IP QoS management in mobile IP networks
EP1869868B1 (en) System, network device, method, and computer program product for active load balancing using clustered nodes as authoritative domain name servers
GB2587697A (en) Service experience analytics for network slice instance
CN106301829A (en) A kind of method and apparatus of Network dilatation
CN108632945A (en) A kind of network slice selection method, user equipment and the network equipment
CN103974140B (en) Management method and management system of TR069 protocol based large-scale interactive TV terminal
CN108293004A (en) System and method for network slice management
CN109167674A (en) Methods of marking, domain name system DNS dispatching method and the server of service node
KR101111155B1 (en) A communication network system and communication network service processing method
CN105284094A (en) Network function virtualization network system, data processing method and device
CN110308995A (en) A kind of edge cloud computing service system edges cloud node deployment device
CN108370341A (en) Resource allocation method, virtual network function manager and Element management system
CN108833166A (en) Edge cloud message forwarding method and system, network message retransmission method and system
CN103997725A (en) System and method for abstracting and orchestrating mobile data networks in a network environment
US20070220521A1 (en) Provision of services by reserving resources in a communications network having resources management according to policy rules
CN105119787B (en) A kind of public internet access system and method based on software definition
CN103108019A (en) Service providing system
CN109644335A (en) A kind of processing method of identification information, database control system and relevant device
CN105071965B (en) A kind of management system of the network equipment
WO2021089158A1 (en) Network entities for supporting analytics generation
CN107800814A (en) Virtual machine deployment method and device
US6778504B2 (en) Dynamic soft permanent virtual circuit bulk connection tracing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190716

RJ01 Rejection of invention patent application after publication