CN109547547A - Return source dispatching method, device and its storage medium - Google Patents

Return source dispatching method, device and its storage medium Download PDF

Info

Publication number
CN109547547A
CN109547547A CN201811413108.8A CN201811413108A CN109547547A CN 109547547 A CN109547547 A CN 109547547A CN 201811413108 A CN201811413108 A CN 201811413108A CN 109547547 A CN109547547 A CN 109547547A
Authority
CN
China
Prior art keywords
source station
source
address
service request
internet protocol
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
CN201811413108.8A
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.)
Beijing Knownsec Information Technology Co Ltd
Original Assignee
Beijing Knownsec Information 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 Beijing Knownsec Information Technology Co Ltd filed Critical Beijing Knownsec Information Technology Co Ltd
Priority to CN201811413108.8A priority Critical patent/CN109547547A/en
Publication of CN109547547A publication Critical patent/CN109547547A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present invention provides source dispatching method, device and its storage medium is returned, it is related to scheduling of resource technical field.This time source dispatching method includes: to receive Client-initiated service request;The Internet protocol address of the user and the domain-name information of request are obtained from the service request;Source station address is determined in forwarding strategy based on the Internet protocol address and domain name information;The specified content of the service request is obtained from the corresponding source station server of the source station address, and the specified content is sent to the user.This time source dispatching method by third-party server based on the forwarding strategy of configuration by different geographical come service request be forwarded to different source station servers, it needs in each areal setting third party device so that the service request of the region is sent to stationary source tiny node, network equipment arrangement difficulty and network complexity are reduced, to reduce equipment cost and maintenance cost.

Description

Return source dispatching method, device and its storage medium
Technical field
The present invention relates to scheduling of resource technical fields, are situated between in particular to source dispatching method, device and its storage is returned Matter.
Background technique
With the lasting increase of internet scale, to guarantee data when the access request of terminal user is from all over the world Transmission speed, application Internet-based much use access of the third party content distribution network equipment to increasing terminal user Speed, or third party's security protection platform device is used, with protective platform from arriving malicious attack.Using third party It is directly to be connect with the access server of third-party platform, then when the service that user is applied by internet access when platform Third-party platform visits again the content that application service (source station) obtains application.Such a access can be split as two processes: First is that from terminal user to third-party server, second is that from third-party server to source station.In the prior art time source scheme is logical Often during previous by be arranged in the third party device of different geographical by the access request of each region be sent to this The source station node that three method, apparatus are fixedly connected returns source scheduling based on access request derived region to realize, needs eachly A large amount of third party device is arranged in domain, there is a problem of that big network equipment arrangement difficulty, complex circuit, equipment cost are high.
Summary of the invention
In view of this, the embodiment of the present invention is designed to provide back source dispatching method, device and its storage medium, with solution Certainly realizing the problem of time source based on access request region is dispatched in the prior art.
In a first aspect, the embodiment of the invention provides one kind return source dispatching method, be applied to third-party server, described time Source dispatching method includes: to receive Client-initiated service request;The internet protocol of the user is obtained from the service request Discuss the domain-name information of address and request;It is determined in forwarding strategy based on the Internet protocol address and domain name information Source station address;Obtain the specified content of the service request from the corresponding source station server of the source station address, and by the finger Determine content and is sent to the user.
Above-described embodiment is sent by third-party server according to user in service request Internet protocol address and The domain-name information of request determines source station address, by the service request of the user of different geographical based on pre-configured forwarding strategy It is sent to corresponding source station, is not needed in each areal setting third party device so that the service request of the region is sent to fixation Source station node reduces network equipment arrangement difficulty and network complexity, to reduce equipment cost and maintenance cost.
Synthesis is in a first aspect, described determined in forwarding strategy based on the Internet protocol address and domain name information Source station address, comprising: the geographical location information of the user is determined based on the Internet protocol address;In forwarding strategy really Fixed source station address corresponding with the geographical location information and domain name information.
Above-described embodiment by Internet protocol address of the third party device based on the user parsed in service request and The domain-name information for needing to access determines source station address, and same third-party server is enable to carry out polytopic user transmission Service request carries out returning source scheduling based on region, does not need in the individual third party device of each areal setting.
Synthesis is in a first aspect, the forwarding strategy includes the mapping of geographical location information, domain-name information and source station address Relation table, it is described that source station address corresponding with the geographical location information and domain name information, packet are determined in forwarding strategy It includes: source station address is determined in the mapping table based on the geographical location information and domain name information.
Above-described embodiment determines source station address corresponding with geographical location information in mapping table, to make third party It dispatches in the source of returning that server can rapidly, fast and accurately carry out the geographical location based on user and source station server.
Synthesis is in a first aspect, described true in forwarding strategy based on the Internet protocol address and domain name information Before determining source station address, the method also includes: the Internet protocol address of source station server is obtained, is serviced based on the source station The Internet protocol address of device determines the geographical location information of the source station server;Geographical position based on the source station server Set forwarding strategy described in information configuration.
Geographical location of the above-described embodiment based on source station server configures forwarding strategy in advance, so as to third party's clothes Business device can the service request to local domain and other regions carry out based on region return source scheduling, while improve back source dispatch Accuracy and efficiency.
Second aspect, the embodiment of the invention provides one kind to return source dispatching method, is applied to source station server, the Hui Yuan Dispatching method includes: the service request for receiving third-party server and sending;The service is returned to the third-party server Request corresponding specified content.
Comprehensive second aspect, the method also includes: receive the address request information that the third-party server sends; The Internet protocol address of itself is sent to the third-party server.
The third aspect, the embodiment of the invention provides one kind to return source dispatching device, and described time source dispatching device includes: service Request receiving module, for receiving Client-initiated service request;Parsing module, it is described for being obtained from the service request The Internet protocol address of user and the domain-name information of request;Source station address determining module, for being based on the internet protocol It discusses address and domain name information and determines source station address in forwarding strategy;Content forwarding module is used for from the source station address Corresponding source station server obtains the specified content of the service request, and the specified content is sent to the user.
The comprehensive third aspect, the source station address determining module includes: position determination unit, for being based on the internet Protocol address determines the geographical location information of the user;Source station address determination unit, for the determining and institute in forwarding strategy State geographical location information and the corresponding source station address of domain name information.
The comprehensive third aspect, the source station address determination unit are also used to based on the geographical location information and domain name Information determines source station address in the mapping table.
The comprehensive third aspect, described time source dispatching device further includes forwarding strategy configuration module, the forwarding strategy configuration Module includes: source station position determination unit, for obtaining the Internet protocol address of source station server, is serviced based on the source station The Internet protocol address of device determines the geographical location information of the source station server;Configuration unit, for being based on the source station The geographical location information of server configures the forwarding strategy.
Fourth aspect, the embodiment of the invention provides one kind to return source dispatching device, and described time source dispatching device includes: request Receiving module, the service request sent for receiving third-party server;Content sending module, for being taken to the third party The corresponding specified content of the device return service request of being engaged in.
5th aspect, it is described computer-readable the embodiment of the invention also provides a kind of computer-readable storage medium It takes and is stored with computer program instructions in storage medium, when the computer program instructions are read and run by a processor, hold Step in any of the above-described aspect the method for row.
Other features and advantages of the present invention will be illustrated in subsequent specification, also, partly be become from specification It is clear that by implementing understanding of the embodiment of the present invention.The objectives and other advantages of the invention can be by written theory Specifically noted structure is achieved and obtained in bright book, claims and attached drawing.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 is a kind of process for returning source dispatching method applied to third-party server that first embodiment of the invention provides Schematic diagram;
Fig. 2 is the flow diagram that a kind of source station address that first embodiment of the invention provides determines step;
Fig. 3 is a kind of schematic diagram for third-party server forwarding plane that first embodiment of the invention provides;
Fig. 4 is the module diagram for a kind of time source dispatching device 110 that second embodiment of the invention provides;
Fig. 5 is the module diagram for a kind of time source dispatching device 120 that second embodiment of the invention provides;
Fig. 6 is a kind of structure that can be applied to the electronic equipment in the embodiment of the present application that third embodiment of the invention provides Block diagram.
Icon: 110- returns source dispatching device;111- service request reception module;112- parsing module;113- source station address Determining module;114- content forwarding module;120- returns source dispatching device;121- request receiving module;122- content sending module; 200- electronic equipment;201- memory;202- storage control;203- processor;204- Peripheral Interface;205- input and output list Member;206- audio unit;207- display unit.
Specific embodiment
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete Ground description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause This, is not intended to limit claimed invention to the detailed description of the embodiment of the present invention provided in the accompanying drawings below Range, but it is merely representative of selected embodiment of the invention.Based on the embodiment of the present invention, those skilled in the art are not doing Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.Meanwhile of the invention In description, term " first ", " second " etc. are only used for distinguishing description, are not understood to indicate or imply relative importance.
First embodiment
It is all according to fortune through the applicant the study found that existing time source scheduling scheme is in the case where there is multiple source stations The silver such as battalion's quotient's route, weight are dispatched.Than if any 3 source station servers, be respectively labeled as server1, server2 and server3.If dispatched according to operator's route, telecommunication user Hui Yuan to server1, connection user Hui Yuan to server2, Mobile subscriber Hui Yuan to server3.If dispatched according to weight, similar load balancing, if the weight of 3 servers Silver is 50,30,10, then Hui Yuan to the probability of server1, server2 and server3 be respectively 50/90,30/90, 10/90.And the prior art usually passes through during previous and is arranged differently when needing to carry out go back to source based on region to dispatch The access request of each region is sent to the source station node being fixedly connected with the third party device by the third party device in domain, with reality Source scheduling is now returned based on access request derived region, is needed in a large amount of third party device of each areal setting, there are networks Equipment arranges the high problem of big difficulty, complex circuit, equipment cost.
To solve the above-mentioned problems, first embodiment of the invention provides a kind of time source dispatching method, this time source dispatching party The executing subject of method can be computer, intelligent terminal, cloud processor or other have the processing equipment of logical operation capability.Into One step, the executing subject of this time source dispatching method is third-party server in the present embodiment, which can be with It is but not limited to the third party content distribution network equipment for accelerating access speed, Web application guard system is provided with, divides Cloth refuses the third party's safety protection equipment or Reverse Proxy of the security components such as service module.Wherein, in third party Content distributing network (Content Delivery Network, CDN) is the content distributing network constructed on network, by portion Affixing one's name to the Edge Server in various regions makes user just by functional modules such as the load balancing, content distribution, scheduling of central platform It is close to obtain required content, network congestion is reduced, user's access response speed and hit rate are improved.Web application guard system is one The emerging information security technology of class, to solve the helpless Web application safety problem of such as firewall one kind traditional equipment, It is different from traditional firewall, WAF work in application layer, therefore to Web application protection have inborn technical advantage, based on pair The profound understanding of Web applied business and logic, WAF carry out content detection to all kinds of requests from web application client And verifying, it is ensured that its safety and legitimacy give real-time blocking to illegal request, to have to all kinds of web-sites Effect protection.Distributed denial of service (Distributed Denial of Service) attack refers to by means of client/server skill Art, multiple computers are joined together as Attack Platform, start ddos attack to one or more targets, to exponentially mention The power of high Denial of Service attack.Reverse proxy (Reverse Proxy) server refers to be received with proxy server Connection request on internet, then forward a request to the server on internal network, and will obtain from server As a result the client that connection is requested on internet is returned to, proxy server externally will appear as a reverse proxy clothes at this time Business device.
Referring to FIG. 1, Fig. 1 is that a kind of source of returning applied to third-party server that first embodiment of the invention provides is dispatched The specific steps of the flow diagram of method, this time source dispatching method can be such that
Step S20: third-party server receives Client-initiated service request.
Service request in the present embodiment can be resource scheduling request, such as to multimedia resources such as video, audios Scheduling request, or to the scheduling request of the non-multimedia resource such as file, picture, document, can also be application programming Interface call request etc..
Step S40: third-party server obtains the Internet protocol address of user and the domain of request from service request Name information.
Internet protocol address (Internet Protocol, IP) is a kind of unified address that Internet protocol provides Format, it is one logical address of each network and each host assignment on internet, shields physical address with this Difference, IP address is one 32 binary numbers, is usually divided into 4 " 8 bit " (namely 4 words Section).
Domain name (English: Domain Name), abbreviation domain name, domain are formed by a string with the name that point separates The upper a certain computer of Internet or the title for calculating unit, for identifying the electronic bearing of computer when data are transmitted (sometimes referred to as geographical location).For example, www.wikipedia.org is a domain name, user's meeting when needing to access certain website Catchy domain name is held in input, thus the service request in the present embodiment include be used to indicate purpose source station be identified as domain name Information.
Step S60: third-party server internet protocol-based address and domain-name information determine source station in forwarding strategy Address.
For same domain name, includes the IP address of service request and the corresponding relationship of source station address in the forwarding strategy, be somebody's turn to do Corresponding relationship can be direct or indirect corresponding relationship.For example, may include IP address and the source of service request in forwarding strategy The direct correspondence mappings relation table of station address can also include the correspondence mappings relation table of region and source station address, determine source Its region is first determined based on the IP address of service request before station address, is closed further according to the correspondence mappings comprising region and source station address It is that table determines source station address.
Source station address in the present embodiment is the IP address of source station server.
The service request that provided in an embodiment of the present invention time source dispatching method is sent by third-party server according to user In Internet protocol address and the domain-name information of request determine source station address, the service request of the user of different geographical is based on Pre-configured forwarding strategy is sent to corresponding source station, does not need in each areal setting third party device with by the region Service request be sent to stationary source tiny node, reduce network equipment arrangement difficulty and network complexity, set to reduce Standby cost and maintenance cost.
As an alternative embodiment, please be the provenance that first embodiment of the invention provides with reference to Fig. 2, Fig. 2 Station address determines that the flow diagram of step, step S60 may include steps of:
Step S61: third-party server internet protocol-based address determines the geographical location information of user.
Since IP address can divide different network segments when dividing according to geographical location (such as province, district), the Tripartite's server can be determined based on the corresponding relationship of geographical location and network segment sends ground locating for the user terminal of service request Manage position.
Step S62: third-party server determines source corresponding with geographical location information and domain-name information in forwarding strategy Station address.
It, can also reflecting comprising geographical location information, domain-name information and source station address in forwarding strategy for step S62 Relation table is penetrated, such as domain name www.xxxx.com (xxxx is the character combination for arbitrarily meeting domain name rule), geographical location The source station server that corresponding source station address is B when for Sichuan, the source station that corresponding source station address is C when geographical location is Hubei Server, then step S32 can be specifically included: third-party server is based on geographical location information and domain-name information in the mapping Source station address is determined in relation table.Referring to FIG. 3, Fig. 3 is that a kind of third-party server that first embodiment of the invention provides turns Send out the schematic diagram of framework.
Above-mentioned steps determine source station address corresponding with geographical location information and domain-name information in mapping table, thus Third-party server is set rapidly, fast and accurately to carry out the geographical position of service request and source station server based on user That sets returns source scheduling.
Further, it can also be that domain-name information is corresponding with different forwarding strategies in other embodiments, be based on domain Name information determines corresponding forwarding strategy, then determination is corresponding with the geographical location information in service request in the forwarding strategy Source station address.
Step S61-S62 in the present embodiment passes through interconnection of the third party device based on the user parsed in service request The domain-name information that fidonetFido address and needs access determines source station address, enables same third-party server to polytopic The service request that user's transmission comes carries out returning source scheduling based on region, does not need to set in the individual third party of each areal setting It is standby.
It should be understood that before step S60, it is also necessary to forwarding strategy is configured, as an alternative embodiment, Forwarding strategy configuration step in the present embodiment may include: the Internet protocol address for obtaining source station server, be based on source station The Internet protocol address of server determines the geographical location information of source station server;Geographical location letter based on source station server Breath configuration forwarding strategy.
The configuration of above-mentioned forwarding strategy can be based on domain name, configure one by one to the forwarding strategy of each domain name.Base Forwarding strategy is configured in advance in the geographical location of source station server, so as to third-party server can to local domain and its The service request of his region carries out returning source scheduling based on region, while improving back the accuracy and efficiency of source scheduling.
Matched it should be understood that also needing source station server in returning source scheduling process with third-party server Close, thus first embodiment of the invention additionally provide it is a kind of for source station server return source dispatching method, this method it is specific Step can be such that
Step S80: source station server receives the service request that third-party server is sent.
Step S90: source station server returns to the corresponding specified content of service request to third-party server.
Second embodiment
For time source dispatching method for being applied to third-party server for cooperating first embodiment of the invention to provide, the present invention Second embodiment additionally provides a kind of time source dispatching device 110.
Referring to FIG. 4, Fig. 4 is the module diagram for a kind of time source dispatching device 110 that second embodiment of the invention provides.
Returning source dispatching device 110 includes service request reception module 111, parsing module 112, source station address determining module 113 and content forwarding module 114.
Service request reception module 111, for receiving Client-initiated service request.
Parsing module 112, for obtaining the Internet protocol address of user and the domain name letter of request from service request Breath.
Source station address determining module 113 determines in forwarding strategy for internet protocol-based address and domain-name information Source station address.
Content forwarding module 114, for obtaining the specified content of service request from the corresponding source station server of source station address, And specified content is sent to user.
As an alternative embodiment, source station address determining module 113 may include: position determination unit, it is used for Internet protocol-based address determines the geographical location information of user;Source station address determination unit, for true in forwarding strategy Fixed source station address corresponding with geographical location information and domain-name information.
Source station address determination unit is also used to determine source in mapping table based on geographical location information and domain-name information Station address.
As an alternative embodiment, returning source dispatching device 110 further includes forwarding strategy configuration module.Forwarding strategy Configuration module includes: source station position determination unit, for obtaining the Internet protocol address of source station server, is serviced based on source station The Internet protocol address of device determines the geographical location information of source station server;Configuration unit, for based on source station server Geographical location information configures forwarding strategy.
In order to cooperate that first embodiment of the invention provides be applied to source station server return source dispatching method, the present invention the Two embodiments additionally provide a kind of time source dispatching device 120.
Referring to FIG. 5, Fig. 5 is the module diagram for a kind of time source dispatching device 120 that second embodiment of the invention provides.
Returning source dispatching device 120 includes request receiving module 121 and content sending module 122.
Request receiving module 121, the service request sent for receiving third-party server.
Content sending module 122, for returning to the corresponding specified content of service request to third-party server.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description Specific work process, no longer can excessively be repeated herein with reference to the corresponding process in preceding method.
3rd embodiment
Fig. 6 is please referred to, Fig. 6 is a kind of electronics that can be applied in the embodiment of the present application that third embodiment of the invention provides The structural block diagram of equipment.Electronic equipment 200 provided in this embodiment may include back source dispatching device 110/120, memory 201, storage control 202, processor 203, Peripheral Interface 204, input-output unit 205, audio unit 206, display unit 207。
The memory 201, storage control 202, processor 203, Peripheral Interface 204, input-output unit 205, sound Frequency unit 206, each element of display unit 207 are directly or indirectly electrically connected between each other, to realize the transmission or friendship of data Mutually.It is electrically connected for example, these elements can be realized between each other by one or more communication bus or signal wire.The Hui Yuan Dispatching device 110/120 includes that at least one can be stored in the memory 201 in the form of software or firmware (firmware) In or the software function module that is solidificated in back in the operating system (operating system, OS) of source dispatching device 110/120. The processor 203 is used to execute the executable module stored in memory 201, such as returns source dispatching device 110/120 and include Software function module or computer program.
Wherein, memory 201 may be, but not limited to, random access memory (Random Access Memory, RAM), read-only memory (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM), Electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc.. Wherein, memory 201 is for storing program, and the processor 203 executes described program after receiving and executing instruction, aforementioned Method performed by the server that the stream process that any embodiment of the embodiment of the present invention discloses defines can be applied to processor 203 In, or realized by processor 203.
Processor 203 can be a kind of IC chip, the processing capacity with signal.Above-mentioned processor 203 can To be general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;Can also be digital signal processor (DSP), specific integrated circuit (ASIC), Ready-made programmable gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hard Part component.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.General processor It can be microprocessor or the processor 203 be also possible to any conventional processor etc..
Various input/output devices are couple processor 203 and memory 201 by the Peripheral Interface 204.Some In embodiment, Peripheral Interface 204, processor 203 and storage control 202 can be realized in one single chip.Other one In a little examples, they can be realized by independent chip respectively.
Input-output unit 205 realizes user and the server (or local terminal) for being supplied to user input data Interaction.The input-output unit 205 may be, but not limited to, the equipment such as mouse and keyboard.
Audio unit 206 provides a user audio interface, may include one or more microphones, one or more raises Sound device and voicefrequency circuit.
Display unit 207 provides an interactive interface (such as user's operation circle between the electronic equipment 200 and user Face) or for display image data give user reference.In the present embodiment, the display unit 207 can be liquid crystal display Or touch control display.It can be the capacitance type touch control screen or resistance of support single-point and multi-point touch operation if touch control display Formula touch screen etc..Single-point and multi-point touch operation is supported to refer to that touch control display can sense on the touch control display one Or at multiple positions simultaneously generate touch control operation, and the touch control operation that this is sensed transfer to processor 203 carry out calculate and Processing.
It is appreciated that structure shown in fig. 6 is only to illustrate, the electronic equipment 200 may also include more than shown in Fig. 6 Perhaps less component or with the configuration different from shown in Fig. 6.Each component shown in Fig. 6 can use hardware, software Or combinations thereof realize.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description Specific work process, no longer can excessively be repeated herein with reference to the corresponding process in preceding method.
In conclusion the embodiment of the invention provides return source dispatching method, device and its storage medium, this time source dispatching party The domain-name information for the Internet protocol address and request in service request that method is sent by third-party server according to user is true Determine source station address, the service request of the user of different geographical is sent to corresponding source based on pre-configured forwarding strategy It stands, does not need in each areal setting third party device to reduce so that the service request of the region is sent to stationary source tiny node Network equipment arrangement difficulty and network complexity, to reduce equipment cost and maintenance cost.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, flow chart and block diagram in attached drawing Show the device of multiple embodiments according to the present invention, the architectural framework in the cards of method and computer program product, Function and operation.In this regard, each box in flowchart or block diagram can represent the one of a module, section or code Part, a part of the module, section or code, which includes that one or more is for implementing the specified logical function, to be held Row instruction.It should also be noted that function marked in the box can also be to be different from some implementations as replacement The sequence marked in attached drawing occurs.For example, two continuous boxes can actually be basically executed in parallel, they are sometimes It can execute in the opposite order, this depends on the function involved.It is also noted that every in block diagram and or flow chart The combination of box in a box and block diagram and or flow chart can use the dedicated base for executing defined function or movement It realizes, or can realize using a combination of dedicated hardware and computer instructions in the system of hardware.
In addition, each functional module in each embodiment of the present invention can integrate one independent portion of formation together Point, it is also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.It should also be noted that similar label and letter exist Similar terms are indicated in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing It is further defined and explained.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.

Claims (10)

1. one kind returns source dispatching method, which is characterized in that be applied to third-party server, which comprises
Receive Client-initiated service request;
The Internet protocol address of the user and the domain-name information of request are obtained from the service request;
Source station address is determined in forwarding strategy based on the Internet protocol address and domain name information;
Obtain the specified content of the service request from the corresponding source station server of the source station address, and by the specified content It is sent to the user.
2. according to claim 1 time source dispatching method, which is characterized in that it is described based on the Internet protocol address and Domain name information determines source station address in forwarding strategy, comprising:
The geographical location information of the user is determined based on the Internet protocol address;
Source station address corresponding with the geographical location information and domain name information is determined in forwarding strategy.
3. according to claim 2 time source dispatching method, which is characterized in that the forwarding strategy is believed comprising geographical location The mapping table of breath, domain-name information and source station address, it is described in forwarding strategy it is determining with the geographical location information and The corresponding source station address of domain name information, comprising:
Source station address is determined in the mapping table based on the geographical location information and domain name information.
4. according to claim 1 time source dispatching method, which is characterized in that be based on the Internet protocol address described Before determining source station address in forwarding strategy with domain name information, the method also includes:
Obtain source station server Internet protocol address, based on the source station server Internet protocol address determine described in The geographical location information of source station server;
Geographical location information based on the source station server configures the forwarding strategy.
5. one kind returns source dispatching method, which is characterized in that be applied to source station server, which comprises
Receive the service request that third-party server is sent;
The corresponding specified content of the service request is returned to the third-party server.
6. according to claim 5 time source dispatching method, which is characterized in that the method also includes:
Receive the address request information that the third-party server is sent;
The Internet protocol address of itself is sent to the third-party server.
7. one kind returns source dispatching device, which is characterized in that described device includes:
Service request reception module, for receiving Client-initiated service request;
Parsing module, for obtaining the Internet protocol address of the user and the domain name letter of request from the service request Breath;
Source station address determining module, for being determined in forwarding strategy based on the Internet protocol address and domain name information Source station address;
Content forwarding module, for obtaining the specified interior of the service request from the corresponding source station server of the source station address Hold, and the specified content is sent to the user.
8. according to claim 7 time source dispatching device, which is characterized in that the source station address determining module includes:
Position determination unit, for determining the geographical location information of the user based on the Internet protocol address;
Source station address determination unit, for determining corresponding with the geographical location information and domain name information in forwarding strategy Source station address.
9. one kind returns source dispatching device, which is characterized in that described device includes:
Request receiving module, the service request sent for receiving third-party server;
Content sending module, for returning to the corresponding specified content of the service request to the third-party server.
10. a kind of computer-readable storage medium, which is characterized in that be stored with meter in the computer-readable storage medium Calculation machine program instruction, when the computer program instructions are read and run by a processor, perform claim requires any one of 1-6 institute State the step in method.
CN201811413108.8A 2018-11-23 2018-11-23 Return source dispatching method, device and its storage medium Pending CN109547547A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811413108.8A CN109547547A (en) 2018-11-23 2018-11-23 Return source dispatching method, device and its storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811413108.8A CN109547547A (en) 2018-11-23 2018-11-23 Return source dispatching method, device and its storage medium

Publications (1)

Publication Number Publication Date
CN109547547A true CN109547547A (en) 2019-03-29

Family

ID=65850442

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811413108.8A Pending CN109547547A (en) 2018-11-23 2018-11-23 Return source dispatching method, device and its storage medium

Country Status (1)

Country Link
CN (1) CN109547547A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110912926A (en) * 2019-12-04 2020-03-24 湖南快乐阳光互动娱乐传媒有限公司 Data resource back-source method and device
CN110995474A (en) * 2019-11-20 2020-04-10 中盈优创资讯科技有限公司 Multi-port data reporting method and system
CN111200649A (en) * 2019-12-30 2020-05-26 北京知道创宇信息技术股份有限公司 Scheduling method and device and scheduling model generation method and device
CN111427766A (en) * 2020-02-20 2020-07-17 北京齐尔布莱特科技有限公司 Request processing method and device and proxy server
CN111510478A (en) * 2020-04-07 2020-08-07 支付宝(杭州)信息技术有限公司 Request processing method, device and system and electronic equipment
CN112422486A (en) * 2019-08-23 2021-02-26 上海云盾信息技术有限公司 SDK-based safety protection method and device
CN113037869A (en) * 2021-04-14 2021-06-25 北京百度网讯科技有限公司 Method and apparatus for back-sourcing of content distribution network system
CN114629795A (en) * 2022-01-30 2022-06-14 阿里巴巴(中国)有限公司 Bandwidth usage method and content distribution network
CN115225652A (en) * 2021-03-30 2022-10-21 中移(苏州)软件技术有限公司 Method and system for determining edge service platform, electronic equipment and storage medium
CN115333936A (en) * 2021-04-22 2022-11-11 贵州白山云科技股份有限公司 Method, device, medium and equipment for switching back source strategy

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102196060A (en) * 2011-06-15 2011-09-21 北京蓝汛通信技术有限责任公司 Method and system for selecting source station by Cache server
CN103581299A (en) * 2013-10-08 2014-02-12 华为软件技术有限公司 Service dispatching method, device and system
CN105959413A (en) * 2016-06-30 2016-09-21 上海智臻智能网络科技股份有限公司 Network proxy method and system
CN105959405A (en) * 2016-06-24 2016-09-21 北京兰云科技有限公司 CDN video scheduling system and method, CDN scheduling server and client
US20160380975A1 (en) * 2015-06-24 2016-12-29 Cisco Technology, Inc. Domain Name Service Redirection for a Content Delivery Network with Security as a Service

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102196060A (en) * 2011-06-15 2011-09-21 北京蓝汛通信技术有限责任公司 Method and system for selecting source station by Cache server
CN103581299A (en) * 2013-10-08 2014-02-12 华为软件技术有限公司 Service dispatching method, device and system
US20160380975A1 (en) * 2015-06-24 2016-12-29 Cisco Technology, Inc. Domain Name Service Redirection for a Content Delivery Network with Security as a Service
CN105959405A (en) * 2016-06-24 2016-09-21 北京兰云科技有限公司 CDN video scheduling system and method, CDN scheduling server and client
CN105959413A (en) * 2016-06-30 2016-09-21 上海智臻智能网络科技股份有限公司 Network proxy method and system

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112422486B (en) * 2019-08-23 2022-12-06 上海云盾信息技术有限公司 SDK-based safety protection method and device
CN112422486A (en) * 2019-08-23 2021-02-26 上海云盾信息技术有限公司 SDK-based safety protection method and device
CN110995474A (en) * 2019-11-20 2020-04-10 中盈优创资讯科技有限公司 Multi-port data reporting method and system
CN110995474B (en) * 2019-11-20 2022-03-08 中盈优创资讯科技有限公司 Multi-port data reporting method and system
CN110912926A (en) * 2019-12-04 2020-03-24 湖南快乐阳光互动娱乐传媒有限公司 Data resource back-source method and device
CN110912926B (en) * 2019-12-04 2022-03-25 湖南快乐阳光互动娱乐传媒有限公司 Data resource back-source method and device
CN111200649A (en) * 2019-12-30 2020-05-26 北京知道创宇信息技术股份有限公司 Scheduling method and device and scheduling model generation method and device
CN111427766A (en) * 2020-02-20 2020-07-17 北京齐尔布莱特科技有限公司 Request processing method and device and proxy server
CN111427766B (en) * 2020-02-20 2023-08-18 北京齐尔布莱特科技有限公司 Request processing method and device and proxy server
CN111510478A (en) * 2020-04-07 2020-08-07 支付宝(杭州)信息技术有限公司 Request processing method, device and system and electronic equipment
CN111510478B (en) * 2020-04-07 2022-06-24 支付宝(杭州)信息技术有限公司 Request processing method, device and system and electronic equipment
CN115225652A (en) * 2021-03-30 2022-10-21 中移(苏州)软件技术有限公司 Method and system for determining edge service platform, electronic equipment and storage medium
CN113037869B (en) * 2021-04-14 2022-09-30 北京百度网讯科技有限公司 Method and apparatus for back-sourcing of content distribution network system
CN113037869A (en) * 2021-04-14 2021-06-25 北京百度网讯科技有限公司 Method and apparatus for back-sourcing of content distribution network system
CN115333936A (en) * 2021-04-22 2022-11-11 贵州白山云科技股份有限公司 Method, device, medium and equipment for switching back source strategy
CN114629795A (en) * 2022-01-30 2022-06-14 阿里巴巴(中国)有限公司 Bandwidth usage method and content distribution network
CN114629795B (en) * 2022-01-30 2024-01-02 阿里巴巴(中国)有限公司 Bandwidth usage method and content distribution network

Similar Documents

Publication Publication Date Title
CN109547547A (en) Return source dispatching method, device and its storage medium
US9118718B2 (en) Techniques to monitor connection paths on networked devices
US8526405B2 (en) Routing network requests based on requesting device characteristics
US11175796B2 (en) Menu management method, server, and system
US8769060B2 (en) Systems and methods for providing DNS services
US20210314156A1 (en) Authentication method, content delivery network cdn, and content server
CN103973461A (en) Notification message pushing method and message server
CN107733950B (en) Method and device for accessing website
KR101448593B1 (en) Method of pushing web service and server performing the same
US11025738B2 (en) Systems and methods for determining a destination location for transmission of packetized data in a network system based on an application server attribute
MX2011003223A (en) Service provider access.
CN109756584B (en) Domain name resolution method, domain name resolution device and computer readable storage medium
US10178033B2 (en) System and method for efficient traffic shaping and quota enforcement in a cluster environment
CN109274705A (en) Service providing method, apparatus and system based on user identity
CN102891851A (en) Access control method, equipment and system of virtual desktop
CN109644178A (en) RCS originates bifurcated
US11863567B2 (en) Management of bot detection in a content delivery network
CN104125266A (en) Position information processing method and device
US20200127923A1 (en) System and method of performing load balancing over an overlay network
CN111866100A (en) Method, device and system for controlling data transmission rate
CN113452539B (en) Source station switching method and device, electronic equipment and storage medium
EP3166284B1 (en) Methods circuits devices systems and associated computer executable code for providing conditional domain name resolution
CN116318879A (en) Content distribution network source returning method and system based on Arian cloud object storage
GB2503285A (en) Processing browser sessions in a telecommunication network
CN117040798A (en) Resource access method, device, equipment and 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
CB02 Change of applicant information

Address after: Room 311501, Unit 1, Building 5, Courtyard 1, Futong East Street, Chaoyang District, Beijing

Applicant after: Beijing Zhichuangyu Information Technology Co., Ltd.

Address before: Room 311501, Unit 1, Building 5, Courtyard 1, Futong East Street, Chaoyang District, Beijing

Applicant before: Beijing Knows Chuangyu Information Technology Co.,Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20190329

RJ01 Rejection of invention patent application after publication