CN109412957A - Traffic scheduling method, device and system and electronic equipment - Google Patents
Traffic scheduling method, device and system and electronic equipment Download PDFInfo
- Publication number
- CN109412957A CN109412957A CN201710707635.9A CN201710707635A CN109412957A CN 109412957 A CN109412957 A CN 109412957A CN 201710707635 A CN201710707635 A CN 201710707635A CN 109412957 A CN109412957 A CN 109412957A
- Authority
- CN
- China
- Prior art keywords
- destination server
- target user
- rule
- scheduling
- flow scheduling
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
Abstract
The embodiment of the invention provides a kind of traffic scheduling method, device and system and electronic equipments.The traffic scheduling method includes: to receive flow scheduling rule, and the flow scheduling rule includes the relevant information of target user and destination server;According to the flow scheduling rule, list of rules is updated, includes the directional relation between the target user and the destination server in the list of rules.The embodiment of the present invention pushes flow scheduling rule to access layer by control module, so as to flexibly, dynamically schedules traffic, improve dispatching efficiency;Meanwhile the test environment without building single channel, without regular deployment is carried out on switches, significantly reduce O&M and lower deployment cost.
Description
Technical field
The present invention relates to Internet technical field more particularly to a kind of traffic scheduling methods, device and system and electronics
Equipment.
Background technique
Internet product needs to carry out new version test before new version is online.In order to guarantee the stabilization of total system
Property, it is general by the way of gray scale publication, in the production environment of legacy version operation, a server-link is hewed out as ash
Spend environment.In the gray scale environment, the related application (APP) disposed in each server is updated, test flow is carried out at business
Reason, to examine the function and stability of new version.Therefore, it is necessary to carry out flow scheduling, that is, by designated user (or tester
Simulate real user) flowing of access as test flow, control is oriented to it, with introduce gray scale environment progress new version
The business processing of application prevents from interfering with each other between test flow and normal discharge.
In the prior art, following three kinds of schemes are generallyd use and carry out flow scheduling:
1, software modification scheme.When developer is to server disposition new version, the request flag position (IP in APP is modified
Location) or routing configuration file, the flowing of access of designated user is routed into specified APP and carries out business processing.Production environment
In, the APP of compatible two versions of the old and new of every server can only pass through request flag position in APP or routing configuration file
The flow scheduling of link is fixed.If thinking modification test link, need to remodify APP.
2, independent building plan.APP link in simulated production environment is individually disposed a set of for testing the ash of new version
Environment is spent, for the APP link setting in the gray scale environment different routing configuration and grouping.
3, hardware route scheme.Routing rule is configured on switches, and interchanger is right by the identification and study to rule
Forwarding is oriented from different user service request.
In the implementation of the present invention, at least there are the following problems: software modification scheme for the discovery prior art by inventor
In, every time after change test link, modified APP needs just can be used after restarting, can not dynamic dispatching flow;And it individually builds
Scheme can not then simulate true production environment completely, while increase O&M cost;For hardware route scheme, then need
In the enterprising line discipline deployment of every interchanger, complete flow scheduling can be realized, landing lower deployment cost is high, and alteration ruler
It is complicated, error-prone.
Summary of the invention
The embodiment of the present invention provides a kind of traffic scheduling method, device and system and electronic equipment, to solve existing skill
The defect of art realizes efficient, dynamic flow scheduling, while reducing scheduling cost.
In order to achieve the above objectives, the embodiment of the invention provides a kind of flow scheduling systems, comprising: developer's client,
User client and server, developer's client are used for the server disposition application, and the user client is used
In the application that is deployed in the server of access, the system also includes: control module and access layer module, the control mould
Block is used for, and is received the scheduling request that developer's client is sent, is taken in the scheduling request comprising target user and target
The relevant information of business device;According to the relevant information of the target user and the destination server, flow scheduling rule is generated;It will
The flow scheduling rule pushes to the access layer module and the destination server;The access layer module is used for, and is received
The flow scheduling rule of the control module push, and update list of rules;It is sent receiving the user client
Access request when, inquire the list of rules, according to access information included in the access request, the access asked
It asks and is sent to corresponding server.
The embodiment of the invention also provides a kind of traffic scheduling methods, comprising: scheduling request is received, in the scheduling request
Relevant information comprising target user and destination server;According to target user letter related to the destination server
Breath generates flow scheduling rule;The flow scheduling rule is pushed into access layer module, and is sent to the destination service
Device.
The embodiment of the invention also provides a kind of traffic scheduling methods, comprising: receives flow scheduling rule, the flow tune
Metric then includes the relevant information of target user and destination server;According to the flow scheduling rule, list of rules, institute are updated
Stating includes directional relation between the target user and the destination server in list of rules.
The embodiment of the invention also provides a kind of flow scheduling devices, comprising: the first receiving module is asked for receiving scheduling
It asks, includes the relevant information of target user and destination server in the scheduling request;Rule generation module, for according to
The relevant information of target user and the destination server generate flow scheduling rule;Sending module, for the rule is raw
Access layer module is pushed at the flow scheduling rule that module generates, and is sent to the destination server.
The embodiment of the invention also provides a kind of flow scheduling devices, comprising: the second receiving module, for receiving flow tune
Then, the flow scheduling rule includes the relevant information of target user and destination server to metric;Update module, for according to institute
The flow scheduling rule that the second receiving module receives is stated, list of rules is updated, includes described in the list of rules
Directional relation between target user and the destination server.
The embodiment of the present invention also provides a kind of electronic equipment, comprising: memory, for storing program;Processor, for transporting
The described program stored in the row memory, to be used for: receive scheduling request, in the scheduling request comprising target user with
The relevant information of destination server;According to the relevant information of the target user and the destination server, flow scheduling is generated
Rule;The flow scheduling rule is pushed into access layer module, and is sent to the destination server.
The embodiment of the present invention also provides a kind of electronic equipment, comprising: memory, for storing program;Processor, for transporting
The described program stored in the row memory, to be used for: receiving flow scheduling rule, the flow scheduling rule includes target
The relevant information of user and destination server;According to the flow scheduling rule, list of rules is updated, is wrapped in the list of rules
Contain the directional relation between the target user and the destination server.
Traffic scheduling method, device and system and electronic equipment provided in an embodiment of the present invention, by control module to
Access layer pushes flow scheduling rule, so as to flexibly, dynamically schedules traffic, improve dispatching efficiency;Meanwhile without building
The test environment of single channel, without regular deployment is carried out on switches, significantly reduce O&M and lower deployment cost.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field
Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the application
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is the schematic diagram of a scenario of flow scheduling system provided in an embodiment of the present invention;
Fig. 2 is the flow chart of traffic scheduling method one embodiment provided by the invention;
Fig. 3 is the flow chart of another embodiment of traffic scheduling method provided by the invention;
Fig. 4 is the structural schematic diagram of flow scheduling device one embodiment provided by the invention;
Fig. 5 is the structural schematic diagram of another embodiment of flow scheduling device provided by the invention;
Fig. 6 is the structural schematic diagram of another embodiment of flow scheduling device provided by the invention;
Fig. 7 is the structural schematic diagram of electronic equipment one embodiment provided by the invention;
Fig. 8 is the structural schematic diagram of another embodiment of electronic equipment provided by the invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
It is fully disclosed to those skilled in the art.
In view of the drawbacks of the prior art, the application provides a solution, and cardinal principle is: by control module to
The flow scheduling rule (selecting an APP link as test link) that access layer push developer formulates, by the flow scheduling
Rule is issued to corresponding server.Meanwhile developer disposes new version APP to associated server.When user client (or
Tester simulates real user) when initiating access request, by inquiring flow scheduling rule, obtains target user and target and take
Directional relation between business device, and forwarded according to rules orientation, so that designated user's access is deployed in the new version of given server
APP carries out corresponding business processing (obtain test data).
Method provided in an embodiment of the present invention can be applied to the operation system of any required flow scheduling.Fig. 1 is the present invention
The schematic diagram of a scenario for the flow scheduling system that embodiment provides, scene shown in FIG. 1 are only that technical solution of the present invention can be with
One of example of business scenario of application.As shown in Figure 1, flow scheduling system provided in an embodiment of the present invention includes: developer
Client, user client and server, developer's client are used for server disposition application, and user client is for accessing
The application being deployed in server.The system further include: control module (not shown) and access layer module.Wherein, it controls
Module can be the device or chip being integrated in developer's client, be scheduled control by developer's client by developer
System operation, can also be used as an independent equipment and is present in system, to connect developer's client and access layer module.It should
Control module can be used to execute following process flows shown in Fig. 2, be mainly used for receiving the tune that developer's client is sent
Degree is requested, and includes the relevant information of target user and destination server in the scheduling request;According to target user and destination service
The relevant information of device generates flow scheduling rule;The flow scheduling rule is pushed into access layer module and destination server.It connects
Entering layer module can be the Lua rule routing algorithm plug-in unit (referred to as: access layer plug-in unit) in access layer reverse proxy, for executing
Following process flows shown in Fig. 3 are mainly used for receiving the flow scheduling rule of control module push, and update rules column
Table;When receiving the access request of user client transmission, rule searching list is accessed according to included in access request
Information, including but not limited to: user information (e.g., User ID) or client-side information, (what e.g., client used is the access information
System information) etc..Access request is sent to corresponding server.Flow scheduling rule is pushed to access layer by control module,
So as to flexibly, dynamically schedules traffic, improve dispatching efficiency;Meanwhile the test environment without building single channel, without
The enterprising line discipline deployment of interchanger, significantly reduces O&M and lower deployment cost.
Above-described embodiment is the explanation of the technical principle and illustrative application framework to the embodiment of the present invention, below by
Multiple embodiments are further described in detail specific technical solution of the embodiment of the present invention.
Embodiment one
Fig. 2 is the flow chart of traffic scheduling method one embodiment provided by the invention, and the executing subject of this method can be with
For control module described in above-described embodiment.As shown in Fig. 2, the traffic scheduling method includes the following steps:
S201, receives scheduling request, includes the relevant information of target user and destination server in the scheduling request.
In embodiments of the present invention, control module can be a Visualization Platform, by upstream-downstream relationship, state progress can
It is shown depending on changing, and scheduling controlling operation is provided.By the link relationship between each server in the Visualization Platform, with visual
The form of change shows developer.Developer can check that the upstream and downstream of each server is closed by the browser of developer's client
System and state therefrom choose server appropriate as the destination server for participating in dispatching, and choose user appropriate as ginseng
With the target user of scheduling.Developer's client initiates scheduling request, the scheduling request to the control module (Visualization Platform)
In comprising target user's designated user of scheduling (that is, participate in) with destination server (that is, the clothes that the application for participating in scheduling is disposed
Be engaged in device) relevant information.The relevant information of target user can identify (Identity for target user;Referred to as: ID), target takes
The relevant information of business device can be Internet protocol (the Internet Protocol of destination server;Referred to as: IP) address etc..
When developer wants to initiate flow scheduling, pass through the scheduling request that developer's client is sent to control module
For oriented control request, which is requested for increasing the directional relation between target user and destination server.
When developer wants to cancel flow scheduling, pass through the scheduling request that developer's client is sent to control module
To cancel orientation request, cancellation orientation request is closed for deleting the orientation between certain target users and certain destination servers
System.Cancel scheduling also not needing to do any cleaning work, upstream and downstream application auto-associating does not need configuration call relation.
S202 generates flow scheduling rule according to the relevant information of above-mentioned target user and destination server.
Flow scheduling rule is pushed to access layer module, and is sent to destination server by S203.
Control module provided in an embodiment of the present invention, the target user provided according to developer are related to destination server
Information generates flow scheduling rule (for example, the rule can be formulated are as follows: the user for being 0 for User ID tail number determines link
APP1-1 → APP2-1 → APP3-1 accesses route for it, for testing new version).The flow scheduling rule can pass through characterization
State transfer (REpresentational State Transfer;Referred to as: REST) protocol interaction is recognized by Digest abstract
The mode of card is arranged expired time (e.g., 30 seconds), and decodement transmission, Replay Attack can be effectively prevented, support client pair
Server authentication has certain tamper-resistance.User information can be encrypted simultaneously, cause user to avoid information is stolen
Loss.For example, being hashed using SHA512 hashing algorithm to clear-text passwords, bcrypt then is carried out for hashed value and is dissipated again
Column, after hashing by bcrypt, hashed value can again pass by the encryption of AES256 algorithm.
Further, in embodiments of the present invention, control module can be sent out flow scheduling rule by soft load system
It send to each destination server.Finally, control module sends the response that scheduling runs succeeded or fails to developer's client.
Traffic scheduling method provided in an embodiment of the present invention, by pushing flow scheduling rule to access layer, so as to
Flexibly, dynamically schedules traffic improves dispatching efficiency;Meanwhile the test environment without building single channel, without on switches
Regular deployment is carried out, O&M and lower deployment cost are significantly reduced.
Embodiment two
Fig. 3 is the flow chart of another embodiment of traffic scheduling method provided by the invention, and the executing subject of this method can
Think access layer module described in above-described embodiment.As shown in figure 3, the traffic scheduling method includes the following steps:
S301, receives flow scheduling rule, which includes target user's letter related to destination server
Breath.
In embodiments of the present invention, flow scheduling rule can be used for increasing determines between target user and destination server
To relationship, the directional relation between delete target user and destination server can be used for.
S302 updates list of rules, includes above-mentioned target user and mesh in the list of rules according to flow scheduling rule
Mark the directional relation between server.
After access layer module receives flow scheduling rule, updates list of rules and (according to the content of flow scheduling rule, increase
Add or deletion rule list in directional relation between target user and destination server).
S303, when receiving access request, rule searching list, the access information according to included in access request will
The access request is sent to corresponding server.
When access layer module receives the access request of user client transmission, rule searching list.Specifically, when
In list of rules, when inquiring the target user to match with above-mentioned access information, which is sent to and the target
The corresponding destination server of user;When not inquiring list of rules, alternatively, not inquiring and believing with access in list of rules
When the matched target user of manner of breathing, which is sent to corresponding service according to preset load-balancing algorithm
Device.When front end http/https flow enters specified service application service device, industry of going forward side by side is engaged in after working process, and treated
Access request will also may downstream continue to initiate remote procedure call (Remote Procedure Call;Referred to as: RPC), root
Forwarding is oriented according to the rule pushed before.Accurate dispatching and shunting may be implemented in the embodiment of the present invention, under normal conditions controllably
Rate reaches 100%.
In the embodiment of the present invention, by the availability and stabilization of returning source policy and the dual guarantee link of disaster tolerance dispatching algorithm
Property, it can not find the IP address of scheduling when if called, can guarantee automatically on flow scheduling to the machine for defaulting cluster
The availability of request, when flow is excessive or abnormal, disaster tolerance dispatching algorithm can close same computer room isopreference scheduling strategy, open
It is symmetrical to call, it breaks up and loads to other clusters or computer room, guarantee safety and the user experience of back-end server.
Traffic scheduling method provided in an embodiment of the present invention is visited by pushing list of rules to access layer when user sends
When asking request, in access layer by rule searching list come implementation rule routing, so as to flexibly, dynamically schedules traffic,
Improve dispatching efficiency;Meanwhile the test environment without building single channel, without regular deployment is carried out on switches, greatly
Reduce O&M and lower deployment cost.
Embodiment three
Fig. 4 is the structural schematic diagram of flow scheduling device one embodiment provided by the invention, can be used for executing such as Fig. 2 institute
The method and step shown.As shown in figure 4, the apparatus may include: the first receiving module 41, rule generation module 42 and sending module
43。
Wherein, the first receiving module 41 takes in the scheduling request comprising target user and target for receiving scheduling request
The relevant information of business device;Rule generation module 42 is used for the relevant information according to target user and destination server, generates flow
Scheduling rule;Sending module 43 is used to the flow scheduling rule that rule generation module 42 generates pushing to access layer module, and
It is sent to destination server.
In embodiments of the present invention, the first receiving module 41 is used to receive the scheduling request of developer's client transmission, should
Comprising target user (that is, the designated user for participating in scheduling) and destination server (that is, participating in the application institute of scheduling in scheduling request
The server of deployment) relevant information.The relevant information of target user can be target user ID, the related letter of destination server
Breath can be the IP address etc. of destination server.
Specifically, when developer wants to initiate flow scheduling, the scheduling request that the first receiving module 41 receives is fixed
It is requested to control, for increasing the directional relation between target user and destination server.When developer wants to cancel flow tune
When spending, the scheduling request that the first receiving module 41 receives is to cancel orientation request, is used for delete target user and destination service
Directional relation between device.
Further, sending module 43 can be used for flow scheduling rule being sent to the target by soft load system
Server.
Flow scheduling device provided in an embodiment of the present invention, by pushing flow scheduling rule to access layer, so as to
Flexibly, dynamically schedules traffic improves dispatching efficiency;Meanwhile the test environment without building single channel, without on switches
Regular deployment is carried out, O&M and lower deployment cost are significantly reduced.
Example IV
Fig. 5 is the structural schematic diagram of another embodiment of flow scheduling device provided by the invention, can be used for executing such as Fig. 3
Shown in method and step.As shown in figure 5, the apparatus may include: the second receiving module 51, update module 52.
Wherein, the second receiving module 51 is for receiving flow scheduling rule, the flow scheduling rule include target user with
The relevant information of destination server;The flow scheduling rule that update module 52 is used to be received according to the second receiving module 51, more
New list of rules includes the directional relation between target user and destination server in the list of rules.
In embodiments of the present invention, after the flow scheduling that the second receiving module 51 receives control module push is regular,
Update module 52 updates list of rules and (according to the content of flow scheduling rule, increases or delete rule according to flow scheduling rule
The then directional relation in list between target user and destination server).When the access request for receiving user client transmission
When, above-mentioned list of rules, and the access information according to included in access request are inquired, which is sent to accordingly
Server.
Flow scheduling device provided in an embodiment of the present invention is visited by pushing list of rules to access layer when user sends
When asking request, in access layer by rule searching list come implementation rule routing, so as to flexibly, dynamically schedules traffic,
Improve dispatching efficiency;Meanwhile the test environment without building single channel, without regular deployment is carried out on switches, greatly
Reduce O&M and lower deployment cost.
Embodiment five
Fig. 6 is the structural schematic diagram of another embodiment of flow scheduling device provided by the invention.As shown in fig. 6, upper
On the basis of stating embodiment illustrated in fig. 5, the flow scheduling rule that the second receiving module 51 receives can be used for increasing target use
Directional relation between family and destination server, the orientation that can be used between delete target user and destination server are closed
System.
Further, when receiving access request, flow scheduling device provided in an embodiment of the present invention can also include:
Processing module 53.The processing module 53 can be used for inquiring above-mentioned list of rules, and letter is accessed according to included in access request
Breath, is sent to corresponding server for the access request.
Further, the processing module 53 in the embodiment of the present invention may include: at first processing units 531 and second
Manage unit 532.
Wherein, first processing units 531 are used to work as inquires the mesh to match with above-mentioned access information in list of rules
When marking user, which is sent to destination server corresponding with the target user;The second processing unit 532 is for working as
When not inquiring list of rules, alternatively, when not inquiring the target user to match with above-mentioned access information in list of rules,
The access request is sent to corresponding server according to preset load-balancing algorithm.
Flow scheduling device provided in an embodiment of the present invention, by pushing list of rules in access layer, when user sends
When access request, in access layer by rule searching list come implementation rule routing, so as to flexibly, dynamically Scheduling Flow
Amount improves dispatching efficiency;Meanwhile the test environment without building single channel, without regular deployment is carried out on switches, greatly
Ground reduces O&M and lower deployment cost.
Embodiment six
The foregoing describe the built-in function of flow scheduling device and structure, which can be realized as a kind of electronic equipment.Fig. 7
For the structural schematic diagram of electronic equipment one embodiment provided by the invention.As shown in fig. 7, the electronic equipment includes memory 71
With processor 72.
Memory 71, for storing program.In addition to above procedure, memory 71 is also configured to store various other
Data are to support operation on an electronic device.The example of these data includes any application for operating on an electronic device
The instruction of program or method, contact data, telephone book data, message, picture, video etc..
Memory 71 can be by any kind of volatibility or non-volatile memory device or their combination realization, such as
Static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable is read-only to be deposited
Reservoir (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or
CD.
Processor 72 is coupled with memory 71, executes the program that memory 71 is stored, to be used for:
Scheduling request is received, includes the relevant information of target user and destination server in the scheduling request;According to target
The relevant information of user and destination server generate flow scheduling rule;The flow scheduling rule is pushed into access layer module,
And it is sent to destination server.
Further, as shown in fig. 7, electronic equipment can also include: communication component 73, power supply module 74, audio component 75,
Other components such as display 76.Members are only schematically provided in Fig. 7, are not meant to that electronic equipment only includes shown in Fig. 7
Component.
Communication component 73 is configured to facilitate the communication of wired or wireless way between electronic equipment and other equipment.Electronics
Equipment can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary reality
It applies in example, communication component 73 receives broadcast singal or the related letter of broadcast from external broadcasting management system via broadcast channel
Breath.In one exemplary embodiment, the communication component 73 further includes near-field communication (NFC) module, to promote short range communication.
For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) skill can be based in NFC module
Art, bluetooth (BT) technology and other technologies are realized.
Based on communication component 73, processor 72 can be stored all consumption datas to external data by communication component 73
In library.
Power supply module 74 provides electric power for the various assemblies of electronic equipment.Power supply module 74 may include power management system
System, one or more power supplys and other with for electronic equipment generate, manage, and distribute the associated component of electric power.
Audio component 75 is configured as output and/or input audio signal.For example, audio component 75 includes a microphone
(MIC), when electronic equipment is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is configured
To receive external audio signal.The received audio signal can be further stored in memory 71 or via communication component 73
It sends.In some embodiments, audio component 75 further includes a loudspeaker, is used for output audio signal.
Display 76 includes screen, and screen may include liquid crystal display (LCD) and touch panel (TP).If screen
Including touch panel, screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes one
Or multiple touch sensors are to sense the gesture on touch, slide, and touch panel.The touch sensor can be sensed not only
The boundary of a touch or slide action, but also detect duration and pressure associated with the touch or slide operation.
Embodiment seven
The foregoing describe the built-in function of message driving means and structure, which can be realized as a kind of electronic equipment.Fig. 8
For the structural schematic diagram of another embodiment of electronic equipment provided by the invention.As shown in figure 8, the electronic equipment includes memory
81 and processor 82.
Memory 81, for storing program.In addition to above procedure, memory 81 is also configured to store various other
Data are to support operation on an electronic device.The example of these data includes any application for operating on an electronic device
The instruction of program or method, contact data, telephone book data, message, picture, video etc..
Memory 81 can be by any kind of volatibility or non-volatile memory device or their combination realization, such as
Static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable is read-only to be deposited
Reservoir (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or
CD.
Processor 82 is coupled with memory 81, executes the program that memory 81 is stored, to be used for:
Flow scheduling rule is received, which includes the relevant information of target user and destination server;Root
According to flow scheduling rule, list of rules is updated, includes the orientation between target user and destination server in the list of rules
Relationship;When receiving access request, above-mentioned list of rules is inquired, the access information according to included in access request, by the visit
Ask that request is sent to corresponding server.
Further, as shown in figure 8, electronic equipment can also include: communication component 83, power supply module 84, audio component 85,
Other components such as display 86.Members are only schematically provided in Fig. 8, are not meant to that electronic equipment only includes shown in Fig. 8
Component.
Communication component 83 is configured to facilitate the communication of wired or wireless way between electronic equipment and other equipment.Electronics
Equipment can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary reality
It applies in example, communication component 83 receives broadcast singal or the related letter of broadcast from external broadcasting management system via broadcast channel
Breath.In one exemplary embodiment, the communication component 83 further includes near-field communication (NFC) module, to promote short range communication.
For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) skill can be based in NFC module
Art, bluetooth (BT) technology and other technologies are realized.
Based on communication component 83, processor 82 can be stored all consumption datas to external data by communication component 83
In library.
Power supply module 84 provides electric power for the various assemblies of electronic equipment.Power supply module 84 may include power management system
System, one or more power supplys and other with for electronic equipment generate, manage, and distribute the associated component of electric power.
Audio component 85 is configured as output and/or input audio signal.For example, audio component 85 includes a microphone
(MIC), when electronic equipment is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is configured
To receive external audio signal.The received audio signal can be further stored in memory 81 or via communication component 83
It sends.In some embodiments, audio component 85 further includes a loudspeaker, is used for output audio signal.
Display 86 includes screen, and screen may include liquid crystal display (LCD) and touch panel (TP).If screen
Including touch panel, screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes one
Or multiple touch sensors are to sense the gesture on touch, slide, and touch panel.The touch sensor can be sensed not only
The boundary of a touch or slide action, but also detect duration and pressure associated with the touch or slide operation.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to
The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey
When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or
The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to
So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into
Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.
Claims (14)
1. a kind of flow scheduling system, comprising: developer's client, user client and server, developer's client
For to the server disposition application, the user client to be special for accessing the application being deployed in the server
Sign is, the system also includes: control module and access layer module,
The control module is used for, and receives the scheduling request that developer's client is sent, and includes mesh in the scheduling request
Mark the relevant information of user and destination server;According to the relevant information of the target user and the destination server, generate
Flow scheduling rule;The flow scheduling rule is pushed into the access layer module and the destination server;
The access layer module is used for, and receives the flow scheduling rule of the control module push, and updates list of rules;
When receiving the access request that the user client is sent, the list of rules is inquired, according to institute in the access request
The access request is sent to corresponding server by the access information for including.
2. a kind of traffic scheduling method characterized by comprising
Scheduling request is received, includes the relevant information of target user and destination server in the scheduling request;
According to the relevant information of the target user and the destination server, flow scheduling rule is generated;
The flow scheduling rule is pushed into access layer module, and is sent to the destination server.
3. traffic scheduling method according to claim 2, which is characterized in that the scheduling request is oriented control request,
For increasing the directional relation between the target user and the destination server.
4. traffic scheduling method according to claim 2, which is characterized in that the scheduling request is to cancel orientation request,
For deleting the directional relation between the target user and the destination server.
5. the traffic scheduling method according to any claim in claim 2 to 4, which is characterized in that it is described will be described
Flow scheduling rule is sent to the destination server, comprising:
The flow scheduling rule is sent to the destination server by soft load system.
6. a kind of traffic scheduling method characterized by comprising
Flow scheduling rule is received, the flow scheduling rule includes the relevant information of target user and destination server;
According to flow scheduling rule, update list of rules, include the target user in the list of rules with it is described
Directional relation between destination server.
7. traffic scheduling method according to claim 6, which is characterized in that further include:
When receiving access request, the list of rules is inquired, according to access information included in the access request, by institute
It states access request and is sent to corresponding server.
8. traffic scheduling method according to claim 6, which is characterized in that the flow scheduling rule is described for increasing
Directional relation between target user and the destination server.
9. traffic scheduling method according to claim 6, which is characterized in that the flow scheduling rule is described for deleting
Directional relation between target user and the destination server.
10. the traffic scheduling method according to any claim in claim 7 to 9, which is characterized in that the inquiry institute
List of rules is stated, according to access information included in the access request, the access request is sent to corresponding service
Device, comprising:
In the list of rules, when inquiring the target user to match with the access information, by the access request
It is sent to the destination server corresponding with the target user;
When not inquiring the list of rules, alternatively, not inquired and the access information phase in the list of rules
When the target user matched, the access request is sent to corresponding server according to preset load-balancing algorithm.
11. a kind of flow scheduling device characterized by comprising
First receiving module includes the phase of target user and destination server for receiving scheduling request, in the scheduling request
Close information;
Rule generation module generates flow scheduling for the relevant information according to the target user and the destination server
Rule;
Sending module, the flow scheduling rule for generating the rule generation module push to access layer module, and
It is sent to the destination server.
12. a kind of flow scheduling device characterized by comprising
Second receiving module, for receiving flow scheduling rule, the flow scheduling rule includes target user and destination service
The relevant information of device;
Update module, the flow scheduling rule for being received according to second receiving module, updates list of rules, institute
Stating includes directional relation between the target user and the destination server in list of rules.
13. a kind of electronic equipment characterized by comprising
Memory, for storing program;
Processor, for running the described program stored in the memory, to be used for:
Scheduling request is received, includes the relevant information of target user and destination server in the scheduling request;
According to the relevant information of the target user and the destination server, flow scheduling rule is generated;
The flow scheduling rule is pushed into access layer module, and is sent to the destination server.
14. a kind of electronic equipment characterized by comprising
Memory, for storing program;
Processor, for running the described program stored in the memory, to be used for:
Flow scheduling rule is received, the flow scheduling rule includes the relevant information of target user and destination server;
According to flow scheduling rule, update list of rules, include the target user in the list of rules with it is described
Directional relation between destination server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710707635.9A CN109412957A (en) | 2017-08-17 | 2017-08-17 | Traffic scheduling method, device and system and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710707635.9A CN109412957A (en) | 2017-08-17 | 2017-08-17 | Traffic scheduling method, device and system and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109412957A true CN109412957A (en) | 2019-03-01 |
Family
ID=65454977
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710707635.9A Pending CN109412957A (en) | 2017-08-17 | 2017-08-17 | Traffic scheduling method, device and system and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109412957A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110691042A (en) * | 2019-10-23 | 2020-01-14 | 上海艾融软件股份有限公司 | Resource allocation method and device |
CN111464390A (en) * | 2020-03-31 | 2020-07-28 | 中国建设银行股份有限公司 | Network application system monitoring and early warning method and system |
CN112119615A (en) * | 2019-07-01 | 2020-12-22 | 深圳市大疆创新科技有限公司 | Message flow display method and device, unmanned system and movable platform |
CN112394960A (en) * | 2020-11-23 | 2021-02-23 | 中国农业银行股份有限公司 | Service flow control method and device, electronic equipment and computer storage medium |
CN112398884A (en) * | 2019-08-14 | 2021-02-23 | 上海哔哩哔哩科技有限公司 | Flow scheduling control method in mirror image back-to-source scene, readable storage medium and computer equipment |
CN112965836A (en) * | 2021-03-04 | 2021-06-15 | 北京百度网讯科技有限公司 | Service control method and device, electronic equipment and readable storage medium |
CN116032848A (en) * | 2021-10-27 | 2023-04-28 | 北京字节跳动网络技术有限公司 | Method and device for managing network traffic of client application |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105791341A (en) * | 2014-12-22 | 2016-07-20 | 华为软件技术有限公司 | Method, device and system for processing application release |
US9451006B1 (en) * | 2013-12-12 | 2016-09-20 | Intuit Inc. | Methods, systems, and articles of manufacture for configuration-based client-side resource resolution framework for customizable user experience |
CN106453637A (en) * | 2016-11-24 | 2017-02-22 | 深圳市小满科技有限公司 | Method and device for efficient reuse of server resources by cloud platform, and cloud platform |
CN106998369A (en) * | 2017-05-26 | 2017-08-01 | 努比亚技术有限公司 | Gray scale dissemination method, gateway blocker and computer-readable recording medium |
-
2017
- 2017-08-17 CN CN201710707635.9A patent/CN109412957A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9451006B1 (en) * | 2013-12-12 | 2016-09-20 | Intuit Inc. | Methods, systems, and articles of manufacture for configuration-based client-side resource resolution framework for customizable user experience |
CN105791341A (en) * | 2014-12-22 | 2016-07-20 | 华为软件技术有限公司 | Method, device and system for processing application release |
CN106453637A (en) * | 2016-11-24 | 2017-02-22 | 深圳市小满科技有限公司 | Method and device for efficient reuse of server resources by cloud platform, and cloud platform |
CN106998369A (en) * | 2017-05-26 | 2017-08-01 | 努比亚技术有限公司 | Gray scale dissemination method, gateway blocker and computer-readable recording medium |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112119615A (en) * | 2019-07-01 | 2020-12-22 | 深圳市大疆创新科技有限公司 | Message flow display method and device, unmanned system and movable platform |
CN112398884A (en) * | 2019-08-14 | 2021-02-23 | 上海哔哩哔哩科技有限公司 | Flow scheduling control method in mirror image back-to-source scene, readable storage medium and computer equipment |
CN112398884B (en) * | 2019-08-14 | 2023-08-25 | 上海哔哩哔哩科技有限公司 | Flow scheduling control method under mirror image back source scene, readable storage medium and computer equipment |
CN110691042A (en) * | 2019-10-23 | 2020-01-14 | 上海艾融软件股份有限公司 | Resource allocation method and device |
CN111464390A (en) * | 2020-03-31 | 2020-07-28 | 中国建设银行股份有限公司 | Network application system monitoring and early warning method and system |
CN112394960A (en) * | 2020-11-23 | 2021-02-23 | 中国农业银行股份有限公司 | Service flow control method and device, electronic equipment and computer storage medium |
CN112394960B (en) * | 2020-11-23 | 2024-06-07 | 中国农业银行股份有限公司 | Control method and device for service flow, electronic equipment and computer storage medium |
CN112965836A (en) * | 2021-03-04 | 2021-06-15 | 北京百度网讯科技有限公司 | Service control method and device, electronic equipment and readable storage medium |
CN112965836B (en) * | 2021-03-04 | 2024-04-23 | 北京百度网讯科技有限公司 | Service control method, device, electronic equipment and readable storage medium |
CN116032848A (en) * | 2021-10-27 | 2023-04-28 | 北京字节跳动网络技术有限公司 | Method and device for managing network traffic of client application |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109412957A (en) | Traffic scheduling method, device and system and electronic equipment | |
CN105827446B (en) | A kind of intelligent transportation API gateway and intelligent transportation operation system | |
US9146716B2 (en) | Automatic resource balancing for multi-device applications | |
CA2964461C (en) | Composite partition functions | |
CN108965242B (en) | Method, system and computer readable storage medium for role-based control | |
JP5984818B2 (en) | Method and system for communicating between a vehicle and a remote application server | |
EP2972932B1 (en) | Cloud based virtual mobile device | |
US10430441B1 (en) | Tagging resources of a remote computing service based on locality | |
CN110247944A (en) | Trans-regional service calling method, device, system and electronic equipment | |
CN111917838B (en) | Micro-service-based processing method and device, storage medium and electronic device | |
US20180139273A1 (en) | Entity based routing | |
CN108055322A (en) | Request message processing method and processing device | |
US8582422B2 (en) | Access point configuration propagation | |
JP6344907B2 (en) | Information processing apparatus, system, and control method for information processing apparatus | |
JP2024060071A (en) | Method for controlling device management apparatus, and program | |
JPWO2020136787A1 (en) | Data processing equipment, data processing systems, data processing methods and programs | |
JP7009736B2 (en) | Information processing equipment, control methods, programs, devices and information processing systems | |
US20130185448A1 (en) | Systems and Methods for Managing Emulation Sessions | |
US9124591B2 (en) | Automatic resource balancing for multi-device location-based applications | |
US10924357B2 (en) | Method and device for determining resource utilization | |
JP6515052B2 (en) | Communication apparatus, communication system, communication method and program | |
CN111199325B (en) | Online customer service distribution method and device and electronic equipment | |
US20170208108A1 (en) | Streaming media with a server identified at runtime | |
CN114978702B (en) | Account management method, platform and system, computing device and readable storage medium | |
JP5476447B1 (en) | Transfer condition changing device, program, information providing system, and transfer condition changing method |
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: 20190301 |
|
RJ01 | Rejection of invention patent application after publication |