CN106533816B - A kind of method and device of adjustment DNS configuration - Google Patents

A kind of method and device of adjustment DNS configuration Download PDF

Info

Publication number
CN106533816B
CN106533816B CN201710035760.XA CN201710035760A CN106533816B CN 106533816 B CN106533816 B CN 106533816B CN 201710035760 A CN201710035760 A CN 201710035760A CN 106533816 B CN106533816 B CN 106533816B
Authority
CN
China
Prior art keywords
domain name
operation flow
dns
dns configuration
configuration
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.)
Active
Application number
CN201710035760.XA
Other languages
Chinese (zh)
Other versions
CN106533816A (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201710035760.XA priority Critical patent/CN106533816B/en
Publication of CN106533816A publication Critical patent/CN106533816A/en
Application granted granted Critical
Publication of CN106533816B publication Critical patent/CN106533816B/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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types

Landscapes

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

Abstract

The embodiment of the invention discloses a kind of method and devices of adjustment DNS configuration, are related to field of communication technology, caused by being able to solve due to TAC changes by inquiry of the domain name constructed by MME to address there is wrong problem.The method of the embodiment of the present invention includes: to search whether there is historical record identical with the TAI domain name in the operation flow that within a specified time generates record after receiving the analysis request message of TAI domain name;Historical record identical with the TAI domain name if it exists, it is determined that recorded in the historical record with the presence or absence of failed operation flow;Failed operation flow record if it exists, then adjustment meets the DNS configuration of specified requirements, the DNS configuration for meeting specified requirements includes at least: under the same terms in operation flow record, service success rate is less than first threshold and/or business number of attempt is greater than the DNS configuration of second threshold.The embodiment of the present invention is suitable for domain name resolution process.

Description

A kind of method and device of adjustment DNS configuration
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of adjustment domain name system (English: Domain Name System, DNS) configuration method and device.
Background technique
In tracking area identification (English: Tracking Area Identity, TAI) domain name resolution process, mobility pipe (Globally can be identified according to global unique MME by managing entity (English: Mobility Management Entity, MME) Unique MME Identity, GUMMEI), access point (English: Access Point Name, APN), TAI construct the domain TAI Name, and by dns resolution, find MME/ gateway (English: Serving GateWay, SGW)/PDN Gateway (English: PDN GateWay, PGW) etc. the corresponding interface of network elements Internet protocol address (English: Internet Protocol Address, IP address).
In actual application, since TAI domain name is by Tracking Area Code (English: Trace Area Code, TAC) structure At therefore, after TAC change, TAI domain name can also change, i.e. domain name constructed by MME also can accordingly change.But at present The corresponding relationship between domain name and IP address in DNS is often preconfigured by staff, and therefore, DNS itself is nothing Method for strange land TAC variation and complete the change operation of IP address.It can be seen that if TAC changes, then passing through Inquiry of the domain name constructed by MME to address will appear mistake.So, the standard in TAI domain name resolution process will be reduced True rate influences network operation effect to cause service fail.
Summary of the invention
The embodiment of the present invention provides a kind of method and device of adjustment DNS configuration, is able to solve and makes because TAC changes At by inquiry of the domain name constructed by MME to address occur mistake problem.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that
In a first aspect, the embodiment of the present invention provides a kind of method of adjustment DNS configuration, which comprises
After receiving the analysis request message of TAI domain name, searched in the operation flow that within a specified time generates record With the presence or absence of historical record identical with the TAI domain name;
Historical record identical with the TAI domain name if it exists, it is determined that with the presence or absence of failed in the historical record Operation flow record;
Failed operation flow record if it exists, then adjustment meets the DNS configuration of specified requirements, described to meet specified item Part DNS configuration include at least: operation flow record in the same terms under, service success rate be less than first threshold and/or The DNS that business number of attempt is greater than second threshold is configured.
Second aspect, the embodiment of the present invention provide a kind of device of adjustment DNS configuration, and described device includes:
Searching module, the Business Stream within a specified time generating after receiving the analysis request message of TAI domain name Search whether there is historical record identical with the TAI domain name in Cheng Jilu;
Determining module, if being found in the presence of historical record identical with the TAI domain name, really for the searching module It is recorded in the fixed historical record with the presence or absence of failed operation flow;
Module is adjusted, if determining for the determining module there are failed operation flow record, satisfaction is adjusted and refers to The DNS of fixed condition is configured, and the DNS configuration for meeting specified requirements includes at least: the same terms in operation flow record Under, service success rate is less than first threshold and/or business number of attempt is greater than the DNS configuration of second threshold.
The method and device of adjustment DNS configuration provided in an embodiment of the present invention is compared in the prior art because TAC occurs Variation and caused by by inquiry of the domain name constructed by MME to address there is mistake, the embodiment of the present invention can receive After the analysis request message of TAI domain name, search whether to exist in the operation flow that within a specified time generates record and TAI domain name Identical historical record;Historical record identical with TAI domain name if it exists, and there are failed operation flows in historical record Record, then adjustment meets the DNS configuration of specified requirements, wherein the DNS configuration for meeting specified requirements includes at least: in Business Stream Under the same terms in Cheng Jilu, service success rate is less than first threshold and/or business number of attempt is greater than the DNS of second threshold Configuration.It can be seen that the embodiment of the present invention DNS configure there may be leakage, mismatch in the case where, original DNS can be configured Be adjusted, thus reduce due to TAC changes caused by by inquiry of the domain name constructed by MME to address there is mistake Probability.In addition, in embodiments of the present invention, the case where DNS configuration whether there is leakage, mismatch is judged, mainly according to Service success rate and business number of attempt in the operation flow record of generation, so, the adjustment that DNS can be made to configure Journey is more targeted, to emphasis adjustment process is locked in the configuration of DNS corresponding to changed TAC, in this way There is mistake by the address that inquiry of the domain name constructed by MME is arrived caused by capable of further solving due to TAC changes Problem.
Detailed description of the invention
Fig. 1 is the interaction schematic diagram in a kind of domain name resolution process provided in an embodiment of the present invention between MME and DNS;
Fig. 2 is a kind of method flow diagram of adjustment DNS configuration provided in an embodiment of the present invention;
Fig. 3, Fig. 4, Fig. 5 are the method flow diagram of another adjustment DNS configuration provided in an embodiment of the present invention;
Fig. 6 is a kind of apparatus structure schematic diagram of adjustment DNS configuration provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiment is only a part of the embodiment of the embodiment of the present invention, rather than whole implementation Example.Based on the embodiment in the embodiment of the present invention, those of ordinary skill in the art institute without making creative work The all other embodiment obtained belongs to the range of protection of the embodiment of the present invention.
The embodiment of the present invention can be used for a kind of communications network system, in the communications network system include at least MME and DNS.It is as shown in Figure 1 the interaction schematic diagram in domain name resolution process between MME and DNS.MME after generating TAI/APN domain name, TAI/APN domain name can be carried in analysis request message, be sent to DNS;DNS by query configuration table, by allocation list with There are all addresses MME/SGW/PGW of corresponding relationship to feed back to MME for the TAI/APN domain name;MME is according to self-demand later, Suitable MME/SGW/PGW domain name is selected, and is sent to DNS;DNS receive MME transmission MME/SGW/PGW domain name after, The address MME/SGW/PGW inquired can be fed back to MME, to complete domain name resolution process.It should be noted that in this hair It in bright embodiment, is described by taking TAI domain name as an example, but the embodiment of the present invention is not limited in TAI domain name resolution process.
The embodiment of the present invention provides a kind of method of adjustment DNS configuration, as shown in Fig. 2, this method can be by Fig. 1 DNS is executed, and this method specifically includes:
Step 101, after receiving the analysis request message of TAI domain name, the operation flow that within a specified time generates note Search whether there is historical record identical with TAI domain name in record.Wherein, historical record identical with TAI domain name if it exists, then Execute step 102;Otherwise, step 104 is executed.
DNS can periodically transfer the relevant operation flow record of TAI domain name mapping from MME, and according to operation flow The foundation of the completion database of information involved in record.Wherein, can periodically be considered as carrying out business according to some cycles Process recording is transferred, or in the case where network environment allows, is obtained in real time.In embodiments of the present invention, for business The acquisition mode of process recording, acquisition opportunity are not specifically limited, the adjustment demand that can be configured according to current DNS, by working Personnel preset.
Above-mentioned specified time is specifically as follows currently for the phase of history time of cut-off time, or with it is current The set for the historical time section that TAI domain name resolution process matches is carried out, it is not limited here.For example, above-mentioned specified time tool Body can be 24 hours.In addition, can come according to the portfolio and network change frequency of DNS when above-mentioned specified time is arranged It is set.
For example, specified time can be set to the shorter period for scene biggish for the portfolio of DNS, this Sample can effectively avoid bringing excessively high load to DNS because data volume to be processed is excessive;It is lesser for the portfolio of DNS For scene, specified time can be set to longer time section, thus can effectively avoid because data volume to be processed is too small And it can not reflect true business flow processing situation.Similarly, what above-mentioned network change frequency mainly reflected is user at two The frequency switched between adjoining area in the case of larger for network change frequency, needs to carry out error correction as early as possible, then for Reduce the processing time, it may be necessary to by specified time set the shorter time, sufficient number can not only be got in this way According to resource, while bring energy consumption in data handling procedure can also be reduced as far as possible and is reduced time-consuming;For network change frequency The lesser situation of rate, it is contemplated that the frequency for generating switching is lower, then needs to obtain the operation flow record generated in for a long time, Valid data can be analyzed and handled.It should be noted that setting specified time mode not only can be considered above-mentioned factor to Data volume or data accuracy bring image, can also be by considering other factors and the completion of currently practical scene being combined to refer to The setting fixed time, it is not limited here.
In embodiments of the present invention, historical record identical with TAI domain name refers to the business within a specified time generated In process recording, operation flow record identical with TAI domain name corresponding to the analysis request message received.
Step 102 determines in historical record with the presence or absence of failed operation flow record.Wherein, if it exists not successfully Operation flow record, then follow the steps 103;Otherwise, step 104 is executed.
It should be noted that failed operation flow record includes at least operation flow time-out without response and operation flow At least one of failure.After the foundation for completing database, the business generated in specified time will include in the database Whether the processing result of process recording, the i.e. operation flow record succeed.
For example, the storage mode of all data can be as shown in Table 1 interior in an operation flow record in database Hold.
Table one
As shown above, every operation flow record includes at least TAI domain name, SGW domain name and the address SGW in database. The reason of whether succeeding for the ease of statistical procedures, and operation flow is caused to fail, every operation flow record may be used also To include that dns resolution unsuccessfully identifies, operation flow time-out identifies and operation flow success flag.In addition, in order to establish data More targeted when library, every operation flow also all should include the operation flow triggered time, thus can be for certain for the moment Between the operation flow that generates in section counted, analyzed.
It should be noted that operation flow record can be stored according to form shown in above-mentioned table one, it can also be by It is stored according to other convenient for the mode of dns lookup, it is not limited here.
Step 103, adjustment meet the domain name system DNS configuration of specified requirements.
Wherein, the DNS configuration for meeting specified requirements includes at least: under the same terms in operation flow record, business Success rate is less than first threshold and/or business number of attempt is greater than the DNS configuration of second threshold.
In embodiments of the present invention, service success rate is specifically as follows operation flow success flag under the same terms and is The total quantity that the quantity of the record of " Y "/all operation flows record;Business number of attempt is then all industry under the same terms The total degree of business record.
It should be noted that first threshold and second threshold can by staff according to historical data or empirical value into Row is preset, and it is not limited here, for example, first threshold can be set to 30%, second threshold can be set to 50.
Step 104 is returned the result by DNS configuration.
The result of above-mentioned return refers to the IP address obtained according to traditional TAI domain name mapping mode.
The embodiment of the present invention can be after receiving the analysis request message of TAI domain name, the industry that within a specified time generates Search whether there is historical record identical with TAI domain name in business process recording;History note identical with TAI domain name if it exists Record, and there are failed operation flow records in historical record, then adjustment meets the DNS configuration of specified requirements, wherein meets The DNS configuration of specified requirements includes at least: under the same terms in operation flow record, service success rate is less than first threshold And/or business number of attempt is greater than the DNS configuration of second threshold.It can be seen that the embodiment of the present invention DNS configure there may be Leakage in the case where mismatching, can configure original DNS and be adjusted, to pass through caused by reducing due to TAC changes There is the probability of mistake in the address that inquiry of the domain name constructed by MME is arrived.In addition, in embodiments of the present invention, judging that DNS configuration is It is no there are leakage, mismatch the case where, mainly according to generated operation flow record in service success rate and business attempt Number, so, the adjustment process that DNS can be made to configure are more targeted, so that emphasis adjustment process is locked in In the configuration of DNS corresponding to changed TAC, it thus can further solve to pass through MME caused by due to TAC changes Constructed inquiry of the domain name to address occur mistake problem.
When adjusting DNS configuration, in order to ensure the DNS configuration after adjusted is able to ascend the standard of TAI domain name resolution process True rate, in an implementation of the embodiment of the present invention, DNS can be found and failed Business Stream from historical record The identical history subrecord of the SGW domain name of Cheng Jilu and the address SGW adjusts DNS according to the quantity of operation flow subrecord later Configuration.Therefore, on the basis of implementation as shown in Figure 2, it is also implemented as implementation as shown in Figure 3.Wherein, Before executing step 103 adjustment and meeting the DNS configuration of specified requirements, step 105 and step 106, step 103 can also be performed It can be implemented as step 201:
Step 105, the SGW domain name for obtaining every failed operation flow record and the address SGW.
From operation flow shown in table one record in it can be seen that, each TAI domain name can exist corresponding SGW domain name and The address SGW, but same TAI domain name can correspond at least one SGW domain name, and due to the corresponding pass between SGW domain name and the address SGW System is it is known that same TAI domain name can correspond at least one address SGW.Therefore, in embodiments of the present invention, failed industry It is engaged in process recording, may there is the combination of multiple groups corresponding with TAI domain name SGW domain name and the address SGW.For example, not at In the operation flow record of function, the corresponding SGW domain name of certain TAI domain name is A and B, and the corresponding address SGW A is 1.1, and B is corresponding The address SGW is 2.2.
Step 106 searches history subrecord identical with SGW domain name and the address SGW from historical record, and according to SGW Domain name and the address SGW, are grouped history subrecord, obtain at least one operation flow subrecord.
Wherein, the SGW domain name of all subrecords is identical with the address SGW in each operation flow subrecord.
Referring to the content enumerated in step 105, after being grouped to history subrecord, 2 operation flow notes are obtained Record, one of operation flow subrecord include that SWG domain name is the operation flow record that the address A and SGW is 1.1, another industry Business process subrecord includes that SWG domain name is the operation flow record that the address B and SGW is 2.2.
Step 201, according to the quantity of operation flow subrecord, adjustment meets the DNS configuration of specified requirements.
The quantity of operation flow subrecord refers to that all operation flows record total in this operation flow subrecord Quantity, for example, it is 5 that SWG domain name, which is the quantity that the operation flow that the address A and SGW is 1.1 records corresponding operation flow subrecord, Item, SWG domain name are that the quantity that the operation flow that the address B and SGW is 2.2 records corresponding operation flow subrecord is 10.
Above content, it can be ensured that the more targeted process for completing DNS configuration adjustment is adjusted DNS configuration Whole process needs to consider DNS configuration corresponding SGW domain name and the address SGW, ensures that DNS adjusted matches in this way Set with adjustment before the corresponding identical SGW domain name of DNS configuration and the identical address SGW, thus avoid DNS configure deposit after the adjustment The case where mismatching.
It can be adopted in an implementation of the embodiment of the present invention for the difference of the quantity of operation flow subrecord Different processing modes is taken, to realize the adjustment of DNS configuration.Therefore, on the basis of implementation as shown in Figure 3, may be used also To be embodied as implementation as shown in Figure 4.Wherein, step 201 is being executed according to the quantity of operation flow subrecord, adjustment is full Before the DNS configuration of toe fixed condition, step 107 can also be performed, step 201 can be implemented as step 301 to step 305:
Step 107, the quantity for obtaining operation flow subrecord.
If step 301, the quantity of operation flow subrecord are one, inquired after the tac-lb value in TAI domain name is added 1 The identical DNS configuration to be selected of corresponding with analysis request message DNS Configuration Type.
As shown in Table 1, tac-lb and tac-hb is included at least in TAI domain name.TAI Domain Name Form registering sites is tac-lb < TAC- low-byte>.tac-hb<TAC-high-byte>.tac.epc.mnc001.mcc460.3gppnetwork.org.Wherein, < TAC-low-byte >: refer to X3X4, is that tac is two low, is indicated with tac-lb;<TAC-high-byte>: referring to X1X2, is tac high It two, is indicated with tac-hb.In actual application, X1 and X2 are distributed unitedly by operator, and X3 and X4 are then by each Province voluntarily distributes.
Step 302 judges whether DNS configuration to be selected meets regularization condition.Wherein, if meeting regularization condition, step is executed Rapid 303;Otherwise, step 304 is executed, and after executing the step 304, circulation executes step 302, until finding satisfaction adjustment item Until the DNS to be selected configuration of part.
Wherein, the DNS to be selected configuration for meeting regularization condition includes at least: service success rate is greater than third threshold value and/or industry The DNS that business number of attempt is greater than the 4th threshold value is configured.
It should be noted that third threshold value and the 4th threshold value can by staff according to historical data or empirical value into Row is preset, and it is not limited here, for example, third threshold value can be set to 90%, the 4th threshold value can be set to 50.
DNS to be selected configuration is written in the allocation list of TAI domain name by step 303, and is certainly by DNS configuration flag to be selected Adapt to result.
Step 304 inquires DNS configuration class corresponding with analysis request message after the tac-lb value in TAI domain name is added 1 again The identical DNS configuration to be selected of type.
It should be noted that tac-hb value is constant always during above-mentioned adjustment tac-lb value.
If the quantity of step 305, operation flow subrecord is at least two, the priority of current DNS configuration is reduced.
On the basis of implementation as shown in Figure 4, it is also implemented as implementation as shown in Figure 5.Wherein, it walks If the quantity of rapid 305 operation flow subrecord is at least two, the priority of current DNS configuration is reduced, can be implemented For step 401:
If the quantity of step 401, operation flow subrecord is at least two, the priority that current DNS is configured is adjusted For the lowest priority in the corresponding DNS configuration of all operation flow subrecords.
It can be seen that the case where quantity for operation flow subrecord is one, it can be by the tac-lb in TAI domain name Value carries out after adding 1, the identical DNS configuration to be selected of inquiry DNS Configuration Type corresponding with analysis request message, if this is to be selected DNS configuration is unsatisfactory for current demand, then 1 tac-lb value will have been added to add 1 again, and so on, until it is current to inquire satisfaction The DNS to be selected of demand is configured, and the DNS configuration to be selected is configured as DNS adjusted;And for operation flow subrecord The case where quantity is at least two, it is contemplated that there are alternative DNS configurations, therefore, the priority that can be configured by adjusting DNS The priority of current DNS configuration to be adjusted is reduced, the priority that thus can indirectly configure other DNS improves, To complete the adjustment of DNS configuration.
It should be noted that above-mentioned TAI domain name resolution process, be also applied to such as Routing Area identification (English: Routing Area Identification, RAI) in domain name resolution process and other implementations.It also means that, for existing Network can carry out the adaptive of DNS configuration using above-mentioned implementation similar in the dns resolution allocation plan of configuration rule It answers, i.e. the adjustment of DNS configuration, to complete DNS configuration and error correction inquiry.
The embodiment of the present invention provides a kind of device 50 of adjustment DNS configuration, as shown in fig. 6, the device 50 can be used for holding Row method flow as shown in Figures 2 to 5, the device 50 include:
Searching module 51, the business within a specified time generating after receiving the analysis request message of TAI domain name Search whether there is historical record identical with TAI domain name in process recording.
Determining module 52, if finding for searching module 51 in the presence of historical record identical with TAI domain name, it is determined that go through It is recorded in Records of the Historian record with the presence or absence of failed operation flow.
Module 53 is adjusted, for if it is determined that the determination of module 52 then adjusts satisfaction and refer to there are failed operation flow record The DNS of fixed condition is configured, and the DNS configuration for meeting specified requirements includes at least: under the same terms in operation flow record, industry Success rate of being engaged in is less than first threshold and/or business number of attempt is greater than the DNS configuration of second threshold.
In an implementation of the embodiment of the present invention, device 50 further include:
Module 54 is obtained, for obtaining the gateway SGW domain name and SGW of every failed operation flow record Location.
Searching module 51 is also used to the SGW domain name and the address SGW phase searched from historical record with obtain the acquisition of module 54 Same history subrecord, and according to SGW domain name and the address SGW, history subrecord is grouped by grouping module 55, is obtained At least one operation flow subrecord, wherein the SGW domain name of all subrecords and the address SGW in each operation flow subrecord It is identical.
Module 53 is adjusted, is specifically used for:
According to the quantity of operation flow subrecord, adjustment meets the DNS configuration of specified requirements.
In an implementation of the embodiment of the present invention, module 54 is obtained, is also used to obtain operation flow subrecord Quantity.
Module 53 is adjusted, is specifically used for:
If the quantity of operation flow subrecord is one, inquiry is asked with parsing after the tac-lb value in TAI domain name is added 1 Ask the identical DNS configuration to be selected of the corresponding DNS Configuration Type of message;
If DNS configuration to be selected meets regularization condition, DNS to be selected configuration is written in the allocation list of TAI domain name, and will DNS configuration flag to be selected is adaptive as a result, the DNS to be selected configuration for meeting regularization condition includes at least: service success rate is greater than The DNS that third threshold value and/or business number of attempt are greater than the 4th threshold value is configured;
If the quantity of operation flow subrecord is at least two, the priority of current DNS configuration is reduced.
In an implementation of the embodiment of the present invention, module 53 is adjusted, if being also used to DNS configuration to be selected does not meet tune It is identical to inquire DNS Configuration Type corresponding with analysis request message for shelf-regulating Conditions after the tac-lb value in TAI domain name is then added 1 again DNS to be selected configuration, until find meet regularization condition DNS to be selected configure until.
In an implementation of the embodiment of the present invention, module 53 is adjusted, is specifically used for:
The current DNS priority configured is adjusted to minimum excellent in the corresponding DNS configuration of all operation flow subrecords First grade.
The embodiment of the present invention can be after receiving the analysis request message of TAI domain name, the industry that within a specified time generates Search whether there is historical record identical with TAI domain name in business process recording;History note identical with TAI domain name if it exists Record, and there are failed operation flow records in historical record, then adjustment meets the DNS configuration of specified requirements, wherein meets The DNS configuration of specified requirements includes at least: under the same terms in operation flow record, service success rate is less than first threshold And/or business number of attempt is greater than the DNS configuration of second threshold.It can be seen that the embodiment of the present invention DNS configure there may be Leakage in the case where mismatching, can configure original DNS and be adjusted, to pass through caused by reducing due to TAC changes There is the probability of mistake in the address that inquiry of the domain name constructed by MME is arrived.In addition, in embodiments of the present invention, judging that DNS configuration is It is no there are leakage, mismatch the case where, mainly according to generated operation flow record in service success rate and business attempt Number, so, the adjustment process that DNS can be made to configure are more targeted, so that emphasis adjustment process is locked in In the configuration of DNS corresponding to changed TAC, it thus can further solve to pass through MME caused by due to TAC changes Constructed inquiry of the domain name to address occur mistake problem.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device reality For applying example, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to embodiment of the method Part explanation.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (English: Read-Only Memory, ROM) or random access memory (English: Random Access Memory, RAM) etc..
The above description is merely a specific embodiment, but the protection scope of the embodiment of the present invention is not limited to This, the change or replacement in technical scope that any embodiment of the present invention discloses should all cover the protection in the embodiment of the present invention Within the scope of.Therefore, the protection scope of the embodiment of the present invention should be subject to the protection scope in claims.

Claims (8)

1. a kind of method of adjustment DNS configuration, which is characterized in that the described method includes:
After the analysis request message for receiving tracking area identification TAI domain name, the operation flow within a specified time generated is recorded In search whether exist historical record identical with the TAI domain name;
Historical record identical with the TAI domain name if it exists, it is determined that whether there is failed industry in the historical record Business process recording;
Failed operation flow record if it exists, then adjustment meets the domain name system DNS configuration of specified requirements, and the satisfaction refers to The DNS configuration of fixed condition includes at least: under the same terms in operation flow record, service success rate is less than first threshold And/or business number of attempt is greater than the DNS configuration of second threshold;
Before the adjustment meets the DNS configuration of specified requirements, the method also includes:
Obtain the gateway SGW domain name and the address SGW of every failed operation flow record;
History subrecord identical with the SGW domain name and the address SGW is searched from the historical record, and according to described SGW domain name and the address SGW, are grouped the history subrecord, obtain at least one operation flow subrecord, In, the SGW domain name of all subrecords is identical with the address SGW in each operation flow subrecord;
It is described to adjust the DNS configuration for meeting specified requirements, it specifically includes:
According to the quantity of the operation flow subrecord, adjustment meets the DNS configuration of the specified requirements.
2. the method according to claim 1, wherein in the quantity according to the operation flow subrecord, Before adjustment meets the DNS configuration of the specified requirements, the method also includes:
Obtain the quantity of the operation flow subrecord;
The quantity according to the operation flow subrecord, adjustment meet the DNS configuration of the specified requirements, specifically include:
If the quantity of the operation flow subrecord be one, after the tac-l b value in the TAI domain name is added 1 inquiry with The identical DNS configuration to be selected of the corresponding DNS Configuration Type of the analysis request message;
If the DNS configuration to be selected meets regularization condition, the DNS configuration to be selected is written to the configuration of the TAI domain name It in table, and is adaptive as a result, the DNS to be selected configuration for meeting regularization condition includes at least by the DNS configuration flag to be selected: industry Success rate of being engaged in is less than third threshold value and/or business number of attempt is greater than the DNS configuration of the 4th threshold value;
If the quantity of the operation flow subrecord is at least two, the priority of current DNS configuration is reduced.
3. according to the method described in claim 2, it is characterized in that, after the tac-lb value by the TAI domain name adds 1 After the identical DNS configuration to be selected of inquiry DNS Configuration Type corresponding with the analysis request message, the method also includes:
If the DNS configuration to be selected does not meet the regularization condition, looked into after the tac-lb value in the TAI domain name is added 1 again The identical DNS configuration to be selected of inquiry DNS Configuration Type corresponding with the analysis request message, meets the adjustment item until finding Until the DNS to be selected configuration of part.
4. according to the method described in claim 2, it is characterized in that, the priority for reducing current DNS configuration, specific to wrap It includes:
The priority of the current DNS configuration is adjusted to minimum excellent in the corresponding DNS configuration of all operation flow subrecords First grade.
5. a kind of device of adjustment DNS configuration, which is characterized in that described device includes:
Searching module, within a specified time generating after the analysis request message for receiving tracking area identification TAI domain name Search whether there is historical record identical with the TAI domain name in operation flow record;
Determining module, if finding for the searching module in the presence of historical record identical with the TAI domain name, it is determined that institute It states in historical record and is recorded with the presence or absence of failed operation flow;
Module is adjusted, if determining for the determining module there are failed operation flow record, adjusts the specified item of satisfaction The domain name system DNS of part configures, and the DNS configuration for meeting specified requirements includes at least: identical in operation flow record Under the conditions of, service success rate is less than first threshold and/or business number of attempt is greater than the DNS configuration of second threshold;
Module is obtained, for obtaining the gateway SGW domain name and the address SGW of every failed operation flow record;
The searching module, be also used to from the historical record search with it is described acquisition module obtain the SGW domain name and The identical history subrecord in the address SGW, and according to the SGW domain name and the address SGW, by grouping module to described History subrecord is grouped, and obtains at least one operation flow subrecord, wherein all sons in each operation flow subrecord The SGW domain name of record is identical with the address SGW;
The adjustment module, is specifically used for:
According to the quantity of the operation flow subrecord, adjustment meets the DNS configuration of the specified requirements.
6. device according to claim 5, which is characterized in that the acquisition module is also used to obtain the operation flow The quantity of subrecord;
The adjustment module, is specifically used for:
If the quantity of the operation flow subrecord is one, inquiry and institute after the tac-lb value in the TAI domain name is added 1 State the identical DNS configuration to be selected of the corresponding DNS Configuration Type of analysis request message;
If the DNS configuration to be selected meets regularization condition, the DNS configuration to be selected is written to the configuration of the TAI domain name It in table, and is adaptive as a result, the DNS to be selected configuration for meeting regularization condition includes at least by the DNS configuration flag to be selected: industry Success rate of being engaged in is less than third threshold value and/or business number of attempt is greater than the DNS configuration of the 4th threshold value;
If the quantity of the operation flow subrecord is at least two, the priority of current DNS configuration is reduced.
7. device according to claim 6, which is characterized in that the adjustment module, if being also used to the DNS configuration to be selected The regularization condition is not met, then inquiry and the analysis request message after the tac-l b value in the TAI domain name being added 1 again The identical DNS configuration to be selected of corresponding DNS Configuration Type, until finding until the DNS to be selected for meeting the regularization condition configures.
8. device according to claim 6, which is characterized in that the adjustment module is specifically used for:
The priority of the current DNS configuration is adjusted to minimum excellent in the corresponding DNS configuration of all operation flow subrecords First grade.
CN201710035760.XA 2017-01-18 2017-01-18 A kind of method and device of adjustment DNS configuration Active CN106533816B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710035760.XA CN106533816B (en) 2017-01-18 2017-01-18 A kind of method and device of adjustment DNS configuration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710035760.XA CN106533816B (en) 2017-01-18 2017-01-18 A kind of method and device of adjustment DNS configuration

Publications (2)

Publication Number Publication Date
CN106533816A CN106533816A (en) 2017-03-22
CN106533816B true CN106533816B (en) 2019-05-14

Family

ID=58335621

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710035760.XA Active CN106533816B (en) 2017-01-18 2017-01-18 A kind of method and device of adjustment DNS configuration

Country Status (1)

Country Link
CN (1) CN106533816B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109600417B (en) * 2018-11-02 2021-08-27 创新先进技术有限公司 Method, device, equipment and system for tracking application access
CN113382031A (en) * 2020-03-10 2021-09-10 华为技术有限公司 Domain name query method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1917454A (en) * 2005-08-17 2007-02-21 华为技术有限公司 System and method for detecting faults in network
CN101827357A (en) * 2009-12-25 2010-09-08 华为技术有限公司 Method, device and system for data check
CN102223422A (en) * 2011-08-02 2011-10-19 杭州迪普科技有限公司 Domain name system (DNS) message processing method and network safety equipment
CN103327135A (en) * 2013-06-27 2013-09-25 贝壳网际(北京)安全技术有限公司 Domain name resolution method, device and client

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100502367C (en) * 2007-04-04 2009-06-17 华为技术有限公司 Method and device for saving domain name system record

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1917454A (en) * 2005-08-17 2007-02-21 华为技术有限公司 System and method for detecting faults in network
CN101827357A (en) * 2009-12-25 2010-09-08 华为技术有限公司 Method, device and system for data check
CN102223422A (en) * 2011-08-02 2011-10-19 杭州迪普科技有限公司 Domain name system (DNS) message processing method and network safety equipment
CN103327135A (en) * 2013-06-27 2013-09-25 贝壳网际(北京)安全技术有限公司 Domain name resolution method, device and client

Also Published As

Publication number Publication date
CN106533816A (en) 2017-03-22

Similar Documents

Publication Publication Date Title
US7065526B2 (en) Scalable database management system
US20190174321A1 (en) Network slice selection method, device and system
CN106131229A (en) The processing method of CDN business, equipment and communication system
CN105357328B (en) Domain name analytic method, DNS recursion servers and domain name analysis system
CN111193744B (en) Firewall strategy inquiry and elastic expansion method, system, equipment and storage medium
US20210344638A1 (en) Method for network traffic forwarding, request sending, and communication acceleration, forwarding server and node server
CN110769038A (en) Server scheduling method and device, storage medium and electronic equipment
CN104917851A (en) Information processing method and DNS buffer server
CN102438278B (en) Load allocation method and device for mobile communication network
EP2710477B1 (en) Distributed caching and cache analysis
US12010164B2 (en) System for providing exact communication delay guarantee of request response for distributed service
CN105095313A (en) Data access method and equipment
CN107896257A (en) Method, apparatus, equipment and the medium of deploying client subsystem function
CN106533816B (en) A kind of method and device of adjustment DNS configuration
CN108632397A (en) To the control method and system of network connection
US11871309B2 (en) Methods, systems, and computer readable media for network function discovery using preferred-locality information
US9380127B2 (en) Distributed caching and cache analysis
CN112291365A (en) Access balance processing method and device, computer equipment and storage medium
CN113347275A (en) Edge node scheduling method and system based on geographic coordinates of user terminal
CN101459659B (en) Address resolution protocol packet processing method, communication system and network element
CN106161519A (en) A kind of information getting method and device
CN102737061B (en) Distributed ticket query management system and method
CN107451252A (en) Method for quickly querying and its system based on API
US11909634B2 (en) ISCSI multipath management system and method, device, and storage medium
CN111600929B (en) Transmission line detection method, routing strategy generation method and proxy server

Legal Events

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