CN106506364A - A kind of cut-in method, client and routing server - Google Patents

A kind of cut-in method, client and routing server Download PDF

Info

Publication number
CN106506364A
CN106506364A CN201611123720.2A CN201611123720A CN106506364A CN 106506364 A CN106506364 A CN 106506364A CN 201611123720 A CN201611123720 A CN 201611123720A CN 106506364 A CN106506364 A CN 106506364A
Authority
CN
China
Prior art keywords
access
server
priority
request
list information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611123720.2A
Other languages
Chinese (zh)
Inventor
林伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201611123720.2A priority Critical patent/CN106506364A/en
Publication of CN106506364A publication Critical patent/CN106506364A/en
Pending legal-status Critical Current

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/14Routing performance; Theoretical aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering

Abstract

A kind of cut-in method of the application announcement, client and routing server, the client, including:Request unit, for sending access request to routing server;Receiving unit, for receiving the route list information that the routing server is returned, the route list information includes that one or more access informations, the access information include the address information of access server and access priority;Access unit, for selecting access server request to access according to the access priority from the route list information.The technical scheme that the application is provided, relative to prior art, can control the access server of client first access.

Description

A kind of cut-in method, client and routing server
Technical field
The present embodiments relate to but be not limited to intelligent terminal's technical field, espespecially a kind of cut-in method, client and road By server.
Background technology
In present a lot of systems or APP, all there is function as pushing using message.And practical situation is, one As APP systems client terminal quantity can reach tens as many as up to a million, if so many connections are all connected to same server On, very big pressure can be caused to the server, cause the server unusable, delay machine or other problemses.
In order to solve problem above, a lot of systems provide route list by routing server, by client from route According to certain strategy in list, a certain bar routing address, the access service for being pushed is obtained.Now, in existing system, The address for pushing route is the address of string, voluntarily selects some address to be accessed by client.If client exists When accessing certain server, the server access amount has expired or other abnormal conditions, returns and does not allow access information, then visitor Family end selects another address to be accessed again from route list, and the access server that user accesses is uncontrollable.Existing access Method needs to improve.
Content of the invention
This application provides a kind of cut-in method, client and routing server, guide the access behavior of client, there is provided More preferable Consumer's Experience.
In order to reach the application purpose, a kind of client is embodiments provided, including:
Request unit, for sending access request to routing server;
Receiving unit, for receiving the route list information that the routing server is returned, in the route list information Including one or more access informations, the access information includes the address information of access server and access priority;
Access unit, for selecting access server to ask according to the access priority from the route list information Access.
Optionally, the access unit selects access service from the route list information according to the access priority Device request access includes:
The access unit selects the access server request of an access priority to access, if access failure, selects to work as Other access server requests of front access priority are accessed, if all access servers for being currently accessed priority are accessed Failure, then continue to select the access server request of time one-level access priority to access, until being successfully accessed or having selected institute State all access servers in route list information;Wherein, when initial, the access unit selects the route list information Middle access priority highest access server request is accessed.
Optionally, the access priority meets following condition:Between different access servers, access priority is high to be connect Enter server its access-in resource access server low more than access priority.
The embodiment of the present invention also provides a kind of cut-in method, including:
Client sends access request to routing server;
The client receives the route list information that the routing server is returned, and the route list information includes One or more access informations, the access information include the address information of access server and access priority;
The client selects access server request to connect from the route list information according to the access priority Enter.
Optionally, the client selects access server from the route list information according to the access priority Request access includes:
The access unit selects the access server request of an access priority to access, if access failure, selects to work as Other access server requests of front access priority are accessed, if all access servers for being currently accessed priority are accessed Failure, then continue to select the access server request of time one-level access priority to access, until being successfully accessed or having selected institute State all access servers in route list information;Wherein, when initial, the access unit selects the route list information Middle access priority highest access server request is accessed.
Optionally, the access priority meets following condition:Between different access servers, access priority is high to be connect Enter server its access-in resource access server low more than access priority.
The embodiment of the present invention also provides a kind of routing server, including:
Interface unit, for receiving the access request of client transmission;
Route list signal generating unit, for receiving after the access request, determines the access server for meeting condition, raw Into route list information, the route list information includes the access information of the access server for meeting condition, described Access information includes the address information of the access server and access priority;
Transmitting element, for being sent to the client by the route list information.
Optionally, the access priority meets following condition:Between different access servers, access priority is high to be connect Enter server its access-in resource access server low more than access priority.
The embodiment of the present invention also provides a kind of cut-in method, including:
Routing server receives the access request that client sends;
After the routing server receives the access request, the access server for meeting condition is determined, generate route List information, the route list information include the access information of the access server for meeting condition, the access letter Breath includes address information and the access priority of the access server, and meets between different access servers, accesses preferential High its access-in resource of access server of level access server low more than access priority;
The route list information is sent to the client by the routing server.
Optionally, the access priority meets following condition:Between different access servers, access priority is high to be connect Enter server its access-in resource access server low more than access priority.
In the embodiment of the present invention, when routing server is to client return route list information, carries access server and connect Enter priority, client selects access server request to access from the route list information according to the access priority. The technical scheme that the application is provided, relative to prior art, can control the access server of client first access.Another In scheme, access efficiency can be improved with the more access servers of priority access resource, lift Consumer's Experience.
Description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this Bright schematic description and description does not constitute inappropriate limitation of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is the hardware architecture diagram for realizing the application one optional mobile terminal of each embodiment;
Fig. 2 is the schematic diagram of the communication system for supporting to be communicated between the application mobile terminal;
Fig. 3 is embodiment of the present invention client block diagram;
Fig. 4 is embodiment of the present invention cut-in method flow chart;
Fig. 5 is embodiment of the present invention routing server block diagram;
Fig. 6 is embodiment of the present invention cut-in method flow chart;
Fig. 7 is example cluster system block diagram of the invention;
Fig. 8 is example cut-in method flow chart of the invention.
Specific embodiment
Technical scheme is described in detail below in conjunction with drawings and Examples.
Referring now to the mobile terminal that Description of Drawings realizes each embodiment of the application.In follow-up description, use For representing the suffix of such as " module ", " part " or " unit " of element only for being conducive to the explanation of the present invention, itself Not specific meaning.Therefore, " module " mixedly can be used with " part ".
Mobile terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as moving Phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP The mobile terminal of (portable media player), guider etc. and such as numeral TV, desk computer etc. are consolidated Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, except being used in particular for moving Outside the element of purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is the hardware architecture diagram for realizing the application one optional mobile terminal of each embodiment.
Mobile terminal 1 00 can include wireless communication unit 110, A/V (audio/video) input block 120, user input Unit 130, sensing unit 140, output unit 150, memorizer 160, interface unit 170, controller 180 and power subsystem 190 Etc..Fig. 1 shows the mobile terminal with various assemblies, it should be understood that being not required for implementing all groups for illustrating Part.More or less of component can alternatively be implemented.Will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes one or more assemblies, and which allows mobile terminal 1 00 and wireless communication system Or the radio communication between network.For example, wireless communication unit can include broadcasting reception module 111, mobile communication module 112nd, at least one of wireless Internet module 113, short range communication module 114 and location information module 115.
Broadcasting reception module 111 receives broadcast singal and/or broadcast via broadcast channel from external broadcast management server Relevant information.Broadcast channel can include satellite channel and/or terrestrial channel.Broadcast management server can be generated and sent The broadcast singal generated before the server or reception of broadcast singal and/or broadcast related information and/or broadcast related information And send it to the server of terminal.Broadcast singal can include TV broadcast singals, radio signals, data broadcasting Signal etc..And, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase Pass information can also be provided via mobile communications network, and in this case, broadcast related information can be by mobile communication mould Block 112 is receiving.Broadcast singal can be present in a variety of manners, and for example, which can be with the electronics of DMB (DMB) The form of program guide (EPG), the electronic service guidebooks (ESG) of digital video broadcast-handheld (DVB-H) etc. and exist.Broadcast Receiver module 111 can receive signal broadcast by using various types of broadcast systems.Especially, broadcasting reception module 111 Can be wide by using such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), digital video Broadcast-hand-held (DVB-H), forward link media (MediaFLO@) Radio Data System, received terrestrial digital broadcasting integrated service Etc. (ISDB-T) digit broadcasting system receives digital broadcasting.Broadcasting reception module 111 may be constructed such that and be adapted to provide for extensively Broadcast the various broadcast systems and above-mentioned digit broadcasting system of signal.Via broadcasting reception module 111 receive broadcast singal and/ Or broadcast related information can be stored in memorizer 160 (or other types of storage medium).
Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminal And at least one of server and/or receive from it radio signal.Such radio signal can be logical including voice Words signal, video calling signal or the various types of data for sending and/or receiving according to text and/or Multimedia Message.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.The module can be internally or externally It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by the module can include WLAN (WLAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
Short range communication module 114 is the module for supporting junction service.Some examples of short-range communication technology include indigo plant ToothTM, RF identification (RFID), Infrared Data Association (IrDA), ultra broadband (UWB), purple honeybeeTMEtc..
Location information module 115 be for check or obtain mobile terminal positional information module.Location information module Typical case be GPS (global positioning system).According to current technology, GPS module 115 is calculated from three or more satellites Range information and correct time information and for calculate Information application triangulation, so as to according to longitude, latitude Three-dimensional current location information is highly accurately calculated.Currently, defended using three for calculating the method for position and temporal information Star and the error of the position that calculated by using other satellite correction and temporal information.Additionally, GPS module 115 Can be by Continuous plus current location information in real time come calculating speed information.
A/V input blocks 120 are used for receiving audio or video signal.A/V input blocks 120 can include 121 He of camera Mike 122,121 pairs of static images obtained by image capture apparatus in Video Capture pattern or image capture mode of camera Or the view data of video is processed.Picture frame after process is may be displayed on display unit 151.Process through camera 121 Picture frame afterwards can be stored in memorizer 160 (or other storage mediums) or carry out sending out via wireless communication unit 110 Send, two or more cameras 121 can be provided according to the construction of mobile terminal.Mike 122 can be in telephone calling model, note Sound (voice data) is received via mike in record pattern, speech recognition mode etc. operational mode, and can be by so Acoustic processing be voice data.Audio frequency (voice) data after process can be converted in the case of telephone calling model can Via the form output that mobile communication module 112 is sent to mobile communication base station.Mike 122 can implement various types of making an uproar Sound eliminates (or suppression) algorithm to eliminate the noise or dry that (or suppression) is produced during receiving and sending audio signal Disturb.
User input unit 130 can generate key input data to control each of mobile terminal according to the order of user input Plant operation.User input unit 130 allows the various types of information of user input, and can include keyboard, metal dome, touch Plate (for example, detection is due to the sensitive component of the change of touched and caused resistance, pressure, electric capacity etc.), roller, rocking bar etc. Deng.Especially, when touch pad is superimposed upon on display unit 151 as a layer, touch screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 1 00, and (for example, mobile terminal 1 00 opens or closes shape State), the position of mobile terminal 1 00, user is for the presence or absence of contact (that is, touch input), the mobile terminal of mobile terminal 1 00 100 orientation, the acceleration or deceleration movement of mobile terminal 1 00 and direction etc., and generate for controlling mobile terminal 1 00 The order of operation or signal.For example, when mobile terminal 1 00 is embodied as sliding-type mobile phone, sensing unit 140 can be sensed The sliding-type phone is opened or is cut out.In addition, sensing unit 140 can detect power subsystem 190 whether provide electric power or Whether person's interface unit 170 is coupled with external device (ED).
Interface unit 170 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 1 00.For example, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, memory card port, the port for being used for device of the connection with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Identification module can be that storage uses each of mobile terminal 1 00 for verifying user Kind of information and subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) can be included Etc..In addition, the device (hereinafter referred to as " identifying device ") with identification module can take the form of smart card, therefore, know Other device can be connected with mobile terminal 1 00 via port or other attachment means.Interface unit 170 can be used for receive from The input (for example, data message, electric power etc.) of external device (ED) and the input for receiving is transferred in mobile terminal 1 00 One or more elements can be used for transmission data between mobile terminal and external device (ED).
In addition, when mobile terminal 1 00 is connected with external base, interface unit 170 can serve as allowing to pass through which by electricity Power provides the path of mobile terminal 1 00 from base or can serve as allowing the various command signals from base input to pass through which It is transferred to the path of mobile terminal.The various command signals or electric power being input into from base may serve as recognizing that mobile terminal is The no signal being accurately fitted within base.Output unit 150 is configured to defeated with the offer of vision, audio frequency and/or tactile manner Go out signal (for example, audio signal, video signal, alarm signal, vibration signal etc.).Output unit 150 can include showing Unit 151, dio Output Modules 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information processed in mobile terminal 1 00.For example, when mobile terminal 1 00 is in electricity During words call mode, display unit 151 can show and converse or other communicate (for example, text messaging, multimedia files Download etc.) related user interface (UI) or graphic user interface (GUI).When mobile terminal 1 00 is in video calling pattern Or during image capture mode, display unit 151 can show the image of capture and/or the image of reception, illustrate video or figure UI or GUI of picture and correlation function etc..
Meanwhile, when the display unit 151 and touch pad touch screen with formation superposed on one another as a layer, display unit 151 can serve as input equipment and output device.Display unit 151 can include liquid crystal display (LCD), thin film transistor (TFT) In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least A kind of.Some in these display may be constructed such that transparence to allow user from outside viewing, and this is properly termed as transparent Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific The embodiment that wants, mobile terminal 1 00 can include two or more display units (or other display devices), for example, move Dynamic terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch screen can be used for detection and touch Input pressure and touch input position and touch input area.
Dio Output Modules 152 can mobile terminal in call signal reception pattern, call mode, logging mode, When under the isotypes such as speech recognition mode, broadcast reception mode, that wireless communication unit 110 is received or in memorizer 160 The voice data transducing audio signal of middle storage and it is output as sound.And, dio Output Modules 152 can be provided and movement The audio output (for example, call signal receives sound, message sink sound etc.) of the specific function correlation that terminal 100 is executed. Dio Output Modules 152 can include speaker, buzzer etc..
Alarm unit 153 can provide output to notify event to mobile terminal 1 00.Typical event can be with Including calling reception, message sink, key signals input, touch input etc..In addition to audio or video is exported, alarm unit 153 can provide output in a different manner with the generation of notification event.For example, alarm unit 153 can be in the form of vibrating Output is provided, when calling, message or some other entrance communication (incoming communication) are received, alarm list Unit 153 can provide tactile output (that is, vibrating) to notify to user.Tactile output as by providing, even if When the mobile phone of user is in the pocket of user, user also can recognize that the generation of various events.Alarm unit 153 The output of the generation of notification event can be provided via display unit 151 or dio Output Modules 152.
Memorizer 160 can store software program for the process and control operation executed by controller 180 etc., Huo Zheke Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And And, memorizer 160 can be storing the vibration of various modes with regard to exporting and audio signal when touching and being applied to touch screen Data.
Memorizer 160 can include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, many Media card, card-type memorizer (for example, SD or DX memorizeies etc.), random access storage device (RAM), static random-access storage Device (SRAM), read only memory (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..And, mobile terminal 1 00 can execute memorizer with by network connection The network storage device cooperation of 160 store function.
The overall operation of 180 usual control mobile terminal of controller.For example, controller 180 is executed and voice call, data The related control of communication, video calling etc. and process.In addition, controller 180 can include (or playback) many matchmakers for reproducing The multi-media module 181 of volume data, multi-media module 181 can be constructed in controller 180, or it is so structured that and control Device 180 is separated.Controller 180 can be with execution pattern identifying processing, by the handwriting input for executing on the touchscreen or picture Draw input and be identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides operation each unit Appropriate electric power needed for part and component.
Various embodiments described herein can be with use such as computer software, hardware or its any combination of calculating Machine computer-readable recording medium is implementing.For hardware is implemented, embodiment described herein can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can Programming gate array (FPGA), processor, controller, microcontroller, microprocessor, it is designed to execute function described herein At least one in electronic unit implementing, in some cases, can be implemented in controller 180 by such embodiment. For software is implemented, the embodiment of such as process or function can with allow to execute the single of at least one function or operation Software module is implementing.Software code can be come by the software application (or program) that is write with any appropriate programming language Implement, software code can be stored in memorizer 160 and be executed by controller 180.
So far, oneself is through describing mobile terminal according to its function.Below, for the sake of brevity, will description such as folded form, Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc. is used as showing Example.Therefore, the application can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
As shown in Figure 1 mobile terminal 1 00 may be constructed such that using via frame or packet transmission data all if any Line and wireless communication system and satellite-based communication system are operating.
Referring now to the communication system that Fig. 2 descriptions are wherein operable to according to the mobile terminal of the application.
Such communication system can use different air interfaces and/or physical layer.For example, used by communication system Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications system System (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, under The description in face is related to cdma communication system, but such teaching is equally applicable to other types of system.
With reference to Fig. 2, cdma wireless communication system can include multiple mobile terminal 1s 00, multiple base stations (BS) 270, base station Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN) 290 form interface.MSC280 is also structured to form interface with the BSC275 that can be couple to base station 270 via back haul link. If back haul link can be constructed according to any one in the interface that Ganji knows, the interface includes such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that system can include multiple BSC275 as shown in Figure 2.
Each BS270 can service one or more subregions (or region), by multidirectional antenna or the day of sensing specific direction Each subregion that line is covered is radially away from BS270.Or, each subregion can by for diversity reception two or more Antenna is covered.Each BS270 may be constructed such that the multiple frequency distribution of support, and each frequency distribution has specific frequency spectrum (for example, 1.25MHz, 5MHz etc.).
Intersecting that subregion and frequency are distributed can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver System (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly representing single BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Or, each subregion of specific BS270 can be claimed For multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to broadcsting transmitter (BT) 295 mobile terminal operated in system 100.Broadcasting reception module 111 is arranged at mobile terminal 1 00 to receive the broadcast sent by BT295 as shown in Figure 1 Signal.In fig. 2 it is shown that several global positioning system (GPS) satellite 300.Satellite 300 helps position multiple mobile terminals At least one of 100.
In fig. 2, multiple satellites 300 are depicted, it is understood that be, it is possible to use any number of satellite obtains useful Location information.GPS module 115 is generally configured to coordinate to obtain the positioning that wants letter with satellite 300 as shown in Figure 1 Breath.Substitute GPS tracking techniques or outside GPS tracking techniques, it is possible to use can track the position of mobile terminal other Technology.In addition, at least one gps satellite 300 can optionally or additionally process satellite dmb transmission.
Used as a typical operation of wireless communication system, BS270 receives the reverse link from various mobile terminal 1s 00 Signal.00 usual participation call of mobile terminal 1, information receiving and transmitting and other types of communication.Each of the reception of certain base station 270 is anti- Processed in specific BS270 to link signal.The data of acquisition are forwarded to the BSC275 of correlation.BSC provides call Resource allocation and the mobile management function of the coordination including the soft switching process between BS270.BSC275 is also by the number for receiving According to MSC280 is routed to, which is provided for the extra route service with PSTN290 formation interfaces.Similarly, PSTN290 with MSC280 forms interface, and MSC and BSC275 form interface, and BSC275 correspondingly controls BS270 with by forward link signals It is sent to mobile terminal 1 00.
Based on above-mentioned mobile terminal hardware configuration and communication system, the application method each embodiment is proposed.
In existing cut-in method, between access server not access order, client random selection access server enter Row is accessed.In the application, it is that access server arranges access priority, client selects access server according to access priority Accessed.Client can be mobile terminal.
Fig. 3 is embodiment of the present invention client block diagram.As shown in figure 3, client provided in an embodiment of the present invention includes:
Request unit 301, for sending access request to routing server;
Receiving unit 302, for receiving the route list information that the routing server is returned, the route list information Include that one or more access informations, the access information include the address information of access server and access priority;
Access unit 303, for selecting access server according to the access priority from the route list information Request is accessed.
In one embodiment of this invention, the access unit 303 according to the access priority from the route list Access server request access is selected to include in information:
The access unit 303 selects the access server request of an access priority to access, if access failure, selects Other access server requests for being currently accessed priority are accessed, if all access servers for being currently accessed priority connect Enter failure, then continue to select the access server request of time one-level access priority to access, until being successfully accessed or having selected All access servers in the route list information;Wherein, when initial, the access unit selects the route list letter In breath, the request of access priority highest access server is accessed.
In another embodiment of the present invention, the access priority includes from high to low:Host type, from type, standby. Merely illustrative herein.Access priority can also only include two kinds:Host type, from type.Or, including more kinds of, such as four Kind:Host type, from type, standby, redundancy etc..Wherein, every kind of access priority can have multiple access servers.
In one embodiment of this invention, the access priority meets following condition:Between different access servers, connect Enter the high access server of priority its access-in resource access server low more than access priority.I.e., by access-in resource not With, different access priorities are configured, the access server of many for access-in resource (performance is more excellent) is configured high access priority, will The access server of access-in resource few (performance suboptimum) is with setting low access priority.Such as, the access server of host type its connect Enter access-in resource of the resource more than the access server from type, be more than from the access-in resource of the access server of type standby The access-in resource of access server, so that client first is linked into the more access servers of access-in resource, it is user There is provided and preferably service.
The client can be terminal, or other equipment.
Fig. 4 is a kind of cut-in method flow chart of the embodiment of the present invention.As shown in figure 4, one kind provided in an embodiment of the present invention Cut-in method includes:
Step 401, client send access request to routing server;
Step 402, the client receive the route list information that the routing server is returned, the route list letter Breath includes that one or more access informations, the access information include the address information of access server and access priority;
Step 403, the client select access service from the route list information according to the access priority Device request is accessed.
In an embodiment of the present invention, the client is selected from the route list information according to the access priority Selecting access server request access includes:
The access unit selects the access server request of an access priority to access, if access failure, selects to work as Other access server requests of front access priority are accessed, if all access servers for being currently accessed priority are accessed Failure, then continue to select the access server request of time one-level access priority to access, until being successfully accessed or having selected institute State all access servers in route list information;Wherein, when initial, the access unit selects the route list information Middle access priority highest access server request is accessed.
In one embodiment of this invention, it is also possible in route list information to according to access priority to access service Device is ranked up, and client selects access server to be accessed according to the order in route list information successively.Now, it route Access priority information can not also be carried in list information.
In another embodiment of the invention, access priority can be represented using an access priority mark;Its In, for the first preset value, the access priority mark value represents that corresponding access server, should for host type access server For the second preset value, access priority mark value represents that corresponding access server is that the access is excellent from type access server For the 3rd preset value, first level mark value represents that corresponding access server is standby access server.Such as, value is 2,1,0 Represent respectively
Access procedure is described below by an instantiation.Such as, route list information includes 5 access informations, Be respectively the first access server, access priority be host type;Second access server, access priority are host type;The Three access servers, access priority are from type;4th access server, access priority are from type;5th accesses clothes Business device, access priority are standby;Then client selects connecing for the i.e. host type of access priority highest access server first Enter server to be accessed, an access, such as, choosing can be wherein selected from the first access server and the second access server Select the first access server to be accessed, if be successfully accessed, terminate;If access failure, continue selection and be currently accessed Other access servers of priority are accessed, and now, select the second access server to be accessed, if be successfully accessed, Then terminate;If access failure, select the access server of next access priority to be accessed, now select connecing from type Enter server to be accessed, can be accessed from one being selected between the 3rd access server and the 4th access server, than Such as, select the 4th access server to be accessed, if be successfully accessed, terminate, if access failure, continue to select currently Other access servers of access priority are accessed, and now, select the 3rd access server to be accessed, if accessed into Work(, then terminate;If access failure, select the access server of next access priority to be accessed, now select standby Access server is accessed, and now, is selected the 5th access server to be accessed, if be successfully accessed, is terminated, if connect Enter failure, then this client attempts access failure, terminate.
In another embodiment of the invention, the access priority includes from high to low:Host type, from type, standby.
In another embodiment of the invention, access server is monitored, when the access of a certain access priority takes When business device reaches early-warning conditions, warning information is given.Such that it is able to configure more clothes according to warning information for the access priority Business device, there is provided bigger access amount.Early-warning conditions can be that the access amount of all access servers of the access priority reaches Threshold value is accessed, or, it is set to other conditions as needed.
In one embodiment of this invention, the access priority meets following condition:Between different access servers, connect Enter the high access server of priority its access-in resource access server low more than access priority.
Fig. 5 is routing server block diagram provided in an embodiment of the present invention, as shown in figure 5, the routing server includes:
Interface unit 501, for receiving the access request of client transmission;
Route list signal generating unit 502, for receiving after the access request, determines the access service for meeting condition Device, generates route list information, and the route list information includes the access information of the access server for meeting condition, The access information includes the address information of the access server and access priority;
Transmitting element 503, for being sent to the client by the route list information.
In one embodiment of this invention, the access priority includes from high to low:Host type, from type, standby.
In one embodiment of this invention, the access priority meets following condition:Between different access servers, connect Enter the high access server of priority its access-in resource access server low more than access priority.
Fig. 6 is a kind of cut-in method flow chart provided in an embodiment of the present invention, as shown in fig. 6, the embodiment of the present invention is provided Cut-in method include:
Step 601, routing server receive the access request that client sends;
Step 602, after the routing server receives the access request, determines the access server for meeting condition, Route list information is generated, the route list information includes the access information of the access server for meeting condition, institute Stating access information includes address information and the access priority of the access server;
The route list information is sent to the client by step 603, the routing server.
In one embodiment of this invention, the access priority includes from high to low:Host type, from type, standby.
In one embodiment of this invention, the access priority meets following condition:Between different access servers, connect Enter the high access server of priority its access-in resource access server low more than access priority.
The embodiment of the present invention also provides a kind of server management method, including:
Access server is arranged access priority, and the access-in resource of the high access server of access priority is more than connecing Enter the access-in resource of the low access server of priority;
The running status of the access server of each access priority is monitored, when the access server of an access priority meets During early-warning conditions, warning information is generated.
The present invention is further illustrated below by an instantiation.
This example architecture refers to Fig. 7.It is access server to access container, route the service that cluster is routing server composition Device cluster;Fig. 7 includes that control access server cluster and independent APP (should in two access server clusters, Push (push) With) access server cluster.In Push, control access server cluster includes multiple accessing contents, its access priority is marked, Respectively host type, from type and standby, referred to as master and slave, standby;Independent APP access servers cluster is included in multiple accesses Hold, its access priority is also marked, respectively host type, from type and standby, referred to as master and slave, standby.Client (Client SDK) if control access server cluster or independent APP access servers cluster in Push will be accessed, as shown in figure 8, including:
Step 801, client send access request to routing server;
Step 802, routing server return the route list information that can be accessed for meeting condition, access letter including multiple Breath, each access information include the address information of access server and access priority;
Wherein, the address information of access server includes that IP, port or domain name or access server directly connect The related information such as address;
Step 803, after client receives the route list information, is accessed according to access priority.
First, the address for host type access server carries out access operation, terminates if being successfully accessed, if not Success, then continue to access other servers.Such as the equal access failure of host type access server, then carry out from type access server Access, if from type access server also access failure, carrying out the access operation of standby access server.
By the way of the setting access priority of the embodiment of the present invention, can be use by preferable for access-in resource server Family provides service, meets most of user's requests, and due to the preferable server of user priority access access-in resource, access efficiency Higher, if random selection, can just be linked into the more preferable access server of access-in resource after repeatedly may selecting.
The embodiment of the present invention also provides a kind of computer-readable recording medium, and be stored with computer executable instructions, described Above-mentioned cut-in method is realized when computer executable instructions are performed.
It should be noted that herein, term " including ", "comprising" or its any other variant are intended to non-row His property includes, so that a series of process, method, article or device including key elements not only includes those key elements, and And also include other key elements being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element for being limited by sentence "including a ...", it is not excluded that including being somebody's turn to do Also there is other identical element in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step in said method can be instructed by program Related hardware (such as processor) is completed, and described program can be stored in computer-readable recording medium, such as read only memory, Disk or CD etc..Alternatively, all or part of step of above-described embodiment can also be come using one or more integrated circuits Realize.Correspondingly, each module/unit in above-described embodiment can be realized in the form of hardware, for example, pass through integrated circuit To realize its corresponding function, it would however also be possible to employ the form of software function module is realized, is such as stored in by computing device Program/instruction in reservoir is realizing its corresponding function.The present invention is not restricted to the knot of the hardware and software of any particular form Close.
The preferred embodiment of the application is these are only, the scope of the claims of the application is not thereby limited, every using this Shen Please the equivalent structure made of description and accompanying drawing content or equivalent flow conversion, or be directly or indirectly used in other related skills Art field, is included in the scope of patent protection of the application in the same manner.

Claims (10)

1. a kind of client, it is characterised in that include:
Request unit, for sending access request to routing server;
Receiving unit, for receiving the route list information that the routing server is returned, the route list information includes One or more access informations, the access information include the address information of access server and access priority;
Access unit, for selecting access server request to connect according to the access priority from the route list information Enter.
2. client as claimed in claim 1, it is characterised in that the access unit is according to the access priority from described Access server request access is selected to include in route list information:
The access unit selects the access server request of an access priority to access, if access failure, selects currently to connect Other access server requests for entering priority are accessed, if all access servers for being currently accessed priority access mistake Lose, then continue to select the access server request of time one-level access priority to access, described until being successfully accessed or having selected All access servers in route list information;Wherein, when initial, the access unit is selected in the route list information The request of access priority highest access server is accessed.
3. client as claimed in claim 1 or 2, it is characterised in that the access priority meets following condition:Difference connects Enter between server, its access-in resource of the high access server of access priority access server low more than access priority.
4. a kind of cut-in method, it is characterised in that include:
Client sends access request to routing server;
The client receives the route list information that the routing server is returned, and the route list information includes one Or multiple access informations, the access information includes the address information of access server and access priority;
The client selects access server request to access from the route list information according to the access priority.
5. method as claimed in claim 4, it is characterised in that the client is according to the access priority from the route Access server request access is selected to include in list information:
The access unit selects the access server request of an access priority to access, if access failure, selects currently to connect Other access server requests for entering priority are accessed, if all access servers for being currently accessed priority access mistake Lose, then continue to select the access server request of time one-level access priority to access, described until being successfully accessed or having selected All access servers in route list information;Wherein, when initial, the access unit is selected in the route list information The request of access priority highest access server is accessed.
6. the method as described in claim 4 or 5, it is characterised in that the access priority meets following condition:Different accesses Between server, its access-in resource of the high access server of access priority access server low more than access priority.
7. a kind of routing server, it is characterised in that include:
Interface unit, for receiving the access request of client transmission;
Route list signal generating unit, for receiving after the access request, determines the access server for meeting condition, generates road By list information, the route list information includes the access information of the access server for meeting condition, the access Information includes the address information of the access server and access priority;
Transmitting element, for being sent to the client by the route list information.
8. routing server as claimed in claim 7, it is characterised in that the access priority meets following condition:Different Between access server, the access service low more than access priority of its access-in resource of the high access server of access priority Device.
9. a kind of cut-in method, it is characterised in that include:
Routing server receives the access request that client sends;
After the routing server receives the access request, the access server for meeting condition is determined, generate route list Information, the route list information include the access information of the access server for meeting condition, the access information bag Address information and the access priority of the access server is included, and is met between different access servers, access priority is high Low more than the access priority access server of access server its access-in resource;
The route list information is sent to the client by the routing server.
10. method as claimed in claim 9, it is characterised in that the access priority meets following condition:Different access takes Between business device, its access-in resource of the high access server of access priority access server low more than access priority.
CN201611123720.2A 2016-12-08 2016-12-08 A kind of cut-in method, client and routing server Pending CN106506364A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611123720.2A CN106506364A (en) 2016-12-08 2016-12-08 A kind of cut-in method, client and routing server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611123720.2A CN106506364A (en) 2016-12-08 2016-12-08 A kind of cut-in method, client and routing server

Publications (1)

Publication Number Publication Date
CN106506364A true CN106506364A (en) 2017-03-15

Family

ID=58330272

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611123720.2A Pending CN106506364A (en) 2016-12-08 2016-12-08 A kind of cut-in method, client and routing server

Country Status (1)

Country Link
CN (1) CN106506364A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109274584A (en) * 2018-09-28 2019-01-25 乐蜜有限公司 Cut-in method, device, client device and the storage medium of access server
CN110300162A (en) * 2019-06-21 2019-10-01 视联动力信息技术股份有限公司 A kind of method of network entry and device of service server
CN110677832A (en) * 2019-09-30 2020-01-10 北京摩拜科技有限公司 Network connection control method and device for vehicle, vehicle and vehicle system
CN111309476A (en) * 2020-01-22 2020-06-19 福建天泉教育科技有限公司 Method for automatically adjusting resources of push system and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1780231A (en) * 2004-11-25 2006-05-31 华为技术有限公司 Backup system and method for access servo interface
CN200944605Y (en) * 2006-07-06 2007-09-05 阿里巴巴公司 Domain name server and communication system
CN101102288A (en) * 2006-07-06 2008-01-09 阿里巴巴公司 A method and system for realizing large-scale instant message
CN101621409A (en) * 2009-07-22 2010-01-06 中兴通讯股份有限公司 Service control method, service control device and broadband access servers
CN102006189A (en) * 2010-11-25 2011-04-06 中兴通讯股份有限公司 Primary access server determination method and device for dual-machine redundancy backup
CN104038362A (en) * 2013-03-08 2014-09-10 中国移动通信集团广东有限公司 Network system
CN105245442A (en) * 2015-10-27 2016-01-13 广州市百果园网络科技有限公司 Method, device and system for transmitting instant messaging IM message
CN105827531A (en) * 2016-04-20 2016-08-03 努比亚技术有限公司 Routing access method and terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1780231A (en) * 2004-11-25 2006-05-31 华为技术有限公司 Backup system and method for access servo interface
CN200944605Y (en) * 2006-07-06 2007-09-05 阿里巴巴公司 Domain name server and communication system
CN101102288A (en) * 2006-07-06 2008-01-09 阿里巴巴公司 A method and system for realizing large-scale instant message
CN101621409A (en) * 2009-07-22 2010-01-06 中兴通讯股份有限公司 Service control method, service control device and broadband access servers
CN102006189A (en) * 2010-11-25 2011-04-06 中兴通讯股份有限公司 Primary access server determination method and device for dual-machine redundancy backup
CN104038362A (en) * 2013-03-08 2014-09-10 中国移动通信集团广东有限公司 Network system
CN105245442A (en) * 2015-10-27 2016-01-13 广州市百果园网络科技有限公司 Method, device and system for transmitting instant messaging IM message
CN105827531A (en) * 2016-04-20 2016-08-03 努比亚技术有限公司 Routing access method and terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109274584A (en) * 2018-09-28 2019-01-25 乐蜜有限公司 Cut-in method, device, client device and the storage medium of access server
CN109274584B (en) * 2018-09-28 2021-10-15 卓米私人有限公司 Access method and device for access server, client device and storage medium
CN110300162A (en) * 2019-06-21 2019-10-01 视联动力信息技术股份有限公司 A kind of method of network entry and device of service server
CN110300162B (en) * 2019-06-21 2021-06-18 视联动力信息技术股份有限公司 Network access method and device of service server
CN110677832A (en) * 2019-09-30 2020-01-10 北京摩拜科技有限公司 Network connection control method and device for vehicle, vehicle and vehicle system
CN111309476A (en) * 2020-01-22 2020-06-19 福建天泉教育科技有限公司 Method for automatically adjusting resources of push system and storage medium
CN111309476B (en) * 2020-01-22 2023-11-03 福建天泉教育科技有限公司 Method for pushing system to automatically adjust resources and storage medium

Similar Documents

Publication Publication Date Title
CN106453382A (en) Message pushing method and device
CN106550128A (en) A kind of EMS memory management process and terminal
CN104951229B (en) Screenshot method and device
CN104777982B (en) Method and device for switching terminal input method
CN106528298A (en) Resource distribution method and device
CN106557291A (en) Split screen processing method and processing device
CN106101455A (en) Page jump management method, device and terminal
CN106506364A (en) A kind of cut-in method, client and routing server
CN106598538A (en) Method and system for updating instruction set
CN106406733A (en) Anti-mistaken-touch terminal and method
CN106371704A (en) Fast application layout method for lock screen interface and terminal
CN106484534A (en) Control method for the mobile terminal of displaying and control device
CN106658470A (en) Master card setting device and method
CN106488035A (en) A kind of mobile terminal and control method
CN106547674A (en) A kind of fingerprint input method, device and terminal
CN106485163A (en) Control method and control device that mobile terminal data storehouse accesses
CN106657950A (en) Projection device management device, method and projection data sharing device
CN105827531A (en) Routing access method and terminal
CN107194243A (en) A kind of mobile terminal and the method for installing application program
CN106454771A (en) Information sending method and device and terminal
CN106792878A (en) A kind of data traffic monitoring method and device
CN106534498A (en) Control device and method of application folder and mobile terminal
CN106502744A (en) Application program sharing method and system
CN106385494A (en) Method and device for obtaining dynamic home page of mobile terminal application
CN106412877A (en) Activation method and activation device for SIM card of mobile terminal

Legal Events

Date Code Title Description
C06 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: 20170315