CN113316926A - Domain name processing method and device, electronic equipment and storage medium - Google Patents

Domain name processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113316926A
CN113316926A CN201980089742.7A CN201980089742A CN113316926A CN 113316926 A CN113316926 A CN 113316926A CN 201980089742 A CN201980089742 A CN 201980089742A CN 113316926 A CN113316926 A CN 113316926A
Authority
CN
China
Prior art keywords
domain name
address
network
address corresponding
effective
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201980089742.7A
Other languages
Chinese (zh)
Other versions
CN113316926B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology Co Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd, Shenzhen Huantai Technology Co Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Publication of CN113316926A publication Critical patent/CN113316926A/en
Application granted granted Critical
Publication of CN113316926B publication Critical patent/CN113316926B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming

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 application discloses a domain name processing method and device, electronic equipment and a storage medium. The method comprises the following steps: when a network service request is detected to be required, acquiring a domain name required by the network service request; searching whether an effective IP address corresponding to the domain name is stored or not, wherein the effective IP address is an IP address which is obtained by historical analysis based on an HTTPDNS mode and corresponds to the domain name; and if the effective IP address corresponding to the domain name is found, generating a network service request based on the found effective IP address. By the method, when the network service request is carried out, the service request can be directly carried out by adopting the locally stored IP address, so that the problem of domain name hijacking caused by directly adopting a domain name resolution mode and the problem that the service request efficiency is influenced by domain name resolution failure are avoided.

Description

Domain name processing method and device, electronic equipment and storage medium Technical Field
The present application relates to the field of computer technologies, and in particular, to a domain name processing method and apparatus, an electronic device, and a storage medium.
Background
With the development of economy and society, mobile phones have become necessities of people, and an application program in the mobile phone can be involved in the resolution of a domain name in the process of acquiring network resources. The security and reliability of the related domain name resolution process are to be improved.
Disclosure of Invention
In view of the above problems, the present application provides a domain name processing method, apparatus, electronic device, and storage medium to improve the above problems.
In a first aspect, the present application provides a domain name processing method, applied to a client, where the method includes: when a network service request is detected to be required, acquiring a domain name required by the network service request; searching whether an effective IP address corresponding to the domain name is stored or not, wherein the effective IP address is an IP address which is obtained by historical analysis based on an HTTPDNS mode and corresponds to the domain name; and if the effective IP address corresponding to the domain name is found, generating a network service request based on the found effective IP address.
In a second aspect, the present application provides a domain name processing apparatus, the apparatus comprising: the domain name acquisition unit is used for acquiring a domain name required by the network service request when the network service request is detected to be required; the IP searching unit is used for searching whether an effective IP address corresponding to the domain name is stored or not, wherein the effective IP address is an IP address which is obtained by historical analysis based on an HTTPDNS mode and corresponds to the domain name; and the network service processing unit is used for generating a network service request based on the found effective IP address if the effective IP address corresponding to the domain name is found.
In a third aspect, the present application provides an electronic device comprising one or more processors and a memory; one or more programs are stored in the memory and configured to be executed by the one or more processors to implement the methods described above.
In a fourth aspect, the present application provides a computer readable storage medium having program code stored therein, wherein the method described above is performed when the program code is executed by a processor.
According to the domain name processing method, device, electronic equipment and storage medium, when the fact that the network service is required to be requested is detected, a domain name for carrying out the network service request is obtained, whether an IP address which is obtained through historical analysis based on an HTTPDNS mode and corresponds to the domain name is stored or not is searched, and if an effective IP address which corresponds to the domain name is searched, the network service request is generated based on the searched effective IP address. Therefore, by the method, when the network service request is carried out, the service request can be directly carried out by adopting the locally stored IP address, so that the problem of domain name hijacking caused by directly adopting a domain name resolution mode and the problem that the service request efficiency is influenced by domain name resolution failure are avoided.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a diagram illustrating an application network environment of a domain name processing method according to an embodiment of the present application;
fig. 2 is a flowchart illustrating a domain name processing method according to an embodiment of the present application;
fig. 3 is a schematic diagram illustrating a network service in a domain name processing method according to an embodiment of the present application;
fig. 4 is a flowchart illustrating a domain name processing method according to still another embodiment of the present application;
fig. 5 is a flowchart illustrating a domain name processing method according to another embodiment of the present application;
fig. 6 is a flowchart illustrating a domain name processing method according to another embodiment of the present application;
fig. 7 is a flowchart illustrating a domain name processing method according to another embodiment of the present application;
fig. 8 is a block diagram illustrating a domain name processing apparatus according to an embodiment of the present application;
fig. 9 is a block diagram showing a domain name processing apparatus according to still another embodiment of the present application;
fig. 10 is a block diagram showing a domain name processing apparatus according to another embodiment of the present application;
fig. 11 is a block diagram illustrating an electronic device for executing a domain name processing method according to an embodiment of the present application in real time;
fig. 12 illustrates a storage unit for storing or carrying program codes for implementing the domain name processing method according to the embodiment of the present application in real time.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The Domain Name System (DNS) is a core service of the internet, and serves as a distributed database that maps Domain names and IP addresses to each other, so that a person can access the internet more conveniently without remembering the IP address number string that can be directly read by a machine. Wikipedia, org is a domain name, for example, and corresponds to IP address 208.80.152.2. The DNS is like an automatic telephone directory and we can dial wikipedia's name directly instead of a telephone number (IP address). After we call the website's name directly, the DNS will translate the name (e.g., www.wikipedia.org) that is convenient for the user to use into an IP address (e.g., 208.80.152.2) that is convenient for the machine to recognize.
As shown in fig. 1, when a user inputs or selects www.wikipedia.org as a target domain name in a client of the electronic device 100 shown in fig. 1, the electronic device 100 sends www.wikipedia.org to the domain name server 200, the domain name server 200 parses www.wikipedia.org to obtain a corresponding IP address, then returns the IP address obtained by parsing to the electronic device 100, and then the electronic device 100 sends a network service request to the server 300 to which the IP address points. The client may be an application having a network communication function, and may be, for example, a browser, instant chat software, video software, or the like.
The inventor finds that domain name hijacking and other problems may occur in the process of domain name resolution based on the DNS, which causes that domain name resolution cannot be performed normally. Moreover, if the domain name is sent to the DNS server for domain name resolution each time a network service request needs to be made to the network or a designated server, the efficiency of integrating the network service request may be reduced.
Therefore, the inventor proposes a domain name processing method, a domain name processing device, an electronic device and a storage medium, wherein the domain name required for the network service request is acquired, and then the locally stored history is directly used for performing the service request based on the IP address corresponding to the domain name obtained by the http dns resolution, so as to avoid the domain name hijacking problem caused by the direct domain name resolution and the problem that the service request efficiency is affected by the domain name resolution failure.
Note that, a client having a foreground interface, such as a browser, chat software, or video software, is running in the electronic device. Components may also be run that do not expose network resources to the user, but rather manage the aforementioned clients. In addition, some components which only run in the background and do not have a user interaction interface can also run in the electronic device, wherein the components can also run as independent application programs or can also run as an SDK plug-in of the client. The domain name processing method provided in the embodiment of the present application may be executed in the foregoing client or in the foregoing component, and for the specific operation manner thereof, a description believed by the following embodiment will be provided.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Referring to fig. 2, a domain name processing method provided in the embodiment of the present application is applied to a client, and the method includes:
step S110: when the network service request is detected to be required, the domain name required by the network service request is obtained.
The network service request may be triggered after the client detects that a domain name is input in a domain name input area of the client, or triggered after the client detects that a displayed hyperlink is touched. For example, if the client detects that a domain name is input in the domain name input area, and then detects that a control for starting searching is triggered, it is determined that a network service request needs to be performed, and the domain name input in the input area is used as the domain name required for performing the network service request.
Com, when the client detects that the text, the picture or the video is touched, and determines that a network service request needs to be performed, and takes the hyperlink corresponding to the touched text, picture or video as a domain name required for performing the network service request. For example, in the control interface of the device a displayed by the client, the text with the content of starting is displayed, and the hyperlink corresponding to the text with the content of starting is the domain name of the server for performing instruction forwarding. It is to be understood that the server performing the instruction forwarding may be understood as a server forwarding the control instructions of the user to the controlled device.
As shown in fig. 3, the client may operate in the control terminal 100, and then the control instruction sent by the client may be transmitted to the server in the cloud 91 by a mobile terminal network (e.g., a 2G/3G/4G/5G network), and then forwarded to the controlled device 99 by the server in the cloud 91 through the router 90 and the gateway 98. In this way, the client can display the control interface of the controlled device 99, and the displayed content in the interface is the server in the cloud 91 pointed to by the domain name configured to start the text.
Step S120: and searching whether an effective IP address corresponding to the domain name is stored or not, wherein the effective IP address is an IP address which is obtained by historical analysis based on an HTTPDNS mode and corresponds to the domain name.
It will be appreciated that a valid IP address is an IP address that the client has determined can successfully make a network service request. As a way, when the client makes a network service request for the first time, no valid IP address is stored locally, and then the client may directly perform domain name resolution based on the http dns manner, so as to obtain a corresponding IP address. Then, after the analyzed IP address is verified to be successful in making a network service request, the analyzed IP address is stored locally as a valid IP address, so that the client can find the valid IP address in the process of executing step S120.
Step S130: and if the effective IP address corresponding to the domain name is found, generating a network service request based on the found effective IP address.
In embodiments of the present application, the client may generate the network service request based on a plurality of protocols. For example, the network service request may be generated based on an http (hypertext Transfer protocol) protocol or an udp (user Datagram protocol) protocol.
Step S140: and if the effective IP address corresponding to the domain name is not found, acquiring the IP address corresponding to the domain name based on a domain name resolution mode.
Step S150: and generating a network service request based on the IP address acquired by the domain name resolution mode.
According to the domain name processing method, when the fact that a network service is required to be requested is detected, a domain name for the network service request is obtained, whether an IP address which is obtained through historical analysis based on an HTTPDNS mode and corresponds to the domain name is stored or not is searched, and if an effective IP address which corresponds to the domain name is found, a network service request is generated based on the found effective IP address. Therefore, by the method, when the network service request is carried out, the service request can be directly carried out by adopting the locally stored IP address, so that the problem of domain name hijacking caused by directly adopting a domain name resolution mode and the problem that the service request efficiency is influenced by domain name resolution failure are avoided.
Referring to fig. 4, a domain name processing method provided in the embodiment of the present application is applied to a client, and the method includes:
step S210: when the network service request is detected to be required, the domain name required by the network service request is obtained.
Step S220: and searching whether the IP address corresponding to the domain name is stored.
Step S221: and if no IP address corresponding to the domain name is found, generating a network service request based on the IP address obtained in the domain name resolution mode.
Step S222: and if the IP address corresponding to the domain name is found, detecting whether the IP address corresponding to the domain name meets specified conditions.
As one mode, the step of searching whether a valid IP address corresponding to the domain name is stored includes:
searching whether an IP address corresponding to the domain name is stored; if the IP address corresponding to the domain name is found, detecting whether the IP address corresponding to the domain name meets specified conditions; if the IP address corresponding to the domain name meets the specified condition, the IP address corresponding to the domain name is judged to be an effective IP address.
Optionally, the specified conditions include: the IP address corresponding to the domain name has no record information of access failure; or the distance between the recording time of the last access failure of the IP address corresponding to the domain name and the current time exceeds a specified time.
Step S230: if the IP address corresponding to the domain name meets the specified condition, the IP address corresponding to the domain name is judged to be an effective IP address.
Step S231: and generating a network service request based on the searched IP address.
Step S232: if the IP address corresponding to the domain name is detected not to meet the specified condition, judging that the IP address corresponding to the domain name is not an effective IP address, and generating a network service request based on the IP address obtained in the domain name resolution mode.
According to the domain name processing method, after the domain name required by the network service request is acquired, the locally stored history can be directly adopted, the IP address corresponding to the domain name is obtained through resolution based on an HTTPDNS mode, and therefore the domain name hijacking problem caused by the direct adoption of the domain name resolution mode and the problem that the service request efficiency is influenced by domain name resolution failure are avoided. In addition, in the process of acquiring the IP address from the local, the validity of the IP address stored locally can be verified firstly through a set rule, so that the success rate and the reliability of the service request are improved.
Referring to fig. 5, a domain name processing method provided in the embodiment of the present application is applied to a client, and the method includes:
step S310: when the network service request is detected to be required, the domain name required by the network service request is obtained.
Step S320: and searching whether an effective IP address corresponding to the domain name is stored in a first storage area.
As a storage manner, the first storage area may store the domain name and the IP address corresponding to the domain name by using an association data table. For example, as shown in the following table:
operator IP Domain name
Move 192.168.0.1 Abcd.com
Telecommunications 192.168.0.2 Dasd.com
Are communicated 192.168.0.3 Qwer.com
ssid 192.168.0.4 Dasde.com
In the above data table, the field operator characterizes the network operator for the IP address adaptation.
As one way, the client may use an IP address that meets a specified condition as an effective IP address corresponding to the domain name. It is understood that the valid IP address determined by the client is an IP address at which the network service request can be successfully made, and then as a way, the client may record the success of the network service request made to the IP address of the first storage area. Taking the example of generating the network service request based on the http protocol, after the client generates and sends the network service request based on the http protocol, if response data based on the http protocol is returned, the client can identify the value of the status field of the http response header in the response data, and if the value of the status field is 200, the client represents that the network service request is successfully performed; if the value of the status field is 400, which indicates that only an error code is returned or the client does not receive http-based response data after a specified time, it is determined that the network service request is not successfully made.
Then in this manner, optionally, the specified conditions include: the IP address corresponding to the domain name has no record information of access failure; or the distance between the recording time of the last access failure of the IP address corresponding to the domain name and the current time exceeds a specified time. It should be noted that the IP address of the server may be changed due to the replacement of the network operator or the dynamic IP address of the IP address, and if the domain name resolution system is not updated immediately, the resolved IP address is an old IP address, and thus the network service cannot be requested successfully. Optionally, the server configured to forward the control instruction is configured with a plurality of IP addresses, which take effect in different time periods, so that the IP addresses of the server may change dynamically according to the time periods, thereby increasing the capability of the server against network attacks.
For example, as a dynamic IP address configuration manner, the server for controlling the forwarding of the command is configured with four IP addresses 192.168.0.2, 192.168.0.3, 192.168.0.4, and 192.168.0.5, it is understood that the four IPs are all mapped to the same domain name, such as abcd. And the configurations 192.168.0.2, 192.168.0.3, 192.168.0.4 and 192.168.0.5 are respectively effective in time periods that are evenly divided within 24 hours of the day, wherein 192.168.0.2 is effective at 0 to 6, 192.168.0.3 is effective at 6 to 12, 192.168.0.4 is effective at 12 to 18, and 192.168.0.5 is effective at 18 to 24 (i.e., 0), it is understood that the server needs to be controlled to complete the requested network service using the effective IP address for different time periods. For example, when a control terminal operated by a user at 9 o' clock sends a network service request for controlling a controlled device to the server configured with a plurality of IPs, the destination IP address of the network service request needs to be 192.168.0.3 in order to send the request to the server.
In one approach, after the client unsuccessfully makes a network service request based on the IP address stored in the first storage area, it may be determined that the IP address is not a valid IP address. In another mode, it can be understood that if the server to which the domain name is directed uses a dynamic IP address, it may perform IP address switching within a certain time period, or reallocate a new IP address each time it is started, and a certain IP address may not successfully perform a network service request, but may perform a network service request after a certain time.
Based on the above manner, the client may first determine whether the IP address corresponding to the server of the requested network service is a fixed IP address or a dynamic IP address, if the fixed IP address is adopted, the client may determine the specified condition as only including the record information that the IP address corresponding to the domain name has no access failure, and if the IP address corresponding to the server of the requested network service is a dynamic IP address, determine the specified condition as only including that the record time of the last access failure of the IP address corresponding to the domain name exceeds a specified duration from the current time. The specified duration may be a duration of one period in which the IP address of the server is dynamically updated.
As a mode, the client and the server for the client to perform the network service request are provided by the same developer, so that the domain name of the server and the configuration mode of the IP address corresponding to the domain name can be stored in the client, and the client can know whether the server is the fixed IP address or the dynamic IP address by identifying the configuration mode.
Step S330: and if the effective IP address corresponding to the domain name is found, generating a network service request based on the found effective IP address.
Step S340: if the effective IP address corresponding to the domain name is not found, whether the IP address to be selected corresponding to the domain name is stored or not is found in a second storage area, wherein the second storage area is different from the first storage area.
It should be noted that, in this embodiment of the application, the IP address stored in the second storage area and corresponding to the domain name is an IP address to be selected that has not been screened yet, and the IP address selected from the IP addresses to be selected in the second storage area is stored in the first storage area, so that the IP address stored in the first storage area is more suitable for the client, and in this manner, the client preferentially searches the IP address stored in the first storage area, and searches the first storage area again when the IP address stored in the first storage area is invalid or when the IP address corresponding to the domain name required by the network service request is not found.
Similarly, in the second storage area, the domain name and the IP address may be stored correspondingly in a manner of associating the data table. For example, as shown in the following table:
Figure PCTCN2019087309-APPB-000001
the data table in the second storage area has more fields than the data table in the first storage area storing the IP address. For example, the "valid timestamp" field is used to store a valid time period corresponding to the IP address, the "port" field is used to store an access port adapted to the IP address, and the "weight" field is used to store a recommendation degree for the IP address to be used, where the higher the weight is, the higher the recommendation degree is. It should be noted that, for the "valid timestamp" field, in order to facilitate data storage, the client may perform feature value calculation (for example, hash calculation) on the start time and the end time represented by the valid time period, and then store the calculated feature value into the "valid timestamp" field, and when the valid time period needs to be queried, perform reverse calculation on the data.
As a mode, the step of searching whether the to-be-selected IP address corresponding to the domain name is stored in the second storage area includes: searching whether an IP address corresponding to the domain name exists in an appointed file (for example, the data table) in a second storage area, if the IP address corresponding to the domain name exists in the appointed file, detecting whether the IP address corresponding to the domain name in the appointed file meets an effective condition, and if the IP address meets the effective condition, taking the IP address meeting the effective condition as a to-be-selected IP address. Wherein the effective conditions include at least one of the following conditions: the current moment is in an effective timestamp corresponding to the IP address; and the access success rate corresponding to the IP address is higher than a specified value. The current time can be understood to be between the start time and the end time of the valid time period in the valid timestamp corresponding to the IP address.
As another mode, the second storage area further stores first network characteristic information corresponding to each IP address to be selected, and the step of determining a target IP address from the IP addresses to be selected includes: acquiring second network characteristic information of a network accessed by a client; and taking the IP address matched with the first network characteristic information and the second network characteristic information in the IP addresses to be selected as a target IP address, and further generating a network service request based on the target IP address. It will be appreciated that data transfer between devices provided by the same network operator is generally more efficient than data transfer across carrier operators. In this way, the client can use the IP address stored in the second storage area and also adapted to the mobile (operator name) when recognizing that the network to which the client has access is a mobile network, so as to improve the service request efficiency. Then, based on the above, the first network characteristic information may comprise an adapted network operator and the second network characteristic information comprises an adapted network operator. In this case, the step of using the IP address with the corresponding first network characteristic information and the second network characteristic information in the candidate IP address as the target IP address includes: and taking the IP address which is matched with the network operator in the IP addresses to be selected and is the same as the network operator of the network accessed by the client as a target IP address.
As another mode, the second storage area further stores a weight corresponding to each to-be-selected IP address; the step of using the IP address, which is the same as the network operator of the network to which the client accesses, of the network operator adapted to the IP address to be selected as the target IP address includes: acquiring the number of reference IP addresses, wherein the reference IP addresses are the same IP addresses of the network operator adapted to the IP address to be selected and the network operator of the network accessed by the client; if the number is larger than 1, comparing the respective corresponding weights of the reference IP addresses; and taking the reference IP address with the maximum corresponding weight as the target IP address.
Step S350: and if the IP address to be selected is found, determining a target IP address from the IP address to be selected, and generating a network service request based on the target IP address.
Step S360: and correspondingly storing the target IP address and the domain name into the first storage area.
Step S370: and if the IP address to be selected is not found, generating a network service request based on the IP address acquired in the domain name resolution mode.
According to the domain name processing method, after the domain name required by the network service request is acquired, the locally stored history can be directly adopted, the IP address corresponding to the domain name is obtained through resolution based on an HTTPDNS mode, and therefore the domain name hijacking problem caused by the direct adoption of the domain name resolution mode and the problem that the service request efficiency is influenced by domain name resolution failure are avoided. In addition, in this embodiment, the IP address obtained by analyzing based on the http dns method through the multi-level cache history may be used, so that the directly usable IP address that has been determined by calculation may be first searched in the first storage area, and if no valid IP address is found in the first storage area, the IP address that has not been determined by calculation may be searched in the second storage area, and after the IP address corresponding to the domain name is found in the second storage area, an IP address that is most matched with the current client may be selected by calculation to generate the network service request, thereby further improving the stability and reliability in the process of converting the domain name into the IP address.
Referring to fig. 6, a domain name processing method provided in the embodiment of the present application is applied to a client, and the method includes:
step S410: when the network service request is detected to be required, the domain name required by the network service request is obtained.
Step S420: and searching whether an effective IP address corresponding to the domain name is stored or not, wherein the effective IP address is an IP address which is obtained by historical analysis based on an HTTPDNS mode and corresponds to the domain name.
Step S430: and if the effective IP address corresponding to the domain name is found, generating a network service request based on the found effective IP address.
Step S440: and if the IP address to be selected is not found, sending a first domain name resolution request carrying the domain name to a DNS (domain name server), and simultaneously sending a second domain name resolution request carrying the domain name to a specified HTTPDNS server.
Step S450: and determining an IP address corresponding to the domain name based on respective response results of the first domain name resolution request and the second domain name resolution request.
As one mode, the step of determining an IP address corresponding to the domain name based on the response result of each of the first domain name resolution request and the second domain name resolution request includes:
if the response result of the first domain name resolution request is detected to be received first, acquiring an IP address from the response result of the first domain name resolution request as the IP address corresponding to the domain name;
and if the detection is that the response result of the second domain name resolution request is received first, acquiring an IP address from the response result of the second domain name resolution request as the IP address corresponding to the domain name.
Furthermore, the step of obtaining an IP address from the response result of the first domain name resolution request as the IP address corresponding to the domain name if it is detected that the response result of the first domain name resolution request is received first further includes:
and if a response result of the second domain name resolution request is received, acquiring an IP address from the response result of the second domain name resolution request, storing the IP address into the second storage area, and covering the IP address to be selected corresponding to the domain name in the second storage area. As a mode, in order to further improve the reliability of the response result of the second domain name resolution request, after the response result of the second domain name resolution request is received, validity verification may be performed first, and then storage may be performed after the verification is passed. It should be noted that the HTTP dns server may perform encryption signing on the response message returned to the client by using the HmacSHA256 signature algorithm, obtain a corresponding signature array, encode the signature array by using Base64 to obtain a character string, and set the character string in the HTTP Header of the response result. And after receiving the response result, the client uses the same algorithm for the received response result to obtain a character string, compares the character string with the character string in the HTTP Header, and if the character string is the same, the verification is passed.
It should be noted that, in the process of performing domain name resolution in the conventional DNS manner, a risk of domain name hijacking may occur, so that a required IP address cannot be successfully returned, or a risk of a falsification of a returned IP address exists. As a mode, if the client receives the response result of the second domain name resolution request first when the client sends the first domain name resolution request and the second domain name resolution request simultaneously based on an asynchronous mode, the client may generate the network service request based on the IP address in the response result of the second domain name resolution request first, and then perform the operation of verifying and storing the response result.
As one mode, before executing step S440, the method further includes: and acquiring the time-efficiency requirement of the service which needs to carry out the network service request. Optionally, the step of obtaining the aging requirement of the service requiring the network service request includes: if the service is identified as equipment control, judging that the timeliness requirement of the service for equipment control is a first timeliness requirement; and if the service is identified as equipment configuration, judging that the timeliness requirement of the service controlled by the equipment is a second timeliness requirement.
If the time efficiency requirement meets a first time efficiency requirement, sending a first domain name resolution request carrying the domain name to a DNS (domain name server), and determining an IP (Internet protocol) address corresponding to the domain name based on a response result of the first domain name resolution request; if the timeliness meets a second timeliness requirement, the step S440 is executed, where the timeliness corresponding to the first timeliness requirement is higher than the timeliness corresponding to the second timeliness requirement.
According to the domain name processing method, after the domain name required by the network service request is acquired, the locally stored history can be directly adopted, the IP address corresponding to the domain name is obtained through resolution based on an HTTPDNS mode, and therefore the domain name hijacking problem caused by the direct adoption of the domain name resolution mode and the problem that the service request efficiency is influenced by domain name resolution failure are avoided. And when the IP address to be selected is detected not to be found, the domain name resolution can be carried out based on a DNS mode and an HTTPDNS mode, so that the success rate and the reliability of the domain name resolution are further ensured, and the success rate of the network service request is also improved. Furthermore, the destination IP address as the network service request may be determined according to the sequence of sending the first domain name resolution request carrying the domain name to the DNS server and sending the response of the second domain name resolution request carrying the domain name to the specified http DNS server.
Referring to fig. 7, a domain name processing method provided in an embodiment of the present application is applied to a component having a function of communicating with a client, and the method includes:
step S510: when the client is detected to need to carry out the network service request, the domain name required by the network service request is obtained.
As a mode, adaptive change can be performed on the client, so that data interaction can be performed between the client and the component in an interprocess communication mode, and the component further obtains when the client needs to perform a network service request.
Step S520: and searching whether an effective IP address corresponding to the domain name is stored or not, wherein the effective IP address is an IP address which is obtained by historical analysis based on an HTTPDNS mode and corresponds to the domain name.
Step S530: and if the effective IP address corresponding to the domain name is found, generating a network service request based on the found effective IP address.
Step S540: and if the effective IP address corresponding to the domain name is not found, generating a network service request based on the IP address acquired in the domain name resolution mode.
It should be noted that, for the specific way in which the component in this embodiment executes step S520 and step S530, reference may be made to the content in the foregoing method embodiment, and details are not described here again. The implementation based on the components can enable the content in the foregoing method embodiments to be implemented collectively by one component in each of a plurality of clients.
Referring to fig. 8, a domain name processing apparatus 500 according to an embodiment of the present application includes:
a domain name obtaining unit 510, configured to obtain a domain name required for performing a network service request when it is detected that the network service request needs to be performed.
An IP searching unit 520, configured to search whether an effective IP address corresponding to the domain name is stored, where the effective IP address is an IP address corresponding to the domain name obtained through historical resolution based on an http dns manner.
The network service processing unit 530 is configured to, if an effective IP address corresponding to the domain name is found, generate a network service request based on the found effective IP address.
As a manner, the IP searching unit 520 is specifically configured to search whether an IP address corresponding to the domain name is stored; if the IP address corresponding to the domain name is found, detecting whether the IP address corresponding to the domain name meets specified conditions; if the IP address corresponding to the domain name meets the specified condition, the IP address corresponding to the domain name is judged to be an effective IP address.
Wherein, optionally, the specified condition includes: the IP address corresponding to the domain name has no record information of access failure; or the distance between the recording time of the last access failure of the IP address corresponding to the domain name and the current time exceeds a specified time.
As one mode, the IP searching unit 520 is specifically configured to search whether an effective IP address corresponding to the domain name is stored in the first storage area; if the effective IP address corresponding to the domain name is not found, searching whether a to-be-selected IP address corresponding to the domain name is stored in a second storage area, wherein the second storage area is different from the first storage area; if the IP address to be selected is found, determining a target IP address from the IP address to be selected, and generating a network service request based on the target IP address; and correspondingly storing the target IP address and the domain name into the first storage area. Optionally, the first storage area is a memory, and the second storage area is a file system.
As a manner, the IP searching unit 520 is specifically configured to search whether an IP address corresponding to the domain name exists in the specified file in the second storage area; if the IP address corresponding to the domain name exists in the specified file; detecting whether an IP address corresponding to the domain name in the specified file meets an effective condition or not; and if the IP address meeting the effective condition is used as the IP address to be selected.
Wherein, optionally, the effective condition includes at least one of the following conditions: the current moment is in an effective timestamp corresponding to the IP address; and the access success rate corresponding to the IP address is higher than a specified value.
As a mode, the second storage area further stores first network characteristic information corresponding to each to-be-selected IP address. In this way, the IP lookup unit 520 is specifically configured to obtain second network feature information of a network to which the client is connected; and taking the IP address matched with the first network characteristic information and the second network characteristic information in the IP address to be selected as a target IP address. Optionally, the first network characteristic information includes an adapted network operator, and the second network characteristic information includes an adapted network operator.
In another mode, the second storage area further stores a weight corresponding to each to-be-selected IP address. In this way, the IP lookup unit 520 is specifically configured to obtain the number of reference IP addresses, where the reference IP addresses are IP addresses of a network operator adapted to the to-be-selected IP address and the same IP address as a network operator of a network to which the client accesses; if the number is larger than 1, comparing the respective corresponding weights of the reference IP addresses; and taking the reference IP address with the maximum corresponding weight as the target IP address.
As shown in fig. 9, the apparatus 500 further includes a domain name resolution unit 540, configured to, if the IP address to be selected is not found, obtain an IP address corresponding to the domain name based on a domain name resolution manner. In this way, the network service processing unit 530 is configured to generate a network service request based on the IP address obtained in the domain name resolution manner.
As one mode, the domain name resolution unit 540 is specifically configured to send a first domain name resolution request carrying the domain name to a DNS server, and send a second domain name resolution request carrying the domain name to a specified http DNS server at the same time, and determine an IP address corresponding to the domain name based on respective response results of the first domain name resolution request and the second domain name resolution request.
Further, the domain name resolution unit 540 is specifically configured to, if it is detected that a response result of the first domain name resolution request is received first, obtain an IP address from the response result of the first domain name resolution request as the IP address corresponding to the domain name; and if the detection is that the response result of the second domain name resolution request is received first, acquiring an IP address from the response result of the second domain name resolution request as the IP address corresponding to the domain name.
As one mode, as shown in fig. 10, the apparatus further includes an IP storage unit 550, configured to, if a response result of the second domain name resolution request is received, obtain an IP address from the response result of the second domain name resolution request, store the IP address in the second storage area, and cover the to-be-selected IP address corresponding to the domain name in the second storage area.
As a manner, the domain name resolution unit 540 is further configured to obtain an aging requirement of the service that needs to perform the network service request, send a first domain name resolution request carrying the domain name to the DNS server if the aging requirement meets a first aging requirement, and determine an IP address corresponding to the domain name based on a response result of the first domain name resolution request; if the timeliness meets a second timeliness requirement, the first domain name resolution request carrying the domain name is sent to the DNS server, and a second domain name resolution request carrying the domain name is sent to a specified HTTPDNS server; and the timeliness corresponding to the first timeliness requirement is higher than the timeliness corresponding to the second timeliness requirement. Specifically, the domain name resolution unit 540 is specifically configured to determine that the time efficiency requirement of the service for performing the device control is a first time efficiency requirement if the service is identified as performing the device control; and if the service is identified as equipment configuration, judging that the timeliness requirement of the service controlled by the equipment is a second timeliness requirement.
It should be noted that the device embodiment and the method embodiment in the present application correspond to each other, and specific principles in the device embodiment may refer to the contents in the method embodiment, which is not described herein again.
An electronic device provided by the present application will be described below with reference to fig. 11.
Referring to fig. 11, based on the foregoing domain name processing method and apparatus, another electronic device 100 capable of executing the foregoing domain name processing method is further provided in this embodiment of the present application. Electronic device 100 includes one or more processors 102 (only one shown), memory 104, and wireless module 106 coupled to each other. The memory 104 stores programs that can execute the content of the foregoing embodiments, and the processor 102 can execute the programs stored in the memory 104.
Processor 102 may include one or more processing cores, among other things. The processor 102 interfaces with various components throughout the electronic device 100 using various interfaces and circuitry to perform various functions of the electronic device 100 and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 104 and invoking data stored in the memory 104. Alternatively, the processor 102 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 102 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 102, but may be implemented by a communication chip.
The Memory 104 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 104 may be used to store instructions, programs, code sets, or instruction sets. The memory 104 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like. The storage data area may also store data created by the terminal 100 in use, such as a phonebook, audio-video data, chat log data, and the like.
The wireless module 106 is configured to receive and transmit electromagnetic waves, and achieve interconversion between the electromagnetic waves and the electrical signals, so as to communicate with a communication network or other devices, for example, an audio playing device. The wireless module 106 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The wireless module 106 may communicate with various networks, such as the internet, an intranet, a wireless network, or with other devices via a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. For example, the wireless module 106 may interact with a base station.
Referring to fig. 12, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable medium 800 has stored therein a program code that can be called by a processor to execute the method described in the above-described method embodiments.
The computer-readable storage medium 800 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 800 includes a non-volatile computer-readable storage medium. The computer readable storage medium 800 has storage space for program code 810 to perform any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. The program code 810 may be compressed, for example, in a suitable form.
In summary, according to the domain name processing method, device, electronic device, and storage medium provided by the present application, when it is detected that a network service needs to be requested, a domain name for performing a network service request is obtained, and then whether an IP address corresponding to the domain name obtained by historical resolution based on an http dns manner is stored is searched, and if an effective IP address corresponding to the domain name is found, a network service request is generated based on the found effective IP address. Therefore, by the method, when the network service request is carried out, the service request can be directly carried out by adopting the locally stored IP address, so that the problem of domain name hijacking caused by directly adopting a domain name resolution mode and the problem that the service request efficiency is influenced by domain name resolution failure are avoided.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (20)

  1. A domain name processing method is applied to a client, and the method comprises the following steps:
    when a network service request is detected to be required, acquiring a domain name required by the network service request;
    searching whether an effective IP address corresponding to the domain name is stored or not, wherein the effective IP address is an IP address which is obtained by historical analysis based on an HTTPDNS mode and corresponds to the domain name;
    and if the effective IP address corresponding to the domain name is found, generating a network service request based on the found effective IP address.
  2. The method of claim 1, wherein the step of searching whether a valid IP address corresponding to the domain name is stored comprises:
    searching whether an IP address corresponding to the domain name is stored;
    if the IP address corresponding to the domain name is found, detecting whether the IP address corresponding to the domain name meets specified conditions;
    if the IP address corresponding to the domain name meets the specified condition, the IP address corresponding to the domain name is judged to be an effective IP address.
  3. The method of claim 2, wherein the specified condition comprises:
    the IP address corresponding to the domain name has no record information of access failure; or
    And the distance between the recording time of the latest access failure of the IP address corresponding to the domain name and the current time exceeds a specified time.
  4. The method of claim 1, wherein the step of searching whether a valid IP address corresponding to the domain name is stored comprises:
    searching whether an effective IP address corresponding to the domain name is stored in a first storage area;
    the method further comprises the following steps:
    if the effective IP address corresponding to the domain name is not found, searching whether a to-be-selected IP address corresponding to the domain name is stored in a second storage area, wherein the second storage area is different from the first storage area;
    if the IP address to be selected is found, determining a target IP address from the IP address to be selected, and generating a network service request based on the target IP address;
    and correspondingly storing the target IP address and the domain name into the first storage area.
  5. The method according to claim 4, wherein the step of searching in the second storage area whether the IP address to be selected corresponding to the domain name is stored comprises:
    searching whether an IP address corresponding to the domain name exists in a specified file of a second storage area;
    if the IP address corresponding to the domain name exists in the specified file;
    detecting whether an IP address corresponding to the domain name in the specified file meets an effective condition or not;
    and if the IP address meeting the effective condition is used as the IP address to be selected.
  6. The method of claim 5, wherein the valid condition comprises at least one of:
    the current moment is in an effective timestamp corresponding to the IP address; and
    the access success rate corresponding to the IP address is higher than a specified value.
  7. The method according to any one of claims 4 to 6, wherein the second storage area further stores first network characteristic information corresponding to each candidate IP address, and the step of determining the target IP address from the candidate IP addresses comprises:
    acquiring second network characteristic information of a network accessed by a client;
    and taking the IP address matched with the first network characteristic information and the second network characteristic information in the IP address to be selected as a target IP address.
  8. The method of claim 7, wherein the first network characteristic information comprises an adapted network operator, and wherein the second network characteristic information comprises an adapted network operator; the step of taking the IP address matched with the first network characteristic information and the second network characteristic information in the to-be-selected IP address as a target IP address includes:
    and taking the IP address which is matched with the network operator in the IP addresses to be selected and is the same as the network operator of the network accessed by the client as a target IP address.
  9. The method according to claim 8, wherein the second storage area further stores a weight corresponding to each to-be-selected IP address; the step of using the IP address, which is the same as the network operator of the network to which the client accesses, of the network operator adapted to the IP address to be selected as the target IP address includes:
    acquiring the number of reference IP addresses, wherein the reference IP addresses are the same IP addresses of the network operator adapted to the IP address to be selected and the network operator of the network accessed by the client;
    if the number is larger than 1, comparing the respective corresponding weights of the reference IP addresses;
    and taking the reference IP address with the maximum corresponding weight as the target IP address.
  10. The method according to any one of claims 4-9, further comprising:
    if the IP address to be selected is not found, acquiring the IP address corresponding to the domain name based on a domain name resolution mode;
    and generating a network service request based on the IP address acquired by the domain name resolution mode.
  11. The method according to claim 10, wherein the step of obtaining the IP address corresponding to the domain name based on domain name resolution comprises:
    sending a first domain name resolution request carrying the domain name to a DNS server, and simultaneously sending a second domain name resolution request carrying the domain name to a specified HTTPDNS server;
    and determining an IP address corresponding to the domain name based on respective response results of the first domain name resolution request and the second domain name resolution request.
  12. The method according to claim 11, wherein the step of determining the IP address corresponding to the domain name based on the response result of each of the first domain name resolution request and the second domain name resolution request comprises:
    if the response result of the first domain name resolution request is detected to be received first, acquiring an IP address from the response result of the first domain name resolution request as the IP address corresponding to the domain name;
    and if the detection is that the response result of the second domain name resolution request is received first, acquiring an IP address from the response result of the second domain name resolution request as the IP address corresponding to the domain name.
  13. The method according to claim 12, wherein after the step of obtaining the IP address from the response result of the first domain name resolution request as the IP address corresponding to the domain name if it is detected that the response result of the first domain name resolution request is received first, further comprising:
    and if a response result of the second domain name resolution request is received, acquiring an IP address from the response result of the second domain name resolution request, storing the IP address into the second storage area, and covering the IP address to be selected corresponding to the domain name in the second storage area.
  14. The method according to any of claims 11-13, wherein the step of sending a first domain name resolution request carrying the domain name to a DNS server and simultaneously sending a second domain name resolution request carrying the domain name to a specified http DNS server further comprises:
    acquiring the timeliness requirement of the service needing the network service request;
    if the time efficiency requirement meets a first time efficiency requirement, sending a first domain name resolution request carrying the domain name to a DNS (domain name server), and determining an IP (Internet protocol) address corresponding to the domain name based on a response result of the first domain name resolution request;
    if the timeliness meets a second timeliness requirement, the first domain name resolution request carrying the domain name is sent to the DNS server, and a second domain name resolution request carrying the domain name is sent to a specified HTTPDNS server; and the timeliness corresponding to the first timeliness requirement is higher than the timeliness corresponding to the second timeliness requirement.
  15. The method of claim 14, wherein the step of obtaining the aging requirement of the service requiring a network service request comprises:
    if the service is identified as equipment control, judging that the timeliness requirement of the service for equipment control is a first timeliness requirement;
    and if the service is identified as equipment configuration, judging that the timeliness requirement of the service controlled by the equipment is a second timeliness requirement.
  16. The method according to any of claims 4-15, wherein the first storage area is a memory and the second storage area is a file system.
  17. A domain name processing apparatus, characterized in that the apparatus comprises:
    the domain name acquisition unit is used for acquiring a domain name required by the network service request when the network service request is detected to be required;
    the IP searching unit is used for searching whether an effective IP address corresponding to the domain name is stored or not, wherein the effective IP address is an IP address which is obtained by historical analysis based on an HTTPDNS mode and corresponds to the domain name;
    and the network service processing unit is used for generating a network service request based on the found effective IP address if the effective IP address corresponding to the domain name is found.
  18. The apparatus according to claim 17, wherein the IP lookup unit is specifically configured to lookup whether an IP address corresponding to the domain name is stored; if the IP address corresponding to the domain name is found, detecting whether the IP address corresponding to the domain name meets specified conditions; if the IP address corresponding to the domain name meets the specified condition, the IP address corresponding to the domain name is judged to be an effective IP address.
  19. An electronic device comprising one or more processors and memory;
    one or more programs are stored in the memory and configured to be executed by the one or more processors to implement the method of any of claims 1-16.
  20. A computer-readable storage medium, having program code stored therein, wherein the program code when executed by a processor performs the method of any of claims 1-16.
CN201980089742.7A 2019-05-16 2019-05-16 Domain name processing method, device, electronic equipment and storage medium Active CN113316926B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/087309 WO2020228038A1 (en) 2019-05-16 2019-05-16 Domain name processing method, apparatus, electronic device, and storage medium

Publications (2)

Publication Number Publication Date
CN113316926A true CN113316926A (en) 2021-08-27
CN113316926B CN113316926B (en) 2023-12-05

Family

ID=73289128

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201980089742.7A Active CN113316926B (en) 2019-05-16 2019-05-16 Domain name processing method, device, electronic equipment and storage medium

Country Status (2)

Country Link
CN (1) CN113316926B (en)
WO (1) WO2020228038A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113691858A (en) * 2021-08-31 2021-11-23 Vidaa美国公司 Display device and interface display method
CN114338630A (en) * 2021-12-13 2022-04-12 海尔优家智能科技(北京)有限公司 Domain name access method, device, electronic equipment, storage medium and program product

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114095475B (en) * 2020-12-28 2024-06-14 京东科技控股股份有限公司 Data processing method, device, electronic equipment, system and storage medium
CN112866116B (en) * 2020-12-31 2023-06-20 平安科技(深圳)有限公司 Network access detection method, device, equipment and storage medium
CN113992627B (en) * 2021-10-26 2024-08-06 北京字节跳动网络技术有限公司 Domain name resolution method, device, equipment and medium
CN115473871B (en) * 2022-09-19 2023-08-04 广州市百果园网络科技有限公司 Domain name local resolution method and device, equipment, medium and product thereof
CN116319113B (en) * 2023-05-23 2023-08-11 阿里云计算有限公司 Domain name resolution abnormality detection method and electronic equipment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217576A (en) * 2008-01-18 2008-07-09 厦门纳网科技有限公司 A dynamic domain name analysis system and the corresponding dynamic analysis method
CN104092787A (en) * 2014-06-24 2014-10-08 腾讯科技(深圳)有限公司 Network access method and system based on DNS
CN106161664A (en) * 2015-04-15 2016-11-23 阿里巴巴集团控股有限公司 Domain name analytic method and device, data transmission method and device
CN106161669A (en) * 2015-04-28 2016-11-23 阿里巴巴集团控股有限公司 A kind of quick domain name analytic method and system and terminal thereof and server
CN107896241A (en) * 2017-10-23 2018-04-10 东软集团股份有限公司 Detection method, device, storage medium and the electronic equipment of network access speed
CN108173976A (en) * 2016-12-07 2018-06-15 腾讯科技(深圳)有限公司 Domain name analytic method and device
CN108718347A (en) * 2018-05-18 2018-10-30 腾讯科技(深圳)有限公司 A kind of domain name analytic method, system, device and storage medium
CN108881515A (en) * 2018-07-09 2018-11-23 迈普通信技术股份有限公司 Domain name analytic method, device and the network equipment
CN108924274A (en) * 2018-09-14 2018-11-30 Oppo广东移动通信有限公司 domain name system DNS processing method, device, storage medium and electronic equipment
CN109391703A (en) * 2017-08-10 2019-02-26 阿里巴巴集团控股有限公司 Domain name analytic method, device, equipment and computer storage medium
CN109618024A (en) * 2019-02-01 2019-04-12 网宿科技股份有限公司 A kind of domain name analytic method and system based on HTTP

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105100294B (en) * 2014-05-20 2018-05-08 阿里巴巴集团控股有限公司 Obtain method, system, the webserver, browser and the GSLB of webpage
CN105516385B (en) * 2015-12-02 2019-05-14 传线网络科技(上海)有限公司 Domain name analytic method, server and system
CN109347997A (en) * 2018-12-18 2019-02-15 深圳创维数字技术有限公司 Domain name analytic method, device, server and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217576A (en) * 2008-01-18 2008-07-09 厦门纳网科技有限公司 A dynamic domain name analysis system and the corresponding dynamic analysis method
CN104092787A (en) * 2014-06-24 2014-10-08 腾讯科技(深圳)有限公司 Network access method and system based on DNS
CN106161664A (en) * 2015-04-15 2016-11-23 阿里巴巴集团控股有限公司 Domain name analytic method and device, data transmission method and device
CN106161669A (en) * 2015-04-28 2016-11-23 阿里巴巴集团控股有限公司 A kind of quick domain name analytic method and system and terminal thereof and server
CN108173976A (en) * 2016-12-07 2018-06-15 腾讯科技(深圳)有限公司 Domain name analytic method and device
CN109391703A (en) * 2017-08-10 2019-02-26 阿里巴巴集团控股有限公司 Domain name analytic method, device, equipment and computer storage medium
CN107896241A (en) * 2017-10-23 2018-04-10 东软集团股份有限公司 Detection method, device, storage medium and the electronic equipment of network access speed
CN108718347A (en) * 2018-05-18 2018-10-30 腾讯科技(深圳)有限公司 A kind of domain name analytic method, system, device and storage medium
CN108881515A (en) * 2018-07-09 2018-11-23 迈普通信技术股份有限公司 Domain name analytic method, device and the network equipment
CN108924274A (en) * 2018-09-14 2018-11-30 Oppo广东移动通信有限公司 domain name system DNS processing method, device, storage medium and electronic equipment
CN109618024A (en) * 2019-02-01 2019-04-12 网宿科技股份有限公司 A kind of domain name analytic method and system based on HTTP

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113691858A (en) * 2021-08-31 2021-11-23 Vidaa美国公司 Display device and interface display method
CN114338630A (en) * 2021-12-13 2022-04-12 海尔优家智能科技(北京)有限公司 Domain name access method, device, electronic equipment, storage medium and program product
CN114338630B (en) * 2021-12-13 2024-04-19 海尔优家智能科技(北京)有限公司 Domain name access method, device, electronic equipment, storage medium and program product

Also Published As

Publication number Publication date
WO2020228038A1 (en) 2020-11-19
CN113316926B (en) 2023-12-05

Similar Documents

Publication Publication Date Title
CN113316926B (en) Domain name processing method, device, electronic equipment and storage medium
CN108809956B (en) Authentication method based on micro service, access request forwarding method, device and system
CN108616490B (en) Network access control method, device and system
CN113366815B (en) Network resource request method, device, electronic equipment and storage medium
CN108270882B (en) Domain name resolution method and device, storage medium and electronic device
CN108881101B (en) Cross-site script vulnerability defense method and device based on document object model and client
EP2985705A2 (en) Webpage access method and apparatus, and router
CN109729183B (en) Request processing method, device, equipment and storage medium
US9173097B2 (en) Techniques for auto-authentication
CN103139253B (en) Realize the method for network interface card offloading functions, network interface card, host computer system and the network equipment
CN110430188B (en) Rapid URL filtering method and device
CN109218457B (en) Network data processing method, device and system
CN108959384B (en) Webpage data acquisition method and device, computer equipment and storage medium
CN109714716B (en) Data packet forwarding method and device and mobile terminal
CN111338710A (en) Application program control method and device, electronic equipment and storage medium
US8799450B2 (en) Server-based system, method, and computer program product for scanning data on a client using only a subset of the data
CN108600255B (en) Mock service management method, device, computer equipment and storage medium
CN111556109B (en) Request processing method and device, electronic equipment and storage medium
CN115004160A (en) Data processing method and device, processing equipment and data storage system
CN112565238A (en) Method for popping privacy policy, client and computer-readable storage medium
EP4243362B1 (en) Network device identification
CN115865457A (en) Network attack behavior identification method, server and medium
WO2017181407A1 (en) Network authentication method, client, terminal device and platform
CN113656731B (en) Advertisement page processing method and device, electronic equipment and storage medium
CN106973112B (en) Data processing method and system, terminal and server thereof

Legal Events

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