[go: up one dir, main page]

CN114697378B - Website access method, device, equipment and medium - Google Patents

Website access method, device, equipment and medium Download PDF

Info

Publication number
CN114697378B
CN114697378B CN202011560284.1A CN202011560284A CN114697378B CN 114697378 B CN114697378 B CN 114697378B CN 202011560284 A CN202011560284 A CN 202011560284A CN 114697378 B CN114697378 B CN 114697378B
Authority
CN
China
Prior art keywords
target
domain name
dns
handle system
website
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011560284.1A
Other languages
Chinese (zh)
Other versions
CN114697378A (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.)
Aisino Corp
Original Assignee
Aisino Corp
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 Aisino Corp filed Critical Aisino Corp
Priority to CN202011560284.1A priority Critical patent/CN114697378B/en
Publication of CN114697378A publication Critical patent/CN114697378A/en
Application granted granted Critical
Publication of CN114697378B publication Critical patent/CN114697378B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding

Landscapes

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

Abstract

The embodiment of the invention provides a website access method, a device, equipment and a medium, which are used for receiving an input target address, carrying out domain name resolution on the target address, if the domain name resolution is unsuccessful, determining a target name in a Handle system corresponding to the target address according to a pre-stored mapping relation table of a DNS domain name of a Domain Name System (DNS) and the name of the Handle system, and accessing a target website corresponding to the target name in the Handle system according to the target name. By pre-storing a mapping relation table of the names of the DNS domain name and the Handle system, aiming at an input target address, when the DNS cannot resolve, determining the target name of the target address in the Handle system by searching the mapping relation table, and accessing a first target website corresponding to the target name, the inter-access of the DNS and the Handle system is realized, the speed and the efficiency of website access are improved, and the use experience of a user is improved.

Description

Website access method, device, equipment and medium
Technical Field
The present invention relates to the field of computers and networks, and in particular, to a method, an apparatus, a device, and a medium for accessing a website.
Background
In the traditional internet technology, a Domain name resolution system (Domain NAME SYSTEM, DNS) is adopted to resolve an input address, but the resolution capability of the DNS is poor, and the security capability is low. Aiming at the deficiency of DNS, in recent years, an industrial Internet resolution system taking a Handle system as a core is greatly developed.
However, the emerging Handle system cannot replace the DNS system in a short period, so in actual production and life, some web addresses of enterprises adopt DNS domain names in DNS, some web addresses of enterprises adopt names in the Handle system, which also results in the need of accessing the DNS system by the Handle system, and similarly, the need of accessing the Handle system by the DNS system, in the prior art, there is no unified method of accessing each other to realize the mutual access of two systems.
Disclosure of Invention
The embodiment of the invention provides a website access method, a device, equipment and a medium, which are used for solving the problem that a unified method for mutually accessing is not available in the prior art so as to realize the mutual access of two systems.
The embodiment of the invention provides a website access method, which comprises the following steps:
receiving an input target address, and carrying out domain name resolution on the target address;
If the analysis is unsuccessful, determining a target name in a Handle system corresponding to the target address according to a pre-stored mapping relation table of the DNS domain name of the Domain Name System (DNS) and the name of the Handle system;
And according to the target names, accessing a first target website corresponding to the target names in the Handle system.
Further, after the domain name resolution is performed on the target address, the method further includes:
if the analysis is successful, accessing a second target website corresponding to the target address.
Further, the method further comprises:
And sending the content of the second target website to the electronic equipment.
Further, after the parsing is unsuccessful, the method further includes:
And if the target naming in the Handle system corresponding to the target address is not found in the mapping relation table, sending response failure information to the electronic equipment.
Further, the method further comprises:
and sending the content of the first target website to the electronic equipment.
The embodiment of the invention also provides a website access method, which comprises the following steps:
receiving an input target enterprise node code, and analyzing the target enterprise node code;
If the analysis is unsuccessful, determining a target domain name in a DNS system corresponding to the target enterprise node code according to a pre-stored mapping relation table of the DNS domain name of the domain name system DNS and the naming of the Handle system;
And according to the target domain name, accessing a first target website corresponding to the target domain name in the DNS.
Further, after the domain name resolution is performed on the target enterprise node code, the method further includes:
and if the analysis is successful, accessing a second target website corresponding to the target enterprise node code.
Further, after the parsing is unsuccessful, the method further includes:
And if the target naming in the Handle system corresponding to the target address is not found in the mapping relation table, sending response failure information to the electronic equipment.
The embodiment of the invention also provides a website access device, which comprises:
the domain name resolution module is used for receiving an input target address and performing domain name resolution on the target address;
the processing module is used for determining the target name in the Handle system corresponding to the target address according to a pre-stored mapping relation table of the DNS domain name of the domain name system DNS and the name of the Handle system if the analysis is unsuccessful;
and the access module is used for accessing a first target website corresponding to the target name in the Handle system according to the target name.
Further, the access module is further configured to access a second target website corresponding to the target address if the analysis is successful.
Further, the apparatus further comprises:
And the sending module is used for sending the content of the second target website to the electronic equipment.
Further, the sending module is further configured to send information of failure response to the electronic device if the destination name in the Handle system corresponding to the destination address is not found in the mapping relationship table.
Further, the sending module is further configured to send the content of the first target website to an electronic device.
The embodiment of the invention also provides a website access device, which comprises:
the domain name resolution module is used for receiving an input target enterprise node code and resolving the target enterprise node code;
The processing module is used for determining a target domain name in the DNS system corresponding to the target enterprise node code according to a pre-stored mapping relation table of the DNS domain name of the domain name system DNS and the naming of the Handle system if the analysis is unsuccessful;
And the access module is used for accessing a first target website corresponding to the target domain name in the DNS according to the target domain name.
The embodiment of the invention also provides electronic equipment, which at least comprises a processor and a memory, wherein the processor is used for realizing the steps of any website access method when executing the computer program stored in the memory.
The embodiment of the invention also provides a computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of any one of the website access methods described above.
Because the embodiment of the invention receives the input target address, carries out domain name resolution on the target address, if the domain name resolution is unsuccessful, determines the target name in the Handle system corresponding to the target address according to a pre-stored mapping relation table of the DNS domain name of the domain name system DNS and the name of the Handle system, and accesses a target website corresponding to the target name in the Handle system according to the target name. In the embodiment of the invention, the mapping relation table of the DNS domain name and the names of the Handle system is pre-stored, and when the DNS cannot resolve, the target names of the target addresses in the Handle system are determined by searching the mapping relation table, so that the first target websites corresponding to the target names are accessed, the inter-access of the DNS and the Handle system is realized, the speed and the efficiency of website access are improved, and the use experience of users is improved.
Drawings
In order to more clearly illustrate the technical solutions of the present invention, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a website access process according to an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating the access logic between a DNS domain name resolution server and a Handle system according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a mapping relationship table between DNS domain names and names in a Handle system according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart of a PC1 access Handle system according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a website access process according to an embodiment of the present invention;
fig. 6 is a schematic flow chart of a PC2 accessing a DNS name resolution server according to an embodiment of the present invention;
Fig. 7 is a schematic structural diagram of a website access apparatus according to an embodiment of the present invention;
Fig. 8 is a schematic structural diagram of a website access apparatus according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail below with reference to the accompanying drawings, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In order to achieve mutual access of a DNS system and a Handle system, improve the speed and efficiency of website access and improve the use feeling of a user, the embodiment of the invention provides a website access method, device, equipment and medium.
Example 1:
fig. 1 is a schematic diagram of a website access process according to an embodiment of the present invention, where the process includes the following steps:
s101: and receiving an input target address, and carrying out domain name resolution on the target address.
The website access method provided by the embodiment of the invention is applied to the DNS domain name resolution server, and the domain name resolution server can be in communication connection with the PC.
In the embodiment of the invention, after the DNS domain name resolution server receives the input target address, the target address is resolved. Specifically, in the actual application process, the user inputs the target address in the browser, but the address is not the IP address of the website, and the DNS domain name resolution server is required to resolve the target address into the IP address, that is, after receiving the input target address, the DNS domain name resolution server is required to resolve the target address into the IP address.
S102: if the analysis is unsuccessful, determining the target naming in the Handle system corresponding to the target address according to a pre-stored mapping relation table of the DNS domain name of the domain name system DNS and the naming of the Handle system.
When the DNS domain name resolution server performs domain name resolution on the target address, the case that the resolution is unsuccessful may occur, and when the resolution is unsuccessful, it may be that the website corresponding to the target address is located in the Handle system, or the target address does not exist.
In the embodiment of the invention, a USBKEY exists in the DNS domain name resolution server, and a mapping relation table of the DNS domain name of the DNS and the naming of the Handle system is pre-stored in the USBKEY. When the DNS domain name resolution server does not successfully resolve the target address, the target naming in the Handle system corresponding to the target address can be determined through a mapping relation table stored in the USBKEY.
For example, the DNS domain name resolution server receives a target address of air.com.cn, where the target address is a DNS domain name, but resolution is unsuccessful when performing domain name resolution, and at this time, it may be determined that the target name in the Handle system corresponding to the target address is 86.1009.2020/dns.air.com.cn according to the mapping relationship table.
S103: and according to the target names, accessing a first target website corresponding to the target names in the Handle system.
In the embodiment of the invention, the first target website corresponding to the target name is accessed according to the target name in the Handle system.
Because in the embodiment of the invention, the mapping relation table of the DNS domain name and the names of the Handle system is pre-stored, when the DNS cannot resolve, the target names of the target addresses in the Handle system are determined by searching the mapping relation table, and the first target websites corresponding to the target names are accessed, so that the mutual access of the DNS and the Handle system is realized, the speed and the efficiency of website access are improved, and the use experience of users is improved.
Example 2:
In order to achieve the mutual access of the DNS system and the Handle system, improve the speed and efficiency of website access, and improve the use feeling of the user, on the basis of the above embodiment, in the embodiment of the present invention, the method further includes:
if the analysis is successful, accessing a second target website corresponding to the target address.
In the embodiment of the invention, when the DNS domain name resolution server successfully resolves the target address, a second target website corresponding to the target address is accessed, and the content corresponding to the second target website is sent to the electronic equipment inputting the target address.
Fig. 2 is a logic schematic diagram of a DNS nameserver and a Handle system accessing each other according to an embodiment of the present invention, as shown in fig. 2, a PC1 establishes a communication connection with the DNS nameserver, where the DNS nameserver is configured to provide a conventional network nameresolving service, and a PC2 establishes a communication connection with the Handle system. Because USBKEY is added in the DNS domain name resolution server, the DNS domain name resolution server can establish communication connection with a Handle system.
In order to achieve mutual access of the DNS system and the Handle system, improve the speed and efficiency of website access, and improve the use feeling of the user, on the basis of the above embodiments, in the embodiments of the present invention, the method further includes:
And sending the content of the second target website to the electronic equipment.
In the embodiment of the invention, after the DNS domain name resolution server accesses a second target website corresponding to the target address in the DNS, the content of the second target website is sent to the electronic equipment.
Example 3:
in order to achieve the mutual access of the DNS system and the Handle system, improve the speed and efficiency of website access, and improve the user experience of the user, on the basis of the foregoing embodiments, in the embodiment of the present invention, after the analysis is unsuccessful, the method further includes:
And if the target naming in the Handle system corresponding to the target address is not found in the mapping relation table, sending response failure information to the electronic equipment.
In the embodiment of the invention, after the target address is resolved, but the resolution is unsuccessful, when the DNS domain name resolution server searches the target name in the Handle system corresponding to the target address in the mapping relation table, if the target name corresponding to the target address is not found, the response failure information is sent to the electronic equipment.
Fig. 3 is a schematic diagram of a mapping relationship table between DNS nameand naming in a Handle system according to an embodiment of the present invention, and as can be seen from fig. 3, in the Handle system, the code of a country node in china is 86, assuming that the code of an industry node is 1009 and the code of an enterprise node is 2020, the code of the enterprise in the Handle system is 86.1009.2020. If the domain name corresponding to the enterprise code is ain, the domain name is resolved in the sequence cn, com, aisino. In the mapping table, cn in the DNS name resolution server corresponds to 86.1009.2020/DNS. Cn in the Handle system, com in the DNS name resolution server corresponds to 86.1009.2020/DNS. Com. Cn in the Handle system, aisino in the DNS name resolution server corresponds to 86.1009.2020/DNS. Aisino. Com. Cn in the Handle system, i.e. each DNS domain name corresponds to a name in the Handle system.
Example 4:
In order to achieve mutual access of the DNS system and the Handle system, improve the speed and efficiency of website access, and improve the use feeling of the user, on the basis of the above embodiments, in the embodiments of the present invention, the method further includes:
and sending the content of the first target website to the electronic equipment.
In the embodiment of the invention, after the DNS domain name resolution server accesses a first target website corresponding to the target name in the Handle system, the content of the first website is sent to the electronic equipment.
Fig. 4 is a schematic flow chart of accessing a Handle system by a PC1 according to an embodiment of the present invention, where, as shown in fig. 4, the PC1 may directly perform connection communication with a DNS domain name resolution server, receive an input target address, aisino.com.cn, perform domain name resolution on the target address, determine whether resolution is successful, if not, determine, according to a pre-stored mapping relationship table, that a target name in the Handle system corresponding to the target address, aisino.com.cn is not 86.1009.2020/DNS. And if the domain name resolution is successful on the target address, accessing a second target website corresponding to the target address. If the analysis is unsuccessful and the target name corresponding to the target address is not stored in the mapping relation table, the response failure information is sent.
Example 5:
fig. 5 is a schematic diagram of a website access process according to an embodiment of the present invention, where the process includes the following steps:
s501: and receiving an input target enterprise node code, and analyzing the target enterprise node code.
The website access method provided by the embodiment of the invention is applied to the Handle system, and the Handle system can be in communication connection with the PC.
In the embodiment of the invention, after the Handle system receives the input target enterprise code, the target enterprise code is analyzed. Specifically, in the actual application process, the user inputs the target enterprise code in the browser, but the target enterprise code is not the IP address of the website, and the Handle system is required to analyze the target enterprise code into the IP address, that is, after the Handle system receives the input target enterprise code, the Handle system is required to analyze the target enterprise code, and analyze the target enterprise code into the IP address.
S502: if the analysis is unsuccessful, determining a target domain name in the DNS system corresponding to the target enterprise node code according to a pre-stored mapping relation table of the DNS domain name of the domain name system DNS and the naming of the Handle system.
When the Handle system performs domain name resolution on the target enterprise node code, the situation that the resolution is unsuccessful may occur, and when the resolution is unsuccessful, it may be that the website corresponding to the target enterprise node code is located in a DNS domain name resolution server, or the target enterprise node code does not exist.
In the embodiment of the invention, a USBKEY exists in the DNS domain name resolution server, and a mapping relation table of the DNS domain name of the DNS and the naming of the Handle system is pre-stored in the USBKEY. When the Handle system does not successfully analyze the target enterprise node code, the target domain name in the DNS corresponding to the target enterprise node code can be determined by accessing a mapping relation table stored in the USBKEY in the DNS domain name analysis server.
For example, the destination enterprise node code received by the Handle system is 86.1009.2020, but when the destination enterprise node code is resolved, the resolution is unsuccessful, and at this time, the destination domain name in the DNS corresponding to the destination address may be determined to be DNS.
S503: and according to the target domain name, accessing a first target website corresponding to the target domain name in the DNS.
In the embodiment of the invention, the first target website corresponding to the target domain name is accessed according to the target domain name in the DNS.
Example 6:
In order to achieve the mutual access of the DNS system and the Handle system, improve the speed and efficiency of website access, and improve the user experience of the user, on the basis of the foregoing embodiments, in the embodiment of the present invention, after performing domain name resolution on the target enterprise node code, the method further includes:
and if the analysis is successful, accessing a second target website corresponding to the target enterprise node code.
In the embodiment of the invention, when the Handle system successfully analyzes the target enterprise node code, a second target website corresponding to the target enterprise node code is accessed, and the content corresponding to the second target website is sent to the electronic equipment for inputting the target enterprise node code.
In order to achieve mutual access of the DNS system and the Handle system, improve the speed and efficiency of website access, and improve the use feeling of the user, on the basis of the above embodiments, in the embodiments of the present invention, the method further includes:
And sending the content of the second target website to the electronic equipment.
In the embodiment of the invention, after the Handle system accesses the second target website corresponding to the target enterprise code, the content of the second target website is sent to the electronic device.
In order to achieve the mutual access of the DNS system and the Handle system, improve the speed and efficiency of website access, and improve the user experience of the user, on the basis of the foregoing embodiments, in the embodiment of the present invention, after the analysis is unsuccessful, the method further includes:
And if the target naming in the Handle system corresponding to the target enterprise node code is not found in the mapping relation table, sending response failure information to the electronic equipment.
In the embodiment of the invention, after the target enterprise node code is resolved, but the resolution is unsuccessful, when the target domain name in the DNS corresponding to the target enterprise node code is searched in the mapping relation table, if the target domain name corresponding to the target enterprise node code is not searched, the response failure information is sent to the electronic equipment.
In order to achieve mutual access of the DNS system and the Handle system, improve the speed and efficiency of website access, and improve the use feeling of the user, on the basis of the above embodiments, in the embodiments of the present invention, the method further includes:
and sending the content of the first target website to the electronic equipment.
In the embodiment of the invention, after the Handle system accesses the first target website corresponding to the target enterprise node code in the DNS, the content of the first website is sent to the electronic equipment.
Fig. 6 is a schematic flow chart of accessing a DNS domain name resolution server by a PC2 according to an embodiment of the present invention, where as shown in fig. 6, the PC2 may directly perform connection communication with a Handle system, receive an input target address 86.1009.2020, perform domain name resolution on the target address by the Handle system, if resolution is successful, access a second target website corresponding to the target address, if resolution is unsuccessful, the Handle system accesses the DNS domain name resolution server with a usb key, searches a mapping relationship table in the usb key, finds a target domain name corresponding to the target address as an aisino.com.cn, then uses the domain name resolution server to resolve the target domain name, accesses a first target website corresponding to the target domain name, and if no target domain name corresponding to the target address is found in the mapping relationship table, returns failure information.
Example 7:
Fig. 7 is a schematic structural diagram of a website accessing apparatus according to an embodiment of the present invention, where the apparatus includes:
the domain name resolution module 701 is configured to receive an input target address, and perform domain name resolution on the target address;
The processing module 702 is configured to determine, if the resolution is unsuccessful, a target name in the Handle system corresponding to the target address according to a mapping relationship table of a DNS domain name of a domain name system DNS and a name of the Handle system, where the mapping relationship table is stored in advance;
And the accessing module 703 is configured to access a first target website corresponding to the target name in the Handle system according to the target name.
In a possible implementation manner, the accessing module 703 is further configured to access a second target website corresponding to the target address if the parsing is successful.
In one possible embodiment, the apparatus further comprises:
And the sending module 704 is configured to send the content of the second target website to the electronic device.
In a possible implementation manner, the sending module 704 is further configured to send response failure information to the electronic device if the destination name in the Handle system corresponding to the destination address is not found in the mapping table.
In a possible implementation manner, the sending module 704 is further configured to send the content of the first target website to an electronic device.
Fig. 8 is a schematic structural diagram of a website accessing apparatus according to an embodiment of the present invention, where the apparatus includes:
The domain name resolution module 801 is configured to receive an input target enterprise node code, and resolve the target enterprise node code;
A processing module 802, configured to determine, if resolution is unsuccessful, a target domain name in the DNS corresponding to the target enterprise node code according to a pre-stored mapping relationship table between a DNS domain name of the domain name system DNS and a name of the Handle system;
And the accessing module 803 is configured to access a first target website corresponding to the target domain name in the DNS according to the target domain name.
In a possible implementation manner, the accessing module 803 is further configured to access the second target website corresponding to the target enterprise node code if the parsing is successful.
In one possible embodiment, the apparatus further comprises:
and the sending module 804 is configured to send the content of the second target website to an electronic device.
In a possible implementation manner, the sending module 804 is further configured to send response failure information to the electronic device if the target domain name in the DNS corresponding to the target enterprise node code is not found in the mapping table.
In a possible implementation manner, the sending module 804 is further configured to send the content of the first target website to an electronic device.
Example 8:
Fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and on the basis of the foregoing embodiments, the embodiment of the present invention further provides an electronic device, as shown in fig. 9, including: processor 901, communication interface 902, memory 903 and communication bus 904, wherein processor 901, communication interface 902, memory 903 accomplish the communication between each other through communication bus 904;
the memory 903 has stored therein a computer program which, when executed by the processor 901, causes the processor 901 to perform the steps of:
receiving an input target address, and carrying out domain name resolution on the target address;
If the analysis is unsuccessful, determining a target name in a Handle system corresponding to the target address according to a pre-stored mapping relation table of the DNS domain name of the Domain Name System (DNS) and the name of the Handle system;
And according to the target names, accessing a first target website corresponding to the target names in the Handle system.
In a possible implementation manner, after the domain name resolution is performed on the target address, the method further includes:
if the analysis is successful, accessing a second target website corresponding to the target address.
In one possible embodiment, the method further comprises:
And sending the content of the second target website to the electronic equipment.
In one possible embodiment, after the parsing is unsuccessful, the method further includes:
And if the target naming in the Handle system corresponding to the target address is not found in the mapping relation table, sending response failure information to the electronic equipment.
In one possible embodiment, the method further comprises:
and sending the content of the first target website to the electronic equipment.
Because the principle of the electronic device for solving the problem is similar to that of the website access method, the implementation of the electronic device can refer to the implementation of the method, and the repetition is omitted.
The communication bus mentioned above for the electronic device may be a peripheral component interconnect standard (PERIPHERAL COMPONENT INTERCONNECT, PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, etc. The communication bus may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
The communication interface 902 is used for communication between the electronic device and other devices.
The Memory may include random access Memory (Random Access Memory, RAM) or may include Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor.
The processor may be a general-purpose processor, including a central processing unit, a network processor (Network Processor, NP), etc.; but also digital instruction processors (DIGITAL SIGNAL Processing units, DSPs), application specific integrated circuits, field programmable gate arrays or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
Fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and on the basis of the foregoing embodiments, the embodiment of the present invention further provides an electronic device, as shown in fig. 10, including: processor 1001, communication interface 1002, memory 1003 and communication bus 1004, wherein processor 1001, communication interface 1002, memory 1003 accomplish the mutual communication through communication bus 1004;
The memory 1003 stores a computer program which, when executed by the processor 1001, causes the processor 1001 to perform the steps of:
receiving an input target enterprise node code, and analyzing the target enterprise node code;
If the analysis is unsuccessful, determining a target domain name in the DNS corresponding to the target enterprise node code according to a pre-stored mapping relation table of the DNS domain name of the domain name system DNS and the naming of the Handle system;
And according to the target domain name, accessing a first target website corresponding to the target domain name in the DNS.
In a possible implementation manner, after the domain name resolution is performed on the target enterprise node code, the method further includes:
and if the analysis is successful, accessing a second target website corresponding to the target enterprise node code.
In one possible embodiment, the method further comprises:
And sending the content of the second target website to the electronic equipment.
In one possible embodiment, after the parsing is unsuccessful, the method further includes:
and if the target domain name in the DNS corresponding to the target enterprise node code is not found in the mapping relation table, sending response failure information to the electronic equipment.
In one possible embodiment, the method further comprises:
and sending the content of the first target website to the electronic equipment.
Because the principle of the electronic device for solving the problem is similar to that of the website access method, the implementation of the electronic device can refer to the implementation of the method, and the repetition is omitted.
The communication bus mentioned above for the electronic device may be a peripheral component interconnect standard (PERIPHERAL COMPONENT INTERCONNECT, PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, etc. The communication bus may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
The communication interface 1002 is used for communication between the above-described electronic device and other devices.
The Memory may include random access Memory (Random Access Memory, RAM) or may include Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor.
The processor may be a general-purpose processor, including a central processing unit, a network processor (Network Processor, NP), etc.; but also digital instruction processors (DIGITAL SIGNAL Processing units, DSPs), application specific integrated circuits, field programmable gate arrays or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
Example 9:
on the basis of the above embodiments, the embodiments of the present invention further provide a computer readable storage medium having stored therein a computer program executable by a processor, which when run on the processor, causes the processor to perform the steps of:
receiving an input target address, and carrying out domain name resolution on the target address;
If the analysis is unsuccessful, determining a target name in a Handle system corresponding to the target address according to a pre-stored mapping relation table of the DNS domain name of the Domain Name System (DNS) and the name of the Handle system;
And according to the target names, accessing a first target website corresponding to the target names in the Handle system.
In a possible implementation manner, after the domain name resolution is performed on the target address, the method further includes:
if the analysis is successful, accessing a second target website corresponding to the target address.
In one possible embodiment, the method further comprises:
And sending the content of the second target website to the electronic equipment.
In one possible embodiment, after the parsing is unsuccessful, the method further includes:
And if the target naming in the Handle system corresponding to the target address is not found in the mapping relation table, sending response failure information to the electronic equipment.
In one possible embodiment, the method further comprises:
and sending the content of the first target website to the electronic equipment.
Since the principle of solving the problem with the above-mentioned computer readable medium is similar to that of website access, the steps implemented after the processor executes the computer program in the above-mentioned computer readable medium can be referred to the above-mentioned other embodiments, and the repetition is omitted.
On the basis of the above embodiments, the embodiments of the present invention further provide a computer readable storage medium having stored therein a computer program executable by a processor, which when run on the processor, causes the processor to perform the steps of:
receiving an input target enterprise node code, and analyzing the target enterprise node code;
If the analysis is unsuccessful, determining a target domain name in the DNS corresponding to the target enterprise node code according to a pre-stored mapping relation table of the DNS domain name of the domain name system DNS and the naming of the Handle system;
And according to the target domain name, accessing a first target website corresponding to the target domain name in the DNS.
In a possible implementation manner, after the domain name resolution is performed on the target enterprise node code, the method further includes:
and if the analysis is successful, accessing a second target website corresponding to the target enterprise node code.
In one possible embodiment, the method further comprises:
And sending the content of the second target website to the electronic equipment.
In one possible embodiment, after the parsing is unsuccessful, the method further includes:
and if the target domain name in the DNS corresponding to the target enterprise node code is not found in the mapping relation table, sending response failure information to the electronic equipment.
In one possible embodiment, the method further comprises:
and sending the content of the first target website to the electronic equipment.
Since the principle of solving the problem with the above-mentioned computer readable medium is similar to that of website access, the steps implemented after the processor executes the computer program in the above-mentioned computer readable medium can be referred to the above-mentioned other embodiments, and the repetition is omitted.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present application without departing from the spirit or scope of the application. Thus, it is intended that the present application also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (10)

1. A method of accessing a web site, the method comprising:
receiving an input target address, and carrying out domain name resolution on the target address;
If the analysis is unsuccessful, determining a target name in a Handle system corresponding to the target address according to a pre-stored mapping relation table of the DNS domain name of the Domain Name System (DNS) and the name of the Handle system;
And according to the target names, accessing a first target website corresponding to the target names in the Handle system.
2. The method of claim 1, wherein after the domain name resolution of the target address, the method further comprises:
if the analysis is successful, accessing a second target website corresponding to the target address.
3. The method of claim 1, wherein after the failing resolution, the method further comprises:
And if the target naming in the Handle system corresponding to the target address is not found in the mapping relation table, sending response failure information to the electronic equipment.
4. A method of accessing a web site, the method comprising:
receiving an input target enterprise node code, and analyzing the target enterprise node code;
If the analysis is unsuccessful, determining a target domain name in a DNS system corresponding to the target enterprise node code according to a pre-stored mapping relation table of the DNS domain name of the domain name system DNS and the naming of the Handle system;
And according to the target domain name, accessing a first target website corresponding to the target domain name in the DNS.
5. The method of claim 4, wherein after said domain name resolution of said target enterprise node code, said method further comprises:
and if the analysis is successful, accessing a second target website corresponding to the target enterprise node code.
6. The method of claim 5, wherein after the failing resolution, the method further comprises:
and if the target domain name in the DNS system corresponding to the target enterprise node code is not found in the mapping relation table, sending response failure information to the electronic equipment.
7. A website access apparatus, the apparatus comprising:
the domain name resolution module is used for receiving an input target address and performing domain name resolution on the target address;
the processing module is used for determining the target name in the Handle system corresponding to the target address according to a pre-stored mapping relation table of the DNS domain name of the domain name system DNS and the name of the Handle system if the analysis is unsuccessful;
and the access module is used for accessing a first target website corresponding to the target name in the Handle system according to the target name.
8. A website access apparatus, the apparatus comprising:
the domain name resolution module is used for receiving an input target enterprise node code and resolving the target enterprise node code;
The processing module is used for determining a target domain name in the DNS system corresponding to the target enterprise node code according to a pre-stored mapping relation table of the DNS domain name of the domain name system DNS and the naming of the Handle system if the analysis is unsuccessful;
And the access module is used for accessing a first target website corresponding to the target domain name in the DNS according to the target domain name.
9. An electronic device comprising at least a processor and a memory, the processor being adapted to implement the steps of the website access method according to any of claims 1-3 or 4-6 when executing a computer program stored in the memory.
10. A computer readable storage medium, characterized in that it stores a computer program which, when executed by a processor, implements the steps of the website access method according to any of claims 1-3 or 4-6.
CN202011560284.1A 2020-12-25 2020-12-25 Website access method, device, equipment and medium Active CN114697378B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011560284.1A CN114697378B (en) 2020-12-25 2020-12-25 Website access method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011560284.1A CN114697378B (en) 2020-12-25 2020-12-25 Website access method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN114697378A CN114697378A (en) 2022-07-01
CN114697378B true CN114697378B (en) 2024-05-28

Family

ID=82130131

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011560284.1A Active CN114697378B (en) 2020-12-25 2020-12-25 Website access method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN114697378B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116170403B (en) * 2023-01-09 2024-08-09 中国互联网络信息中心 Method and device for decentralized domain name resolution based on Handle system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101052005A (en) * 2006-01-25 2007-10-10 国家研究开发公司 Accessing distributed services in a network
CN103491145A (en) * 2013-09-09 2014-01-01 中国科学院计算机网络信息中心 Analytic method and system of internet-of-things isomerism identification

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110055249A1 (en) * 2009-08-28 2011-03-03 The Go Daddy Group, Inc. Social website account authentication via search engine based domain name control validation

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101052005A (en) * 2006-01-25 2007-10-10 国家研究开发公司 Accessing distributed services in a network
CN103491145A (en) * 2013-09-09 2014-01-01 中国科学院计算机网络信息中心 Analytic method and system of internet-of-things isomerism identification

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Handle-DNS名字服务系统的设计与实现;王峰, 孙洵, 毛伟, 钱华林;微电子学与计算机(01);全文 *
一种互联网资源标志与寻址技术:Handle System;毛伟, 孙洵, 王峰;计算机应用研究(05);全文 *
利用Handle协议的思想解决DNS安全问题;李潇;王峰;毛伟;;计算机应用研究(12);全文 *

Also Published As

Publication number Publication date
CN114697378A (en) 2022-07-01

Similar Documents

Publication Publication Date Title
CN106933854B (en) Short link processing method and device and server
CN106933871B (en) Short link processing method, device and short link server
CN110474900B (en) Game protocol testing method and device
CN107688733B (en) Service interface calling method, apparatus, user terminal and readable storage medium
CN112861346A (en) Data processing system, method and electronic equipment
CN109889511B (en) Process DNS activity monitoring method, equipment and medium
CN113890879B (en) Load balancing method and device for data access, computer equipment and medium
CN106534268B (en) Data sharing method and device
CN104268229A (en) Resource obtaining method and device based on multi-process browser
CN108173839B (en) Rights management method and system
CN112839054A (en) Network attack detection method, device, equipment and medium
CN112995360B (en) Domain name detection method and device, DGA service equipment and storage medium
CN105516114A (en) Method and device for scanning vulnerability based on webpage hash value and electronic equipment
CN114697378B (en) Website access method, device, equipment and medium
CN110677506A (en) Network access method, device, computer equipment and storage medium
CN110633432A (en) Method, device, terminal equipment and medium for acquiring data
CN106959975B (en) Transcoding resource cache processing method, device and equipment
CN110276028B (en) Processing method and device for internal link function requirements of business system
WO2018081963A1 (en) Method and device for dns resolution and network system
US10375141B2 (en) Method for processing URL and associated server and non-transitory computer readable storage medium
US11023426B1 (en) Method and system for detection of open source web application version
CN111935107A (en) Identity authentication method, device, system, electronic equipment and storage medium
CN114124883B (en) Data access method and device based on cloud storage address, computer equipment and medium
CN113127767A (en) Mobile phone number extraction method and device, electronic equipment and storage medium
CN112261134B (en) Network data access auditing method, device, equipment and storage medium

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