Resolution address processing method and apparatus, medium and electronic device

By judging whether to restore the resolved address based on the threshold of network quality when the resolved address has been removed, the problem of unstable resolution address processing in the prior art is solved, the accuracy and stability of traffic scheduling are achieved, and the user's network experience is improved.

WO2025130751A1PCT designated stage expired Publication Date: 2025-06-26BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/138825
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-12-19
Filing Date
2024-12-12
Publication Date
2025-06-26

AI Technical Summary

Technical Problem

The existing technology cannot process the resolved address smoothly and effectively, resulting in serious traffic jitters among network service providers, and the inability to perform accurate and stable traffic scheduling and content scheduling, reducing the user's network experience.

Method used

By obtaining the network quality of the resolved address corresponding to the domain name, if the resolved address has been removed, if the network quality is higher than the first threshold and smaller than the second threshold within a continuous first period, the resolved address is restored. The second threshold is less than 100%, which is greater than the first threshold.

Benefits of technology

In the case of network quality jitter, the jitter is realized through slow and stable recovery, ensuring that the resolved address is restored only after the network quality is stable, avoiding traffic jitter, providing accurate and stable traffic scheduling and content scheduling, and improving the user's network experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024138825_26062025_PF_FP_ABST
    Figure CN2024138825_26062025_PF_FP_ABST
Patent Text Reader

Abstract

The present disclosure relates to a resolution address processing method and apparatus, a medium and an electronic device. The resolution address processing method comprises: acquiring the network quality of a resolution address corresponding to a domain name; and, when the resolution address has been removed, if the network quality is always greater than a first threshold value but less than a second threshold value in a continuous first time period, restoring the resolution address, wherein the second threshold value is less than 100%, and the second threshold value is greater than the first threshold value.
Need to check novelty before this filing date? Find Prior Art

Description

Address resolution processing method, device, medium and electronic device

[0001] This application claims priority to Chinese Patent Application No. 202311755400.9 filed on December 19, 2023, and the contents of the above-mentioned Chinese patent application disclosure are hereby incorporated by reference in their entirety as a part of this application. Technical Field

[0002] Embodiments of the present disclosure relate to a method, device, medium, and electronic device for address resolution processing. Background Art

[0003] When a user accesses a domain name, the domain name server will perform address resolution on the domain name accessed by the user and obtain the resolution address corresponding to the domain name accessed by the user. In related technologies, in order to ensure network quality, a network dial test is usually performed from a designated detection point to the resolution address corresponding to the domain name accessed by the user to obtain the network quality of the resolution address. If the network quality of the resolution address is lower than the tolerance threshold set by the user, the resolution address will be removed. If the network quality of the resolution address is higher than the tolerance threshold set by the user, the resolution address will be restored. This method cannot process the resolution address smoothly and effectively, resulting in serious traffic jitter for the business party providing network services, and cannot perform accurate and smooth traffic scheduling and content scheduling, which reduces the user's network experience. Summary of the Invention

[0004] This section is provided to briefly introduce the concepts that will be described in detail in the detailed description below. This section is not intended to identify key features or essential features of the claimed technical solution, nor is it intended to limit the scope of the claimed technical solution.

[0005] In a first aspect, the present disclosure provides a method for processing a parsed address, comprising:

[0006] Get the network quality of the resolved address corresponding to the domain name;

[0007] In the case where the resolved address has been removed, if the network quality is higher than a first threshold and lower than a second threshold in a continuous first time period, the resolved address is restored, wherein the second threshold is lower than 100% and the second threshold is higher than the first threshold.

[0008] In a second aspect, the present disclosure provides a processing device for resolving an address, comprising:

[0009] An acquisition module is used to obtain the network quality of the resolution address corresponding to the domain name;

[0010] A processing module is used to restore the resolved address if the network quality is higher than a first threshold and lower than a second threshold in a continuous first time period when the resolved address has been removed, wherein the second threshold is lower than 100% and the second threshold is higher than the first threshold.

[0011] In a third aspect, the present disclosure provides a computer-readable medium having a computer program stored thereon, which, when executed by a processing device, implements the steps of any one of the methods described in the first aspect.

[0012] In a fourth aspect, the present disclosure provides an electronic device, comprising:

[0013] a storage device having at least one computer program stored thereon;

[0014] At least one processing device, configured to execute the at least one computer program in the storage device to implement the steps of any one of the methods described in the first aspect.

[0015] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The above and other features, advantages and aspects of the various embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that the originals and elements are not necessarily drawn to scale. In the drawings:

[0017] FIG1 is a flowchart of a method for resolving an address according to an embodiment of the present disclosure.

[0018] FIG2 is a flowchart of another method for processing resolved addresses according to an embodiment of the present disclosure.

[0019] FIG3 is a flowchart of another method for processing resolved addresses according to an embodiment of the present disclosure.

[0020] 4A and 4B are schematic diagrams showing the effects of the method for processing an address resolution according to an embodiment of the present disclosure.

[0021] FIG5 is another schematic diagram showing another effect of the method for processing address resolution according to an embodiment of the present disclosure.

[0022] FIG6 is a schematic block diagram of a device for processing address resolution according to an embodiment of the present disclosure.

[0023] FIG7 shows a schematic structural diagram of an electronic device suitable for implementing the embodiments of the present disclosure. DETAILED DESCRIPTION

[0024] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.

[0025] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0026] As used herein, the term "including" and its variations are open-ended, i.e., "including but not limited to." The term "based on" means "based, at least in part, on." The term "one embodiment" means "at least one embodiment," the term "another embodiment" means "at least one additional embodiment," and the term "some embodiments" means "at least some embodiments." Other terms are defined in the following description.

[0027] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0028] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".

[0029] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0030] All actions of acquiring signals, information or data in this disclosure are carried out in compliance with the relevant data protection laws and policies of the country where they are located and with the authorization given by the owner of the corresponding device.

[0031] It is understandable that before using the technical solutions disclosed in the various embodiments of this disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved in this disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0032] For example, in response to a user's active request, a prompt message is sent to the user to clearly inform the user that the operation requested will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the electronic device, application, server, storage medium, or other software or hardware that performs the operations of the disclosed technical solution based on the prompt message.

[0033] As an optional but non-limiting implementation, in response to receiving a user's active request, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. Furthermore, the pop-up window may also contain a selection control for the user to select "agree" or "disagree" to provide personal information to the electronic device.

[0034] It is understandable that the above notification and user authorization process are merely illustrative and do not limit the implementation of the present disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0035] At the same time, it is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) must comply with the requirements of relevant laws, regulations and relevant provisions.

[0036] Internet applications and network links are complex and diverse. How to discover and quickly locate network problems (e.g., network failures, performance degradation, etc.) that prevent users from accessing Internet services, quickly switch the resolution address corresponding to the domain name being accessed, and reliably switch back to the resolution address after network quality has stabilized has always been a challenge for various business entities. For businesses providing high-concurrency, high-traffic access services, a set of decision-making algorithms that quickly remove and smoothly restore traffic can provide accurate traffic scheduling, offer users a better network experience, avoid traffic jitter, and improve system stability. Currently, there are many network diagnostic products in the industry. Most solutions perform network dialing tests from a designated detection point to the resolution address, using a user-defined dialing success tolerance threshold as a metric for determining the quality of the current link. This determines whether the access traffic should go through the primary or backup resolution address, and when to switch back to the primary resolution address. This decision-making algorithm uses only a single fixed threshold to determine which resolution address to use. Its drawbacks are that, on the one hand, it doesn't accurately simulate the current network quality over a period of time. On the other hand, in a network environment with severe jitter, the network quality value may fluctuate around the user-defined dial test success tolerance threshold. This can cause the resolution address for users to access services to frequently switch between the primary and backup resolution addresses, leading to severe traffic jitter on the server side. Therefore, a simple and efficient algorithm is urgently needed to solve this problem.

[0037] Figure 1 is a flowchart of a method for processing a resolved address according to an embodiment of the present disclosure. This method can process the resolved address corresponding to the domain name accessed by the user, such as by removing or restoring the resolved address, and can provide accurate and stable traffic and content scheduling for the business providing network services. As shown in Figure 1, the method for processing the resolved address includes steps S11 to S12.

[0038] In step S11, the network quality of the resolved address corresponding to the domain name is obtained.

[0039] For example, the network quality of the resolved address corresponding to the domain name may be obtained through dialing test or other network quality measurement methods.

[0040] In step S12, if the resolved address has been removed, and the network quality is higher than a first threshold and lower than a second threshold for a continuous first period of time, the resolved address is restored, where the second threshold is lower than 100% and higher than the first threshold. This recovery strategy is suitable for restoring resolved addresses in the event of network quality jitter, and can achieve the effect of slowly and smoothly restoring the resolved address and eliminating jitter.

[0041] Step S12 is used to restore the resolved address if it has been removed. Removal refers to deleting a resolved address from the list of resolved addresses corresponding to a domain name. This way, the domain name server will no longer resolve the deleted resolved address when resolving the domain name. Restoration refers to adding the deleted resolved address back to the list of resolved addresses corresponding to the domain name. This way, the domain name server can resolve the restored resolved address when resolving the domain name.

[0042] The first threshold may be a user's tolerance threshold for network quality. For example, a user's tolerance threshold for network quality may be received and set as the first threshold. The user's tolerance for network quality may be reflected by a dial test success rate. For example, if the user's tolerance threshold for network quality is 90%, then if the dial test success rate is 93%, the network quality is considered to be higher than the user's tolerance threshold for network quality. The user's tolerance threshold for network quality may be set by the user based on their tolerance for network quality. The first threshold is actually the lower limit threshold for address resolution recovery, that is, the address resolution may be recovered only when the network quality is higher than the first threshold.

[0043] The second threshold can be determined by obtaining the historical network quality of the resolved address within a recent third period, provided that the resolved address has not been removed. The second threshold is dynamically determined based on the historical network quality. For example, the average of all the historical network quality values ​​within the recent third period can be taken, and the second threshold is dynamically determined based on the averaged value. The duration of the third period can be set based on actual conditions, for example, 5 minutes. That is, the second threshold is determined in the scenario where the resolved address has not been removed. For example, in the scenario where the resolved address has not been removed, assuming that the network quality values ​​obtained within the recent third period include 100%, 96%, 100%, 100%, and 100%, the second threshold can be obtained by taking the average of these network quality values, i.e., setting the second threshold to (100% + 96% + 100% + 100% + 100%) / 5 = 99.2%. This technical solution allows the second threshold to be adaptively updated in real time, and the second threshold also reflects the recent network quality.

[0044] The duration of the first period can be set based on the user's tolerance for network recovery time. This allows different tolerance duration coefficients to be specified for different users, achieving different levels of de-jittering and rapid recovery balance. For example, the first period can be 5 minutes.

[0045] Furthermore, since the network quality is consistently above the first threshold and below the second threshold for the first consecutive time period, this indicates that the current network quality is above the lower threshold for resuming the resolution address (i.e., the first threshold), but not particularly high. In such a network condition, network quality fluctuations are more likely to occur, and therefore, a slow and steady recovery of the resolution address is necessary.

[0046] By adopting the above technical solution, the network quality of the resolution address corresponding to the domain name can be obtained, and when the resolution address has been removed, if the network quality is higher than the first threshold and less than the second threshold in a continuous first time period, the resolution address is restored. In this way, in a scenario where there is network quality jitter (for example, the network quality fluctuates), the de-jittering effect can be achieved through slow and steady recovery, and the recovery of the resolution address can be effectively avoided when the network quality is falsely recovered. This not only ensures that the resolution address is restored after the network quality is stable, but also ensures the accurate and steady recovery of the resolution address. Furthermore, in cloud products related to traffic scheduling, the traffic jitter of the business party providing network services is avoided, and the business party is provided with accurate and steady traffic scheduling and content scheduling, thereby improving the user's network experience. In addition, since the processing method of the resolution address according to the present disclosure is based on the two thresholds of the first threshold and the second threshold to restore the resolution address, by introducing a dual-threshold decision-making scheme, it can adapt to the resolution address recovery in different network scenarios (for example, scenarios with jittery network quality, scenarios with relatively stable network quality, etc.).

[0047] FIG2 is a flow chart of another method for processing a resolved address according to an embodiment of the present disclosure. As shown in FIG2 , the method for processing a resolved address includes steps S21 and S22.

[0048] In step S21, the network quality of the resolved address corresponding to the domain name is obtained.

[0049] For example, the network quality of the resolved address corresponding to the domain name may be obtained through dialing test or other network quality measurement methods.

[0050] In step S22, if the resolved address has been removed, the resolved address is restored if the network quality is greater than or equal to the second threshold and less than or equal to 100% for a continuous second period of time, where the second period of time is less than the first period of time. This recovery strategy is suitable for fast and stable recovery in the event of a network outage, and can achieve a rapid recovery effect.

[0051] The duration of the second period can be set based on the user's tolerance for network recovery time. This allows different tolerance duration coefficients to be specified for different users, achieving different levels of de-jitter and rapid recovery balance. For example, the second period can be 3 minutes.

[0052] The second threshold has been described in detail above and will not be repeated here. Furthermore, since historical network quality data is used to dynamically calculate the second threshold in real time, the success rate of address resolution recovery is more guaranteed, allowing for better adaptation to network changes and reducing unnecessary jitter recovery.

[0053] In addition, since the network quality is greater than or equal to the second threshold and less than or equal to 100% in a continuous second time period, this indicates that the current network condition is a condition with relatively high network quality. Therefore, under such a network condition, the network quality is relatively stable and the resolved address can be quickly restored, that is, the period of observation of the network quality (that is, the length of the second time period) can be relatively short.

[0054] By adopting the above technical solution, the network quality of the resolution address corresponding to the domain name can be obtained, and when the resolution address has been removed, if the network quality is greater than or equal to the second threshold and less than or equal to 100% in a continuous second time period, the resolution address is restored. In this way, in a scenario where the network quality is relatively stable, not only can it be ensured that the resolution address is restored after the network quality is stable, but it can also ensure that the resolution address is restored more quickly, thereby achieving accurate and rapid recovery of the resolution address. Furthermore, in cloud products related to traffic scheduling, traffic jitter of the business party providing network services is avoided, and accurate and stable traffic scheduling and content scheduling are provided to the business party, thereby improving the user's network experience. In addition, since the processing method of the resolution address according to the present disclosure is based on the two thresholds of the first threshold and the second threshold to restore the resolution address, by introducing a dual-threshold decision-making scheme, it can adapt to the resolution address recovery in different network scenarios (such as scenarios with jittery network quality, scenarios with relatively stable network quality, etc.).

[0055] In some embodiments, the method for processing the resolved address according to the embodiment of the present disclosure further includes: when the resolved address has been removed, if the network quality is less than or equal to the first threshold, keeping the resolved address removed.

[0056] By adopting the above technical solution, the resolution address can continue to be removed even if the network quality does not reach the lower threshold for restoring the resolution address. This ensures the user's network service quality, avoids traffic jitter for the business party providing network services, and provides the business party with accurate and stable traffic scheduling and content scheduling, thereby improving the user's network experience.

[0057] FIG3 is a flow chart of another method for processing a resolved address according to an embodiment of the present disclosure. As shown in FIG3 , the method for processing a resolved address includes steps S31 and S32.

[0058] In step S31, the network quality of the resolved address corresponding to the domain name is obtained.

[0059] For example, the network quality of the resolved address corresponding to the domain name may be obtained through dialing test or other network quality measurement methods.

[0060] In step S32, when the resolved address has not been removed, if the network quality is lower than the first threshold value in a fourth consecutive time period, the resolved address is removed.

[0061] The first threshold is both the lower threshold for restoring the resolved address and the threshold for removing the resolved address.

[0062] The duration of the fourth period can be set based on the user's tolerance for network service quality. This allows different tolerance duration coefficients to be specified for different users, achieving different levels of de-jittering and removal balance points. For example, the fourth period can be 3 minutes long.

[0063] By adopting the above technical solution, the network quality of the resolution address corresponding to the domain name can be obtained, and if the resolution address is not removed, if the network quality is lower than the first threshold value in the fourth consecutive time period, the resolution address is removed. Through such a processing solution, the resolution address is not removed when the first network quality jitter is found, but is removed after a continuous deterioration occurs. In this way, the resolution address can be ensured to be removed smoothly and accurately. Furthermore, in cloud products related to traffic scheduling, traffic jitter of the business party providing network services is avoided, and accurate and stable traffic scheduling and content scheduling are provided to the business party, thereby improving the user's network experience.

[0064] Figures 4A and 4B are schematic diagrams of the effects of the method for processing the resolved address according to the embodiment of the present disclosure. Figure 4A shows a dialing curve of the network quality of the resolved address, and Figure 4B shows a schematic diagram of the removal and restoration of the resolved address according to the embodiment of the present disclosure. As can be seen from Figure 4A, the resolved address was suddenly disconnected from the network. As can be seen from Figure 4B, the method for processing the resolved address according to the embodiment of the present disclosure did not remove the resolved address when the network disconnection occurred, but only removed the resolved address when the network quality of the resolved address was lower than the first threshold value for the fourth consecutive time period starting from the time of the network disconnection. It can also be seen from Figures 4A and 4B that after the network of the resolved address was restored, the resolved address was not restored immediately, but was restored when the network quality of the resolved address was higher than the second threshold value for the second consecutive time period. In this way, the rapid removal and rapid restoration of the resolved address in the network disconnection scenario is achieved, avoiding traffic jitter of the business party providing network services, providing the business party with accurate and stable traffic scheduling and content scheduling, and improving the user's network experience.

[0065] Figure 5 is another schematic diagram of the effect of the method for processing the resolved address according to the embodiment of the present disclosure, wherein the downward arrow indicates the removal of the resolved address, and the upward arrow indicates the restoration of the resolved address. As can be seen from Figure 5, the network quality of the resolved address has jittered, but the resolved address was not removed immediately when the network quality of the resolved address began to deteriorate. Instead, the resolved address was removed after the network quality of the resolved address continued to deteriorate for the duration of the fourth time period, and the resolved address was restored after the network quality of the resolved address had been stably restored for a period of time. For example, in Figure 5, the positions circled by the ellipses all showed false recovery of network quality, while the method for processing the resolved address according to the embodiment of the present disclosure effectively eliminated the false recovery (that is, the resolved address was not restored at these false recovery positions). In this way, the smooth removal and smooth restoration of the resolved address in the scenario of network quality jitter is achieved, the traffic jitter of the business party providing network services is avoided, accurate and stable traffic scheduling and content scheduling are provided to the business party, and the user's network experience is improved.

[0066] Figure 6 is a schematic block diagram of a device for processing a resolution address according to an embodiment of the present disclosure. The device is capable of processing the resolution address corresponding to the domain name accessed by the user, such as removing, restoring, etc. the resolution address, to provide the business party with accurate and stable traffic scheduling and content scheduling. As shown in Figure 6, the processing device includes: an acquisition module 61 for acquiring the network quality of the resolution address corresponding to the domain name; a processing module 62 for restoring the resolution address if the network quality is higher than a first threshold and less than a second threshold in a continuous first time period when the resolution address has been removed, wherein the second threshold is less than 100% and the second threshold is greater than the first threshold.

[0067] By adopting the above technical solution, the network quality of the resolution address corresponding to the domain name can be obtained, and when the resolution address has been removed, if the network quality is higher than the first threshold and less than the second threshold in a continuous first time period, the resolution address is restored. In this way, in a scenario where there is network quality jitter (for example, the network quality fluctuates), the de-jittering effect can be achieved through slow and steady recovery, and the recovery of the resolution address can be effectively avoided when the network quality is falsely recovered. This not only ensures that the resolution address is restored after the network quality is stable, but also ensures the accurate and steady recovery of the resolution address. Furthermore, in cloud products related to traffic scheduling, the traffic jitter of the business party providing network services is avoided, and the business party is provided with accurate and steady traffic scheduling and content scheduling, thereby improving the user's network experience. In addition, since the processing method of the resolution address according to the present disclosure is based on the two thresholds of the first threshold and the second threshold to restore the resolution address, by introducing a dual-threshold decision-making scheme, it can adapt to the resolution address recovery in different network scenarios (for example, scenarios with jittery network quality, scenarios with relatively stable network quality, etc.).

[0068] Optionally, the processing module 62 is also used to: when the resolved address has been removed, if the network quality is greater than or equal to the second threshold and less than or equal to 100% in a continuous second time period, then restore the resolved address, wherein the duration of the second time period is less than the duration of the first time period.

[0069] Optionally, the processing module 62 is further configured to: when the resolved address has been removed, if the network quality is less than or equal to the first threshold, keep the resolved address removed.

[0070] Optionally, the processing device further includes a determination module, configured to: when the resolved address is not removed, obtain a historical network quality of the resolved address in a recent third time period, and dynamically determine the second threshold value based on the historical network quality.

[0071] Optionally, the determination module dynamically determines the second threshold according to the historical network quality, including: averaging all the historical network qualities in the most recent third time period; and dynamically determining the second threshold based on the average value.

[0072] Optionally, the processing module 62 is further configured to: when the resolved address has not been removed, if the network quality is lower than the first threshold value in a fourth consecutive time period, remove the resolved address.

[0073] Optionally, the processing device further includes a setting module, configured to: receive a user's tolerance threshold for the network quality, and set the tolerance threshold as the first threshold.

[0074] The specific implementation of the operations performed by each module in the processing device according to the embodiment of the present disclosure has been described in detail in the relevant method and will not be repeated here.

[0075] The present disclosure also provides a computer-readable medium having a computer program stored thereon, which implements the steps of any method described in the present disclosure when the program is executed by a processing device.

[0076] The present disclosure also provides an electronic device, comprising: a storage device storing at least one computer program; and at least one processing device for executing the at least one computer program in the storage device to implement the steps of any one of the methods described in the present disclosure.

[0077] Reference is now made to FIG7 , which illustrates a schematic diagram of the structure of an electronic device 600 suitable for implementing embodiments of the present disclosure. Terminal devices in embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. The electronic device illustrated in FIG7 is merely an example and should not limit the functionality or scope of use of embodiments of the present disclosure.

[0078] As shown in Figure 7, the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. Various programs and data required for the operation of the electronic device 600 are also stored in the RAM 603. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0079] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. Although FIG. 7 shows the electronic device 600 with various devices, it should be understood that not all of the devices shown are required to be implemented or present. More or fewer devices may alternatively be implemented or present.

[0080] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 609, or installed from the storage device 608, or installed from the ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.

[0081] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.

[0082] In some embodiments, the client and server can communicate using any currently known or later developed network protocol, such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or later developed network.

[0083] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0084] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: obtains the network quality of the resolved address corresponding to the domain name; if the resolved address has been removed, if the network quality is higher than a first threshold and lower than a second threshold in a continuous first time period, restores the resolved address, wherein the second threshold is lower than 100% and the second threshold is higher than the first threshold.

[0085] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including, but not limited to, object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0086] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0087] The modules described in the embodiments of the present disclosure may be implemented in software or hardware. In some cases, the name of a module does not necessarily limit the module itself. For example, the first acquisition module may also be described as a "module for obtaining the network quality of the resolved address corresponding to the domain name."

[0088] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.

[0089] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0090] According to one or more embodiments of the present disclosure, Example 1 provides a method for resolving an address, including:

[0091] Get the network quality of the resolved address corresponding to the domain name;

[0092] In the case where the resolved address has been removed, if the network quality is higher than a first threshold and lower than a second threshold in a continuous first time period, the resolved address is restored, wherein the second threshold is lower than 100% and the second threshold is higher than the first threshold.

[0093] According to one or more embodiments of the present disclosure, Example 2 provides the method of Example 1, wherein the processing method further includes:

[0094] When the resolved address has been removed, if the network quality is greater than or equal to the second threshold and less than or equal to 100% in a continuous second time period, the resolved address is restored, wherein the duration of the second time period is less than the duration of the first time period.

[0095] According to one or more embodiments of the present disclosure, Example 3 provides the method of Example 1, wherein the processing method further includes:

[0096] In a case where the resolved address has been removed, if the network quality is less than or equal to the first threshold, the resolved address remains removed.

[0097] According to one or more embodiments of the present disclosure, Example 4 provides the method of Example 1, wherein the processing method further includes:

[0098] If the resolved address is not removed, obtaining a historical network quality of the resolved address in a recent third time period;

[0099] The second threshold is dynamically determined according to the historical network quality.

[0100] According to one or more embodiments of the present disclosure, Example 5 provides the method of Example 4, wherein dynamically determining the second threshold value based on the historical network quality includes:

[0101] averaging all of the historical network qualities within the most recent third time period;

[0102] The second threshold is dynamically determined based on the averaged value.

[0103] According to one or more embodiments of the present disclosure, Example 6 provides the method of Example 1, wherein the processing method further includes:

[0104] In a case where the resolved address has not been removed, if the network quality is lower than the first threshold value in a fourth consecutive time period, the resolved address is removed.

[0105] According to one or more embodiments of the present disclosure, Example 7 provides the method of Example 1, wherein the processing method further includes:

[0106] receiving a user's tolerance threshold for the network quality;

[0107] The tolerance threshold is set as the first threshold.

[0108] According to one or more embodiments of the present disclosure, Example 8 provides a processing device for resolving an address, including:

[0109] An acquisition module is used to obtain the network quality of the resolution address corresponding to the domain name;

[0110] A processing module is used to restore the resolved address if the network quality is higher than a first threshold and lower than a second threshold in a continuous first time period when the resolved address has been removed, wherein the second threshold is lower than 100% and the second threshold is higher than the first threshold.

[0111] According to one or more embodiments of the present disclosure, Example 9 provides the apparatus of Example 8, wherein the processing module is further configured to:

[0112] When the resolved address has been removed, if the network quality is greater than or equal to the second threshold and less than or equal to 100% in a continuous second time period, the resolved address is restored, wherein the duration of the second time period is less than the duration of the first time period.

[0113] According to one or more embodiments of the present disclosure, Example 10 provides the apparatus of Example 8, wherein the processing module is further configured to:

[0114] In a case where the resolved address has been removed, if the network quality is less than or equal to the first threshold, the resolved address remains removed.

[0115] According to one or more embodiments of the present disclosure, Example 11 provides the apparatus of Example 8, wherein the processing apparatus further includes a determining module configured to:

[0116] If the resolved address is not removed, obtaining a historical network quality of the resolved address in a recent third time period;

[0117] The second threshold is dynamically determined according to the historical network quality.

[0118] According to one or more embodiments of the present disclosure, Example 12 provides the apparatus of Example 11, wherein the determining module dynamically determines the second threshold value based on the historical network quality, including:

[0119] averaging all of the historical network qualities within the most recent third time period;

[0120] The second threshold is dynamically determined based on the averaged value.

[0121] According to one or more embodiments of the present disclosure, Example 13 provides the apparatus of Example 8, wherein the processing module is further configured to:

[0122] In a case where the resolved address has not been removed, if the network quality is lower than the first threshold value in a fourth consecutive time period, the resolved address is removed.

[0123] According to one or more embodiments of the present disclosure, Example 14 provides the apparatus of Example 8, wherein the processing apparatus further includes a setting module configured to:

[0124] receiving a user's tolerance threshold for the network quality;

[0125] The tolerance threshold is set as the first threshold.

[0126] According to one or more embodiments of the present disclosure, Example 15 provides a computer-readable medium having a computer program stored thereon, which implements the steps of any one of the methods described in Examples 1-7 when executed by a processing device.

[0127] According to one or more embodiments of the present disclosure, Example 16 provides an electronic device, including:

[0128] a storage device having at least one computer program stored thereon;

[0129] At least one processing device, configured to execute the at least one computer program in the storage device to implement the steps of the method of any one of Examples 1-7.

[0130] The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.

[0131] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details have been included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0132] Although the subject matter has been described using language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims. Regarding the apparatus in the above-described embodiments, the specific manner in which each module performs operations has been described in detail in the embodiments related to the method and will not be elaborated upon here.

Claims

1. A method for resolving an address, comprising: Get the network quality of the resolution address corresponding to the domain name; In the case where the resolved address has been removed, if the network quality is higher than a first threshold and lower than a second threshold in a continuous first time period, the resolved address is restored, wherein the second threshold is lower than 100% and the second threshold is higher than the first threshold.

2. The processing method according to claim 1, further comprising: In the case where the resolved address has been removed, if the network quality is greater than or equal to the second threshold and less than or equal to 100% in a continuous second time period, the resolved address is restored, wherein the duration of the second time period is less than the duration of the first time period.

3. The processing method according to claim 1 or 2, further comprising: In the case where the resolved address has been removed, if the network quality is less than or equal to the first threshold, the resolved address remains removed.

4. The processing method according to any one of claims 1 to 3, further comprising: When the resolved address is not removed, obtaining a historical network quality of the resolved address in a recent third time period; The second threshold is determined dynamically according to the historical network quality.

5. The processing method according to claim 4, wherein: The dynamically determining the second threshold according to the historical network quality includes: averaging all of the historical network qualities within the most recent third period; The second threshold is dynamically determined based on the averaged value.

6. The processing method according to any one of claims 1 to 5, further comprising: In the case where the resolved address has not been removed, if the network quality is lower than the first threshold value in a fourth consecutive time period, the resolved address is removed.

7. The processing method according to any one of claims 1 to 6, further comprising: receiving a user's tolerance threshold for the network quality; The tolerance threshold is set as the first threshold.

8. A processing device for resolving an address, comprising: An acquisition module configured to acquire a network quality of a resolution address corresponding to a domain name; The processing module is configured to restore the resolved address if the network quality is higher than a first threshold and lower than a second threshold in a continuous first time period when the resolved address has been removed, wherein the second threshold is lower than 100% and the second threshold is higher than the first threshold.

9. A computer readable medium having a computer program stored thereon, wherein: When the program is executed by a processing device, the steps of the method according to any one of claims 1 to 7 are implemented.

10. An electronic device comprising: a storage device having at least one computer program stored thereon; as well as At least one processing device, configured to execute the at least one computer program in the storage device to implement the steps of the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Communication network switching method and communication network switching device

    CN104902527A

  • Network scheduling system, method and device, electronic equipment and storage medium

    CN115361357A

  • Domain name local analysis method and device, equipment, medium and product

    CN115473871A

  • Network address management method, device and system, electronic equipment and storage medium

    CN116319547A

  • Resolution address processing method and device, medium and electronic equipment

    CN117614897A