CN106888164A - Business datum method for routing and device under being lived a kind of strange land more - Google Patents
Business datum method for routing and device under being lived a kind of strange land more Download PDFInfo
- Publication number
- CN106888164A CN106888164A CN201510932975.2A CN201510932975A CN106888164A CN 106888164 A CN106888164 A CN 106888164A CN 201510932975 A CN201510932975 A CN 201510932975A CN 106888164 A CN106888164 A CN 106888164A
- Authority
- CN
- China
- Prior art keywords
- data center
- opposite end
- end data
- configuration information
- routing configuration
- 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
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/12—Shortest path evaluation
- H04L45/121—Shortest path evaluation by minimising delays
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/12—Shortest path evaluation
- H04L45/122—Shortest path evaluation by minimising distances, e.g. by selecting a route with minimum of number of hops
Abstract
The application is related to data route technology field, lower business datum method for routing and device living more than more particularly to a kind of strange land, and wherein method according to business including determining all currently available opposite end data centers;Obtain the routing configuration information of local data center and all currently available opposite end data centers;The time delay of the local data center and all currently available opposite end data centers is calculated according to the routing configuration information;The less opposite end data center of selection time delay carries out the transmission of business datum.The device formed using the method can be integrated in gateway or in other route devices.By the method and device of the embodiment of the present application, the transmission and treatment of business datum are carried out with the species for business or the minimum opposite end data center of type selecting time delay, it is possible thereby to bring faster velocity process business datum, improve the handling capacity of Business Processing.
Description
Technical field
The application is related to data route technology field, it is living more than more particularly to a kind of strange land under business datum method for routing and device.
Background technology
Data transfer between big data epoch, each data center in strange land faces very big challenge, according to measuring and calculating, in China
In the range of, the data transfer maximum delay of long range is likely to be breached 100 milliseconds, and this may be only several for whole link total time-consuming
For hundred milliseconds of business, it will the throughput of strong influence system.
The technical schemes such as routing optimality of the prior art are to be optimized in the road of route, can not fundamentally solve mesh
Mark data center hypertelorism, causes the problem of transmission delay, and, some schemes of the prior art are largely relied on
In artificial adjustment, underaction and easily error, and with certain hysteresis quality.
The content of the invention
In order to solve to transmit between strange land data center in the prior art latency issue during data, the embodiment of the present application provides one
Lower business datum method for routing and device living more than kind of strange land, can according to local data center and multiple target data centers away from
From, choice of dynamical is closest and available target data center, such that it is able to flexible scheduling business datum flow to the low coverage
From target data center, reach reduce time delay purpose.
The embodiment of the present application specifically provide it is living more than a kind of strange land under business datum method for routing, including,
All currently available opposite end data centers are determined according to business;
Obtain the routing configuration information of local data center and all currently available opposite end data centers;
The local data center and all currently available opposite end data centers are calculated according to the routing configuration information
Time delay;
The less opposite end data center of selection time delay carries out the transmission of business datum.
The embodiment of the present application additionally provide it is living more than a kind of strange land under business datum route device, including,
Determining unit, for determining all currently available opposite end data centers according to business;
Acquiring unit, believes for obtaining local data center with the routing configuration of all currently available opposite end data centers
Breath;
Computing unit, it is all currently available right with described for calculating the local data center according to the routing configuration information
The time delay at end data center;
Processing unit, for selecting the less opposite end data center of time delay to carry out the transmission of business datum.
The technical scheme provided from above the embodiment of the present application, species or the type selecting time delay that can be directed to business is minimum
Opposite end data center carry out the transmission and treatment of business datum, it is possible thereby to bring faster velocity process business datum, improve
The handling capacity of Business Processing, and whether the opposite end data center of configuration service treatment can automatically update (available state),
The situation of the artificial opposite end data center for selecting processing business is avoided, cost of human resources is saved.
Certainly any product or method for implementing the application must be not necessarily required to while reaching all the above advantage.
Brief description of the drawings
In order to illustrate more clearly of the embodiment of the present application or technical scheme of the prior art, below will be to embodiment or prior art
The accompanying drawing to be used needed for description is briefly described, it should be apparent that, drawings in the following description are only note in the application
Some embodiments for carrying, for those of ordinary skill in the art, without having to pay creative labor, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 show it is living more than a kind of strange land of the embodiment of the present application under business datum method for routing flow chart;
Fig. 2 show it is living more than a kind of strange land of the embodiment of the present application under business datum route device structural representation;
Fig. 3 show it is living more than a kind of strange land of the embodiment of the present application under business datum method for routing particular flow sheet;
Fig. 4 show the system construction drawing of many live data central distributions in the embodiment of the present application strange land;
Fig. 5 show the method flow diagram of the embodiment of the present application real-time update routing configuration information;
Fig. 6 show it is living more than the embodiment of the present application another kind strange land under business datum method for routing particular flow sheet.
Specific embodiment
Business datum method for routing and device under being lived a kind of strange land of the embodiment of the present application offer more.
In order that those skilled in the art more fully understand the technical scheme in the application, below in conjunction with the embodiment of the present application
Accompanying drawing, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that described embodiment is only
It is some embodiments of the present application, rather than whole embodiments.Based on the embodiment in the application, ordinary skill people
The every other embodiment that member is obtained under the premise of creative work is not made, should all belong to the scope of the application protection.
It is as shown in Figure 1 the flow chart of the business datum method for routing under living more than a kind of strange land of the embodiment of the present application, in the present embodiment
The data center of middle multiple mechanisms is located at different regions, and the data center A of such as mechanism A is located at Beijing, one of mechanism B
Data center B1 is located at Shanghai, and another data center B2 is located at Hong Kong, and the data center A of mechanism A is due to certain business need
Business Processing is carried out with the data center of mechanism B, data center A may be with the data center B of mechanism B in the prior art
1 transmission for carrying out business datum, it is also possible to which the data center B2 with mechanism B carries out the transmission of business datum, if with distance compared with
Remote data center B2 transmission data, then may be due to away from the time delay for causing to transmit data too far away, it is therefore desirable to by following
Step carries out data transmission selecting suitable target data center:
Step 101 is specifically included, all currently available opposite end data centers are determined according to business.
Step 102, obtains the routing configuration information of local data center and all currently available opposite end data centers.
Step 103, the local data center and all currently available opposite end numbers are calculated according to the routing configuration information
According to the time delay at center.
Step 104, the less opposite end data center of selection time delay carries out the transmission of business datum.
It is all with described the local data center is calculated according to the routing configuration information according to one embodiment of the application
The time delay of currently available opposite end data center is further included, according in the routing configuration information calculating local data
The distance of the heart and all currently available opposite end data centers;
The transmission for carrying out business datum in selection time delay less opposite end data center further includes, nearer right of chosen distance
End data center carries out the transmission of business datum.
In above-mentioned steps, because the network between data center is essentially all special line or the larger backbone network of bandwidth, so
The topmost source of time delay between local data center and the data center in strange land is exactly the distance between two places, therefore with
The distance between Liang Ge data centers can carry out business data transmission as criterion between substantial amounts of reduction data center
Time delay, such that it is able to the processing speed of business is greatly improved.
Calculate between local data center and opposite end data center apart from when, can obtain local several in routing configuration information
According to the gps coordinate (can be obtained by GPS module) at center, the gps coordinate of opposite end data center, calculate point-to-point transmission away from
From;Or can also be by the latitude and longitude information (latitude and longitude information for prestoring) of local data center, opposite end data center
Latitude and longitude information, calculate point-to-point transmission distance;Or can also otherwise calculate the distance between Liang Ge data centers
Will not be repeated here.
It is all with described the local data center is calculated according to the routing configuration information according to one embodiment of the application
The time delay of currently available opposite end data center further includes, by network detection means calculate the local data center with
The time delay of all currently available opposite end data centers, for example the local data center using ping orders detect and
The time delay of all currently available opposite end data centers.
According to one embodiment of the application, also include, send special to all opposite end data centers according to the routing configuration information
Fixed business datum;Service processing result according to each opposite end data center marks correspondence opposite end in the routing configuration information
The state of data center.
In this step, the specific business datum for example can be to specific account import 1 point, or from A accounts to
1 point of B account transfers.
According to one embodiment of the application, marked in the routing configuration information according to service processing result all to end data
The state at center is further included, if the time of the Business Processing, more than a threshold values, marks the shape of corresponding opposite end data center
State is down state, and the state for otherwise marking corresponding opposite end data center is upstate.
By the method for this step, whether the available state of all opposite end data centers can be in real time updated, so as to update route
Configuration information, to be further ensured that the time of Business Processing.
According to one embodiment of the application, specific industry is being sent to all opposite end data centers according to the routing configuration information
Business data are further included, sent specifically to all opposite end data centers with the cycle for setting according to the routing configuration information
Business datum.
In this step, can be to send specific business datum to all opposite end data centers in the cycle with one day, or with one week
For the cycle sends specific business datum to all opposite end data centers, or with other time (such as per minute or several second)
For the cycle sends specific business datum to all opposite end data centers.
It is all with described the local data center is calculated according to the routing configuration information according to one embodiment of the application
The time delay of currently available opposite end data center is further included, according to the shape of opposite end data center in the routing configuration information
State, calculates the time delay of the local data center and the described all currently available opposite end data center of upstate.
According to one embodiment of the application, also enter in the transmission that the less opposite end data center of selection time delay carries out business datum
One step includes, when the time delay for having multiple opposite end data centers is smaller, is entered to the multiple opposite end data center according to preset weight
The transmission of row business datum.
In this step, if the time delay of multiple opposite end data centers and local data center is all smaller, can be by business number
It is transmitted according to being divided into many parts.
It is all with described the local data center is calculated according to the routing configuration information according to one embodiment of the application
The distance of currently available opposite end data center is further included, according to the shape of opposite end data center in the routing configuration information
State, calculates the distance of the local data center and the described all currently available opposite end data center of upstate.
According to one embodiment of the application, also enter in the transmission that the nearer opposite end data center of chosen distance carries out business datum
One step includes, when there is the closer to the distance of multiple opposite end data centers, is entered to the multiple opposite end data center according to preset weight
The transmission of row business datum.
In this step, if the distance of multiple opposite end data centers and local data center is all nearer, can be by business number
It is transmitted according to being divided into many parts.Such case is primarily directed to the situation for having multiple opposite end data centers in same city.
By the method for above-mentioned the embodiment of the present application, can be directed to business species or type selecting time delay it is minimum to end data
Center carries out the transmission and treatment of business datum, it is possible thereby to bring faster velocity process business datum, improves Business Processing
Handling capacity, and whether the opposite end data center of configuration service treatment can automatically update (available state), it is to avoid people
To select the situation of the opposite end data center of processing business, cost of human resources is saved.
Be illustrated in figure 2 it is living more than a kind of strange land of the embodiment of the present application under business datum route device structural representation, in this reality
Apply and the function of described device can be realized by gateway in example, or corresponding function is performed by single server, the device is put
In local data center, specifically include:
Determining unit 201, for determining all currently available opposite end data centers according to business.
Acquiring unit 202, the routing configuration for obtaining local data center and all currently available opposite end data centers
Information.
Computing unit 203, it is all currently available with described for calculating the local data center according to the routing configuration information
Opposite end data center time delay.
Processing unit 204, for selecting the less opposite end data center of time delay to carry out the transmission of business datum.
According to one embodiment of the application, the computing unit 203 is further used for, and is calculated according to the routing configuration information
The distance of the local data center and all currently available opposite end data centers;
The processing unit 204 is further used for, and the nearer opposite end data center of chosen distance carries out the transmission of business datum.
According to one embodiment of the application, the computing unit 203 is further used for, and calculates described by network detection means
The time delay of local data center and all currently available opposite end data centers.
According to one embodiment of the application, also including updating block 205, for according to the routing configuration information to all right
End data center sends specific business datum;Service processing result according to each opposite end data center is believed in the routing configuration
The state of correspondence opposite end data center is marked in breath.
According to one embodiment of the application, the updating block 205 is further used for, if the time of the Business Processing exceedes
One threshold values, then mark the state of corresponding opposite end data center for down state, otherwise marks the state of corresponding opposite end data center
It is upstate.
According to one embodiment of the application, the updating block 205 is further used for, according to the routing configuration information setting
The fixed cycle sends specific business datum to all opposite end data centers.
According to one embodiment of the application, the computing unit 203 is further used for, according to right in the routing configuration information
The state at end data center, calculates the described all currently available opposite end data center of the local data center and upstate
Time delay.
According to one embodiment of the application, the computing unit 203 is further used for, when there is prolonging for multiple opposite end data centers
When it is smaller, the transmission of business datum is carried out to the multiple opposite end data center according to preset weight.
According to one embodiment of the application, the computing unit 203 is further used for, according to right in the routing configuration information
The state at end data center, calculates the described all currently available opposite end data center of the local data center and upstate
Distance.
According to one embodiment of the application, the computing unit 203 is further used for, when have multiple opposite end data centers away from
Close to, the transmission of business datum is carried out to the multiple opposite end data center according to preset weight.
By the device of above-mentioned the embodiment of the present application, can be directed to business species or type selecting time delay it is minimum to end data
Center carries out the transmission and treatment of business datum, it is possible thereby to bring faster velocity process business datum, improves Business Processing
Handling capacity, and whether the opposite end data center of configuration service treatment can automatically update (available state), it is to avoid people
To select the situation of the opposite end data center of processing business, cost of human resources is saved.
Be illustrated in figure 3 it is living more than a kind of strange land of the embodiment of the present application under business datum method for routing particular flow sheet, in this reality
Apply in example using the distance of data center as the Rule of judgment for reducing transmission services data delay between data center, specific system knot
During structure is as shown in figure 4, be the system construction drawing of many live data central distributions in the embodiment of the present application strange land, including a local data
Heart A is located at Hangzhou, also including business executing agency B, opposite end data center B1, B2 and B is included in business executing agency B
3, wherein data center B1 and B2 are located at same city (being located at Shanghai) or two data centre distances are approached, data
Center B3 is located at Xinjiang, needs when local data center will carry out the business for for example withholing the bank account of user to withhold
Business datum sends data center B1, B2 or B3 to, and above-mentioned 3 data centers can complete the business, generally with user
The foundation of the Bank Account Number alternatively business executing agency B registered in account, such as Bank Account Number are industrial and commercial bank, then select
The data center of industrial and commercial bank carries out related service, if Bank Account Number is Construction Bank, selects the data center of Construction Bank
Carry out related service.
Step 301 is specifically included, routing configuration information is configured in local data center.
Wherein, the routing configuration information of local data center includes the IP address of all opposite end data centers, all to end data
The longitude and latitude at center, the state of all opposite end data centers, the weights (shunting during for position) of all opposite end data centers.
Wherein opposite end data center not only includes all data centers of above-mentioned business executing agency B, also including other business executing agencies
Data center.In the present embodiment, the state of data center B1, B2 and B3 is all upstate.
Step 302, when the gateways and starting of local data center, by institute it is stateful for available routing configuration information be loaded into it is logical
In letter route pond (namely in the caching of gateway).
Step 303, according to determining all currently available data centers the need for business.
In this step by taking the business of withholing as an example, if necessary to be withholdd to the user's Bank Account Number for belonging to business executing agency B, then
Need data center's B1, B2 and B3 treatment in business executing agency B, all currently available number for now determining
Include data center B1, B2 and B3 according to center, if also including the data for the treatment of money transfer transactions in business executing agency B certainly
Center B4 (not shown), now according to business (business of withholing), it is also possible to by data center B4 (may treatment transfer accounts etc. it
The data center of its business) exclude, or business executing agency C similarly includes multiple data centers, but this business is only
Need business executing agency B to perform business of withholing, then exclude the data center of unrelated business executing agency C.
It is determined here that currently available data center can have business and its corresponding data center's list to carry out by record, or
Person can belong to which business executing agency is screened for the first time by identifying user Bank Account Number, then by industry of specifically withholing
Which data center business corresponds to determine all currently available data centers.
Step 304, obtains the routing configuration information of local data center and all currently available opposite end data centers.
In this step, all currently available opposite end data center for being obtained according to above-mentioned steps 303, i.e. data center B1,
B2 and B3, obtains the routing configuration information of data center B1, B2 and B3 from the route pond in gateway caches.It is wherein local
The routing configuration information of data center can be stored separately in the caching of the gateway, or is also equally deposited with other data centers
It is stored in route pond.
Step 305, local data center and the currently available opposite end data center are calculated according to the routing configuration information
Distance.
In this step, the longitude and latitude according to data center in routing configuration information carry out calculate local data center with to end data
The air line distance at center, for example, calculate the air line distance of data center A and data center B1, data center A and data center B
2 air line distance, the air line distance of data center A and data center B3.
Step 306, according to the above-mentioned air line distance for calculating, the nearest opposite end data center of selection air line distance.
In this step, according to foregoing setting, because data center B1 and B2 are all located at same city, therefore and data
The distance of center A is equal, the distance of data center A and data center B1, the distance phase of data center A and data center B2
Compare that data center A is closest with data center B3, therefore selection data center B1 and B2 is used as selected number of targets
According to center;Or, if data center B1 and data center B2 be in same city, can only calculate a secondary data in
Heart A and the distance of data center B1 (or data center B2), can so reduce amount of calculation.
Step 307, the weights distribution business datum in routing configuration information.
In this example, the weights of data center B1 are 0.8, and the weights of data center B2 are 0.2, according to the weights of the setting
Distribution is withholdd business, the business datum of withholing (80%) of the overwhelming majority is allocated into data center's B1 treatment, and fraction is withholdd
Business datum (20%) is allocated to data center's B2 treatment.The weights can be by technical staff according to data center B1 and B2
The factors such as performance, network condition set.
If not having multiple data centers in same city or place, power can be added in routing configuration information again
Value content.
It is optional step that this step carries out the distribution of business datum flow according to weight, can not during data center in only one of which opposite end
Carry out this step, or in the case of multiple opposite end data centers, can with mean allocation business datum flow, without carry out by
The step of according to weight distribution business datum flow.
According to above-mentioned task be respectively transmitted business datum to data center by step 308, the gateway of local data center A
B1 and B2.
By above-mentioned embodiments herein, it is to avoid transmit business datum to range data center A far data center B3,
The response time of Business Processing is improve, and can automatically update routing configuration information, such that it is able to dynamic select distance most
Near opposite end data center, improves the handling capacity of Business Processing.
The method flow diagram of the embodiment of the present application real-time update routing configuration information is illustrated in figure 5, in the present embodiment with reference to upper
The embodiment of Fig. 3 is stated, optimization function can be played in the step of selecting all currently available opposite end data centers, can not
Rejected with the data center of state, the problem of traffic handling time process during avoiding follow-up business from processing.The method of the present embodiment
In can running on the gateway of above-mentioned integrated routing method, or the data constituted separately through a computer or special chip
Processing equipment completes the method in the present embodiment, and the single computer or data processing equipment sent and received by gateway
Data.
Before or after the method for the present embodiment can run on the arbitrary steps of above-mentioned embodiment illustrated in fig. 3 method, and
Whether one is set up in each business executing agency for verifying the available checking account of data center, such as in business executing agency
A Bank Account Number B is set up in B, a Bank Account Number C is set up in business executing agency C, have one in each Bank Account Number
The fixed amount of money, is verified by taking the business of withholing as an example in the present embodiment, in other embodiments in order to verify certain business phase
Whether the data center of pass can use, and can send corresponding business datum.
Step 501 being specifically included in detail in this figure, being the cycle with 10 seconds, phase is sent to all data centers related to the business of withholing
The service request of withholing answered.
In this step, business executing agency B include data center B1, B2, B3 and B4, wherein data center B1, B2 and
B3 can perform the business of withholing, and data center B4 performs transferred account service;Business executing agency C includes data center C1 and C2,
The two data centers can perform the business of withholing, thus in this step the gateway of local data center A to data center B
1st, B2, B3 send 1 point of the request of withholing of being withholdd to Bank Account Number B, to data center's C1 and C2 transmission to Bank Account Number C
Withhold 1 point of request of withholing.
Step 502, judges whether the result of the data center is have received in 1 minute, and step is entered if receiving
Rapid 503, otherwise into step 504.
In this step, simply illustrate within 1 minute, can as needed set other time threshold value.Due to data center's treatment
Not only include that local data center, to the business data transmission time delay of opposite end data center, further comprises opposite end number during business datum
According to the time of center processing business datum.
In the present embodiment, data center B1 and B2 has fed back implementing result of withholing, data center B3 to local data center A
Implementing result of withholing is not fed back to local data center A at the appointed time, data center C1 and C2 is to local data center A
Implementing result of withholing is fed back.
Step 503, sets the data center B1 and B2 for returning to result, in data center's C1 and C2 routing configuration information
State be upstate.
Step 504, it is down state to set without the state in the data center's B3 routing configuration informations for returning to result.
Step 505, the gateway caches to local data center A refresh, and update routing configuration information.
Availability of the return to step 501 repeatedly to all data centers verify, real-time update routing configuration information, Ke Yicong
Verify which data center is upstate for which business in the angle of Business Processing, which is down state,
So as to improve the accuracy of selection opposite end data center, it is to avoid business produces the feelings of time delay due to the problem of opposite end data center
Condition.
Be illustrated in figure 6 the particular flow sheet of business datum method for routing living lower more than the embodiment of the present application another kind strange land,
There are two local data center A1 and A2 in embodiment, business executing agency B is identical with embodiment illustrated in fig. 4, or
Illustrated as a example by withholing, unlike the present embodiment with the Rule of judgment of network delay alternatively opposite end data center.
Step 601 is specifically included, routing configuration information is configured in local data center.
Wherein, the routing configuration information of local data center includes the IP address of all opposite end data centers, all to end data
The state at center, the weights (shunting during for position) of all opposite end data centers.Wherein opposite end data center not only wraps
All data centers of above-mentioned business executing agency B are included, also including the data center of other business executing agencies.In the present embodiment
In, the state of data center B1, B2 and B3 is all upstate.
In this example, after to local data center A1 configuration routing configuration informations, the sheet related to local data center A1
Ground data center A2 can be by database synchronization technology, synchronous configuration identical routing configuration information.
Step 602, when the gateways and starting of local data center, by institute it is stateful for available routing configuration information be loaded into it is logical
In letter route pond (namely in the caching of gateway).
Step 603, according to determining all currently available data centers the need for business.
Step 604, obtains the routing configuration information of local data center and all currently available opposite end data centers.
Step 605, local data center and the currently available opposite end data center are calculated according to the routing configuration information
Time delay.
In this example, time delay between the two can be calculated by the ping values of local data center and opposite end data center,
Such as data center A1 according to the IP address of data center B1 in routing configuration information, carry out ping orders calculate both it
Between time delay, data center A1 is also calculated and the time delay between data center B2 and B3, at data center B1 and B2
In same city, therefore delay difference very little between the two, thus withholdd data center B1 and B2 as transmission business number
According to opposite end data center, data center A2 can also respectively calculate and data center B according to the synchronous routing configuration information that obtain
1st, the time delay between B2 and B3, or data center A2 directly obtain that data center A1 is calculated with other data centers
Between time delay as data center A2 time delay.
Step 606, according to the above-mentioned time delay for calculating, the less opposite end data center of selection time delay.
In the present embodiment, the time delay of local data center A1 and data center B1 and B2 is smaller, therefore determines to the two
Data center sends business datum of withholing, and same local data center A2 is also determined to the two data centers (B1 and B2)
Transmission is withholdd business datum.
Step 607, the weights distribution business datum in routing configuration information.
According to above-mentioned task be respectively transmitted business datum to number by step 608, the gateway of local data center A1 and A2
According to center B1 and B2.
By the method and device in above-mentioned the embodiment of the present application, it is to avoid to the opposite end very high with the time delay of local range data center
Data center transmits business datum, improves the response time of Business Processing, and can automatically update routing configuration information,
Such that it is able to the opposite end data center that dynamic select time delay is minimum, the handling capacity of Business Processing is improve.
Can clearly be distinguished for the improvement of a technology is improvement on hardware (for example, to diode, transistor, opening
Close etc. circuit structure improvement) or software on improvement (for the improvement of method flow).However, with the development of technology,
The improvement of current many method flows can be considered as directly improving for hardware circuit.Designer nearly all passes through will
Improved method flow is programmed into hardware circuit to obtain corresponding hardware circuit.Therefore, it cannot be said that a method flow
Improvement cannot be realized with hardware entities module.For example, PLD (Programmable Logic Device,
PLD) (such as field programmable gate array (Field Programmable Gate Array, FPGA)) is exactly such a collection
Into circuit, its logic function is determined by user to device programming.Voluntarily programmed by designer a digital display circuit " collection
Into " on a piece of PLD, without asking chip maker to design and make special IC chip 2.And,
Nowadays, substitution manually makes IC chip, and this programming is also used instead " logic compiler (logic compiler) " mostly
Software realizes that when it writes with program development software compiler used is similar, and source code before compiling is also
Write with specific programming language, this is referred to as hardware description language (Hardware Description Language, HDL),
And HDL is also not only a kind of, but there are many kinds, such as ABEL (Advanced Boolean Expression Language),
AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University
Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、
MyHDL, PALASM, RHDL (Ruby Hardware Description Language) etc., most commonly use at present
It is VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog2.
Those skilled in the art also will be apparent to the skilled artisan that and only need to above-mentioned several hardware description languages slightly programming in logic and compile method flow
Journey is in integrated circuit, it is possible to be readily available the hardware circuit for realizing the logical method flow.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processor and
Storage can by the computer-readable medium of the computer readable program code (such as software or firmware) of (micro-) computing device,
Gate, switch, application specific integrated circuit (Application Specific Integrated Circuit, ASIC), FPGA
The form of controller and embedded microcontroller, the example of controller includes but is not limited to following microcontroller:ARC 625D、Atmel
AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320, Memory Controller can also quilt
It is embodied as a part for the control logic of memory.
It is also known in the art that in addition to realizing controller in pure computer readable program code mode, completely can be with
Cause controller with gate, switch, application specific integrated circuit, FPGA control by the way that method and step is carried out into programming in logic
Device processed realizes identical function with the form of embedded microcontroller etc..Therefore this controller is considered a kind of Hardware Subdivision
Part, and the device for realizing various functions to including in it can also be considered as the structure in hardware component.Or even, can
Not only can be the software module of implementation method but also can be knot in hardware component will be used to realizing that the device of various functions to be considered as
Structure.
System, device, module or unit that above-described embodiment is illustrated, can specifically be realized by computer chip or entity, or
Realized by the product with certain function.
For convenience of description, it is divided into various units with function during description apparatus above to describe respectively.Certainly, the application is being implemented
When the function of each unit can be realized in same or multiple softwares and/or hardware.
As seen through the above description of the embodiments, those skilled in the art can be understood that the application can be by soft
Part adds the mode of required general hardware platform to realize.Based on such understanding, the technical scheme of the application is substantially in other words
The part contributed to prior art can be embodied in the form of software product, and the computer software product can be stored
In storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are used to so that computer equipment (can be with
It is personal computer, server, or network equipment etc.) perform some part institutes of each embodiment of the application or embodiment
The method stated.
Each embodiment in this specification is described by the way of progressive, and identical similar part is mutual between each embodiment
Referring to what each embodiment was stressed is the difference with other embodiment.Especially for system embodiment
Speech, because it is substantially similar to embodiment of the method, so description is fairly simple, referring to the part of embodiment of the method in place of correlation
Illustrate.
The application can be used in numerous general or special purpose computing system environments or configuration.For example:Personal computer, server
Computer, handheld device or portable set, laptop device, multicomputer system, the system based on microprocessor, top set
Box, programmable consumer-elcetronics devices, network PC, minicom, mainframe computer, including any of the above system or equipment
DCE etc..
The application can be described in the general context of computer executable instructions, such as program module.
Usually, program module include performing particular task or realize the routine of particular abstract data type, program, object, component,
Data structure etc..The application can also be in a distributed computing environment put into practice, in these DCEs, by passing through
Communication network and connected remote processing devices perform task.In a distributed computing environment, program module may be located at bag
Storage device is included in interior local and remote computer-readable storage medium.
Although depicting the application by embodiment, it will be appreciated by the skilled addressee that the application have it is many deformation and change and
Spirit herein is not departed from, it is desirable to which appended claim includes these deformations and changes without deviating from spirit herein.
Claims (20)
1. the business datum method for routing under being lived a kind of strange land more, it is characterised in that including,
All currently available opposite end data centers are determined according to business;
Obtain the routing configuration information of local data center and all currently available opposite end data centers;
The local data center and all currently available opposite end data centers are calculated according to the routing configuration information
Time delay;
The less opposite end data center of selection time delay carries out the transmission of business datum.
2. method according to claim 1, it is characterised in that calculating described local according to the routing configuration information
Data center further includes with the time delay of all currently available opposite end data centers, according to the routing configuration information
Calculate the distance of the local data center and all currently available opposite end data centers;
The transmission for carrying out business datum in selection time delay less opposite end data center further includes, nearer right of chosen distance
End data center carries out the transmission of business datum.
3. method according to claim 1, it is characterised in that calculating described local according to the routing configuration information
Data center is further included with the time delay of all currently available opposite end data centers, is calculated by network detection means
The time delay of the local data center and all currently available opposite end data centers.
4. method according to claim 1 and 2, it is characterised in that also include, according to the routing configuration information to
All opposite end data centers send specific business datum;Service processing result according to each opposite end data center is in the route
The state of correspondence opposite end data center is marked in configuration information.
5. method according to claim 4, it is characterised in that according to service processing result in the routing configuration information
The state of the middle all opposite end data centers of mark is further included, if the time of the Business Processing, more than a threshold values, marks phase
The state at reply end data center is down state, and the state for otherwise marking corresponding opposite end data center is upstate.
6. method according to claim 5, it is characterised in that according to the routing configuration information to all opposite end numbers
Specific business datum is sent according to center to further include, according to the routing configuration information with cycle for setting to all opposite ends
Data center sends specific business datum.
7. method according to claim 4, it is characterised in that calculating described local according to the routing configuration information
Data center further includes with the time delay of all currently available opposite end data centers, according to the routing configuration information
The state of middle opposite end data center, calculates the described all currently available to end data of the local data center and upstate
The time delay at center.
8. method according to claim 7, it is characterised in that industry is entered by less opposite end data center in selection time delay
Still further comprised in the transmission of data of being engaged in, when the time delay for there are multiple opposite end data centers is smaller, according to preset weight to described
Multiple opposite end data centers carry out the transmission of business datum.
9. method according to claim 4, it is characterised in that calculating described local according to the routing configuration information
Data center further includes with the distance of all currently available opposite end data centers, according to the routing configuration information
The state of middle opposite end data center, calculates the described all currently available to end data of the local data center and upstate
The distance at center.
10. method according to claim 9, it is characterised in that industry is entered by nearer opposite end data center in chosen distance
Still further comprised in the transmission of data of being engaged in, when there is the closer to the distance of multiple opposite end data centers, according to preset weight to described
Multiple opposite end data centers carry out the transmission of business datum.
Business datum route device under being lived a kind of 11. strange lands more, it is characterised in that including,
Determining unit, for determining all currently available opposite end data centers according to business;
Acquiring unit, believes for obtaining local data center with the routing configuration of all currently available opposite end data centers
Breath;
Computing unit, it is all currently available right with described for calculating the local data center according to the routing configuration information
The time delay at end data center;
Processing unit, for selecting the less opposite end data center of time delay to carry out the transmission of business datum.
12. devices according to claim 11, it is characterised in that the computing unit is further used for, according to described
Routing configuration information calculates the distance of the local data center and all currently available opposite end data centers;
The processing unit is further used for, and the nearer opposite end data center of chosen distance carries out the transmission of business datum.
13. devices according to claim 11, it is characterised in that the computing unit is further used for, by network
Detection means calculate the time delay of the local data center and all currently available opposite end data centers.
14. device according to claim 11 or 12, it is characterised in that also including updating block, for according to described
Routing configuration information sends specific business datum to all opposite end data centers;According to the Business Processing of each opposite end data center
Result marks the state of correspondence opposite end data center in the routing configuration information.
15. devices according to claim 14, it is characterised in that the updating block is further used for, if the industry
The time for processing be engaged in more than a threshold values, then mark the state of corresponding opposite end data center for down state, otherwise mark and mutually tackle
The state at end data center is upstate.
16. devices according to claim 15, it is characterised in that the updating block is further used for, according to described
Routing configuration information sends specific business datum with the cycle for setting to all opposite end data centers.
17. devices according to claim 14, it is characterised in that the computing unit is further used for, according to described
The state of opposite end data center in routing configuration information, calculates the local data center and currently may be used with the described all of upstate
The time delay of opposite end data center.
18. devices according to claim 17, it is characterised in that the computing unit is further used for, when there is multiple
The time delay of opposite end data center is smaller, carries out the transmission of business datum to the multiple opposite end data center according to preset weight.
19. devices according to claim 14, it is characterised in that the computing unit is further used for, according to described
The state of opposite end data center in routing configuration information, calculates the local data center and currently may be used with the described all of upstate
The distance of opposite end data center.
20. devices according to claim 19, it is characterised in that the computing unit is further used for, when there is multiple
Opposite end data center it is closer to the distance, the transmission of business datum is carried out to the multiple opposite end data center according to preset weight.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510932975.2A CN106888164A (en) | 2015-12-15 | 2015-12-15 | Business datum method for routing and device under being lived a kind of strange land more |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510932975.2A CN106888164A (en) | 2015-12-15 | 2015-12-15 | Business datum method for routing and device under being lived a kind of strange land more |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106888164A true CN106888164A (en) | 2017-06-23 |
Family
ID=59174920
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510932975.2A Pending CN106888164A (en) | 2015-12-15 | 2015-12-15 | Business datum method for routing and device under being lived a kind of strange land more |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106888164A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108023816A (en) * | 2017-11-20 | 2018-05-11 | 中国银行股份有限公司 | Optimal the message routing determining method of path and device of cross-border interbank |
CN109547515A (en) * | 2017-09-22 | 2019-03-29 | 阿里巴巴集团控股有限公司 | A kind of service calling method and relevant device |
CN110177007A (en) * | 2019-04-16 | 2019-08-27 | 平安科技(深圳)有限公司 | Realize gateway strange land method, apparatus, computer equipment and storage medium mostly living |
CN110433487A (en) * | 2019-08-08 | 2019-11-12 | 腾讯科技(深圳)有限公司 | A kind of method and relevant apparatus of traffic resource assignment |
CN110809064A (en) * | 2019-09-05 | 2020-02-18 | 连连银通电子支付有限公司 | IP address switching method, device and system |
CN111447143A (en) * | 2020-03-31 | 2020-07-24 | 苏宁云计算有限公司 | Business service data transmission method and device, computer equipment and storage medium |
CN113364691A (en) * | 2021-05-31 | 2021-09-07 | 广州趣丸网络科技有限公司 | Data interaction system, method, equipment and storage medium |
CN113630317A (en) * | 2021-07-28 | 2021-11-09 | 星辰天合(北京)数据科技有限公司 | Data transmission method and device, nonvolatile storage medium and electronic device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101325552A (en) * | 2008-08-01 | 2008-12-17 | 杭州华三通信技术有限公司 | Triangle forwarding method for access request and GLB server |
CN102782670A (en) * | 2010-03-12 | 2012-11-14 | 微软公司 | Memory cache data center |
CN103414657A (en) * | 2013-08-22 | 2013-11-27 | 浪潮(北京)电子信息产业有限公司 | Cross-data-center resource scheduling method, super scheduling center and system |
CN104394441A (en) * | 2014-11-27 | 2015-03-04 | 北京奇艺世纪科技有限公司 | Video content distribution scheduling method, device and system |
CN105141517A (en) * | 2015-10-13 | 2015-12-09 | 重庆邮电大学 | Flexible optical network anycast business energy-saving routing method based on resource perception |
-
2015
- 2015-12-15 CN CN201510932975.2A patent/CN106888164A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101325552A (en) * | 2008-08-01 | 2008-12-17 | 杭州华三通信技术有限公司 | Triangle forwarding method for access request and GLB server |
CN102782670A (en) * | 2010-03-12 | 2012-11-14 | 微软公司 | Memory cache data center |
CN103414657A (en) * | 2013-08-22 | 2013-11-27 | 浪潮(北京)电子信息产业有限公司 | Cross-data-center resource scheduling method, super scheduling center and system |
CN104394441A (en) * | 2014-11-27 | 2015-03-04 | 北京奇艺世纪科技有限公司 | Video content distribution scheduling method, device and system |
CN105141517A (en) * | 2015-10-13 | 2015-12-09 | 重庆邮电大学 | Flexible optical network anycast business energy-saving routing method based on resource perception |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109547515A (en) * | 2017-09-22 | 2019-03-29 | 阿里巴巴集团控股有限公司 | A kind of service calling method and relevant device |
CN108023816A (en) * | 2017-11-20 | 2018-05-11 | 中国银行股份有限公司 | Optimal the message routing determining method of path and device of cross-border interbank |
CN110177007A (en) * | 2019-04-16 | 2019-08-27 | 平安科技(深圳)有限公司 | Realize gateway strange land method, apparatus, computer equipment and storage medium mostly living |
CN110177007B (en) * | 2019-04-16 | 2022-03-18 | 平安科技(深圳)有限公司 | Method, device, computer equipment and storage medium for realizing gateway multi-place multi-activity |
CN110433487A (en) * | 2019-08-08 | 2019-11-12 | 腾讯科技(深圳)有限公司 | A kind of method and relevant apparatus of traffic resource assignment |
CN110433487B (en) * | 2019-08-08 | 2022-01-28 | 腾讯科技(深圳)有限公司 | Method and related device for distributing service resources |
CN110809064A (en) * | 2019-09-05 | 2020-02-18 | 连连银通电子支付有限公司 | IP address switching method, device and system |
CN110809064B (en) * | 2019-09-05 | 2022-12-16 | 连连银通电子支付有限公司 | IP address switching method, device and system |
CN111447143A (en) * | 2020-03-31 | 2020-07-24 | 苏宁云计算有限公司 | Business service data transmission method and device, computer equipment and storage medium |
CN113364691A (en) * | 2021-05-31 | 2021-09-07 | 广州趣丸网络科技有限公司 | Data interaction system, method, equipment and storage medium |
CN113630317A (en) * | 2021-07-28 | 2021-11-09 | 星辰天合(北京)数据科技有限公司 | Data transmission method and device, nonvolatile storage medium and electronic device |
CN113630317B (en) * | 2021-07-28 | 2022-10-11 | 北京星辰天合科技股份有限公司 | Data transmission method and device, nonvolatile storage medium and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106888164A (en) | Business datum method for routing and device under being lived a kind of strange land more | |
US11395092B2 (en) | Device location verification for updated map data | |
CN109155012A (en) | Assess the accuracy of machine learning model | |
CN112866059B (en) | Lossless network performance testing method and device based on artificial intelligence application | |
CN107743153B (en) | A kind of IP address database generation method and device | |
KR20170047189A (en) | Techniques for server-controlled tiling of location-based information | |
CN105743962A (en) | End-to-end datacenter performance control | |
US20190394104A1 (en) | System and Method for Updating Application Clients Using a Plurality of Content Delivery Networks | |
CN110506259A (en) | System and method for calculate node management agreement | |
KR20170062530A (en) | Determining timing for determination of applicable geo-fences | |
RU2014132567A (en) | DEVICE AND METHODS FOR CREATING SERVICE ROUTES INSIDE THE TECHNOLOGICAL PROCESS MANAGEMENT SYSTEM | |
CN109672558B (en) | Aggregation and optimal matching method, equipment and storage medium for third-party service resources | |
CN105897845A (en) | CDN (Content Delivery Network) service node dispatching method and server | |
US20200294091A1 (en) | Method, device, and storage medium for recommending point of interest for location-based service | |
CN110443457A (en) | Data processing method and device | |
CN107645520A (en) | A kind of load-balancing method, device and system | |
CN105847380A (en) | UDP acceleration method and system in content distribution network | |
US10868868B2 (en) | Sensing data distribution system, and device and program therefor | |
CN109034819A (en) | The report method and device of transaction | |
CN103644921B (en) | It is a kind of to realize the method and apparatus that streetscape is shown | |
CN105933399A (en) | Content distribution network implementation method and system based on SDN | |
CN104994029B (en) | A kind of outbound session keeping method of balancing link load based on intelligence learning algorithm | |
JP2017033569A (en) | System and method of collecting user's feeling and activity on the basis of instant message | |
CN109543926A (en) | A kind of task checks and writes off method, mobile terminal and server | |
CN105897582A (en) | Inter-node distance measurement method and system |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170623 |