CN110474841A - The route processing method and terminal device of service request - Google Patents

The route processing method and terminal device of service request Download PDF

Info

Publication number
CN110474841A
CN110474841A CN201910813933.5A CN201910813933A CN110474841A CN 110474841 A CN110474841 A CN 110474841A CN 201910813933 A CN201910813933 A CN 201910813933A CN 110474841 A CN110474841 A CN 110474841A
Authority
CN
China
Prior art keywords
service request
service
data center
routed path
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910813933.5A
Other languages
Chinese (zh)
Other versions
CN110474841B (en
Inventor
欧创新
邵利铎
鹿慧
何激
何栋
张鹏飞
尚凌瑞
于灏
何虎鸣
邓頔
黎晋廷
李祎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
PICC PROPERTY AND CASUALTY Co Ltd
Original Assignee
PICC PROPERTY AND CASUALTY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by PICC PROPERTY AND CASUALTY Co Ltd filed Critical PICC PROPERTY AND CASUALTY Co Ltd
Priority to CN201910813933.5A priority Critical patent/CN110474841B/en
Publication of CN110474841A publication Critical patent/CN110474841A/en
Application granted granted Critical
Publication of CN110474841B publication Critical patent/CN110474841B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/302Route determination based on requested QoS
    • H04L45/306Route determination based on the nature of the carried application
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]

Abstract

The invention discloses a kind of route processing method of service request and terminal device, method includes: to receive the service request of domain name resolution server distribution, and domain name resolution server is for distributing service request to specified data center;Determine the service attribute of the service request;It inquires local routing and caches library, obtain the corresponding routed path of the service attribute, have the corresponding relationship of service attribute and routed path in the route-caching library, the routed path is used to indicate the target service unit for handling the service request of the service attribute;The service request is distributed into the specified target service unit of the routed path.It can be seen that, the corresponding relationship of the present invention service attribute and routed path by the service attribute based on service request and in the route-caching library of data center, determine the routed path of service request, it is handled so that service request is distributed to the specified target service unit of the routed path, so as to the request of more effectively processing business.

Description

The route processing method and terminal device of service request
Technical field
The present invention relates to the route processing methods and terminal device of field of terminal more particularly to a kind of service request.
Background technique
Router needs to select an optimal path that service request is sent to target service unit to handle, best road It is then routing rule that diameter is established rules really.
Routing rule is generally stored in client at present, is easy to be cleaned, and results in the need for recalculating routed path.
Therefore, a kind of route processing method of more effective service request is needed.
Summary of the invention
The purpose of the embodiment of the present invention is that providing the route processing method and terminal device of a kind of service request, can more have Effect ground handles service request.
In a first aspect, a kind of method of the route processing of service request is provided, this method comprises:
The service request of domain name resolution server distribution is received, domain name resolution server is used to advise according to default distribution Then the service request from user equipment is distributed specified into the associated data center's list of domain name resolution server Data center;
Determine the service attribute of the service request;
It inquires local routing and caches library, obtain the corresponding routed path of the service attribute, deposited in the route-caching library There is the corresponding relationship of service attribute and routed path, the routed path is used to indicate the service request for handling the service attribute Target service unit;
The service request is distributed into the specified target service unit of the routed path.
Second aspect provides a kind of terminal device, which includes:
Receiving module, for receiving the service request of domain name resolution server distribution, domain name resolution server is used for The service request from user equipment is distributed into the associated data of domain name resolution server according to default allocation rule Specified data center in heart list;
Determining module, for determining the service attribute of the service request;
Enquiry module obtains the corresponding routed path of the service attribute, the road for inquiring local routing caching library By there being the corresponding relationship of service attribute and routed path in caching library, the routed path is used to indicate the processing business category The target service unit of the service request of property;
Sending module, for the service request to be distributed to the specified target service unit of the routed path.
The third aspect provides a kind of routing processing system of service request, the system include: domain name resolution server and with The associated multiple data centers of domain name resolution server, data center include: access routing layer, route-caching component and more A business unit, in which:
Domain name resolution server obtains each industry for carrying out domain name mapping processing to service request collection to be processed The IP address of business request;Based on the IP address, the service request that the service request is concentrated is distributed into corresponding data The heart;
The access routing layer for determining the service attribute of service request, and is sent to the route-caching component;
The route-caching component determines the business category for the corresponding relationship based on service attribute and routed path The corresponding routed path of property, and it is back to the access routing layer;
The access routing layer is also used to distribute to the service request the specified target service list of the routed path Member.
Fourth aspect, provides a kind of terminal device, and the terminal device includes: processor, memory and is stored in institute The computer program that can be run on memory and on the processor is stated, when the computer program is executed by the processor The step of realizing method as described in relation to the first aspect.
5th aspect provides a kind of computer readable storage medium, stores meter on the computer readable storage medium Calculation machine program, the step of method as described in relation to the first aspect is realized when the computer program is executed by processor.
In embodiments of the present invention, pass through the service attribute based on service request and the route-caching added in data center The corresponding relationship of service attribute and routed path in library, determines the routed path of service request, and service request is distributed to institute It states the specified target service unit of routed path to be handled, so as to achieve the purpose that more effectively processing business request.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes a part of the invention, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 a is a kind of schematic diagram of application scenarios provided by the invention;
Fig. 1 is a kind of flow diagram of the route processing method for service request that one embodiment of the present of invention provides;
Fig. 2 is a kind of structural schematic diagram for terminal device that one embodiment of the present of invention provides;
Fig. 3 is a kind of structural schematic diagram of the routing processing system for service request that one embodiment of the present of invention provides;
Fig. 4 be another embodiment of the present invention provides a kind of terminal device structural schematic diagram.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Application scenarios of the invention are illustrated referring to Fig. 1.
It include: user terminal 1021a and 1022a, service process platform 104a, in which: business processing in this application scene Platform 104a includes domain name resolution server 106a, data center 1081a and 1082a.
The route processing process of service request is illustrated below:
During the route processing of service request, service process platform 104a receives user terminal 1021a and 1022a hair The service request collection sent;Each business that the domain name resolution server 106a of service process platform 104a concentrates the service request Request carries out domain name mapping processing, obtains the corresponding IP address of each service request, and is based on the IP address for each service request It distributes to corresponding data center 1081a or 1082a, data center 1081a or 1082a and the service request is handled.
Each embodiment of the invention is described in detail with reference to the accompanying drawing:
Fig. 1 is a kind of flow diagram of the route processing method for service request that one embodiment of the present of invention provides, It can be executed by the data center in Fig. 1 a, referring to Fig. 1, this method can specifically include following steps:
Step 102: receiving the service request of domain name resolution server distribution, domain name resolution server is used for according to pre- If allocation rule distributes the service request from user equipment to the associated data center's list of domain name resolution server In specified data center.
Wherein, the preset allocation rule includes:
Domain name resolution server carries out domain name mapping processing to service request, obtains the IP address of the service request;
Based on the IP address, the service request is distributed to specified data center.
It should be noted that before step 102, method further includes service request allocation step, the step referring to Fig. 3 A kind of implementation can be with are as follows:
It is right respectively when domain name resolution server gets the first service request, the second service request and third service request First service request, the second service request and the corresponding domain name of third service request are parsed, and are respectively obtained the first business and are asked It asks, the second service request and the corresponding Internet protocol address of third service request (Internet ProtocolAddress, IP Address), and the IP address based on the first service request distributes the first service request to first object data center, is based on second The IP address of service request distributes the second service request to the second target data center, the IP address based on third service request Third service request is distributed to first object data center.
Step 104: determining the service attribute of the service request.
Wherein, the service attribute includes: at least one of authority identity identification number ID, User ID and Customer ID.
It should be noted that a kind of implementation of step 104 can be with are as follows:
The service request is parsed, the service attribute of the service request is obtained.
Assuming that the service request that domain name resolution server distributes to data center includes: the first service request, the second business Request and third service request, referring to Fig. 3, then step 104 specifically can be exemplified are as follows:
The access routing layer of first object data center receive domain name resolution server distribution the first service request and After third service request, first first service request is parsed, obtains the service attribute of first service request: One mechanism ID and the first User ID, then the third service request is parsed, obtain the business of the third service request Attribute: third mechanism ID and third User ID;The access routing layer at the second target data center receives domain name resolution server After second service request of distribution, the second service request is parsed, the service attribute of the second service request: the second machine is obtained Structure ID and second user ID.
It, can service attribute that is more flexible, effectively determining service request based on this.
Step 106: inquiry local routing caches library, obtains the corresponding routed path of the service attribute, and the routing is slow There is the corresponding relationship of service attribute and routed path in warehousing, the routed path is used to indicate the processing service attribute The target service unit of service request.
Wherein, the routed path includes: the mark of business unit and the mark of affiliated data center.
It should be noted that step 106 specifically can be exemplified referring to Fig. 3 are as follows:
Example 1:
What the access routing layer that the route-caching library of first object data center receives first object data center was sent After first mechanism ID of the first service request and the first User ID, the corresponding relationship based on service attribute and routed path, first Determine whether corresponding first routed path of the first mechanism ID is unique, if so, first routed path is determined as first The corresponding routed path of service request, and the access that first routed path is sent to first object data center is routed Layer, first routed path includes the mark of first object data center and the mark of business unit 1;If it is not, being then based on industry The corresponding relationship of business attribute and routed path, then the corresponding secondary route road of the first User ID is determined from the first routed path The secondary route path is determined as the corresponding routing road of the first service request if the secondary route path is unique by diameter Diameter, and the secondary route path is sent to the access routing layer of first object data center, the secondary route path packet Include the mark of first object data center and the mark of business unit 1.
Example 2:
What the access routing layer that the route-caching library at the second target data center receives the second target data center was sent After the second mechanism ID and second user ID of second service request, the corresponding relationship based on service attribute and routed path, first Determine whether the corresponding third routed path of the second mechanism ID is unique, if so, the third routed path is determined as second The corresponding routed path of service request, and the access that the third routed path is sent to the second target data center is routed Layer, the secondary route path includes the mark at the second target data center and the mark of business unit 6;If it is not, being then based on industry The corresponding relationship of business attribute and routed path, then second user ID corresponding 4th routing road is determined from third routed path 4th routed path is determined as the corresponding routing road of the second service request if the 4th routed path is unique by diameter Diameter, and the 4th routed path is sent to the access routing layer at the second target data center, the 4th routed path packet Include the mark at the second target data center and the mark of business unit 6.
Example 3:
What the access routing layer that the route-caching library of first object data center receives first object data center was sent After the third mechanism ID and third User ID of third service request, the corresponding relationship based on service attribute and routed path, first Determine whether corresponding 5th routed path of third mechanism ID is unique, if so, the 5th routed path is determined as third The corresponding routed path of service request, and the access that the 5th routed path is sent to first object data center is routed Layer, the 5th routed path includes the mark at the second target data center and the mark of business unit 5;If it is not, being then based on industry The corresponding relationship of business attribute and routed path, then third User ID corresponding 6th routing road is determined from the 5th routed path 6th routed path is determined as the corresponding routing road of third service request if the 6th routed path is unique by diameter Diameter, and the 6th routed path is sent to the access routing layer of first object data center, the 6th routed path packet Include the mark at the second target data center and the mark of business unit 5.
Step 108: the service request is distributed into the specified target service unit of the routed path.
It should be noted that a kind of implementation of step 108 can be with are as follows:
If affiliated data center is notebook data center, the service request is distributed into the business unit mark and is corresponded to Target service unit;
If affiliated data center is other data centers, the service request is distributed into the affiliated data center, And indicate that the service request is distributed to the business unit and identifies corresponding target service unit by the affiliated data center;
Wherein, other described data centers are the data center except notebook data center.
1 is seen example above, the affiliated data center of corresponding first routed path of the first service request is in notebook data (the affiliated data center of the data center and corresponding first routed path of the first service request that receive the first service request is equal for the heart For first object data center), 2 are similarly seen example above, the affiliated number of the corresponding third routed path of the second service request It is that notebook data center (receives data center and the corresponding third routed path of the second service request of the second service request according to center Affiliated data center be the second target data center), then a kind of implementation of step 108 are as follows:
The service request is sent to the business unit and identifies corresponding target service unit.It specifically can be exemplified Are as follows:
Example 4: assuming that the first routed path is not unique, secondary route path is unique;
First service request is distributed to the secondary route path and referred to by the access and routing layer of first object data center The business unit 1 of fixed first object data center is handled.
Example 5: assuming that third routed path is not unique, the 4th routed path is unique;
The access and routing layer at the second target data center are based on third routed path, the second service request are distributed to The business unit 6 at the second specified target data center of the 4th routed path is handled.
3 are seen example above, the affiliated data center of corresponding 5th routed path of third service request is other data (data center for receiving third service request is first object data center, corresponding 5th routing of third service request at center The affiliated data center in path is the second target data center), then another implementation of step 106 can be with are as follows:
The service request is sent to the affiliated data center, and indicates the affiliated data center by the business Request is sent to the business unit and identifies corresponding target service unit;
Wherein, other described data centers are the data center except notebook data center.It specifically can be exemplified are as follows:
Example 6: assuming that the 5th routed path is not unique, the 6th routed path is unique;
Third service request is distributed to the 6th routed path and referred to by the access and routing layer of first object data center The second fixed target data center, and indicate that third service request is sent to business unit 5 and carried out by the second target data center Processing.
It can be protected based on this by the way that the mark of the mark of business unit and affiliated data center to be included in routed path Demonstrate,prove the accuracy and uniqueness of the target service unit determined according to routed path;By by the business unit at notebook data center Or the business unit of other data centers is determined as target service unit, and the wide spreadability of routed path can be improved.
It should be noted that first object data center and the second target data center can be the data in the same city Center is also possible to the data center of different cities, it is assumed that first object data center and the second target data center are different The data center in city, then in the service attribute based on service request and route-caching library service attribute and routed path correspondence Relationship, not only can determine the routed path (example 1 and example 2) of same city business unit, but also can determine different cities (strange land) The routed path (example 3) of business unit can be improved the popularity that routed path determines.
It should be noted that further including transfer processing step, a kind of implementation of the step can before stage 108 With are as follows:
If detecting, the target service unit breaks down, and the service request is sent to the target service list The standby traffic unit of member is handled.
Wherein, the standby traffic unit include: in notebook data center or other data centers with the target service list The identical business unit of type of member.
It, can be in the case where partial data center or the failure of partial service unit or disaster, by business based on this The business unit that request is transferred to the data center of other normal operations is handled, so as to ensure the routing of service request The timeliness and safety of processing.
It should be noted that terminal device further includes updating step, a kind of implementation of the step can be with are as follows:
Receive update instruction;
Based on the update instruction, the corresponding relationship of the service attribute and routed path in the route-caching library is updated simultaneously It is synchronized to other data centers.
Further, step S1 and step S2 specifically can be exemplified are as follows:
The cache routing component of data center receives update instruction, and update instruction carries more new content, route-caching group The corresponding relationship of part service attribute according to the update content update and routed path is simultaneously synchronized to other data centers.
In addition, step S1 and step S2 specifically can be with examples are as follows:
The cache routing component of data center receives update instruction, and update instruction, which carries, updates address, route-caching group Part is based on the update address and gets more new content, and pair of service attribute and routed path according to the update content update It should be related to and be synchronized to other data centers.
Based on this, passes through the corresponding relationship of real-time update service attribute and routed path and is synchronized to other data centers, It can be improved the flexibility of the corresponding relationship of the service attribute and routed path and the consistency in each data center.
As it can be seen that the present embodiment is by the service attribute based on service request and in the route-caching library that data center adds The corresponding relationship of service attribute and routed path, determines the routed path of service request, and service request is distributed to the road It is handled by the target service unit that path is specified, so as to achieve the purpose that more effectively processing business request.
Fig. 2 is a kind of structural schematic diagram for terminal device that one embodiment of the present of invention provides, referring to fig. 2, the terminal Equipment can specifically include: receiving module 202, determining module 204, enquiry module 206 and sending module 208, in which:
Receiving module 202, for receiving the service request of domain name resolution server distribution, domain name resolution server is used In the service request from user equipment is distributed to the associated data of domain name resolution server according to default allocation rule Specified data center in Center List;
Determining module 204, for determining the service attribute of the service request;
Enquiry module 206 obtains the corresponding routed path of the service attribute, institute for inquiring local routing caching library The corresponding relationship for having service attribute and routed path in route-caching library is stated, the routed path is used to indicate the processing industry The target service unit of the service request of business attribute;
Sending module 208, for the service request to be distributed to the specified target service unit of the routed path.
Optionally, determining module 204, comprising:
It determines submodule, for parsing to the service request, obtains the service attribute of the service request;
Wherein, the service attribute includes: at least one of authority identity identification number ID, User ID and Customer ID.
Optionally, terminal device further include:
Transfer processing module, if sending out the service request for detecting that the target service unit breaks down The standby traffic unit to the target service unit is sent to be handled.
Optionally, the standby traffic unit include: in notebook data center or other data centers with the target service The identical business unit of the type of unit;
Wherein, other described data centers are the data center except notebook data center.
Optionally, the routed path includes: the mark of business unit and the mark of affiliated data center;
Wherein, sending module 208, comprising:
First sending submodule distributes to the service request if being notebook data center for affiliated data center The business unit identifies corresponding target service unit;
Second sending submodule distributes the service request if being other data centers for affiliated data center To the affiliated data center, and indicate that the service request is distributed to the business unit and identified by the affiliated data center Corresponding target service unit;
Wherein, other described data centers are the data center except notebook data center.
Optionally, terminal device, further includes:
Update module, for receiving update instruction;
Based on the update instruction, the corresponding relationship of the service attribute and routed path in the route-caching library is updated simultaneously It is synchronized to other data centers.
Optionally, the preset allocation rule includes:
Domain name resolution server carries out domain name mapping processing to service request, obtains the IP address of the service request;
Based on the IP address, the service request is distributed to specified data center.
As it can be seen that the present embodiment is by the service attribute based on service request and in the route-caching library that data center adds The corresponding relationship of service attribute and routed path, determines the routed path of service request, and service request is distributed to the road It is handled by the target service unit that path is specified, so as to achieve the purpose that more effectively processing business request.
Device provided in an embodiment of the present invention can be realized each process that device is realized in the embodiment of the method for Fig. 1, be It avoids repeating, which is not described herein again.Moreover, it should be noted that in all parts of the device of the invention, it is real according to it Existing function and logical partitioning has been carried out to component therein, still, the present invention is not only restricted to this, can according to need to each Component is repartitioned or is combined.
Fig. 3 is a kind of structural schematic diagram of the routing processing system for service request that one embodiment of the present of invention provides, Referring to Fig. 3, the system include: domain name resolution server and with the associated multiple data centers of domain name resolution server, number It include: access routing layer, route-caching component and multiple business unit according to center, in which:
Domain name resolution server obtains each industry for carrying out domain name mapping processing to service request collection to be processed The IP address of business request;Based on the IP address, the service request that the service request is concentrated is distributed into corresponding data The heart;
The access routing layer for determining the service attribute of service request, and is sent to the route-caching component;
The route-caching component determines the business category for the corresponding relationship based on service attribute and routed path The corresponding routed path of property, and it is back to the access routing layer;
The access routing layer is also used to distribute to the service request the specified target service list of the routed path Member.
Optionally, the access routing layer is also used to parse the service request, obtains the service request Service attribute;
Wherein, the service attribute includes: at least one of authority identity identification number ID, User ID and Customer ID.
Optionally, the access routing layer, if being also used to detect, the target service unit breaks down, will be described The standby traffic unit that service request is sent to the target service unit is handled.
Optionally, the standby traffic unit include: in notebook data center or other data centers with the target service The identical business unit of the type of unit;
Wherein, other described data centers are the data center except notebook data center.
Optionally, the routed path includes: the mark of business unit and the mark of affiliated data center;
Wherein, if affiliated data center is notebook data center, the service request is distributed into the business unit mark Know corresponding target service unit;
If affiliated data center is other data centers, the service request is distributed into the affiliated data center, And indicate that the service request is distributed to the business unit and identifies corresponding target service unit by the affiliated data center;
Wherein, other described data centers are the data center except notebook data center.
Optionally, the route-caching component, is also used to receive update instruction;
Based on the update instruction, the corresponding relationship of the service attribute and routed path in the route-caching library is updated simultaneously It is synchronized to other data centers.
Optionally, the preset allocation rule includes:
Domain name resolution server carries out domain name mapping processing to service request, obtains the IP address of the service request;
Based on the IP address, the service request is distributed to specified data center.
As it can be seen that the present embodiment is by the service attribute based on service request and in the route-caching library that data center adds The corresponding relationship of service attribute and routed path, determines the routed path of service request, and service request is distributed to the road It is handled by the target service unit that path is specified, so as to achieve the purpose that more effectively processing business request.
A kind of hardware structural diagram of Fig. 4 mobile terminal of each embodiment to realize the present invention,
The mobile terminal 400 includes but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, defeated Enter unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor The components such as 410 and power supply 411.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 4 is not constituted Restriction to mobile terminal, mobile terminal may include than illustrating more or fewer components, perhaps combine certain components or Different component layouts.In embodiments of the present invention, mobile terminal include but is not limited to mobile phone, tablet computer, laptop, Palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 410, for receiving the service request of domain name resolution server distribution, domain name analysis service Device is used to distribute the service request from user equipment according to default allocation rule associated to domain name resolution server Specified data center in data center's list;
Determine the service attribute of the service request;
It inquires local routing and caches library, obtain the corresponding routed path of the service attribute, deposited in the route-caching library There is the corresponding relationship of service attribute and routed path, the routed path is used to indicate the service request for handling the service attribute Target service unit;
The service request is distributed into the specified target service unit of the routed path.
Pass through the service attribute based on service request and service attribute and road in the route-caching library that data center adds By the corresponding relationship in path, the routed path of service request is determined, service request is distributed to what the routed path was specified Target service unit is handled, so as to achieve the purpose that more effectively processing business request.
It should be understood that the embodiment of the present invention in, radio frequency unit 401 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 410 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 401 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 401 can also by wireless communication system and network and other set Standby communication.
Mobile terminal provides wireless broadband internet by network module 402 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 403 can be received by radio frequency unit 401 or network module 402 or in memory 409 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 403 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 400 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 403 includes loudspeaker, buzzer and receiver etc..
Input unit 404 is for receiving audio or video signal.Input unit 404 may include graphics processor (Graphics Processing Unit, GPU) 4041 and microphone 4042, graphics processor 4041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 406.Through graphics processor 4041, treated that picture frame can be deposited Storage is sent in memory 409 (or other storage mediums) or via radio frequency unit 401 or network module 402.Mike Wind 4042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 401 is converted in the case where telephone calling model.
Mobile terminal 400 further includes at least one sensor 405, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 4061, and proximity sensor can close when mobile terminal 400 is moved in one's ear Display panel 4061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 405 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 406 is for showing information input by user or being supplied to the information of user.Display unit 406 can wrap Display panel 4061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 4061.
User input unit 407 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 407 include touch panel 4071 and Other input equipments 4072.Touch panel 4071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 4071 or in touch panel 4071 Neighbouring operation).Touch panel 4071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 410, receiving area It manages the order that device 410 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Seed type realizes touch panel 4071.In addition to touch panel 4071, user input unit 407 can also include other input equipments 4072.Specifically, other input equipments 4072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 4071 can be covered on display panel 4061, when touch panel 4071 is detected at it On or near touch operation after, send processor 410 to determine the type of touch event, be followed by subsequent processing device 410 according to touching The type for touching event provides corresponding visual output on display panel 4061.Although in Fig. 4, touch panel 4071 and display Panel 4061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments In, can be integrated by touch panel 4071 and display panel 4061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place is without limitation.
Interface unit 408 is the interface that external device (ED) is connect with mobile terminal 400.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 408 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in mobile terminal 400 or can be used in 400 He of mobile terminal Data are transmitted between external device (ED).
Memory 409 can be used for storing software program and various data.Memory 409 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 409 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 410 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 409, and calls and is stored in storage Data in device 409 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 410 may include one or more processing units;Preferably, processor 410 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 410.
Mobile terminal 400 can also include the power supply 411 (such as battery) powered to all parts, it is preferred that power supply 411 Can be logically contiguous by power-supply management system and processor 410, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 400 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal device, including processor, and memory is stored in memory Computer program that is upper and can running on the processor, the computer program realize that above-mentioned business is asked when being executed by processor The each process for the route processing method embodiment asked, and identical technical effect can be reached, it is no longer superfluous here to avoid repeating It states.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each of the route processing method embodiment of above-mentioned service request when being executed by processor Process, and identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer-readable storage Medium, such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (10)

1. a kind of route processing method of service request characterized by comprising
The service request of domain name resolution server distribution is received, domain name resolution server is used for will according to default allocation rule Service request from user equipment distributes the specified data into the associated data center's list of domain name resolution server Center;
Determine the service attribute of the service request;
It inquires local routing and caches library, obtain the corresponding routed path of the service attribute, have industry in the route-caching library The corresponding relationship of business attribute and routed path, the routed path are used to indicate the mesh for handling the service request of the service attribute Mark business unit;
The service request is distributed into the specified target service unit of the routed path.
2. the method according to claim 1, wherein the service attribute of the determination service request, comprising:
The service request is parsed, the service attribute of the service request is obtained;
Wherein, the service attribute includes: at least one of authority identity identification number ID, User ID and Customer ID.
3. the method according to claim 1, wherein the service request is distributed to the routing road described Before the specified target service unit of diameter, further includes:
If detecting, the target service unit breaks down, and the service request is sent to the target service unit Standby traffic unit is handled.
4. according to the method described in claim 3, it is characterized in that,
The standby traffic unit includes: the type phase in notebook data center or other data centers with the target service unit Same business unit;
Wherein, other described data centers are the data center except notebook data center.
5. the method according to claim 1, wherein the routed path includes: mark and the institute of business unit Belong to the mark of data center;
It is wherein, described that the service request is distributed into the specified target service unit of the routed path, comprising:
If affiliated data center is notebook data center, the service request is distributed into the business unit and identifies corresponding mesh Mark business unit;
If affiliated data center is other data centers, the service request is distributed into the affiliated data center, and refer to Show that the service request is distributed to the business unit and identifies corresponding target service unit by the affiliated data center;
Wherein, other described data centers are the data center except notebook data center.
6. the method according to any one of claims 1 to 5, which is characterized in that further include:
Receive update instruction;
Based on the update instruction, service attribute in the route-caching library and the corresponding relationship of routed path and synchronous are updated To other data centers.
7. the method according to claim 1, wherein the preset allocation rule includes:
Domain name resolution server carries out domain name mapping processing to service request, obtains the IP address of the service request;
Based on the IP address, the service request is distributed to specified data center.
8. a kind of routing processing system of service request characterized by comprising domain name resolution server and with domain name solution The associated multiple data centers of server are analysed, data center includes: access routing layer, route-caching component and multiple business sheets Member, in which:
Domain name resolution server obtains each business and asks for carrying out domain name mapping processing to service request collection to be processed The IP address asked;Based on the IP address, the service request that the service request is concentrated is distributed to corresponding data center;
The access routing layer for determining the service attribute of service request, and is sent to the route-caching component;
The route-caching component determines the service attribute pair for the corresponding relationship based on service attribute and routed path The routed path answered, and it is back to the access routing layer;
The access routing layer is also used to distribute to the service request the specified target service unit of the routed path.
9. a kind of terminal device characterized by comprising
Receiving module, for receive domain name resolution server distribution service request, domain name resolution server be used for according to Service request from user equipment is distributed to the associated data center of domain name resolution server and is arranged by default allocation rule Specified data center in table;
Determining module, for determining the service attribute of the service request;
Enquiry module obtains the corresponding routed path of the service attribute, the routing is slow for inquiring local routing caching library There is the corresponding relationship of service attribute and routed path in warehousing, the routed path is used to indicate the processing service attribute The target service unit of service request;
Sending module, for the service request to be distributed to the specified target service unit of the routed path.
10. a kind of terminal device characterized by comprising memory, processor and be stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 7 is realized when the computer program is executed by the processor Any one of described in method the step of.
CN201910813933.5A 2019-08-30 2019-08-30 Service request routing processing method and terminal equipment Active CN110474841B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910813933.5A CN110474841B (en) 2019-08-30 2019-08-30 Service request routing processing method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910813933.5A CN110474841B (en) 2019-08-30 2019-08-30 Service request routing processing method and terminal equipment

Publications (2)

Publication Number Publication Date
CN110474841A true CN110474841A (en) 2019-11-19
CN110474841B CN110474841B (en) 2021-09-10

Family

ID=68514145

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910813933.5A Active CN110474841B (en) 2019-08-30 2019-08-30 Service request routing processing method and terminal equipment

Country Status (1)

Country Link
CN (1) CN110474841B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111092814A (en) * 2019-12-02 2020-05-01 中国联合网络通信集团有限公司 Service handling request message distribution method and equipment
CN111104136A (en) * 2019-12-06 2020-05-05 中国人民财产保险股份有限公司 Method and device for updating insurance business function
CN111464332A (en) * 2020-03-06 2020-07-28 中国人民财产保险股份有限公司 Disaster recovery method, device and equipment
CN113592432A (en) * 2021-07-02 2021-11-02 软通智慧信息技术有限公司 Work order weight judging method and device, electronic equipment and storage medium
CN114286127A (en) * 2022-03-08 2022-04-05 浙江微能科技有限公司 Distributed artificial intelligence analysis method and device
CN114531492A (en) * 2020-11-05 2022-05-24 网联清算有限公司 Service calling method and device, storage medium and computer equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130262697A1 (en) * 2012-03-28 2013-10-03 At&T Intellectual Property I, L.P. System and Method for Routing Content Based on Real-Time Feedback
CN103546375A (en) * 2012-07-11 2014-01-29 中兴通讯股份有限公司 Content routing method and device
US20140089523A1 (en) * 2012-09-21 2014-03-27 Interdigital Patent Holdings, Inc. Systems and methods for providing dns server selection using andsf in multi-interface hosts
CN105162900A (en) * 2015-09-25 2015-12-16 中国互联网络信息中心 Multi-node collaborative domain name resolution and caching method and system
CN106572009A (en) * 2016-11-11 2017-04-19 锐捷网络股份有限公司 Method and device for forwarding massages under multi-operator link environment
CN107018174A (en) * 2016-12-27 2017-08-04 阿里巴巴集团控股有限公司 A kind of method, device and the transaction processing system of blocking system service processing
CN108989205A (en) * 2017-06-01 2018-12-11 阿里巴巴集团控股有限公司 Identity, routing data creation method, device and server

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130262697A1 (en) * 2012-03-28 2013-10-03 At&T Intellectual Property I, L.P. System and Method for Routing Content Based on Real-Time Feedback
CN103546375A (en) * 2012-07-11 2014-01-29 中兴通讯股份有限公司 Content routing method and device
US20140089523A1 (en) * 2012-09-21 2014-03-27 Interdigital Patent Holdings, Inc. Systems and methods for providing dns server selection using andsf in multi-interface hosts
CN105162900A (en) * 2015-09-25 2015-12-16 中国互联网络信息中心 Multi-node collaborative domain name resolution and caching method and system
CN106572009A (en) * 2016-11-11 2017-04-19 锐捷网络股份有限公司 Method and device for forwarding massages under multi-operator link environment
CN107018174A (en) * 2016-12-27 2017-08-04 阿里巴巴集团控股有限公司 A kind of method, device and the transaction processing system of blocking system service processing
CN108989205A (en) * 2017-06-01 2018-12-11 阿里巴巴集团控股有限公司 Identity, routing data creation method, device and server

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111092814A (en) * 2019-12-02 2020-05-01 中国联合网络通信集团有限公司 Service handling request message distribution method and equipment
CN111092814B (en) * 2019-12-02 2022-06-10 中国联合网络通信集团有限公司 Service handling request message distribution method and equipment
CN111104136A (en) * 2019-12-06 2020-05-05 中国人民财产保险股份有限公司 Method and device for updating insurance business function
CN111464332A (en) * 2020-03-06 2020-07-28 中国人民财产保险股份有限公司 Disaster recovery method, device and equipment
CN111464332B (en) * 2020-03-06 2023-02-24 中国人民财产保险股份有限公司 Disaster recovery method, device and equipment
CN114531492A (en) * 2020-11-05 2022-05-24 网联清算有限公司 Service calling method and device, storage medium and computer equipment
CN113592432A (en) * 2021-07-02 2021-11-02 软通智慧信息技术有限公司 Work order weight judging method and device, electronic equipment and storage medium
CN113592432B (en) * 2021-07-02 2023-12-22 软通智慧信息技术有限公司 Work order weight judging method and device, electronic equipment and storage medium
CN114286127A (en) * 2022-03-08 2022-04-05 浙江微能科技有限公司 Distributed artificial intelligence analysis method and device

Also Published As

Publication number Publication date
CN110474841B (en) 2021-09-10

Similar Documents

Publication Publication Date Title
CN110474841A (en) The route processing method and terminal device of service request
CN104639672B (en) The method and apparatus for carrying out domain name mapping
CN108924817A (en) A kind of SIM card state switching method and mobile terminal
CN110134356A (en) A kind of throwing screen method and terminal
CN110035149A (en) A kind of multiple antennas optimization method and mobile terminal
CN107613024A (en) A kind of method of data synchronization and mobile terminal
CN109996305A (en) A kind of communication means, mobile terminal and base station
CN109710349A (en) A kind of screenshotss method and mobile terminal
CN108494639A (en) Network access method and mobile terminal
CN110336805A (en) Network access management method and mobile terminal
CN109388456A (en) A kind of head portrait selection method and mobile terminal
CN109831359A (en) A kind of detection method and its terminal device of data network connection state
CN109743449A (en) A kind of virtual key display methods and terminal
CN109739394A (en) A kind of processing method of SAR value, mobile terminal
CN108769202A (en) A kind of information push method and its server and terminal device
CN108984066A (en) A kind of application icon display methods and mobile terminal
CN109101327A (en) A kind of switching of light application and mobile terminal
CN110536236A (en) A kind of communication means, terminal device and the network equipment
CN110234068A (en) A kind of localization method and terminal device
CN109802945A (en) A kind of data transmission method and terminal device
CN109982273A (en) A kind of information replying method and mobile terminal
CN107704334A (en) A kind of SDK processing method and mobile terminal
CN110312274A (en) A kind of method for building up and electronic equipment of wireless access point
CN109889613A (en) A kind of information push method, device and mobile terminal
CN116112403A (en) Cloud service management system and method for application service, electronic equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant