CN105763662A - Method for creating similar network test environments, device and DNS server - Google Patents
Method for creating similar network test environments, device and DNS server Download PDFInfo
- Publication number
- CN105763662A CN105763662A CN201410788681.2A CN201410788681A CN105763662A CN 105763662 A CN105763662 A CN 105763662A CN 201410788681 A CN201410788681 A CN 201410788681A CN 105763662 A CN105763662 A CN 105763662A
- Authority
- CN
- China
- Prior art keywords
- tested
- equipment
- domain name
- request
- network test
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Abstract
The invention discloses a method for creating similar network test environments, a device and a DNS server. The method comprises the steps of receiving the domain name resolution requests of service requests sent from a terminal; determining a plurality of to-be-tested devices corresponding to the service requests, and distributing each received domain name resolution request to any to-be-tested device among the plurality of to-be-tested devices through the roll polling process as the domain name resolution result of the domain name resolution request; according to the domain name resolution result, controlling the terminal to visit the corresponding to-be-tested device, and initiating a corresponding service access process to enable the service requests of the terminal to be evenly distributed to each of all the to-be-tested devices. According to the technical scheme of the invention, the service requests of the terminal can be ensured to be resolved in the balanced manner and then distributed to different to-be-tested devices of various optimization configurations. Therefore, the data statistics time is ensured to be the same and the group characteristics of statistics objects are similar. Meanwhile, access service contents are similar. In this way, similar network test environments are created for each to-be-tested device. The influence of the difference between statistical data on test results is avoided.
Description
Technical field
The present invention relates to mobile Internet field, particularly relate to and a kind of create the method for similar network test environment, device and dns server.
Background technology
In order to improve Consumer's Experience, improving network to access and experience, operator has carried out substantial amounts of optimization analytical work, and the effect that Optimization Work reaches, require over the actual existing network effect data of collection to be estimated, it is necessary to gather the effect data under Different Optimization configuration mode.The method currently building and providing assessment contrast_environment generally has:
In same background environment, by applying different distributing rationally at different time, gather same subscriber colony, identical services content again in the business quality data of different time, for instance the evening peak period of continuous several days is disposed different prioritization schemes and gathers user's average access speed of certain domain name;But, the resource on the Internet is always engraved in and changes, and the business tine in different time user access is also as the difference of time and there are some differences.Even if operator is not adjusted, different time adds up the quality of same community user, identical services content, and statistical result also can also exist difference;
Or in the identical time, the flowing of access of different user colony is guided to the equipment of Different Optimization configuration, then gathers the qualitative data of the identical services content of same time period, for instance gather user on each GGSN and access the Mean Speed of certain domain name;But, the access quality of different user colony, by Provider Equipment load, the signal level of coverage of different regions and the impact of network busy degree, also can there are differences.
Therefore assess effect produced by operator's adjustment action by the quality data collection of different time or different groups, all can there is error, cause that test result is inaccurate.
Summary of the invention
In order to solve above-mentioned technical problem, the invention provides and a kind of create the method for similar network test environment, device and dns server, solve the quality data collection by different time or different groups, assess the problem that effect produced by operator's adjustment action can exist error.
According to one aspect of the present invention, it is provided that a kind of method creating similar network test environment, it is characterised in that including:
Receive the domain name mapping request of the service request that terminal sends;
Determine the equipment to be tested of the multiple stage corresponding to service request, and each domain name mapping request for receiving, poll distributes arbitrary equipment to be tested to multiple stage equipment to be tested, domain name mapping result as domain name mapping request, wherein, each equipment to be tested there is different service optimizations to configure;
According to domain name mapping result, control the equipment to be tested that terminal access is corresponding, initiate corresponding Operational Visit process, so that the service request of terminal is balancedly distributed to each equipment to be tested.
Wherein, for each domain name mapping request received, poll distributes the step of arbitrary equipment to be tested to multiple stage equipment to be tested and includes:
According to polling algorithm, the domain name mapping request that the different terminals successively received is sent, distribute to equiprobably successively on arbitrary equipment to be tested in multiple stage equipment to be tested, and the IP address of equipment to be tested that will distribute, as the domain name mapping result that analysis request is corresponding.
Wherein, terminal includes: mobile phone and panel computer.
Wherein, equipment to be tested is server.
According to another aspect of the present invention, additionally provide a kind of device creating similar network test environment, including:
Receiver module, for receiving the domain name mapping request of the service request that terminal sends;
Parsing module, for determining the multiple stage equipment to be tested corresponding to service request, and each domain name mapping request for receiving, poll distributes arbitrary equipment to be tested to multiple stage equipment to be tested, domain name mapping result as domain name mapping request, wherein, each equipment to be tested there is different service optimizations to configure;
Control module, for according to domain name mapping result, controlling the equipment to be tested that terminal access is corresponding, initiate corresponding Operational Visit process, so that the service request of terminal is balancedly distributed to each equipment to be tested.
Wherein, parsing module includes: resolution unit, for according to polling algorithm, the domain name mapping request that the different terminals successively received is sent, distribute on arbitrary equipment to be tested in multiple stage equipment to be tested successively equiprobably, and the IP address of equipment to be tested that will distribute, as the domain name mapping result that analysis request is corresponding.
According to another aspect of the invention, additionally provide a kind of dns server, including the device creating similar network test environment as above.
Embodiments of the invention provide the benefit that: a kind of create the method for similar network test environment, device and dns server, distribute rationally on different equipment to be tested by the service request of terminal is balancedly resolved to each, the data statistics time can be realized identical, object of statistics population characteristic is similar, access service content is similar, similar network test environment is created, it is to avoid because statistical data self there are differences for each equipment to be tested, and the problem producing impact on test result.
Accompanying drawing explanation
Fig. 1 represents the flow chart of the method creating similar network test environment of the present invention;
Fig. 2 represents the structural representation of the device creating similar network test environment of the present invention.
Detailed description of the invention
It is more fully described the exemplary embodiment of the present invention below with reference to accompanying drawings.Although accompanying drawing showing the exemplary embodiment of the present invention, it being understood, however, that may be realized in various forms the present invention and should do not limited by embodiments set forth here.On the contrary, it is provided that these embodiments are able to be best understood from the present invention, and complete for the scope of the present invention can be conveyed to those skilled in the art.
Embodiment
In order to improve Consumer's Experience, the network improving user accesses experience, operator has carried out substantial amounts of optimization analytical work, and to determine most suitable prioritization scheme, but mobile Internet is based on wireless network transmissions, the factor affecting its network quality is very many, it is engraved in when mobile network environment is and changes, therefore, The embodiment provides a kind of method creating similar network test environment, as it is shown in figure 1, the method includes:
Step 10: receive the domain name mapping request of the service request that terminal sends;
In prior art, the effect that Optimization Work reaches, it is estimated by gathering actual existing network effect data, this Operational Visit process being accomplished by gathering user terminal;Creating the cyberrelationship of terminal unit and equipment to be tested, wherein, this terminal unit includes: mobile phone, panel computer etc. rely on mobile Internet and realize the equipment of Operational Visit, and this equipment to be tested is the server etc. that this terminal unit Operational Visit relies on;Receive the domain name mapping request of the service request that terminal sends over, carry out following steps further according to this domain name mapping request;
Step 20: determine the equipment to be tested of the multiple stage corresponding to service request, and each domain name mapping request for receiving, poll distributes arbitrary equipment to be tested to multiple stage equipment to be tested, domain name mapping result as domain name mapping request, wherein, each equipment to be tested there is different service optimizations to configure;
Wherein, being implemented as of this step: according to polling algorithm, the domain name mapping request that the different terminals successively received is sent, it is assigned to arbitrary equipment to be tested in multiple stage equipment to be tested successively equiprobably, and the IP address of equipment to be tested that will distribute, as the domain name mapping result that analysis request is corresponding.
The equipment to be tested that this enforcement configures for three Different Optimization illustrates, it is numbered for these three equipment to be tested, numbering is respectively as follows: A, B and C, when receiving the domain name mapping request that multiple terminal sends, the domain name mapping request distribution extremely device A to be tested of each terminal can be followed successively by, on arbitrary platform in B or C, and the domain name mapping request of each terminal has the probability assignments of 1/3 IP to A, there is the probability assignments of 1/3 IP to B, there is the probability assignments of 1/3 IP to C, namely each terminal is assigned to arbitrary in these three equipment to be tested equiprobably;
Step 30: according to domain name mapping result, control the equipment to be tested that terminal access is corresponding, initiate corresponding Operational Visit process, so that the service request of terminal is balancedly distributed to each equipment to be tested;
According to domain name mapping result, control the equipment to be tested that terminal access is corresponding, initiate corresponding Operational Visit process, when the Operational Visit of terminal is abundant, Corpus--based Method principle, the type of service finally flowed through on each equipment to be tested is basically identical with business datum amount, it is achieved the service request of terminal is balancedly distributed to each equipment to be tested;The execution result of the business that flows through by obtaining in the same time period on each equipment to be tested, the service optimization configuration on each equipment to be tested is evaluated according to this execution result, can avoid prior art assesses effect produced by operator's adjustment action by the quality data collection of different time or different groups, there is error in capital, causes the inaccurate problem of test result.
Distribute rationally on different equipment to be tested by the service request of terminal is balancedly resolved to each, the data statistics time can be realized identical, object of statistics population characteristic is similar, access service content is similar, similar network test environment is created for each equipment to be tested, avoid because statistical data self there are differences, and the problem producing impact on test result.
According to another aspect of the present embodiment, additionally provide a kind of device creating similar network test environment, as in figure 2 it is shown, this device includes:
Receiver module, for receiving the domain name mapping request of the service request that terminal sends;
Parsing module, for determining the multiple stage equipment to be tested corresponding to service request, and each domain name mapping request for receiving, poll distributes arbitrary equipment to be tested to multiple stage equipment to be tested, domain name mapping result as domain name mapping request, wherein, each equipment to be tested there is different service optimizations to configure;
Control module, for according to domain name mapping result, controlling the equipment to be tested that terminal access is corresponding, initiate corresponding Operational Visit process, so that the service request of terminal is balancedly distributed to each equipment to be tested.
Wherein, parsing module includes: resolution unit, for according to polling algorithm, the domain name mapping request that the different terminals successively received is sent, distribute on arbitrary equipment to be tested in multiple stage equipment to be tested successively equiprobably, and the IP address of equipment to be tested that will distribute, as the domain name mapping result that analysis request is corresponding.
According to another aspect of the invention, additionally provide a kind of dns server, including the device creating similar network test environment as above.
It should be noted that this device is the device corresponding with the method for above-mentioned establishment similar network environment, in said method embodiment, all implementations are all suitable in the embodiment of this device, also can reach identical technique effect.
Above-described is the preferred embodiment of the present invention; should be understood that the ordinary person for the art; can also making some improvements and modifications under without departing from principle premise of the present invention, these improvements and modifications are also in protection scope of the present invention.
Claims (7)
1. the method creating similar network test environment, it is characterised in that including:
Receive the domain name mapping request of the service request that terminal sends;
Determine the equipment to be tested of the multiple stage corresponding to described service request, and each domain name analysis request for receiving, arbitrary equipment to be tested in poll distribution extremely described multiple stage equipment to be tested, domain name mapping result as domain name analysis request, wherein, each described equipment to be tested there is different service optimizations to configure;
According to domain name analysis result, control the equipment to be tested that described terminal access is corresponding, initiate corresponding Operational Visit process, so that the service request of described terminal is balancedly distributed to equipment to be tested each described.
2. the method for establishment similar network test environment according to claim 1, it is characterised in that described each domain name analysis request for receiving, the step of arbitrary equipment to be tested in poll distribution extremely described multiple stage equipment to be tested includes:
According to polling algorithm, the domain name analysis request that the different terminals successively received is sent, distribute on arbitrary equipment to be tested in described multiple stage equipment to be tested successively equiprobably, and the IP address of equipment to be tested that will distribute, as the domain name mapping result that described analysis request is corresponding.
3. the method for establishment similar network test environment according to claim 1, it is characterised in that described terminal includes: mobile phone and panel computer.
4. the method for establishment similar network test environment according to claim 1, it is characterised in that described equipment to be tested is server.
5. the device creating similar network test environment, it is characterised in that including:
Receiver module, for receiving the domain name mapping request of the service request that terminal sends;
Parsing module, for determining the multiple stage equipment to be tested corresponding to described service request, and each domain name analysis request for receiving, arbitrary equipment to be tested in poll distribution extremely described multiple stage equipment to be tested, domain name mapping result as domain name analysis request, wherein, each described equipment to be tested there is different service optimizations to configure;
Control module, for according to domain name analysis result, controlling the equipment to be tested that described terminal access is corresponding, initiate corresponding Operational Visit process, so that the service request of described terminal is balancedly distributed to equipment to be tested each described.
6. the device of establishment similar network test environment according to claim 5, it is characterised in that described parsing module includes:
Resolution unit, for according to polling algorithm, the domain name analysis request that the different terminals successively received is sent, distribute on arbitrary equipment to be tested in described multiple stage equipment to be tested successively equiprobably, and the IP address of equipment to be tested that will distribute, as the domain name mapping result that described analysis request is corresponding.
7. a dns server, it is characterised in that include the device creating similar network test environment as described in any one of claim 5 or 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410788681.2A CN105763662A (en) | 2014-12-17 | 2014-12-17 | Method for creating similar network test environments, device and DNS server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410788681.2A CN105763662A (en) | 2014-12-17 | 2014-12-17 | Method for creating similar network test environments, device and DNS server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105763662A true CN105763662A (en) | 2016-07-13 |
Family
ID=56340217
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410788681.2A Pending CN105763662A (en) | 2014-12-17 | 2014-12-17 | Method for creating similar network test environments, device and DNS server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105763662A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111831530A (en) * | 2019-04-15 | 2020-10-27 | 北京字节跳动网络技术有限公司 | Test method and device |
CN112532473A (en) * | 2020-11-12 | 2021-03-19 | 苏宁金融科技(南京)有限公司 | DNS (Domain name System) -based multi-environment test access method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1017204A2 (en) * | 1998-12-28 | 2000-07-05 | Fujitsu Limited | Relaying apparatus for use in a network system |
CN1529460A (en) * | 2003-10-14 | 2004-09-15 | 北京邮电大学 | Whole load equalizing method based on global network positioning |
CN101184031A (en) * | 2007-12-03 | 2008-05-21 | 浙江大学 | Client terminal active load balancing method facing to network multimedia transmission service |
CN101282249A (en) * | 2007-04-27 | 2008-10-08 | 清华大学 | Automatic log-on and management method for distributed internet measurement server |
CN103685590A (en) * | 2012-09-14 | 2014-03-26 | 阿里巴巴集团控股有限公司 | Method and system for obtaining IP (internet protocol) address |
-
2014
- 2014-12-17 CN CN201410788681.2A patent/CN105763662A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1017204A2 (en) * | 1998-12-28 | 2000-07-05 | Fujitsu Limited | Relaying apparatus for use in a network system |
CN1529460A (en) * | 2003-10-14 | 2004-09-15 | 北京邮电大学 | Whole load equalizing method based on global network positioning |
CN101282249A (en) * | 2007-04-27 | 2008-10-08 | 清华大学 | Automatic log-on and management method for distributed internet measurement server |
CN101184031A (en) * | 2007-12-03 | 2008-05-21 | 浙江大学 | Client terminal active load balancing method facing to network multimedia transmission service |
CN103685590A (en) * | 2012-09-14 | 2014-03-26 | 阿里巴巴集团控股有限公司 | Method and system for obtaining IP (internet protocol) address |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111831530A (en) * | 2019-04-15 | 2020-10-27 | 北京字节跳动网络技术有限公司 | Test method and device |
CN112532473A (en) * | 2020-11-12 | 2021-03-19 | 苏宁金融科技(南京)有限公司 | DNS (Domain name System) -based multi-environment test access method and device |
CN112532473B (en) * | 2020-11-12 | 2023-09-01 | 苏宁金融科技(南京)有限公司 | DNS-based multi-environment test access method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11356819B2 (en) | Apparatus and methods for providing wireless service in a venue | |
US11070453B2 (en) | Providing network traffic endpoint recommendation based on network traffic data analysis | |
US9172632B2 (en) | Optimized content distribution based on metrics derived from the end user | |
US20140280803A1 (en) | Optimized Content Distribution Based on Metrics Derived from the End User | |
CN101616079B (en) | NAT outlet link load balancing method and device of DNS request message | |
CN103493433A (en) | Method and apparatus for quality of service monitoring of services in a communication network | |
US20110022709A1 (en) | Method, System and Game Server for Recommending Game Room | |
CN104767690B (en) | A kind of flow scheduling device and method | |
US20150085746A1 (en) | Selective utilization of consumer shared access points to facilitate optimized wireless communications | |
JP2018523442A (en) | Software defined topology for user plane (SDT) | |
CN104410691A (en) | Method and system for website acceleration on basis of content delivery network | |
CN105610993B (en) | A kind of domain name analytic method, apparatus and system | |
CN105072151A (en) | Content collaborative scheduling method and system for CDN | |
US20180376348A1 (en) | Device throughput determination | |
CN107820281A (en) | A kind of method and router for distributing Internet resources | |
CN105991707A (en) | Multimedia interaction method, server and system thereof | |
US20220116328A1 (en) | Policy determination apparatus, policy determining method and program | |
CN103873604A (en) | Network access method based on analysis of CDN data | |
US10116535B1 (en) | Monitoring internet usage on home networks of panelist users using a measurement device | |
CN103997479A (en) | Asymmetric service IP proxy method and equipment | |
CN102780791A (en) | Self-adaption IP (Internet Protocol) method, device and system | |
Dahunsi et al. | Measuring mobile broadband performance in Nigeria: 2G and 3G | |
JP5575271B2 (en) | Method for controlling resource usage within a communication system | |
CN102970391B (en) | Inquiry of the domain name processing method, server and system | |
CN105763662A (en) | Method for creating similar network test environments, device and DNS server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160713 |