CN107888717A - A kind of domain name determines method, apparatus and electronic equipment - Google Patents

A kind of domain name determines method, apparatus and electronic equipment Download PDF

Info

Publication number
CN107888717A
CN107888717A CN201711428418.2A CN201711428418A CN107888717A CN 107888717 A CN107888717 A CN 107888717A CN 201711428418 A CN201711428418 A CN 201711428418A CN 107888717 A CN107888717 A CN 107888717A
Authority
CN
China
Prior art keywords
domain name
acceleration
server
service
name
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711428418.2A
Other languages
Chinese (zh)
Other versions
CN107888717B (en
Inventor
陈伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sohu New Media Information Technology Co Ltd
Original Assignee
Beijing Sohu New Media 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 Sohu New Media Information Technology Co Ltd filed Critical Beijing Sohu New Media Information Technology Co Ltd
Priority to CN201711428418.2A priority Critical patent/CN107888717B/en
Publication of CN107888717A publication Critical patent/CN107888717A/en
Application granted granted Critical
Publication of CN107888717B publication Critical patent/CN107888717B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • 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
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • 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
    • H04L67/61Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a kind of domain name to determine method, apparatus and electronic equipment, and each CDN service business provides an acceleration domain name in of the invention, and acceleration domain name of the best acceleration domain name of network condition as the service that provides the user is selected from multiple acceleration domain names.A CDN service business is no longer dependent in the present invention, and then it can also avoid because a CDN service business is in some regional CDN server negligible amounts, when accessing same CDN server simultaneously positioned at multiple users of the same area, cause the workload of the CDN server larger, and then the larger situation of network delay can be caused.Also, the use of the best acceleration domain name of network condition is user service, network delay can be reduced, improve Consumer's Experience.

Description

A kind of domain name determines method, apparatus and electronic equipment
Technical field
The present invention relates to the communications field, in particular, is related to a kind of domain name and determines method, apparatus and electronic equipment.
Background technology
Nowadays, in order to improve Consumer's Experience, prolonged by the way of content distribution network CDN service device is disposed to reduce network Late.When user's request data, the nearer CDN server of meeting chosen distance user services to provide the user.
Generally, user can only select the CDN server that a CDN service business disposes to provide service.As the CDN In some regional CDN server negligible amounts, multiple users positioned at the same area access same CDN simultaneously for service provider During server, the workload of the CDN server can be caused larger, and then can make it that network delay is larger, reduce Consumer's Experience.
The content of the invention
In view of this, the present invention provides a kind of domain name and determines method, apparatus and electronic equipment, to solve to work as CDN service business In some regional CDN server negligible amounts, multiple users positioned at the same area access same CDN server simultaneously When, the workload of the CDN server can be caused larger, and then can make it that network delay is larger, the problem of reducing Consumer's Experience.
In order to solve the above technical problems, present invention employs following technical scheme:
A kind of domain name determines method, applied to electronic equipment, including:
Obtain domain name mapping relations;Wherein, it is corresponding with multiple acceleration domain names to include domain name for domain name mapping relations Relation;Wherein, it is that a supplier is the service domain name that domain name is set to accelerate domain name;Corresponding to each acceleration domain name Supplier is different;
According to the network condition of server corresponding to each acceleration domain name, determined from multiple acceleration domain names Target domain name;Wherein, the network condition of corresponding server is best in the entitled multiple acceleration domain names of the aiming field adds Fast domain name;
Service is provided the user using server corresponding to the target domain name.
Preferably, each network condition for accelerating server corresponding to domain name of the basis, from multiple acceleration Target domain name is determined in domain name, including:
Server corresponding to each acceleration domain name is tested the speed, obtains servicing corresponding to each acceleration domain name The service response time of device;
According to the service response time of server corresponding to each acceleration domain name, each acceleration domain name is set Weight;Wherein, accelerate the service response time of server corresponding to domain name shorter, accelerate the weight of domain name bigger;
Using the maximum acceleration domain name of corresponding weighted value as the target domain name.
Preferably, each service response time for accelerating server corresponding to domain name of the basis, sets each institute After stating the weight for accelerating domain name, in addition to:
The network information of the network used according to the electronic equipment, the electronic equipment network between the agreement that interconnects IP address, each weight for accelerating the service response time of server corresponding to domain name and each acceleration domain name, Generate inquiry table;
Wherein, when the inquiry table uses domain name for next time under the network information, the IP address, directly Select and accelerate domain name of the domain name as the service that provides the user corresponding to weighted value maximum in the inquiry table.
Preferably, during providing the user service using the aiming field name, in addition to:
When access failure occurs in server corresponding to the target domain name or the response time is more than preset time, subtract The weight of the small target domain name.
A kind of domain name determining device, applied to electronic equipment, including:
Acquisition module, for obtaining domain name mapping relations;Wherein, domain name mapping relations include domain name with it is multiple plus The corresponding relation of fast domain name;Wherein, it is that a supplier is the service domain name that domain name is set to accelerate domain name;Add described in each Supplier corresponding to fast domain name is different;
Determining module, for according to it is each it is described accelerate domain name corresponding to server network condition, from multiple described plus Target domain name is determined in fast domain name;Wherein, the entitled multiple nets for accelerating corresponding server in domain name of the aiming field The best acceleration domain name of network situation;
Service module, for providing the user service using server corresponding to the target domain name.
Preferably, the determining module includes:
Test the speed submodule, for being tested the speed to server corresponding to each acceleration domain name, obtain it is each described plus The service response time of server corresponding to fast domain name;
Submodule is set, for the service response time of the server according to corresponding to each acceleration domain name, set every The individual weight for accelerating domain name;Wherein, accelerate the service response time of server corresponding to domain name shorter, accelerate the power of domain name It is again bigger;
Submodule is chosen, for using the maximum acceleration domain name of corresponding weighted value as the target domain name.
Preferably, in addition to:
Generation module, for setting submodule according to corresponding to each acceleration domain name during the service response of server Between, after the weight that each acceleration domain name is set, the network information of the network used according to the electronic equipment, the electronics The Protocol IP address that is interconnected between the network of equipment, it is each it is described accelerate the service response time of server corresponding to domain name and Each weight for accelerating domain name, generates inquiry table;
Wherein, when the inquiry table uses domain name for next time under the network information, the IP address, directly Select and accelerate domain name of the domain name as the service that provides the user corresponding to weighted value maximum in the inquiry table.
Preferably, in addition to:
Adjusting module, service is provided the user using server corresponding to the target domain name for the service module During, when access failure occurs in server corresponding to the target domain name or the response time is more than preset time, subtract The weight of the small target domain name.
A kind of electronic equipment, including:Memory and processor;
Wherein, the memory is used for storage program;
Processor is used for caller, wherein, described program is used for:
Obtain domain name mapping relations;Wherein, it is corresponding with multiple acceleration domain names to include domain name for domain name mapping relations Relation;Wherein, it is that a supplier is the service domain name that domain name is set to accelerate domain name;Corresponding to each acceleration domain name Supplier is different;
According to the network condition of server corresponding to each acceleration domain name, determined from multiple acceleration domain names Target domain name;Wherein, the network condition of corresponding server is best in the entitled multiple acceleration domain names of the aiming field adds Fast domain name;
Service is provided the user using server corresponding to the target domain name.
Compared to prior art, the invention has the advantages that:
The invention provides a kind of domain name to determine method, apparatus and electronic equipment, and each CDN service business provides in of the invention One acceleration domain name, the best acceleration domain name of network condition is selected as providing the user service from multiple acceleration domain names Accelerate domain name.A CDN service business is no longer dependent in the present invention, and then can also be avoided because a CDN service business is at certain During individual regional CDN server negligible amounts, when accessing same CDN server simultaneously positioned at multiple users of the same area, Cause the workload of the CDN server larger, and then the larger situation of network delay can be caused.Also, using network condition most Good acceleration domain name is user service, can reduce network delay, improves Consumer's Experience.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this The embodiment of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis The accompanying drawing of offer obtains other accompanying drawings.
Fig. 1 is the method flow diagram that a kind of domain name provided by the invention determines method;
Fig. 2 is the method flow diagram that another domain name provided by the invention determines method;
Fig. 3 is a kind of structural representation of domain name determining device provided by the invention;
Fig. 4 is the structural representation of another domain name determining device provided by the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
The embodiments of the invention provide a kind of domain name to determine method, applied to electronic equipment, electronic equipment can be mobile phone, The equipment such as flat board, notebook.At least one cell phone software APP is installed in electronic equipment.
Reference picture 1, domain name determine that method can include:
S11, obtain domain name mapping relations;
Wherein, domain name mapping relations include the corresponding relation of domain name and multiple acceleration domain names, wherein, accelerate domain name It is the service domain name that domain name is set for a supplier;Supplier corresponding to each acceleration domain name is different.
Specifically, supplier is content distributing network CDN suppliers, each supplier can be same domain name difference portion One acceleration domain name of administration.So, same domain name can correspond to multiple acceleration domain names.
Domain name mapping relations are server generations corresponding to APP in electronic equipment, and are led by way of push Enter into the electronic equipment.
The each network condition for accelerating server corresponding to domain name of S12, basis, from multiple acceleration domain names really Make target domain name;
Wherein, the best acceleration of the network condition of corresponding server in the entitled multiple acceleration domain names of the aiming field Domain name.Network condition can be network Channel Group situation.
Acceleration domain name in addition to target domain name, alternative domain name list can be formed, when target domain name can not in use, Use the acceleration domain name in alternative domain name list.
Optionally, on the basis of the present embodiment, step S12 can include:
S21, server corresponding to each acceleration domain name is tested the speed, obtained corresponding to each acceleration domain name The service response time of server;
Specifically, the Internet packets survey meter ping bags can be sent to server corresponding to the acceleration domain name, then etc. The returning result of device to be serviced, obtain the service response time of server.
Wherein, service response time is shorter, illustrates that the network speed of server is faster.
Tested the speed it should be noted that when testing the speed, during the situation for running into network switching, it is necessary to re-start.
Wherein, network switching refers to be switched to mobile network from wireless and be either switched to wirelessly from mobile network.
The each service response time for accelerating server corresponding to domain name of S22, basis, sets each acceleration domain The weight of name;
Wherein, accelerate the service response time of server corresponding to domain name shorter, accelerate the weight of domain name bigger.
Specifically, the service response time of server is shorter, weight is set bigger.
As an example it is assumed that there is three acceleration domain names, corresponding service response time is 10s, 5s and 3s respectively.Then can be with Weight is respectively set to 0.1,0.2 and 0.3.
S23, using the maximum acceleration domain name of corresponding weighted value as the target domain name.
Specifically, from the foregoing, service response time is shorter, weight is set bigger, if then wanting to select service most Fast server, it should be to select the server that then weighted value is maximum, namely select the maximum acceleration domain name conduct of weighted value Target domain name.
S13, using server corresponding to the target domain name provide the user service.
Specifically, the domain name that user is asked is revised as the target domain name, it becomes possible to uses clothes corresponding to target domain name Business device provides the user service.Wherein, there is provided service can send content corresponding to user's request to electronic equipment, Neng Gouyong Family can watch the content for wanting to check on an electronic device, such as can be novel, picture, webpage.
In the present embodiment, each CDN service business provides an acceleration domain name, is selected from multiple acceleration domain names network-like Acceleration domain name of the best acceleration domain name of condition as the service that provides the user.A CDN service business is no longer dependent in the present invention, And then it can also avoid because a CDN service business is in some regional CDN server negligible amounts, positioned at the same area When multiple users access same CDN server simultaneously, cause the workload of the CDN server larger, and then network can be caused Postpone larger situation, also, the use of the best acceleration domain name of network condition is user service, network delay can be reduced, carried High Consumer's Experience.
Optionally, on the basis of embodiment corresponding to Fig. 2, after step S22, in addition to:
The network information of the network used according to the electronic equipment, the electronic equipment network between the agreement that interconnects IP address, each weight for accelerating the service response time of server corresponding to domain name and each acceleration domain name, Generate inquiry table;
Wherein, when the inquiry table uses domain name for next time under the network information, the IP address, directly Select and accelerate domain name of the domain name as the service that provides the user corresponding to weighted value maximum in the inquiry table.
Specifically, because the electronic equipment of user can use the cell phone network online of oneself or connection wireless, And it can be connected in different place different wireless.When user has changed IC-card, the IP address of electronic equipment is different.
Therefore, in order to recording server service response time and acceleration corresponding to the acceleration domain name under different situations The weight of domain name, the network information for the network that the electronic equipment is used, the electronic equipment network between the association that interconnects Discuss IP address, each power for accelerating the service response time of server corresponding to domain name and each acceleration domain name Weight, is built into an inquiry table.
Different Wireless Fidelity WIFI Services Integration identifier SSID or mobile network port in being recorded in inquiry table, no The service response time of server corresponding to different acceleration domain name corresponding to same IP address and each acceleration domain name Weight.
After this inquiry table is obtained, next can directly determines to provide the user the acceleration of service using the inquiry table Domain name.
Domain name is accelerated to provide the user corresponding to weighted value maximum in the inquiry table specifically, directly selecting The domain name of service.
It should be noted that in the present embodiment, can be first according to the network information of the currently used network of electronic equipment, institute State the Protocol IP address, each described when accelerating the service response of server corresponding to domain name interconnected between the network of electronic equipment Between and each weight for accelerating domain name, generate inquiry table.
When user changes wireless or replacing IC-card, service corresponding to each acceleration domain name can retrieved The weight of the service response time of device and each acceleration domain name, and be added in inquiry table.Just can be in different nets In the case of network or IC-card, server corresponding to each acceleration domain name can be directly acquired without testing the speed Service response time and each weight for accelerating domain name, reduce the time for determining target domain name.
Optionally, on the basis of the present embodiment, during providing the user service using the aiming field name, also wrap Include:
When access failure occurs in server corresponding to the target domain name or the response time is more than preset time, subtract The weight of the small target domain name.
Wherein, preset time is that technical staff is set according to specifically used scene.
Specifically, after target domain name is determined, when being operated using server corresponding to the target domain name, due to this Server can make it that the current network speed of the server is bad it is possible that situations such as workload increases suddenly, it may appear that Accessing the failure either response time, more than the situation of preset time, in this case, can change the aiming field in inquiry table The weighted value of name, and then server corresponding to the acceleration domain name bigger than the weighted value of the target domain name can be used to provide clothes next time It is engaged in, avoids and access failure either probability of the response time more than preset time is there is also when using the server next time.
In the present embodiment, inquiry table can be generated, and then can be when next time is using same domain name, table look-at obtains mesh Mark domain name.And can according to corresponding to target domain name server service condition, dynamically to adjust weight.
Optionally, on the basis of above-mentioned domain name determines the embodiment of method, another embodiment of the present invention provides one Kind domain name determining device, applied to electronic equipment, reference picture 3, can include:
Acquisition module 101, for obtaining domain name mapping relations;Wherein, domain name mapping relations include domain name with it is more The individual corresponding relation for accelerating domain name;Wherein, it is that a supplier is the service domain name that domain name is set to accelerate domain name;Each institute State and accelerate supplier corresponding to domain name different;
Determining module 102, for according to it is each it is described accelerate domain name corresponding to server network condition, from multiple described Accelerate to determine target domain name in domain name;Wherein, corresponding server in the entitled multiple acceleration domain names of the aiming field The best acceleration domain name of network condition;
Service module 103, for providing the user service using server corresponding to the target domain name.
Further, reference picture 4, the determining module 102 include:
Test the speed submodule 1021, for being tested the speed to server corresponding to each acceleration domain name, obtains each institute State the service response time for accelerating server corresponding to domain name;
Submodule 1022 is set, for the service response time of the server according to corresponding to each acceleration domain name, if Put each weight for accelerating domain name;Wherein, accelerate the service response time of server corresponding to domain name shorter, accelerate domain name Weight it is bigger;
Submodule 1023 is chosen, for using the maximum acceleration domain name of corresponding weighted value as the target domain name.
In the present embodiment, each CDN service business provides an acceleration domain name, is selected from multiple acceleration domain names network-like Acceleration domain name of the best acceleration domain name of condition as the service that provides the user.A CDN service business is no longer dependent in the present invention, And then it can also avoid because a CDN service business is in some regional CDN server negligible amounts, positioned at the same area When multiple users access same CDN server simultaneously, cause the workload of the CDN server larger, and then network can be caused Postpone larger situation, also, the use of the best acceleration domain name of network condition is user service, network delay can be reduced, carried High Consumer's Experience.
It should be noted that the course of work of the modules and submodule in the present embodiment, refer to above-described embodiment In respective description, will not be repeated here.
Optionally, on the basis of embodiment corresponding to Fig. 2, in addition to:
Generation module, for setting submodule according to corresponding to each acceleration domain name during the service response of server Between, after the weight that each acceleration domain name is set, the network information of the network used according to the electronic equipment, the electronics The Protocol IP address that is interconnected between the network of equipment, it is each it is described accelerate the service response time of server corresponding to domain name and Each weight for accelerating domain name, generates inquiry table;
Wherein, when the inquiry table uses domain name for next time under the network information, the IP address, directly Select and accelerate domain name of the domain name as the service that provides the user corresponding to weighted value maximum in the inquiry table.
Further, in addition to:
Adjusting module, service is provided the user using server corresponding to the target domain name for the service module During, when access failure occurs in server corresponding to the target domain name or the response time is more than preset time, subtract The weight of the small target domain name.
In the present embodiment, inquiry table can be generated, and then can be when next time is using same domain name, table look-at obtains mesh Mark domain name.And can according to corresponding to target domain name server service condition, dynamically to adjust weight.
It should be noted that the course of work of the modules and submodule in the present embodiment, refer to above-described embodiment In respective description, will not be repeated here.
Optionally, on the basis of above-mentioned domain name determines the embodiment of method and apparatus, another embodiment of the present invention carries A kind of electronic equipment has been supplied, including:Memory and processor;
Wherein, the memory is used for storage program;
Processor is used for caller, wherein, described program is used for:
Obtain domain name mapping relations;Wherein, it is corresponding with multiple acceleration domain names to include domain name for domain name mapping relations Relation;Wherein, it is that a supplier is the service domain name that domain name is set to accelerate domain name;Corresponding to each acceleration domain name Supplier is different;
According to the network condition of server corresponding to each acceleration domain name, determined from multiple acceleration domain names Target domain name;Wherein, the network condition of corresponding server is best in the entitled multiple acceleration domain names of the aiming field adds Fast domain name;
Service is provided the user using server corresponding to the target domain name.
Further, the processor be used for according to it is each it is described accelerate domain name corresponding to server network condition, from more When determining target domain name in the individual acceleration domain name, it is specifically used for:
Server corresponding to each acceleration domain name is tested the speed, obtains servicing corresponding to each acceleration domain name The service response time of device;
According to the service response time of server corresponding to each acceleration domain name, each acceleration domain name is set Weight;Wherein, accelerate the service response time of server corresponding to domain name shorter, accelerate the weight of domain name bigger;
Using the maximum acceleration domain name of corresponding weighted value as the target domain name.
Further, the processor is used for the service response time of the server according to corresponding to each acceleration domain name, After the weight that each acceleration domain name is set, it is additionally operable to:
The network information of the network used according to the electronic equipment, the electronic equipment network between the agreement that interconnects IP address, each weight for accelerating the service response time of server corresponding to domain name and each acceleration domain name, Generate inquiry table;
Wherein, when the inquiry table uses domain name for next time under the network information, the IP address, directly Select and accelerate domain name of the domain name as the service that provides the user corresponding to weighted value maximum in the inquiry table.
Further, the processor is used for during providing the user service using the aiming field name, is additionally operable to:
When access failure occurs in server corresponding to the target domain name or the response time is more than preset time, subtract The weight of the small target domain name.
In the present embodiment, each CDN service business provides an acceleration domain name, is selected from multiple acceleration domain names network-like Acceleration domain name of the best acceleration domain name of condition as the service that provides the user.A CDN service business is no longer dependent in the present invention, And then it can also avoid because a CDN service business is in some regional CDN server negligible amounts, positioned at the same area When multiple users access same CDN server simultaneously, cause the workload of the CDN server larger, and then network can be caused Postpone larger situation, also, the use of the best acceleration domain name of network condition is user service, network delay can be reduced, carried High Consumer's Experience.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program Product.Therefore, the application can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the application can use the computer for wherein including computer usable program code in one or more The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The application is with reference to the flow according to the method for the embodiment of the present application, equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net Network interface and internal memory.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/ Or the form such as Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM).Memory is computer-readable Jie The example of matter.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer-readable instruction, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moved State random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electric erasable Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM), Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus Or any other non-transmission medium, the information that can be accessed by a computing device available for storage.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability Comprising so that process, method, commodity or equipment including a series of elements not only include those key elements, but also wrapping Include the other element being not expressly set out, or also include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including key element Other identical element in process, method, commodity or equipment also be present.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program product. Therefore, the application can be using the embodiment in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Form.Deposited moreover, the application can use to can use in one or more computers for wherein including computer usable program code The shape for the computer program product that storage media is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
The foregoing description of the disclosed embodiments, professional and technical personnel in the field are enable to realize or using the present invention. A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one The most wide scope caused.

Claims (9)

1. a kind of domain name determines method, it is characterised in that applied to electronic equipment, including:
Obtain domain name mapping relations;Wherein, domain name mapping relations include the corresponding relation of domain name and multiple acceleration domain names; Wherein, it is that a supplier is the service domain name that domain name is set to accelerate domain name;Supplied corresponding to each acceleration domain name Business is different;
According to the network condition of server corresponding to each acceleration domain name, target is determined from multiple acceleration domain names Domain name;Wherein, the best acceleration domain of the network condition of corresponding server in the entitled multiple acceleration domain names of the aiming field Name;
Service is provided the user using server corresponding to the target domain name.
2. domain name according to claim 1 determines method, it is characterised in that each acceleration domain name of the basis is corresponding Server network condition, from it is multiple it is described acceleration domain names in determine target domain name, including:
Server corresponding to each acceleration domain name is tested the speed, obtains server corresponding to each acceleration domain name Service response time;
According to the service response time of server corresponding to each acceleration domain name, each power for accelerating domain name is set Weight;Wherein, accelerate the service response time of server corresponding to domain name shorter, accelerate the weight of domain name bigger;
Using the maximum acceleration domain name of corresponding weighted value as the target domain name.
3. domain name according to claim 2 determines method, it is characterised in that each acceleration domain name of the basis is corresponding Server service response time, after each weight for accelerating domain name is set, in addition to:
The network information of the network used according to the electronic equipment, the electronic equipment network between the protocol IP that interconnects Location, each weight for accelerating the service response time of server corresponding to domain name and each acceleration domain name, generation Inquiry table;
Wherein, when the inquiry table uses domain name for next time under the network information, the IP address, directly choose Go out to accelerate corresponding to weighted value maximum in the inquiry table domain name of the domain name as the service that provides the user.
4. domain name according to claim 3 determines method, it is characterised in that provides the user clothes using the aiming field name During business, in addition to:
When access failure occurs in server corresponding to the target domain name or the response time is more than preset time, reduce institute State the weight of target domain name.
A kind of 5. domain name determining device, it is characterised in that applied to electronic equipment, including:
Acquisition module, for obtaining domain name mapping relations;Wherein, domain name mapping relations include domain name and multiple acceleration domains The corresponding relation of name;Wherein, it is that a supplier is the service domain name that domain name is set to accelerate domain name;Each acceleration domain Supplier is different corresponding to name;
Determining module, for the network condition of the server according to corresponding to each acceleration domain name, from multiple acceleration domains Target domain name is determined in name;Wherein, the aiming field it is entitled it is multiple it is described accelerate domain names in corresponding server it is network-like The best acceleration domain name of condition;
Service module, for providing the user service using server corresponding to the target domain name.
6. domain name determining device according to claim 5, it is characterised in that the determining module includes:
Test the speed submodule, for being tested the speed to server corresponding to each acceleration domain name, obtains each acceleration domain The service response time of server corresponding to name;
Submodule is set, for the service response time of the server according to corresponding to each acceleration domain name, each institute is set State the weight for accelerating domain name;Wherein, accelerate the service response time of server corresponding to domain name shorter, accelerate the weight of domain name to get over Greatly;
Submodule is chosen, for using the maximum acceleration domain name of corresponding weighted value as the target domain name.
7. domain name determining device according to claim 6, it is characterised in that also include:
Generation module, for setting the service response time of submodule server according to corresponding to each acceleration domain name, if After the weight for putting each acceleration domain name, the network information of the network used according to the electronic equipment, the electronic equipment Network between interconnect Protocol IP address, each service response time of server corresponding to domain name and each of accelerating The weight for accelerating domain name, generates inquiry table;
Wherein, when the inquiry table uses domain name for next time under the network information, the IP address, directly choose Go out to accelerate corresponding to weighted value maximum in the inquiry table domain name of the domain name as the service that provides the user.
8. domain name determining device according to claim 7, it is characterised in that also include:
Adjusting module, the process of service is provided the user using server corresponding to the target domain name for the service module In, when access failure occurs in server corresponding to the target domain name or the response time is more than preset time, reduce institute State the weight of target domain name.
9. a kind of electronic equipment, it is characterised in that including:Memory and processor;
Wherein, the memory is used for storage program;
Processor is used for caller, wherein, described program is used for:
Obtain domain name mapping relations;Wherein, domain name mapping relations include the corresponding relation of domain name and multiple acceleration domain names; Wherein, it is that a supplier is the service domain name that domain name is set to accelerate domain name;Supplied corresponding to each acceleration domain name Business is different;
According to the network condition of server corresponding to each acceleration domain name, target is determined from multiple acceleration domain names Domain name;Wherein, the best acceleration domain of the network condition of corresponding server in the entitled multiple acceleration domain names of the aiming field Name;
Service is provided the user using server corresponding to the target domain name.
CN201711428418.2A 2017-12-26 2017-12-26 Domain name determination method and device and electronic equipment Active CN107888717B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711428418.2A CN107888717B (en) 2017-12-26 2017-12-26 Domain name determination method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711428418.2A CN107888717B (en) 2017-12-26 2017-12-26 Domain name determination method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN107888717A true CN107888717A (en) 2018-04-06
CN107888717B CN107888717B (en) 2021-04-20

Family

ID=61772424

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711428418.2A Active CN107888717B (en) 2017-12-26 2017-12-26 Domain name determination method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN107888717B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109769040A (en) * 2018-12-14 2019-05-17 平安普惠企业管理有限公司 Content delivery network service switching method, device, equipment and storage medium
CN110740191A (en) * 2019-10-29 2020-01-31 成都超有爱科技有限公司 Resource access method, device, electronic equipment and storage medium
CN110769058A (en) * 2019-10-25 2020-02-07 广州六一信息科技有限公司 Acceleration method and system based on multiple CDN service providers
CN112260853A (en) * 2020-09-17 2021-01-22 北京大米科技有限公司 Disaster recovery switching method and device, storage medium and electronic equipment
CN114827283A (en) * 2022-04-18 2022-07-29 上海擎朗智能科技有限公司 Resource access method, device, medium and robot
CN114928588A (en) * 2022-05-11 2022-08-19 上海移远通信技术股份有限公司 Server connection method, Internet of things equipment, domain name server and regional server

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104144222A (en) * 2014-08-20 2014-11-12 北京阅联信息技术有限公司 Method and system for load balancing in DNS system based on alias record
US20150281168A1 (en) * 2014-04-01 2015-10-01 Cloudflare, Inc. Domain name system cname record management
CN105516391A (en) * 2015-12-25 2016-04-20 互联网域名系统北京市工程研究中心有限公司 CNAME-based DNS (domain name system) domain name resolution method
CN105681491A (en) * 2016-04-08 2016-06-15 网宿科技股份有限公司 DNS (Domain Name Resolution) acceleration method, system and device
CN106657432A (en) * 2016-11-17 2017-05-10 中国移动通信集团江苏有限公司 Domain name resolution method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150281168A1 (en) * 2014-04-01 2015-10-01 Cloudflare, Inc. Domain name system cname record management
CN104144222A (en) * 2014-08-20 2014-11-12 北京阅联信息技术有限公司 Method and system for load balancing in DNS system based on alias record
CN105516391A (en) * 2015-12-25 2016-04-20 互联网域名系统北京市工程研究中心有限公司 CNAME-based DNS (domain name system) domain name resolution method
CN105681491A (en) * 2016-04-08 2016-06-15 网宿科技股份有限公司 DNS (Domain Name Resolution) acceleration method, system and device
CN106657432A (en) * 2016-11-17 2017-05-10 中国移动通信集团江苏有限公司 Domain name resolution method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109769040A (en) * 2018-12-14 2019-05-17 平安普惠企业管理有限公司 Content delivery network service switching method, device, equipment and storage medium
CN110769058A (en) * 2019-10-25 2020-02-07 广州六一信息科技有限公司 Acceleration method and system based on multiple CDN service providers
CN110740191A (en) * 2019-10-29 2020-01-31 成都超有爱科技有限公司 Resource access method, device, electronic equipment and storage medium
CN112260853A (en) * 2020-09-17 2021-01-22 北京大米科技有限公司 Disaster recovery switching method and device, storage medium and electronic equipment
CN114827283A (en) * 2022-04-18 2022-07-29 上海擎朗智能科技有限公司 Resource access method, device, medium and robot
CN114928588A (en) * 2022-05-11 2022-08-19 上海移远通信技术股份有限公司 Server connection method, Internet of things equipment, domain name server and regional server
CN114928588B (en) * 2022-05-11 2024-02-13 上海移远通信技术股份有限公司 Server connection method, internet of things equipment, domain name server and regional server

Also Published As

Publication number Publication date
CN107888717B (en) 2021-04-20

Similar Documents

Publication Publication Date Title
CN107888717A (en) A kind of domain name determines method, apparatus and electronic equipment
CN105743962A (en) End-to-end datacenter performance control
US20140115147A1 (en) Adjusting quality of service in a cloud environment based on application usage
US9736272B2 (en) Generation and distribution of named, definable, serialized tokens
CN106533713A (en) Application deployment method and device
US11627169B2 (en) Network-based Media Processing (NBMP) workflow management through 5G Framework for Live Uplink Streaming (FLUS) control
CN107172214A (en) A kind of service node with load balancing finds method and device
US11632411B2 (en) Method and apparatus for cascaded multi-input content preparation templates for 5G networks
JP6779307B2 (en) Method and device for page display
CN109271438A (en) A kind of data bank access method and its system
Mittal et al. Cloud testing-the future of contemporary software testing
CN107547607B (en) Cluster migration method and device
CN114365467B (en) Methods, apparatuses, and computer readable media for determining 3GPP FLUS reception capability
CN109768897B (en) Server deployment method and device
CN109257402B (en) Request quantity control method and equipment
CN108206838B (en) A kind of SiteServer LBS, method and device
US11910412B2 (en) Media sink capabilities description
US11496537B2 (en) Method and apparatus for reverse address mapping when using content preparation in 5G networks
US20140214918A1 (en) Communication between application components distributed among devices
WO2014116862A1 (en) Distribution of application components among devices

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant