CN110247999A - Domain name analytic method, domain name mapping device, household appliance and storage medium - Google Patents

Domain name analytic method, domain name mapping device, household appliance and storage medium Download PDF

Info

Publication number
CN110247999A
CN110247999A CN201910624077.9A CN201910624077A CN110247999A CN 110247999 A CN110247999 A CN 110247999A CN 201910624077 A CN201910624077 A CN 201910624077A CN 110247999 A CN110247999 A CN 110247999A
Authority
CN
China
Prior art keywords
domain name
address
server
destination server
network access
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
CN201910624077.9A
Other languages
Chinese (zh)
Other versions
CN110247999B (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.)
Midea Group Co Ltd
GD Midea Air Conditioning Equipment Co Ltd
Original Assignee
Midea Group Co Ltd
Guangdong Midea Refrigeration Equipment 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 Midea Group Co Ltd, Guangdong Midea Refrigeration Equipment Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201910624077.9A priority Critical patent/CN110247999B/en
Publication of CN110247999A publication Critical patent/CN110247999A/en
Priority to PCT/CN2020/089023 priority patent/WO2021004144A1/en
Application granted granted Critical
Publication of CN110247999B publication Critical patent/CN110247999B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]

Abstract

The present invention provides a kind of domain name analytic method, domain name mapping device, household appliance and storage mediums, wherein domain name analytic method includes: to send corresponding network access request in response to received networked information;It detects that network access request parses failure, the Internet protocol address of the corresponding destination server of network access request is obtained according to specified acquisition modes;Communication link is established according to Internet protocol address and destination server.According to the technical solution of the present invention, on the one hand, can communication link quickly be established with destination server, so as to reduce household appliance probability offline for a long time, promote the efficiency of domain name mapping, on the other hand, additionally it is possible to guarantee the reliability of parsing operation, and then be advantageously implemented search engine optimization and promote the flowing of access of destination server.

Description

Domain name analytic method, domain name mapping device, household appliance and storage medium
Technical field
The present invention relates to household control technology fields, in particular to a kind of domain name analytic method, a kind of domain name mapping Device and a kind of household appliance.
Background technique
DNS (Domain Name System, domain name system) is used to provide domain name resolution service for internet, passes through execution Domain name mapping operation, determines corresponding Internet protocol (Internet Protocol, IP) address, i.e. IP address, according to IP Address access target server.
In the related technology, if domain name mapping is broken down, it can recycle and repeatedly be parsed, and in this process, such as Fruit request source can not be parsed to recurrence DNS query as a result, will lead to equipment for a long time it is offline.
Summary of the invention
The present invention is directed to solve at least one of the technical problems existing in the prior art or related technologies.
For this purpose, it is an object of the present invention to provide a kind of domain name analytic methods.
It is another object of the present invention to provide a kind of domain name mapping devices.
It is another object of the present invention to provide a kind of household appliances.
It is another object of the present invention to provide a kind of computer readable storage mediums.
To achieve the goals above, according to the embodiment of the first aspect of the invention, a kind of domain name analytic method is provided, It include: to send corresponding network access request in response to received networked information;Detect that network access request parses failure, The Internet protocol address of the corresponding destination server of network access request is obtained according to specified acquisition modes;According to internet Protocol address and destination server establish communication link.
In the technical scheme, if the domain name mapping request sent does not respond, showing current network, there are domain names to be robbed It the failures such as holds, Internet protocol address to be visited (i.e. IP address) can not be obtained by conventional domain name mapping mode at this time, In this case, the IP address with the current matched destination server of network access request is obtained by specific mode, with The IP address of the matched destination server of designated environment attribute information, corresponding is that can satisfy the access of household appliance current network The server of demand, on the one hand, quickly can establish communication link with destination server, so as to reduce household appliance it is long when Between offline probability, promote the efficiency of domain name mapping, on the other hand, can guarantee the reliability of parsing operation, and then be conducive to It realizes search engine optimization and promotes the flowing of access of destination server.
Wherein, networked information include family routing SSID (Service Set Identifier, service set) and Password.
In the above-mentioned technical solutions, optionally, detect that network access request parses failure, according to specified acquisition modes The Internet protocol address for obtaining the corresponding destination server of network access request, specifically includes: if detecting, network access is asked Analysis failure is solved, then obtains designated environment attribute information;According to the determination of designated environment attribute information and Internet protocol address.
In the technical scheme, by obtaining current designated environment attribute information, to be based on designated environment attribute information The Internet protocol address (i.e. IP address) with the current matched destination server of network access request is obtained, with designated environment The IP address of the matched destination server of attribute information, corresponding is the clothes that can satisfy household appliance current network requirements for access Business device, therefore domain name mapping is realized to determine the IP address of destination server by designated environment attribute information, on the one hand, it can Communication link quickly is established with destination server, so as to reduce household appliance probability offline for a long time, promotes domain name solution The efficiency of analysis, on the other hand, the domain name mapping operation carried out based on designated environment attribute information, additionally it is possible to guarantee parsing operation Reliability, and then be advantageously implemented search engine optimization and promote the flowing of access of destination server.
Wherein, designated environment attribute information be can by the information of the IP address of the acquisition of information to destination server, For example designated environment attribute information can be geographical location information, pass through the determining IP with the matched destination server in geographical location Address is advantageously implemented the efficient access to destination server of household appliance, in addition, designated environment attribute information can also be Network operator information executes domain by the dns server to determine matched dns server based on network operator information Name parsing operation obtains the destination server under the operator, to realize the efficient access to destination server of household appliance.
Network access request can be the website information etc. received.
In addition, the domain name mapping scheme of above-mentioned restriction, can domain name mapping mode in the related art break down Under the premise of use, also can be directly used obtain designated environment attribute information mode execute domain name mapping operation.
Those skilled in the art can understand that DNS is the agreement of application layer, and network communication is IP to be used Location since IP address is inconvenient to remember, website is accessed using the domain name conveniently remembered, DNS is used to come what is communicated It executes domain name and IP address conversion operates, to realize the access to internet by domain name mapping result.
It can be separately below geographical location information or designated environment attribute information is net for designated environment attribute information The domain name mapping scheme in the application is described further in network operator's informaiton situation.
In any of the above-described technical solution, optionally, if detecting, network access request parses failure, obtains specified Environment attribute information, specifically includes: if detecting, network access request parses failure, geographical location information is obtained, by ground Reason location information is determined as designated environment attribute information.
In any of the above-described technical solution, optionally, according to the determination of designated environment attribute information and network access request The Internet protocol address of corresponding destination server, specifically includes: reading and the matched destination server of geographical location information Internet protocol address, to establish communication chain according to Internet protocol address destination server corresponding with network access request Road.
In the technical scheme, by obtaining geographical location information locating for household appliance, to be based on geographical location information The Internet protocol address of matched destination server is determined, so as to according to the Internet protocol of matched destination server The direct access target server in address, to realize the connection of communication link, due to the destination server determined based on geographical location For the server nearest apart from household appliance position, therefore it is able to maintain faster access rate, to reach reduction household electrical appliances Equipment is in the duration of off-line state, to promote the usage experience of user.
Wherein, the Internet protocol address with the matched destination server of geographical location information is read, can be set in household electrical appliances Standby upper completion can also be obtained by accessing other equipment.
In any of the above-described technical solution, optionally, geographical location information is obtained, specifically includes: being set in household appliance It is equipped with locating module, to acquire location information as geographical location information by triggering locating module;Or it is adapted to household appliance Controlling terminal send location interrogation information, with receive terminal feedback geographical location information.
Wherein, the controlling terminal of adaptation is to be equipped with the terminal of the application program of control household appliance operation.
In the technical scheme, the acquisition of geographical location information can there are many implementation, a kind of implementation be Locating module is set in household appliance, the geographical location information of itself is obtained by locating module, wherein locating module can be Satellite positioning module, such as GPS positioning module, GLONASS locating module, Beidou positioning module and Galileo locating module etc., Another way is by receiving the location information of controlling terminal transmission as geographical location information, due to controlling terminal and household electrical appliances The distance between equipment is smaller (for example being greater than 0m, and be less than or equal to 100m), therefore believes by the positioning of controlling terminal When breath determines the IP address of matched destination server, while can guarantee accuracy, do not need to set in household appliance Set locating module.
It is optionally, determining with Internet protocol according to designated environment attribute information in any of the above-described technical solution Location specifically includes: the Internet protocol address with the matched destination server of geographical location information is read, according to internet protocol View address destination server corresponding with network access request establishes communication link.
In the technical scheme, by reading the IP address with the matched destination server of geographical location information, with basis The IP address access target server, the matching relationship based on geographical location, the destination server energy accessed according to the IP address Enough and household appliance is in the same area, on the one hand, the IP address got Stability and dependability with higher, it is another Aspect can make the access of destination server have better SEO (Search Engine Optimization, search engine Optimization) effect and bigger flowing of access.
In any of the above-described technical solution, optionally, reading and the matched destination server of geographical location information Before Internet protocol address, further includes: the area information with mapping relations is stored in local storage with server address In, it is after getting geographical location information, to determine area information belonging to geographical location information, area information is matched Server address is determined as the Internet protocol address of destination server.
In the technical scheme, for the ease of determine destination server IP address, can local storage (such as FLASH memory) storage multiple regions information, multiple regions information can be divided with country, such as China, the U.S., English State, France, Australia etc., the IP address of at least corresponding destination server in the region of each area information, By the way that area information and IP address are established mapping relations, after getting geographical location information, to determine the geographical location institute Corresponding IP address is determined in region, and by mapping relations, to be in household appliance region by IP address orientation Destination server can not only reduce the offline duration of household appliance, also favorably promote the access effect of user.
In the above-mentioned technical solutions, if optionally detecting, network access request parses failure, obtains designated environment category Property information, specifically include: if detect network access request parse failure, operator's informaiton is inquired, by operator's informaiton It is determined as designated environment attribute information.
It is optionally, determining with Internet protocol according to designated environment attribute information in any of the above-described technical solution Location specifically includes: the domain name server address sent according to the controlling terminal that operator's informaiton obtains adaptation;According to domain name service Device address configuration domain name resolution server;It translates domain names into request and is sent to domain name resolution server, and translate domain names into request It is sent to domain name resolution server, to be requested by domain name resolution server domain name mapping to execute parsing operation, and feedback target The Internet protocol address of server.
In the technical scheme, designated environment attribute information can also be the operator's informaiton for being currently located network, due to It is set between household appliance and destination server in same carrier network relative to the household electrical appliances in different operators network It is standby that there is higher communication efficiency between destination server, therefore by obtaining operator's informaiton, determine operator place The address of the dns server on ground is sent to the dns server to translate domain names into request, to execute parsing by the dns server Operation, to feed back the IP address of the destination server in the operator location, to guarantee the reliable of distribution and DNS name resolution Property, and then be conducive to promote network access efficiency.
Wherein, the controlling terminal of adaptation is to be equipped with the terminal of the application program of control household appliance operation, operator's letter The acquisition of information that breath can be sent by receiving the terminal.
In any of the above-described technical solution, optionally, network access request parsing failure is being detected, according to specified Before acquisition modes obtain the Internet protocol address of the corresponding destination server of network access request, further includes: if detecting domain The transmission times of name analysis request is greater than frequency threshold value, and domain name mapping request sends failure, it is determined that network access request parsing Failure.
It in the technical scheme, can also be using recurrence in the related technology before obtaining designated environment attribute information The mode of DNS query carries out domain name mapping, it is assumed that offline time can not be more than 2 minutes, and the time requested every time is 45s, then Frequency threshold value is 3 times, if the transmission times of domain name mapping request is greater than 3 times, shows that current domain name mapping is broken down, In such a case, it is possible to domain name mapping be carried out by way of above-mentioned acquisition designated environment attribute information, when shortening offline It is long.
Wherein, networked information can be SSID (the Service Set of the routing device sent by the controlling terminal being adapted to Identifier, service set) and PASSWORD, to carry out networking registration using SSID and PASSWORD.
In any of the above-described technical solution, optionally, further includes: if detecting, the transmission times of domain name mapping request is small In or equal to frequency threshold value, then request is translated domain names by the routing device being adapted to and be sent to corresponding name server, with Receive the Internet protocol address fed back by name server.
In the technical scheme, if the transmission times of domain name mapping request is less than or equal to 3 times, show current DNS Server address is correct, sends domain name mapping by the dns server of the routing device superior in same local area network at this time and asks It asks, to return to corresponding IP address by dns server, which is fed back to household electrical appliances and set by the mode that family is routed through transparent transmission It is standby, to realize that the wireless transmission link between household appliance and destination server connects, to guarantee to destination server just Frequentation is asked.
In any of the above-described technical solution, optionally, network access request parsing failure is being detected, according to specified Before acquisition modes obtain the Internet protocol address of the corresponding destination server of network access request, further includes: detect spontaneous From at the time of sending domain name mapping to request by duration be greater than or equal to duration threshold value, domain name mapping request analysis failure, then really Determine network access request parsing failure.
In the technical scheme, domain name mapping is carried out by the way of recurrence DNS query in the related technology, in sending domain After name analysis request, if detecting that the transmission duration of domain name mapping request is greater than or equal to duration threshold value, show current Domain name mapping is broken down, in such a case, it is possible to carry out domain name by way of above-mentioned acquisition designated environment attribute information Parsing, to shorten offline duration.
Wherein, within the period of duration threshold value, the transmission times of domain name mapping request can be for 1 time or more It is secondary.
Specifically, duration threshold value is maximum offline duration, is specifically as follows 2 minutes.
In any of the above-described technical solution, optionally, communicated according to Internet protocol address with destination server foundation Link, further includes: if communication link can not be established with destination server, Wi-Fi module restarting is controlled, to open again After dynamic, connection is re-established with corresponding routing device, is sent to corresponding domain to translate domain names into request by routing device Name server.
In the technical scheme, if Wi-Fi mould is restarted in specified dns server address parsing domain name failure, control Block, then connection is established with routing device, DNS name resolution request is sent by routing device, it is successful to promote domain name mapping Probability.
Technical solution according to the second aspect of the invention provides a kind of domain name mapping device, comprising: memory and place Manage device;Memory, for storing memory for storing program code;Processor executes the present invention for caller code The domain name analytic method that any one of first aspect technical solution provides.
Domain name mapping device provided by the invention, because including that can be realized when executing computer program as appointed in first aspect The processor for the step of domain name analytic method described in one technical solution limits is therefore, complete with above-mentioned domain name analytic method Portion's beneficial effect, does not do state one by one herein.
Technical solution according to the third aspect of the invention we additionally provides a kind of household appliance, comprising: above-mentioned second aspect Technical solution described in domain name mapping device.
Wherein, household appliance is specifically as follows air conditioner, refrigerator, television set and kitchen appliance etc..
Technical solution according to the fourth aspect of the invention additionally provides a kind of computer readable storage medium, deposits thereon Computer program is contained, above-mentioned computer program is performed the domain name mapping side for realizing that any of the above-described technical solution limits Method.
Additional aspect and advantage of the invention will provide in following description section, will partially become from the following description Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect of the invention and advantage will become from the description of the embodiment in conjunction with the following figures Obviously and it is readily appreciated that, in which:
Fig. 1 shows the schematic flow diagram of domain name analytic method according to an embodiment of the invention;
Fig. 2 shows the schematic flow diagrams of domain name analytic method according to another embodiment of the invention;
Fig. 3 shows the schematic flow diagram of domain name analytic method according to another embodiment of the invention;
Fig. 4 shows the schematic flow diagram of domain name analytic method according to another embodiment of the invention;
Fig. 5 shows the schematic flow diagram of domain name analytic method according to another embodiment of the invention;
Fig. 6 shows the schematic flow diagram of domain name analytic method according to another embodiment of the invention;
Fig. 7 shows the schematic block diagram of domain name mapping device according to an embodiment of the invention;
Fig. 8 shows the schematic block diagram of domain name mapping device according to another embodiment of the invention.
Specific embodiment
To better understand the objects, features and advantages of the present invention, with reference to the accompanying drawing and specific real Applying mode, the present invention is further described in detail.It should be noted that in the absence of conflict, the implementation of the application Feature in example and embodiment can be combined with each other.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, still, the present invention may be used also To be implemented using other than the one described here other modes, therefore, protection scope of the present invention is not by described below Specific embodiment limitation.
Embodiment one
As shown in Figure 1, domain name analytic method according to an embodiment of the invention, is suitable for household appliance, comprising:
Step 102, in response to received networked information, corresponding network access request is sent;
Step 104, it detects that network access request parses failure, obtains network access request according to specified acquisition modes The Internet protocol address of corresponding destination server;
Step 106, communication link is established according to Internet protocol address and destination server.
In the technical scheme, if the domain name mapping request sent does not respond, showing current network, there are domain names to be robbed It the failures such as holds, Internet protocol address to be visited (i.e. IP address) can not be obtained by conventional domain name mapping mode at this time, In this case, the IP address with the current matched destination server of network access request is obtained by specific mode, with The IP address of the matched destination server of designated environment attribute information, corresponding is that can satisfy the access of household appliance current network The server of demand, on the one hand, quickly can establish communication link with destination server, so as to reduce household appliance it is long when Between offline probability, promote the efficiency of domain name mapping, on the other hand, can guarantee the reliability of parsing operation, and then be conducive to It realizes search engine optimization and promotes the flowing of access of destination server.
Wherein, networked information include family routing SSID (Service Set Identifier, service set) and Password.
In the above-mentioned technical solutions, optionally, detect that network access request parses failure, according to specified acquisition modes The Internet protocol address for obtaining the corresponding destination server of network access request, specifically includes: if detecting, network access is asked Analysis failure is solved, then obtains designated environment attribute information;According to the determination of designated environment attribute information and Internet protocol address.
In the technical scheme, by obtaining current designated environment attribute information, to be based on designated environment attribute information The Internet protocol address (i.e. IP address) with the current matched destination server of network access request is obtained, with designated environment The IP address of the matched destination server of attribute information, corresponding is the clothes that can satisfy household appliance current network requirements for access Business device, therefore domain name mapping is realized to determine the IP address of destination server by designated environment attribute information, on the one hand, it can Communication link quickly is established with destination server, so as to reduce household appliance probability offline for a long time, promotes domain name solution The efficiency of analysis, on the other hand, the domain name mapping operation carried out based on designated environment attribute information, additionally it is possible to guarantee parsing operation Reliability, and then be advantageously implemented search engine optimization and promote the flowing of access of destination server.
Wherein, designated environment attribute information be can by the information of the IP address of the acquisition of information to destination server, For example designated environment attribute information can be geographical location information, pass through the determining IP with the matched destination server in geographical location Address is advantageously implemented the efficient access to destination server of household appliance, in addition, designated environment attribute information can also be Network operator information executes domain by the dns server to determine matched dns server based on network operator information Name parsing operation obtains the destination server under the operator, to realize the efficient access to destination server of household appliance.
Network access request can be the website information etc. received.
In addition, the domain name mapping scheme of above-mentioned restriction, can domain name mapping mode in the related art break down Under the premise of use, also can be directly used obtain designated environment attribute information mode execute domain name mapping operation.
Those skilled in the art can understand that DNS is the agreement of application layer, and network communication is IP to be used Location since IP address is inconvenient to remember, website is accessed using the domain name conveniently remembered, DNS is used to come what is communicated It executes domain name and IP address conversion operates, to realize the access to internet by domain name mapping result.
Embodiment two
As shown in Fig. 2, domain name analytic method according to another embodiment of the invention, comprising:
Step 202, if detecting, network access request parses failure, geographical location information is obtained, by geographical location Information is determined as designated environment attribute information;
Step 204, the Internet protocol address with the matched destination server of geographical location information is read, according to interconnection FidonetFido address destination server corresponding with network access request establishes communication link.
In the technical scheme, by obtaining geographical location information locating for household appliance, to be based on geographical location information The Internet protocol address of matched destination server is determined, so as to according to the Internet protocol of matched destination server The direct access target server in address, to realize the connection of communication link, due to the destination server determined based on geographical location For the server nearest apart from household appliance position, therefore it is able to maintain faster access rate, to reach reduction household electrical appliances Equipment is in the duration of off-line state, to promote the usage experience of user.
Wherein, the Internet protocol address with the matched destination server of geographical location information is read, can be set in household electrical appliances Standby upper completion can also be obtained by accessing other equipment.
In any of the above-described technical solution, optionally, geographical location information is obtained, specifically includes: being set in household appliance It is equipped with locating module, to acquire location information as geographical location information by triggering locating module;Or it is adapted to household appliance Controlling terminal send location interrogation information, with receive terminal feedback geographical location information.
Wherein, the controlling terminal of adaptation is to be equipped with the terminal of the application program of control household appliance operation.
In the technical scheme, the acquisition of geographical location information can there are many implementation, a kind of implementation be Locating module is set in household appliance, the geographical location information of itself is obtained by locating module, wherein locating module can be Satellite positioning module, such as GPS positioning module, GLONASS locating module, Beidou positioning module and Galileo locating module etc., Another way is by receiving the location information of controlling terminal transmission as geographical location information, due to controlling terminal and household electrical appliances The distance between equipment is smaller (for example being greater than 0m, and be less than or equal to 100m), therefore believes by the positioning of controlling terminal When breath determines the IP address of matched destination server, while can guarantee accuracy, do not need to set in household appliance Set locating module.
It is optionally, determining with Internet protocol according to designated environment attribute information in any of the above-described technical solution Location specifically includes: the Internet protocol address with the matched destination server of geographical location information is read, according to internet protocol View address destination server corresponding with network access request establishes communication link.
In the technical scheme, by reading the IP address with the matched destination server of geographical location information, with basis The IP address access target server, the matching relationship based on geographical location, the destination server energy accessed according to the IP address Enough and household appliance is in the same area, on the one hand, the IP address got Stability and dependability with higher, it is another Aspect can make the access of destination server have better SEO (Search Engine Optimization, search engine Optimization) effect and bigger flowing of access.
In any of the above-described technical solution, optionally, reading and the matched destination server of geographical location information Before Internet protocol address, further includes: the area information with mapping relations is stored in local storage with server address In, it is after getting geographical location information, to determine area information belonging to geographical location information, area information is matched Server address is determined as the Internet protocol address of destination server.
In the technical scheme, for the ease of determine destination server IP address, can local storage (such as FLASH memory) storage multiple regions information, multiple regions information can be divided with country, such as China, the U.S., English State, France, Australia etc., the IP address of at least corresponding destination server in the region of each area information, By the way that area information and IP address are established mapping relations, after getting geographical location information, to determine the geographical location institute Corresponding IP address is determined in region, and by mapping relations, to be in household appliance region by IP address orientation Destination server can not only reduce the offline duration of household appliance, also favorably promote the access effect of user.
Embodiment three
As shown in figure 3, the domain name analytic method of still another embodiment in accordance with the present invention, comprising:
Step 302, if detecting, network access request parses failure, operator's informaiton is inquired, by operator's informaiton It is determined as designated environment attribute information;
Step 304, the domain name server address sent according to the controlling terminal that operator's informaiton obtains adaptation;
Step 306, domain name resolution server is configured according to domain name server address;
Step 308, it translates domain names into request and is sent to domain name resolution server, and translate domain names into request and be sent to domain name Resolution server, to be requested by domain name resolution server domain name mapping to execute parsing operation, and feedback target server is mutual Networking protocol address.
In the technical scheme, designated environment attribute information can also be the operator's informaiton for being currently located network, due to It is set between household appliance and destination server in same carrier network relative to the household electrical appliances in different operators network It is standby that there is higher communication efficiency between destination server, therefore by obtaining operator's informaiton, determine operator place The address of the dns server on ground is sent to the dns server to translate domain names into request, to execute parsing by the dns server Operation, to feed back the IP address of the destination server in the operator location, to guarantee the reliable of distribution and DNS name resolution Property, and then be conducive to promote network access efficiency.
Wherein, the controlling terminal of adaptation is to be equipped with the terminal of the application program of control household appliance operation, operator's letter The acquisition of information that breath can be sent by receiving the terminal.
Example IV
As shown in figure 4, the domain name analytic method of still another embodiment in accordance with the present invention, comprising:
Step 402, detect that the domain name mapping request of transmission does not respond, according to the designated environment attribute information of household appliance Determine the Internet protocol address of destination server corresponding with network access request;
Step 404, communication link is established according to Internet protocol address and destination server.
In the technical scheme, if the domain name mapping request sent does not respond, showing current network, there are domain names to be robbed It the failures such as holds, Internet protocol address to be visited (i.e. IP address) can not be obtained by conventional domain name mapping mode at this time, In this case, by obtaining current designated environment attribute information, based on the acquisition of designated environment attribute information and currently The matched destination server of network access request IP address, the IP with the matched destination server of designated environment attribute information Address, corresponding is the server that can satisfy household appliance current network requirements for access, therefore is believed by designated environment attribute Breath realizes domain name mapping to determine the IP address of destination server, on the one hand, quickly can establish communication chain with destination server Road promotes the efficiency of domain name mapping so as to reduce household appliance probability offline for a long time, on the other hand, based on specified The domain name mapping operation that environment attribute information carries out, additionally it is possible to guarantee the reliability of parsing operation, and then be advantageously implemented search Engine optimization and the flowing of access for promoting destination server.
In the above-mentioned technical solutions, optionally, network access request parsing failure is being detected, according to specified acquisition side Before formula obtains the Internet protocol address of the corresponding destination server of network access request, further includes: if detecting domain name mapping The transmission times of request is greater than frequency threshold value, and domain name mapping request sends failure, it is determined that network access request parses failure
In the technical scheme, domain name mapping is carried out by the way of recurrence DNS query in the related technology, in sending domain After name analysis request, if detecting that the transmission duration of domain name mapping request is greater than or equal to duration threshold value, show current Domain name mapping is broken down, in such a case, it is possible to carry out domain name by way of above-mentioned acquisition designated environment attribute information Parsing, to shorten offline duration.
Specifically, duration threshold value is maximum offline duration, is specifically as follows 2 minutes.
In any of the above-described technical solution, optionally, network access request parsing failure is being detected, according to specified Before acquisition modes obtain the Internet protocol address of the corresponding destination server of network access request, further includes: detect spontaneous From at the time of sending domain name mapping to request by duration be greater than or equal to duration threshold value, domain name mapping request analysis failure, then really Determine network access request parsing failure.
In the technical scheme, domain name mapping is carried out by the way of recurrence DNS query in the related technology, in sending domain After name analysis request, it is assumed that offline time can not be more than 2 minutes, and the time requested every time is 45s, then frequency threshold value is 3 times, If the transmission times of domain name mapping request is greater than 3 times, show that current domain name mapping is broken down, in this case, Domain name mapping can be carried out by way of above-mentioned acquisition designated environment attribute information, to shorten offline duration.
In any of the above-described technical solution, optionally, according to the designated environment attribute information determination of household appliance and net The Internet protocol address of the corresponding destination server of network access request, specifically includes: in response to network access request, obtaining ground Location information is managed, geographical location information is determined as designated environment attribute information;It reads and the matched mesh of geographical location information The Internet protocol address of server is marked, to build according to Internet protocol address destination server corresponding with network access request Vertical communication link.
In the technical scheme, by reading the IP address with the matched destination server of geographical location information, with basis The IP address access target server, the matching relationship based on geographical location, the destination server energy accessed according to the IP address Enough and household appliance is in the same area, on the one hand, the IP address got Stability and dependability with higher, it is another Aspect can make the access of destination server have better SEO (Search Engine Optimization, search engine Optimization) effect and bigger flowing of access.
In any of the above-described technical solution, optionally, reading and the matched destination server of geographical location information Before Internet protocol address, further includes: the area information with mapping relations is stored in local storage with server address In, it is after getting geographical location information, to determine area information belonging to geographical location information, area information is matched Server address is determined as the Internet protocol address of destination server.
For the ease of determining the IP address of destination server, can be stored in local storage (such as FLASH memory) Multiple regions information, multiple regions information can be divided with country, such as China, the U.S., Britain, France, Australia Deng the IP address of at least corresponding destination server in the region of, each area information, by by area information with IP address establishes mapping relations, after getting geographical location information, to determine the geographical location region, and passes through mapping Relationship determines corresponding IP address, can not only to be in the destination server of household appliance region by IP address orientation The offline duration for enough reducing household appliance, also favorably promotes the access effect of user.
In any of the above-described technical solution, optionally, according to the designated environment attribute information determination of household appliance and net The Internet protocol address of the corresponding destination server of network access request, specifically includes: inquiry operator's informaiton, by operator Information is determined as designated environment attribute information;The name server sent according to the controlling terminal that operator's informaiton obtains adaptation Location;Domain name resolution server is configured according to domain name server address;It translates domain names into request and is sent to domain name resolution server, and It translates domain names into request and is sent to domain name resolution server, to be requested by domain name resolution server domain name mapping to execute parsing behaviour Make, and the Internet protocol address of feedback target server.
In the technical scheme, designated environment attribute information can also be the operator's informaiton for being currently located network, due to It is set between household appliance and destination server in same carrier network relative to the household electrical appliances in different operators network It is standby that there is higher communication efficiency between destination server, therefore by obtaining operator's informaiton, determine operator place The address of the dns server on ground is sent to the dns server to translate domain names into request, to execute parsing by the dns server Operation, to feed back the IP address of the destination server in the operator location, to guarantee the reliable of distribution and DNS name resolution Property, and then be conducive to promote network access efficiency.
Wherein, the controlling terminal of adaptation is to be equipped with the terminal of the application program of control household appliance operation, operator's letter The acquisition of information that breath can be sent by receiving the terminal.
In any of the above-described technical solution, optionally, communicated according to Internet protocol address with destination server foundation Link, further includes: if communication link can not be established with destination server, Wi-Fi module restarting is controlled, to open again After dynamic, connection is re-established with corresponding routing device, is sent to corresponding domain to translate domain names into request by routing device Name server.
In the technical scheme, if Wi-Fi mould is restarted in specified dns server address parsing domain name failure, control Block, then connection is established with routing device, DNS name resolution request is sent by routing device, it is successful to promote domain name mapping Probability.
Embodiment five
As shown in figure 5, the domain name analytic method of still another embodiment in accordance with the present invention, comprising:
Step 502, the SSID and PASSWORD of the routing device of the controlling terminal transmission of adaptation are received;
Step 504, connection is established with routing device, to send domain name analysis request by routing device;
Step 506, whether the transmission times for detecting domain name analysis request is greater than frequency threshold value, if "Yes", enters step 508, if it is not, then entering step 514;
Step 508, if detecting, the transmission times of domain name mapping request is greater than frequency threshold value, and domain name mapping request, which is sent, loses It loses, it is determined that domain name mapping request analysis failure, and transmission times is initialized as 0 time;
Step 510, geographical location information is obtained;
Step 512, the Internet protocol address with the matched destination server of the geographical location information is read, with basis Internet protocol address destination server corresponding with the network access request establishes communication link;
Step 514, if detecting, the transmission times of domain name mapping request is less than or equal to frequency threshold value, passes through adaptation Routing device translates domain names into request and is sent to corresponding name server, to receive the internet protocol fed back by name server Discuss address;
Step 516, whether detection with destination server establishes communication link according to the Internet protocol address, if "Yes" then terminates process, if "No", enters step 518;
Step 518, if communication link can not be established with destination server, Wi-Fi module restarting is controlled, in weight After new starting, return step 504.
It in the technical scheme, can also be using recurrence in the related technology before obtaining designated environment attribute information The mode of DNS query carries out domain name mapping, it is assumed that offline time can not be more than 2 minutes, and the time requested every time is 45s, then Frequency threshold value is 3 times, if the transmission times of domain name mapping request is greater than 3 times, shows that current domain name mapping is broken down, In such a case, it is possible to domain name mapping be carried out by way of above-mentioned acquisition designated environment attribute information, when shortening offline It is long.
Wherein, networked information can be SSID (the Service Set of the routing device sent by the controlling terminal being adapted to Identifier, service set) and PASSWORD, to carry out networking registration using SSID and PASSWORD.
In the technical scheme, if the transmission times of domain name mapping request is less than or equal to 3 times, show current DNS Server address is correct, sends domain name mapping by the dns server of the routing device superior in same local area network at this time and asks It asks, to return to corresponding IP address by dns server, which is fed back to household electrical appliances and set by the mode that family is routed through transparent transmission It is standby, to realize that the wireless transmission link between household appliance and destination server connects, to guarantee to destination server just Frequentation is asked.
In the technical scheme, if Wi-Fi mould is restarted in specified dns server address parsing domain name failure, control Block, then connection is established with routing device, DNS name resolution request is sent by routing device, it is successful to promote domain name mapping Probability.
Embodiment six
As shown in fig. 6, the domain name analytic method of still another embodiment in accordance with the present invention, comprising:
Step 602, the SSID and PASSWORD of the routing device of the controlling terminal transmission of adaptation are received;
Step 604, connection is established with routing device, to send domain name analysis request by routing device;
Step 606, whether the transmission times for detecting domain name analysis request is greater than frequency threshold value, if "Yes", enters step 608, if it is not, then entering step 620;
Step 608, if detecting, the transmission times of domain name mapping request is greater than frequency threshold value, and domain name mapping request, which is sent, loses It loses, it is determined that domain name mapping request analysis failure, and transmission times is initialized as 0 time;
Step 610, operator's informaiton is inquired;
Step 612, the domain name server address sent according to the controlling terminal that operator's informaiton obtains adaptation;
Step 614, domain name resolution server is configured according to domain name server address;
Step 616, it translates domain names into request and is sent to domain name resolution server, and translate domain names into request and be sent to domain name Resolution server, to be requested by domain name resolution server domain name mapping to execute parsing operation;
Step 618, whether detection parsing operation succeeds, if "Yes", enters step 620, if "No", enters step 624;
Step 620, if detecting, the transmission times of domain name mapping request is less than or equal to frequency threshold value, passes through adaptation Routing device translates domain names into request and is sent to corresponding name server, to receive the internet protocol fed back by name server Discuss address;
Step 622, whether detection with destination server establishes communication link according to the Internet protocol address, if "Yes" then terminates process, if "No", enters step 624;
Step 624, control Wi-Fi module restarting, with after restarting, return step 604.
It in the technical scheme, can also be using recurrence in the related technology before obtaining designated environment attribute information The mode of DNS query carries out domain name mapping, it is assumed that offline time can not be more than 2 minutes, and the time requested every time is 55s, then Frequency threshold value is 3 times, if the transmission times of domain name mapping request is greater than 3 times, shows that current domain name mapping is broken down, In such a case, it is possible to domain name mapping be carried out by way of above-mentioned acquisition designated environment attribute information, when shortening offline It is long.
Wherein, networked information can be SSID (the Service Set of the routing device sent by the controlling terminal being adapted to Identifier, service set) and PASSWORD, to carry out networking registration using SSID and PASSWORD.
In the technical scheme, if the transmission times of domain name mapping request is less than or equal to 3 times, show current DNS Server address is correct, sends domain name mapping by the dns server of the routing device superior in same local area network at this time and asks It asks, to return to corresponding IP address by dns server, which is fed back to household electrical appliances and set by the mode that family is routed through transparent transmission It is standby, to realize that the wireless transmission link between household appliance and destination server connects, to guarantee to destination server just Frequentation is asked.
In the technical scheme, if Wi-Fi mould is restarted in specified dns server address parsing domain name failure, control Block, then connection is established with routing device, DNS name resolution request is sent by routing device, it is successful to promote domain name mapping Probability.
Embodiment seven
As shown in fig. 7, the domain name mapping device 70 of embodiment according to the present invention, comprising: memory 702 and processor 704;Memory 702, for storing program code;Processor 704 is executed for caller code: being accessed in response to network Request obtains designated environment attribute information;Target clothes corresponding with network access request are determined according to designated environment attribute information The Internet protocol address of business device;Communication link is established according to Internet protocol address and destination server.
In the technical scheme, by obtaining current designated environment attribute information, to be based on designated environment attribute information The Internet protocol address (i.e. IP address) with the current matched destination server of network access request is obtained, with designated environment The IP address of the matched destination server of attribute information, corresponding is the clothes that can satisfy household appliance current network requirements for access Business device, therefore domain name mapping is realized to determine the IP address of destination server by designated environment attribute information, on the one hand, it can Communication link quickly is established with destination server, so as to reduce household appliance probability offline for a long time, promotes domain name solution The efficiency of analysis, on the other hand, the domain name mapping operation carried out based on designated environment attribute information, additionally it is possible to guarantee parsing operation Reliability, and then be advantageously implemented search engine optimization and promote the flowing of access of destination server.
Wherein, designated environment attribute information be can by the information of the IP address of the acquisition of information to destination server, For example designated environment attribute information can be geographical location information, pass through the determining IP with the matched destination server in geographical location Address is advantageously implemented the efficient access to destination server of household appliance, in addition, designated environment attribute information can also be Network operator information executes domain by the dns server to determine matched dns server based on network operator information Name parsing operation obtains the destination server under the operator, to realize the efficient access to destination server of household appliance.
Network access request can be the website information etc. received.
In addition, the domain name mapping scheme of above-mentioned restriction, can domain name mapping mode in the related art break down Under the premise of use, also can be directly used obtain designated environment attribute information mode execute domain name mapping operation.
In the above-mentioned technical solutions, optionally, processor 704 are specifically used for: in response to network access request, obtaining ground Location information is managed, geographical location information is determined as designated environment attribute information.
In any of the above-described technical solution, optionally, processor 704 is specifically used for: reading and believes with the geographical location The Internet protocol address of matched destination server is ceased, according to the Internet protocol address and the network access request Corresponding destination server establishes communication link.
In the technical scheme, by obtaining geographical location information locating for household appliance, to be based on geographical location information The Internet protocol address of matched destination server is determined, so as to according to the Internet protocol of matched destination server The direct access target server in address, to realize the connection of communication link, due to the destination server determined based on geographical location For the server nearest apart from household appliance position, therefore it is able to maintain faster access rate, to reach reduction household electrical appliances Equipment is in the duration of off-line state, to promote the usage experience of user.
Wherein, the Internet protocol address with the matched destination server of geographical location information is read, can be set in household electrical appliances Standby upper completion can also be obtained by accessing other equipment.
In any of the above-described technical solution, optionally, processor 704 is specifically used for: positioning is provided in household appliance Module, to acquire location information as geographical location information by triggering locating module;Or the control being adapted to household appliance is whole End sends location interrogation information, to receive the geographical location information of terminal feedback.
Wherein, the controlling terminal of adaptation is to be equipped with the terminal of the application program of control household appliance operation.
In the technical scheme, the acquisition of geographical location information can there are many implementation, a kind of implementation be Locating module is set in household appliance, the geographical location information of itself is obtained by locating module, wherein locating module can be Satellite positioning module, such as GPS positioning module, GLONASS locating module, Beidou positioning module and Galileo locating module etc., Another way is by receiving the location information of controlling terminal transmission as geographical location information, due to controlling terminal and household electrical appliances The distance between equipment is smaller (for example being greater than 0m, and be less than or equal to 100m), therefore believes by the positioning of controlling terminal When breath determines the IP address of matched destination server, while can guarantee accuracy, do not need to set in household appliance Set locating module.
In any of the above-described technical solution, optionally, processor 704 is specifically used for: by the region with mapping relations Information and server address are stored in local storage, to determine geographical location information after getting geographical location information The matched server address of area information is determined as the Internet protocol address of destination server by affiliated area information.
In the technical scheme, for the ease of determine destination server IP address, can local storage (such as FLASH memory) storage multiple regions information, multiple regions information can be divided with country, such as China, the U.S., English State, France, Australia etc., the IP address of at least corresponding destination server in the region of each area information, By the way that area information and IP address are established mapping relations, after getting geographical location information, to determine the geographical location institute Corresponding IP address is determined in region, and by mapping relations, to be in household appliance region by IP address orientation Destination server can not only reduce the offline duration of household appliance, also favorably promote the access effect of user.
In the above-mentioned technical solutions, optionally, processor 704 are specifically used for: inquiry operator's informaiton, by operator Information is determined as designated environment attribute information.
In any of the above-described technical solution, optionally, processor 704 is specifically used for: being obtained according to operator's informaiton suitable The domain name server address that the controlling terminal matched is sent;Domain name resolution server is configured according to domain name server address;By domain name Analysis request is sent to domain name resolution server, and translates domain names into request and be sent to domain name resolution server, by domain name solution Server is analysed domain name mapping is requested to execute parsing operation, and the Internet protocol address of feedback target server.
In the technical scheme, designated environment attribute information can also be the operator's informaiton for being currently located network, due to It is set between household appliance and destination server in same carrier network relative to the household electrical appliances in different operators network It is standby that there is higher communication efficiency between destination server, therefore by obtaining operator's informaiton, determine operator place The address of the dns server on ground is sent to the dns server to translate domain names into request, to execute parsing by the dns server Operation, to feed back the IP address of the destination server in the operator location, to guarantee the reliable of distribution and DNS name resolution Property, and then be conducive to promote network access efficiency.
Wherein, the controlling terminal of adaptation is to be equipped with the terminal of the application program of control household appliance operation, operator's letter The acquisition of information that breath can be sent by receiving the terminal.
In any of the above-described technical solution, optionally, processor 704 is specifically used for: believing in response to the networking received Breath sends corresponding domain name mapping request;If detecting, the transmission times of domain name mapping request is greater than frequency threshold value, domain name mapping Request sends failure, it is determined that domain name mapping request analysis failure, to obtain designated environment attribute information.
It in the technical scheme, can also be using recurrence in the related technology before obtaining designated environment attribute information The mode of DNS query carries out domain name mapping, it is assumed that offline time can not be more than 2 minutes, and the time requested every time is 45s, then Frequency threshold value is 3 times, if the transmission times of domain name mapping request is greater than 3 times, shows that current domain name mapping is broken down, In such a case, it is possible to domain name mapping be carried out by way of above-mentioned acquisition designated environment attribute information, when shortening offline It is long.
Wherein, networked information can be SSID (the Service Set of the routing device sent by the controlling terminal being adapted to Identifier, service set) and PASSWORD, to carry out networking registration using SSID and PASSWORD.
In any of the above-described technical solution, optionally, processor 704 is specifically used for: if detecting, domain name mapping is requested Transmission times be less than or equal to frequency threshold value, then translate domain names into request by the routing device of adaptation and be sent to corresponding domain Name server, to receive the Internet protocol address fed back by name server.
In the technical scheme, if the transmission times of domain name mapping request is less than or equal to 3 times, show current DNS Server address is correct, sends domain name mapping by the dns server of the routing device superior in same local area network at this time and asks It asks, to return to corresponding IP address by dns server, which is fed back to household electrical appliances and set by the mode that family is routed through transparent transmission It is standby, to realize that the wireless transmission link between household appliance and destination server connects, to guarantee to destination server just Frequentation is asked.
In any of the above-described technical solution, optionally, processor 704 is specifically used for: if can not build with destination server Vertical communication link controls Wi-Fi module restarting, then to re-establish company with corresponding routing device after restarting It connects, is sent to corresponding name server to translate domain names into request by routing device.
In the technical scheme, if Wi-Fi mould is restarted in specified dns server address parsing domain name failure, control Block, then connection is established with routing device, DNS name resolution request is sent by routing device, it is successful to promote domain name mapping Probability.
Embodiment eight
As shown in figure 8, the domain name mapping device 80 of embodiment according to the present invention, comprising: memory 802 and processor 804;Memory 802, for storing program code;Processor 804 executes for caller code: detecting the domain of transmission Name analysis request does not respond, determines that target corresponding with network access request takes according to the designated environment attribute information of household appliance The Internet protocol address of business device;Communication link is established according to Internet protocol address and destination server.
In the technical scheme, if the domain name mapping request sent does not respond, showing current network, there are domain names to be robbed It the failures such as holds, Internet protocol address to be visited (i.e. IP address) can not be obtained by conventional domain name mapping mode at this time, In this case, by obtaining current designated environment attribute information, based on the acquisition of designated environment attribute information and currently The matched destination server of network access request IP address, the IP with the matched destination server of designated environment attribute information Address, corresponding is the server that can satisfy household appliance current network requirements for access, therefore is believed by designated environment attribute Breath realizes domain name mapping to determine the IP address of destination server, on the one hand, quickly can establish communication chain with destination server Road promotes the efficiency of domain name mapping so as to reduce household appliance probability offline for a long time, on the other hand, based on specified The domain name mapping operation that environment attribute information carries out, additionally it is possible to guarantee the reliability of parsing operation, and then be advantageously implemented search Engine optimization and the flowing of access for promoting destination server.
In the above-mentioned technical solutions, optionally, processor 804 are specifically used for: in response to the networked information received, hair Domain name mapping is sent to request;Detect from send domain name mapping request at the time of by duration be greater than or equal to duration threshold value, Domain name mapping request sends failure, it is determined that domain name mapping does not respond.
In the technical scheme, domain name mapping is carried out by the way of recurrence DNS query in the related technology, in sending domain After name analysis request, if detecting that the transmission duration of domain name mapping request is greater than or equal to duration threshold value, show current Domain name mapping is broken down, in such a case, it is possible to carry out domain name by way of above-mentioned acquisition designated environment attribute information Parsing, to shorten offline duration.
Specifically, duration threshold value is maximum offline duration, is specifically as follows 2 minutes.
In any of the above-described technical solution, optionally, processor 804 is specifically used for: believing in response to the networking received Breath sends domain name analysis request;It detects from the transmission times for sending domain name mapping request and is greater than frequency threshold value, domain name mapping is asked Transmission is asked to fail, it is determined that domain name mapping does not respond.
In the technical scheme, domain name mapping is carried out by the way of recurrence DNS query in the related technology, in sending domain After name analysis request, it is assumed that offline time can not be more than 2 minutes, and the time requested every time is 45s, then frequency threshold value is 3 times, If the transmission times of domain name mapping request is greater than 3 times, show that current domain name mapping is broken down, in this case, Domain name mapping can be carried out by way of above-mentioned acquisition designated environment attribute information, to shorten offline duration.
In any of the above-described technical solution, optionally, processor 804 is specifically used for: in response to network access request, Geographical location information is obtained, geographical location information is determined as designated environment attribute information;It reads and geographical location information The Internet protocol address for the destination server matched, to be taken according to Internet protocol address target corresponding with network access request Business device establishes communication link.
In the technical scheme, by reading the IP address with the matched destination server of geographical location information, with basis The IP address access target server, the matching relationship based on geographical location, the destination server energy accessed according to the IP address Enough and household appliance is in the same area, on the one hand, the IP address got Stability and dependability with higher, it is another Aspect can make the access of destination server have better SEO (Search Engine Optimization, search engine Optimization) effect and bigger flowing of access.
In any of the above-described technical solution, optionally, processor 804 is specifically used for: by the region with mapping relations Information and server address are stored in local storage, to determine geographical location information after getting geographical location information The matched server address of area information is determined as the Internet protocol address of destination server by affiliated area information.
For the ease of determining the IP address of destination server, can be stored in local storage (such as FLASH memory) Multiple regions information, multiple regions information can be divided with country, such as China, the U.S., Britain, France, Australia Deng the IP address of at least corresponding destination server in the region of, each area information, by by area information with IP address establishes mapping relations, after getting geographical location information, to determine the geographical location region, and passes through mapping Relationship determines corresponding IP address, can not only to be in the destination server of household appliance region by IP address orientation The offline duration for enough reducing household appliance, also favorably promotes the access effect of user.
In any of the above-described technical solution, optionally, processor 804 is specifically used for: inquiry operator's informaiton, will Operator's informaiton is determined as designated environment attribute information;The domain name clothes sent according to the controlling terminal that operator's informaiton obtains adaptation Business device address;Domain name resolution server is configured according to domain name server address;It translates domain names into request and is sent to domain name mapping clothes Business device, and translate domain names into request and be sent to domain name resolution server, to be held by domain name resolution server to domain name mapping request Row parsing operation, and the Internet protocol address of feedback target server.
In the technical scheme, designated environment attribute information can also be the operator's informaiton for being currently located network, due to It is set between household appliance and destination server in same carrier network relative to the household electrical appliances in different operators network It is standby that there is higher communication efficiency between destination server, therefore by obtaining operator's informaiton, determine operator place The address of the dns server on ground is sent to the dns server to translate domain names into request, to execute parsing by the dns server Operation, to feed back the IP address of the destination server in the operator location, to guarantee the reliable of distribution and DNS name resolution Property, and then be conducive to promote network access efficiency.
Wherein, the controlling terminal of adaptation is to be equipped with the terminal of the application program of control household appliance operation, operator's letter The acquisition of information that breath can be sent by receiving the terminal.
In any of the above-described technical solution, optionally, processor 804 is specifically used for: if can not build with destination server Vertical communication link controls Wi-Fi module restarting, then to re-establish company with corresponding routing device after restarting It connects, is sent to corresponding name server to translate domain names into request by routing device.
In the technical scheme, if Wi-Fi mould is restarted in specified dns server address parsing domain name failure, control Block, then connection is established with routing device, DNS name resolution request is sent by routing device, it is successful to promote domain name mapping Probability.
The household appliance of embodiment according to the present invention, comprising: any of the above-described domain name mapping device as described in the examples.
Household appliance is specifically as follows air conditioner, refrigerator, television set and kitchen appliance etc..
Computer readable storage medium according to an embodiment of the invention is stored thereon with computer program, calculates The step of machine program is performed, and realizes the domain name analytic method such as the restriction of any of the above-described embodiment.
Compared with prior art, embodiment disclosed in technical scheme at least have it is following the utility model has the advantages that
(1) by obtaining geographical location information locating for household appliance, to determine matched mesh based on geographical location information The Internet protocol address of server is marked, so as to directly access according to the Internet protocol address of matched destination server Destination server, to realize the connection of communication link, since the destination server determined based on geographical location is to set apart from household electrical appliances The standby nearest server in position, therefore it is able to maintain faster access rate, household appliance is reduced in offline to reach The duration of state, to promote the usage experience of user.
(2) by obtaining operator's informaiton, the address of the dns server in the operator location is determined, by domain name solution Analysis request is sent to the dns server, to execute parsing operation by the dns server, to feed back the mesh in the operator location The IP address of server is marked, to guarantee the reliability of distribution and DNS name resolution, and then is conducive to promote network access efficiency.
(3) if the sending time that the transmission times of domain name mapping request is less than or equal to 3 times and/or domain name mapping is requested Less than or equal to time threshold, show that current dns server address is correct, passes through the routing device in same local area network at this time The dns server of superior sends domain name analysis request, and to return to corresponding IP address by dns server, family is routed through The IP address is fed back to household appliance by the mode of transparent transmission, to realize the wireless transmission chain between household appliance and destination server Road connection, to guarantee the normal access to destination server.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
It should be noted that in the claims, any reference symbol between parentheses should not be configured to power The limitation that benefit requires.Word "comprising" does not exclude the presence of component or step not listed in the claims.Before component Word "a" or "an" does not exclude the presence of multiple such components.The present invention can be by means of including several different components It hardware and is realized by means of properly programmed computer.In the unit claims listing several devices, these are filled Several in setting, which can be, to be embodied by the same item of hardware.The use of word first, second, and third is not Indicate any sequence.These words can be construed to title.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from right of the present invention by those skilled in the art It is required that and its within the scope of equivalent technologies, then the present invention is also intended to include these modifications and variations.

Claims (15)

1. a kind of domain name analytic method is suitable for household appliance characterized by comprising
In response to received networked information, corresponding network access request is sent;
Detect the network access request parsing failure, it is corresponding to obtain the network access request according to specified acquisition modes Destination server Internet protocol address;
Communication link is established according to the Internet protocol address and the destination server.
2. domain name analytic method according to claim 1, which is characterized in that described to detect the network access request solution Failure is analysed, with obtaining the Internet protocol of the corresponding destination server of the network access request according to specified acquisition modes Location specifically includes:
If detecting the network access request parsing failure, designated environment attribute information is obtained;
According to designated environment attribute information determination and the Internet protocol address.
3. domain name analytic method according to claim 2, which is characterized in that if described detect the network access request Failure is parsed, then obtains designated environment attribute information, specifically includes:
If detecting the network access request parsing failure, geographical location information is obtained, by the geographical location information It is determined as the designated environment attribute information.
4. domain name analytic method according to claim 3, which is characterized in that the acquisition geographical location information, it is specific to wrap It includes:
It is provided with locating module in the household appliance, to acquire location information as describedly by triggering the locating module Manage location information;Or
The controlling terminal being adapted to the household appliance sends location interrogation information, to receive the geography of the terminal feedback Location information.
5. domain name analytic method according to claim 3, which is characterized in that described according to the designated environment attribute information The determining and Internet protocol address, specifically includes:
The Internet protocol address with the matched destination server of the geographical location information is read, according to the internet protocol View address destination server corresponding with the network access request establishes communication link.
6. domain name analytic method according to claim 5, which is characterized in that described to read and the geographical location information Before the Internet protocol address of matched destination server, further includes:
Area information with mapping relations is stored in local storage with server address, to get the geography After location information, area information belonging to the geographical location information is determined, by the matched service of the area information Device address is determined as the Internet protocol address of the destination server.
7. domain name analytic method according to claim 2, which is characterized in that if described detect the network access request Failure is parsed, then obtains designated environment attribute information, specifically includes:
If detecting, network access request parses failure, inquires operator's informaiton, the operator's informaiton is determined as institute State designated environment attribute information.
8. domain name analytic method according to claim 7, which is characterized in that described according to the designated environment attribute information The determining and Internet protocol address, specifically includes:
The domain name server address sent according to the controlling terminal that the operator's informaiton obtains adaptation;
Domain name resolution server is configured according to domain name server address;
It translates domain names into request and is sent to domain name resolution server, and translate domain names into request and be sent to domain name parsing Server to execute parsing operation to domain name analysis request by domain name resolution server, and feeds back the target clothes The Internet protocol address of business device.
9. domain name analytic method according to any one of claim 1 to 8, which is characterized in that it is described detect it is described Network access request parses failure, obtains the corresponding destination server of the network access request according to specified acquisition modes Before Internet protocol address, further includes:
If detecting, the transmission times of domain name analysis request is greater than frequency threshold value, and domain name analysis request sends failure, Then determine the network access request parsing failure.
10. domain name analytic method according to claim 9, which is characterized in that further include:
If detecting, the transmission times of domain name analysis request is less than or equal to the frequency threshold value, passes through the routing of adaptation Domain name analysis request is sent to corresponding name server by equipment, to receive the interconnection by domain name server feedback FidonetFido address.
11. domain name analytic method according to any one of claim 1 to 8, which is characterized in that it is described detect it is described Network access request parses failure, obtains the corresponding destination server of the network access request according to specified acquisition modes Before Internet protocol address, further includes:
Detect from the time of sending domain name analysis request by duration be greater than or equal to duration threshold value, domain name Analysis request parsing failure, it is determined that the network access request parses failure.
12. domain name analytic method according to any one of claim 1 to 8, which is characterized in that described according to the interconnection FidonetFido address and the destination server establish communication link, further includes:
If communication link can not be established with the destination server, Wi-Fi module restarting is controlled, to restart Afterwards, re-establish connection with corresponding routing device, with by the routing device translate domain names into request be sent to it is corresponding Name server.
13. a kind of domain name mapping device characterized by comprising memory and processor;
The memory, for storing the memory for storing program code;
The processor, for calling domain name mapping side described in any one of said program code perform claim requirement 1 to 12 Method.
14. a kind of household appliance characterized by comprising
Domain name mapping device as claimed in claim 13.
15. a kind of computer readable storage medium, which is characterized in that be stored thereon with domain name mapping program, which is characterized in that should Domain name mapping program realizes domain name analytic method described in any one of claims 1 to 12 when being executed by processor.
CN201910624077.9A 2019-07-11 2019-07-11 Domain name resolution method, domain name resolution device, household appliance and storage medium Active CN110247999B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910624077.9A CN110247999B (en) 2019-07-11 2019-07-11 Domain name resolution method, domain name resolution device, household appliance and storage medium
PCT/CN2020/089023 WO2021004144A1 (en) 2019-07-11 2020-05-07 Domain name resolution method, domain name resolution device, household appliance, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910624077.9A CN110247999B (en) 2019-07-11 2019-07-11 Domain name resolution method, domain name resolution device, household appliance and storage medium

Publications (2)

Publication Number Publication Date
CN110247999A true CN110247999A (en) 2019-09-17
CN110247999B CN110247999B (en) 2022-05-06

Family

ID=67891826

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910624077.9A Active CN110247999B (en) 2019-07-11 2019-07-11 Domain name resolution method, domain name resolution device, household appliance and storage medium

Country Status (2)

Country Link
CN (1) CN110247999B (en)
WO (1) WO2021004144A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111371641A (en) * 2020-02-26 2020-07-03 RealMe重庆移动通信有限公司 Network detection method and related product
CN111414208A (en) * 2020-03-13 2020-07-14 百度在线网络技术(北京)有限公司 Application program starting method, device and equipment
WO2021004144A1 (en) * 2019-07-11 2021-01-14 广东美的制冷设备有限公司 Domain name resolution method, domain name resolution device, household appliance, and storage medium
CN113347284A (en) * 2021-06-09 2021-09-03 上海移远通信技术股份有限公司 Resource access method, resource access device, electronic device and storage medium
CN113676530A (en) * 2021-08-16 2021-11-19 深圳市云鼠科技开发有限公司 Data acquisition method, device, server, client, system and medium
CN114422396A (en) * 2021-12-10 2022-04-29 苏州浪潮智能科技有限公司 DNS server management method and device, electronic equipment and storage medium

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113206785B (en) * 2021-05-28 2023-01-10 深圳市中科明望通信软件有限公司 Network request method and device, terminal equipment and storage medium
CN113556407B (en) * 2021-09-23 2021-12-17 中国信息通信研究院 Interface calling method and device for identification analysis node and electronic equipment
CN114115919B (en) * 2021-12-02 2023-10-31 四川虹美智能科技有限公司 Communication address switching system and method
CN114301837A (en) * 2021-12-16 2022-04-08 山石网科通信技术股份有限公司 Routing data processing method and device
CN114500059B (en) * 2022-01-28 2024-01-02 杭州盈高科技有限公司 Webpage authentication method and device of terminal equipment, storage medium and processor
CN114785781B (en) * 2022-03-22 2024-03-26 阿里巴巴(中国)有限公司 Data access method and device
CN114745434A (en) * 2022-04-06 2022-07-12 北京三快在线科技有限公司 Method, device, equipment and storage medium for proxy network request
CN116319679A (en) * 2022-12-27 2023-06-23 中国电子产业工程有限公司 Network connection monitoring method and device
CN116095002B (en) * 2023-04-07 2023-06-02 南凌科技股份有限公司 SaaS access optimization method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685603A (en) * 2013-12-19 2014-03-26 北京奇虎科技有限公司 Domain name system analyzing method and device
CN104639672A (en) * 2015-02-12 2015-05-20 广州华多网络科技有限公司 Method and device for domain name resolution (DNS)
CN109347997A (en) * 2018-12-18 2019-02-15 深圳创维数字技术有限公司 Domain name analytic method, device, server and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101710905A (en) * 2009-12-17 2010-05-19 中国联合网络通信集团有限公司 Address resolution control method and system based on tactics
US8504818B2 (en) * 2010-04-15 2013-08-06 Microsoft Corporation Method and system for reliable protocol tunneling over HTTP
CN103561121B (en) * 2013-10-11 2017-04-12 北京奇虎科技有限公司 Method and device for analyzing DNS and browser
CN105245633A (en) * 2015-10-19 2016-01-13 北京奇虎科技有限公司 Safe domain name system and fault handling method
CN105871985A (en) * 2015-12-10 2016-08-17 乐视网信息技术(北京)股份有限公司 Data access request processing method and apparatus, server, client and system
CN110247999B (en) * 2019-07-11 2022-05-06 广东美的制冷设备有限公司 Domain name resolution method, domain name resolution device, household appliance and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685603A (en) * 2013-12-19 2014-03-26 北京奇虎科技有限公司 Domain name system analyzing method and device
CN104639672A (en) * 2015-02-12 2015-05-20 广州华多网络科技有限公司 Method and device for domain name resolution (DNS)
CN109347997A (en) * 2018-12-18 2019-02-15 深圳创维数字技术有限公司 Domain name analytic method, device, server and storage medium

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021004144A1 (en) * 2019-07-11 2021-01-14 广东美的制冷设备有限公司 Domain name resolution method, domain name resolution device, household appliance, and storage medium
CN111371641A (en) * 2020-02-26 2020-07-03 RealMe重庆移动通信有限公司 Network detection method and related product
CN111371641B (en) * 2020-02-26 2021-11-16 RealMe重庆移动通信有限公司 Network detection method and related product
CN111414208A (en) * 2020-03-13 2020-07-14 百度在线网络技术(北京)有限公司 Application program starting method, device and equipment
CN113347284A (en) * 2021-06-09 2021-09-03 上海移远通信技术股份有限公司 Resource access method, resource access device, electronic device and storage medium
CN113347284B (en) * 2021-06-09 2023-08-15 上海移远通信技术股份有限公司 Resource access method, resource access device, electronic equipment and storage medium
CN113676530A (en) * 2021-08-16 2021-11-19 深圳市云鼠科技开发有限公司 Data acquisition method, device, server, client, system and medium
CN114422396A (en) * 2021-12-10 2022-04-29 苏州浪潮智能科技有限公司 DNS server management method and device, electronic equipment and storage medium
CN114422396B (en) * 2021-12-10 2023-07-14 苏州浪潮智能科技有限公司 DNS server management method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
WO2021004144A1 (en) 2021-01-14
CN110247999B (en) 2022-05-06

Similar Documents

Publication Publication Date Title
CN110247999A (en) Domain name analytic method, domain name mapping device, household appliance and storage medium
US10715482B2 (en) Wide area service discovery for internet of things
EP2797368B1 (en) Method, device, and system for discovering machine to machine service
CN102186164B (en) Method and management device for operating device resource
CN106375987A (en) Method and system for selecting network slice
JP2014507850A (en) Dynamic wireless network detection system, method and apparatus
WO2015117396A1 (en) Wi-fi signal-based positioning method, device, and system
KR20160146978A (en) Search engine optimization for resource directory
CN103888358A (en) Routing method, device, system and gateway equipment
US20090138444A1 (en) Method of searching metadata servers
CN114902634A (en) Apparatus and method for providing information of application server in mobile communication system
CN107948979B (en) Information processing method and device and auditing equipment
EP3682619A1 (en) Service layer message templates in a communications network
CN103888412A (en) Address book automatic generation and query method, and phone
CN104955153A (en) Method, device and appliances for discovering resources
CN104125310A (en) Semi-permanent address based message sending method
KR101004798B1 (en) Potential peer producing method and system thereof using P2P sensor network
CN102088766B (en) Terminal positioning method and system
CN112950916A (en) ZigBee-based wireless meter reading system and application method thereof
CN108776450A (en) Sweeping robot service system and computer readable storage medium
US20120163237A1 (en) Apparatus and method for configuring personal space with virtual switch
KR101592860B1 (en) Distributed storage system using Internet of Things Device and operating method thereof
US20110219082A1 (en) Apparatus and method of communicating with local service
CN103024667B (en) The method of reporting information and device
KR101528529B1 (en) Method of providing user group service, server performing the same and relay server performing the same

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