CN110290229A - Domain name analytic method, device, electronic equipment and the storage medium of household appliance - Google Patents

Domain name analytic method, device, electronic equipment and the storage medium of household appliance Download PDF

Info

Publication number
CN110290229A
CN110290229A CN201910484953.2A CN201910484953A CN110290229A CN 110290229 A CN110290229 A CN 110290229A CN 201910484953 A CN201910484953 A CN 201910484953A CN 110290229 A CN110290229 A CN 110290229A
Authority
CN
China
Prior art keywords
domain name
household appliance
server
analysis request
request
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.)
Pending
Application number
CN201910484953.2A
Other languages
Chinese (zh)
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 CN201910484953.2A priority Critical patent/CN110290229A/en
Publication of CN110290229A publication Critical patent/CN110290229A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]

Abstract

The application proposes domain name analytic method, device, electronic equipment and the storage medium of a kind of household appliance, wherein method includes: to send domain name analysis request to name server, so that name server parses domain name mapping request;Parsing failure information is carried out to domain name mapping request if obtaining, obtains current domain name analysis request parsing transmission times;If current domain name analysis request parsing transmission times is greater than preset times threshold value, the current location information of household appliance is obtained;Server domain name configuration corresponding with current location information is obtained in the flash memory of household appliance, and domain name mapping request is parsed.Thus, it is possible to efficiently solve in the prior art when dns resolution failure, causes household appliance offline for a long time, thus the technical issues of the technical problems such as domain name mapping stability difference, improve the stability and reliability of domain name mapping, promote user experience.

Description

Domain name analytic method, device, electronic equipment and the storage medium of household appliance
Technical field
This application involves field of home appliance technology more particularly to a kind of domain name analytic methods of household appliance, device, electricity Sub- equipment and storage medium.
Background technique
In general, DNS (Domain Name Server, name server) is to carry out domain name and corresponding IP The server of (Internet Protocol Address, Internet protocol address) conversion, save in DNS a domain name and The table of corresponding IP address, to parse the domain name of message.
When mistake occurs in dns resolution, such as a domain name mapping at a wrong IP address, will cause can not pass through The corresponding website of domain name access, in the related technology, when dns resolution failure, circulation carries out repeatedly parsing until success, by This, domain name mapping request can not be parsed always to DNS query as a result, causing household appliance offline for a long time, thus domain name solution Analyse the technical problems such as stability difference.
Summary of the invention
The embodiment of the present application is situated between by providing domain name analytic method, device, electronic equipment and the storage of a kind of household appliance Matter solves in the prior art when dns resolution failure, and circulation repeatedly parse until success, so that domain name mapping Request always to DNS query when can not parse as a result, causing household appliance offline for a long time, so that domain name mapping stability is poor Etc. technical problems the technical issues of, realize by name server to domain name mapping request carry out parsing the frequency of failure be greater than When preset times threshold value, server domain name configuration pair corresponding with household appliance current location is obtained from the flash memory of household appliance Domain name mapping request is parsed, and the stability and reliability of domain name mapping are improved, and promotes user experience.
The application first aspect embodiment proposes a kind of domain name analytic method of household appliance, which comprises
Domain name analysis request is sent to name server, so that domain name server carries out domain name analysis request Parsing;
If acquisition carries out parsing failure information to domain name analysis request, current domain name analysis request parsing hair is obtained Send number;
If the current domain name analysis request parsing transmission times is greater than preset times threshold value, working as household appliance is obtained Front position information;
Server domain name configuration corresponding with the current location information is obtained in the flash memory of the household appliance, to institute Domain name mapping request is stated to be parsed.
The application second aspect embodiment proposes a kind of domain name mapping device of household appliance, and described device includes:
Sending module, for sending domain name analysis request to name server, so that domain name server is to the domain Name analysis request is parsed;
First obtains module, if carrying out parsing failure information to domain name analysis request for obtaining, obtains current Domain name mapping request analysis transmission times;
Second obtains module, if being greater than preset times threshold value for the current domain name analysis request parsing transmission times, Then obtain the current location information of household appliance;
Processing module, for obtaining server corresponding with the current location information in the flash memory of the household appliance Domain name configuration, parses domain name analysis request.
The application third aspect embodiment proposes a kind of electronic equipment, comprising: memory, processor and is stored in storage On device and the computer program that can run on a processor, when the processor executes described program, such as the application first is realized The domain name analytic method of household appliance described in aspect embodiment.
The application fourth aspect embodiment proposes a kind of computer readable storage medium, is stored thereon with computer journey Sequence, which is characterized in that realizing the household appliance as described in the application first aspect embodiment when the program is executed by processor Domain name analytic method.
One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages: one Aspect, by sending domain name analysis request to name server, so that name server parses domain name mapping request;If It obtains and parsing failure information is carried out to domain name mapping request, then obtain current domain name analysis request parsing transmission times;If current Domain name mapping request analysis transmission times is greater than preset times threshold value, then obtains the current location information of household appliance;In household electrical appliances Server domain name configuration corresponding with current location information is obtained in the flash memory of equipment, and domain name mapping request is parsed.By This, can efficiently solve in the prior art when dns resolution failure, and circulation carries out repeatedly parsing until success, so that Domain name mapping request always to DNS query when can not parse as a result, causing household appliance offline for a long time, thus domain name mapping The technical issues of technical problems such as stability difference, realizes by carrying out parsing failure to domain name mapping request in name server When number is greater than preset times threshold value, server domain corresponding with household appliance current location is obtained from the flash memory of household appliance Name configuration parses domain name mapping request, improves the stability and reliability of domain name mapping, promotes user experience.
On the other hand, household appliance is controlled when configuring according to server domain name and carry out parsing failure to domain name mapping request WiFi module carries out reboot operation, further ensures that the stability and reliability of domain name mapping.
Another aspect determines preset times threshold value according to each domain name mapping request timed out time and standard offline time, Determine whether to obtain and household appliance current location from the flash memory of household appliance by setting reasonable preset times threshold value The configuration of corresponding server domain name parses domain name mapping request, further improves the stability of domain name mapping and reliable Property, promote user experience.
Detailed description of the invention
The application is above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, in which:
Fig. 1 is the flow diagram of the domain name analytic method of household appliance provided by the embodiment of the present application one;
Fig. 2 is the exemplary diagram of the domain name analytic method of household appliance provided by the embodiment of the present application one;
Fig. 3 is the flow diagram of the domain name analytic method of household appliance provided by the embodiment of the present application two;
Fig. 4 is the flow diagram of the domain name analytic method of household appliance provided by the embodiment of the present application three;
Fig. 5 is the exemplary diagram of the domain name analytic method of household appliance provided by the embodiment of the present application three;
Fig. 6 is the structural schematic diagram of the domain name mapping device of household appliance provided by the embodiment of the present application four;
Fig. 7 is the structural schematic diagram of the domain name mapping device of household appliance provided by the embodiment of the present application five;
Fig. 8 is the structural schematic diagram of the domain name mapping device of household appliance provided by the embodiment of the present application six;
Fig. 9 is the structural schematic diagram of the domain name mapping device of household appliance provided by the embodiment of the present application seven;
Figure 10 is the structural schematic diagram of the domain name mapping device of household appliance provided by the embodiment of the present application eight.
Specific embodiment
The application mainly for household appliance in the prior art domain name mapping mode cost is relatively high, accuracy rate is relatively low The technical issues of, a kind of domain name analytic method of household appliance is provided.The domain name mapping side of the household appliance of the embodiment of the present application Method, by sending domain name analysis request to name server, so that name server parses domain name mapping request;If obtaining It takes and parsing failure information is carried out to domain name mapping request, then obtain current domain name analysis request parsing transmission times;If the current field Name analysis request parsing transmission times is greater than preset times threshold value, then obtains the current location information of household appliance;It is set in household electrical appliances Server domain name configuration corresponding with current location information is obtained in standby flash memory, and domain name mapping request is parsed.It realizes By when name server carries out the parsing frequency of failure to domain name mapping request and is greater than preset times threshold value, from household appliance Flash memory in obtain the configuration of corresponding with household appliance current location server domain name domain name mapping request parsed, raising The stability and reliability of domain name mapping promotes user experience.
In order to better understand the above technical scheme, the exemplary reality of the application is more fully described below with reference to accompanying drawings Apply example.Although showing the exemplary embodiment of the application in attached drawing, it being understood, however, that may be realized in various forms this Shen Please and should not be limited by the embodiments set forth herein.It is to be able to thoroughly understand this on the contrary, providing these embodiments Application, and scope of the present application can be fully disclosed to those skilled in the art.
In order to better understand the above technical scheme, in conjunction with appended figures and specific embodiments to upper Technical solution is stated to be described in detail.
Embodiment one
Fig. 1 is the flow diagram of the domain name analytic method of household appliance provided by the embodiment of the present application one.
As shown in Figure 1, the domain name analytic method of the household appliance may comprise steps of:
Step 101, domain name analysis request is sent to name server, so that name server requests to carry out to domain name mapping Parsing.
In practical application, as shown in Fig. 2, household appliance can receive family's routing that corresponding application program is sent Device title (SSID) and password (PASSWORD), and connection is established by router rs name and password and home router, thus It can be routed by family to name server and send domain name analysis request, so that name server carries out corresponding domain name solution Analysis returns to corresponding IP address and is sent to household appliance by family's routing, and household appliance is established according to IP address and server to be connected It connects, carries out the operation such as subsequent registration.
Step 102, parsing failure information is carried out to domain name mapping request if obtaining, obtains current domain name analysis request solution Analyse transmission times.
Step 103, if current domain name analysis request parsing transmission times is greater than preset times threshold value, household appliance is obtained Current location information.
It is understood that when name server carries out corresponding domain name mapping it is possible that mistake, such as One domain name mapping is at a wrong IP address, or does not know what when is the corresponding IP address of certain domain name be, just It can not be failed by the corresponding website of domain name access, that is, dns resolution, if name server carries out corresponding domain certainly If name parsing is normal, correct IP address can be fed back to.
As a result, when acquisition carries out parsing failure information to domain name mapping request, current domain name analysis request parsing is obtained Up to the present transmission times, current domain name analysis request parsing transmission times here continuously transmit time of domain name mapping request Number.
Further, judge whether current domain name analysis request parsing transmission times is greater than preset times threshold value, current Domain name mapping request analysis transmission times obtains the current location information of household appliance when being greater than preset times threshold value, wherein pre- If frequency threshold value can be arranged according to practical application experience, or offline according to each domain name mapping request timed out time and standard Time determination etc..
Wherein, the current location of household appliance can be obtained in real time or be passed through by the locating module in household appliance It is sent to application program and obtains current Position Request, so that obtaining current location by terminal where application program and being sent to house Electric equipment.
Step 104, server domain name configuration corresponding with current location information is obtained in the flash memory of household appliance, to domain Name analysis request is parsed.
Specifically, the mode of server domain name configuration corresponding with current location information is obtained in the flash memory of household appliance There are many kinds of, as an example, storage server domain name allocation list is such as European and northern in the flash memory of household appliance in advance U.S. two specified three tier server domain name addresses are greater than preset times threshold in current domain name analysis request parsing transmission times Value reads the server domain name saved in corresponding flash area according to the current location of household appliance and configures, asks to domain name mapping It asks and is parsed.
Technical solution in above-mentioned the embodiment of the present application, at least have the following technical effects or advantages:
By sending domain name analysis request to name server, so that name server solves domain name mapping request Analysis;Parsing failure information is carried out to domain name mapping request if obtaining, obtains current domain name analysis request parsing transmission times;If Current domain name analysis request parsing transmission times is greater than preset times threshold value, then obtains the current location information of household appliance;? Server domain name configuration corresponding with current location information is obtained in the flash memory of household appliance, and domain name mapping request is solved Analysis.Thus, it is possible to efficiently solve in the prior art when dns resolution failure, circulation carries out repeatedly parsing until success, So that domain name mapping request always to DNS query when can not parse as a result, causing household appliance offline for a long time, thus domain name The technical issues of parsing the technical problems such as stability difference realizes by parsing in name server to domain name mapping request When the frequency of failure is greater than preset times threshold value, service corresponding with household appliance current location is obtained from the flash memory of household appliance The configuration of device domain name parses domain name mapping request, improves the stability and reliability of domain name mapping, promotes user and uses Experience.
Embodiment two
Fig. 3 is the flow diagram of the domain name analytic method of household appliance provided by the embodiment of the present application two.
As shown in figure 3, the domain name analytic method of the household appliance may comprise steps of:
Step 201, each domain name mapping request timed out time is obtained.
Step 202, the standard offline time of household appliance is obtained.
Step 203, preset times threshold value is determined according to each domain name mapping request timed out time and standard offline time.
It specifically, for example is 45s when each domain name mapping request timed out, it cannot according to the standard offline time of household appliance More than 2 minutes, it is thus determined that preset times threshold value is 3.
Preset times threshold value is determined according to each domain name mapping request timed out time and standard offline time as a result, is passed through It is corresponding with household appliance current location to determine whether to obtain from the flash memory of household appliance to set reasonable preset times threshold value Server domain name configuration to domain name mapping request parse, further improve the stability and reliability of domain name mapping, Promote user experience.
Embodiment three
Fig. 4 is the flow diagram of the domain name analytic method of household appliance provided by the embodiment of the present application two.
As shown in figure 4, the domain name analytic method of the household appliance may comprise steps of:
Step 301, the router rs name and password that application program is sent are received.
Step 302, connection is established according to router rs name and password and router, to send domain name mapping by router Request.
Step 303, domain name analysis request is sent to name server, so that name server requests to carry out to domain name mapping Parsing.
Specifically, household appliance can receive the home router title and password that corresponding application program is sent, and lead to It crosses router rs name and password and home router establishes connection, so as to be routed by family to name server sending domain Name analysis request, so that the corresponding domain name mapping of name server progress, which returns to corresponding IP address, passes through family's routing transmission To household appliance, household appliance establishes connection according to IP address and server.
Step 304, parsing failure information is carried out to domain name mapping request if obtaining, obtains current domain name analysis request solution Analyse transmission times.
Step 305, if current domain name analysis request parsing transmission times is less than or equal to preset times threshold value, continue to domain Name server sends domain name analysis request, so that name server parses domain name mapping request, obtains name server The Internet protocol address of transmission, and connection is established according to Internet protocol address and server.
Step 306, if current domain name analysis request parsing transmission times is greater than preset times threshold value, household appliance is obtained Current location information, in the flash memory of household appliance inquire predetermined server domain name allocation list obtain with current location information pair The server domain name configuration answered, parses domain name mapping request.
It is understood that when name server carries out corresponding domain name mapping it is possible that mistake, such as One domain name mapping is at a wrong IP address, or does not know what when is the corresponding IP address of certain domain name be, just It can not be failed by the corresponding website of domain name access, that is, dns resolution, if name server carries out corresponding domain certainly If name parsing is normal, correct IP address can be fed back to.
As a result, when acquisition carries out parsing failure information to domain name mapping request, current domain name analysis request parsing is obtained Up to the present transmission times, current domain name analysis request parsing transmission times here continuously transmit time of domain name mapping request Number.
Further, judge whether current domain name analysis request parsing transmission times is greater than preset times threshold value, current Domain name mapping request analysis transmission times obtains the current location information of household appliance when being greater than preset times threshold value, wherein pre- If frequency threshold value can be arranged according to practical application experience, or offline according to each domain name mapping request timed out time and standard Time determination etc..
Further, current domain name analysis request parsing transmission times be less than or equal to preset times threshold value, then continue to Name server sends domain name analysis request, so that name server parses domain name mapping request, obtains domain name service The Internet protocol address that device is sent, and connection is established according to Internet protocol address and server.
Wherein, the current location of household appliance can be obtained in real time or be passed through by the locating module in household appliance It is sent to application program and obtains current Position Request, so that obtaining current location by terminal where application program and being sent to house Electric equipment.
Step 307, if carrying out parsing failure to domain name mapping request according to server domain name configuration, household appliance is controlled WiFi module carry out reboot operation.
Specifically, DNS name resolution fails possible reason, for example, network is unavailable, Domain Hijacking and domain name whether by Forbid parsing and WIFI module defective, therefore parsing mistake is being carried out to domain name mapping request according to server domain name configuration The WiFi module that household appliance is controlled when losing carries out reboot operation, further ensures that the stability and reliability of domain name mapping.
It in order to more understand above-described embodiment, is specifically described below with reference to Fig. 5, in the embodiment of the present application, can be used two Grade server domain name carries out domain name mapping, and household appliance can be set in Europe, and dns server can return to the node in Europe, family Electric equipment can return to the node in America in America, will lead to dns resolution failure when secondary server breaks down, household electrical appliances occur Equipment off-line can ensure household appliance within the shortest time if enabling three tier server domain name of corresponding area at this time Again online.
Specifically, as shown in figure 5, household appliance, which receives the family that APP is sent, routes SSID and PASSWORD, family is connected Second level DNS name resolution request is routed and sends, each request timed out time is 45s, according to standard offline time no more than 2 Minute, therefore judge whether current request number is greater than 3;It is specified that Europe and two, North America are saved in WIFI module FLASH respectively Three tier server domain name addresses to app request current location, read corresponding FLASH when DNS request number is greater than 3 times The server domain name configuration saved in region, carries out dns resolution;If request number of times is less than 3 times at this time, routed by family upward Grade equipment obtains, the IP address that household appliance connection returns;If failed using specified server domain name address resolution, weigh WIFI module software is opened, then is attached routing, sends the operation of DNS name resolution request.It realizes by domain name service When device carries out the parsing frequency of failure greater than preset times threshold value to domain name mapping request, acquisition and family from the flash memory of household appliance The corresponding server domain name configuration in electric equipment current location parses domain name mapping request, improves the stabilization of domain name mapping Property and reliability, promoted user experience.
Based on the same inventive concept, the embodiment of the present application also provides embodiments one into the embodiment three corresponding dress of method It sets, sees example IV.
Example IV
Fig. 6 is the structural schematic diagram of the domain name mapping device of household appliance provided by the embodiment of the present application six.
As shown in fig. 6, the domain name mapping device of the household appliance includes: that sending module 101, first obtains module 102, the Two obtain module 103 and processing module 104.
Wherein, sending module 101, for sending domain name analysis request to name server, so that name server is to domain Name analysis request is parsed.
First obtains module 102, if carrying out parsing failure information to domain name mapping request for obtaining, obtains the current field Name analysis request parses transmission times.
Second obtains module 103, if being greater than preset times threshold value for current domain name analysis request parsing transmission times, Obtain the current location information of household appliance.
Processing module 104, for obtaining server domain name corresponding with current location information in the flash memory of household appliance Configuration parses domain name mapping request.
In one embodiment of the application, as shown in fig. 7, on the basis of Fig. 6 further include: control module 105.
Control module 105, if being controlled for carrying out parsing failure to domain name mapping request according to server domain name configuration The WiFi module of household appliance carries out reboot operation.
In one embodiment of the application, as shown in figure 8, on the basis of Fig. 6 further include: third acquisition module 106, 4th obtains module 107 and determining module 108.
Third obtains module 106, for obtaining each domain name mapping request timed out time.
4th obtains module 107, for obtaining the standard offline time of household appliance.
Determining module 108, for being determined default time according to each domain name mapping request timed out time and standard offline time Number threshold value.
In one embodiment of the application, as shown in figure 9, on the basis of Fig. 6 further include: the first link block 109.
Sending module 101, if being also used to current domain name analysis request parsing transmission times is less than or equal to preset times threshold value, Then continue to send domain name analysis request to name server, so that name server parses domain name mapping request.
Link block 109, for obtaining the Internet protocol address of name server transmission, and according to Internet protocol Location and server establish connection.
In one embodiment of the application, as shown in Figure 10, on the basis of Fig. 6 further include: receiving module 110 and Two link blocks 111.
Receiving module 110, for receiving the router rs name and password of application program transmission.
Second link block 111, for establishing connection according to router rs name and password and router, to pass through router Send domain name analysis request.
It should be noted that previous embodiment one is to embodiment three to the solution of the domain name analytic method embodiment of household appliance The domain name mapping device that explanation is also applied for the household appliance of the embodiment is released, details are not described herein again.
Technical solution in above-mentioned the embodiment of the present application, at least have the following technical effects or advantages:
On the one hand, by sending domain name analysis request to name server, so that name server requests domain name mapping It is parsed;Parsing failure information is carried out to domain name mapping request if obtaining, current domain name analysis request parsing is obtained and sends Number;If current domain name analysis request parsing transmission times is greater than preset times threshold value, the current location of household appliance is obtained Information;Server domain name configuration corresponding with current location information is obtained in the flash memory of household appliance, and domain name mapping is requested It is parsed.Thus, it is possible to efficiently solve in the prior art when dns resolution failure when, circulation carry out repeatedly parsing until at Until function so that domain name mapping request always to DNS query when can not parse as a result, cause household appliance offline for a long time, The technical issues of to technical problems such as domain name mapping stability differences, realizes by requesting in name server domain name mapping When carrying out the parsing frequency of failure greater than preset times threshold value, obtained and household appliance current location pair from the flash memory of household appliance The server domain name configuration answered parses domain name mapping request, improves the stability and reliability of domain name mapping, is promoted User experience.
On the other hand, household appliance is controlled when configuring according to server domain name and carry out parsing failure to domain name mapping request WiFi module carries out reboot operation, further ensures that the stability and reliability of domain name mapping.
Another aspect determines preset times threshold value according to each domain name mapping request timed out time and standard offline time, Determine whether to obtain and household appliance current location from the flash memory of household appliance by setting reasonable preset times threshold value The configuration of corresponding server domain name parses domain name mapping request, further improves the stability of domain name mapping and reliable Property, promote user experience.
Based on the same inventive concept, the embodiment of the present application also provides embodiments one to the corresponding electronics of three method of embodiment Equipment is shown in embodiment nine.
Embodiment nine
The electronic equipment of the embodiment of the present application, comprising: memory, processor and storage are on a memory and can be in processor The computer program of upper operation when processor executes program, is realized as the application previous embodiment one to embodiment three proposes The domain name analytic method of household appliance.
Technical solution in above-mentioned the embodiment of the present application, at least have the following technical effects or advantages:
On the one hand, by sending domain name analysis request to name server, so that name server requests domain name mapping It is parsed;Parsing failure information is carried out to domain name mapping request if obtaining, current domain name analysis request parsing is obtained and sends Number;If current domain name analysis request parsing transmission times is greater than preset times threshold value, the current location of household appliance is obtained Information;Server domain name configuration corresponding with current location information is obtained in the flash memory of household appliance, and domain name mapping is requested It is parsed.Thus, it is possible to efficiently solve in the prior art when dns resolution failure when, circulation carry out repeatedly parsing until at Until function so that domain name mapping request always to DNS query when can not parse as a result, cause household appliance offline for a long time, The technical issues of to technical problems such as domain name mapping stability differences, realizes by requesting in name server domain name mapping When carrying out the parsing frequency of failure greater than preset times threshold value, obtained and household appliance current location pair from the flash memory of household appliance The server domain name configuration answered parses domain name mapping request, improves the stability and reliability of domain name mapping, is promoted User experience.
On the other hand, household appliance is controlled when configuring according to server domain name and carry out parsing failure to domain name mapping request WiFi module carries out reboot operation, further ensures that the stability and reliability of domain name mapping.
Another aspect determines preset times threshold value according to each domain name mapping request timed out time and standard offline time, Determine whether to obtain and household appliance current location from the flash memory of household appliance by setting reasonable preset times threshold value The configuration of corresponding server domain name parses domain name mapping request, further improves the stability of domain name mapping and reliable Property, promote user experience.
By the electronic equipment that the embodiment of the present application nine is introduced, to implement the embodiment of the present application one to the side of embodiment three Electronic equipment used by method, so based on the method that the embodiment of the present application one is introduced to embodiment three, the affiliated people in this field Member can understand specific structure and the deformation of the electronic equipment, so details are not described herein.All the embodiment of the present application one are to reality It applies electronic equipment used by the method for example three and belongs to the range to be protected of the application.
Based on the same inventive concept, the embodiment of the present application also provides embodiments one into the embodiment three corresponding meter of method Calculation machine readable storage medium storing program for executing, is shown in embodiment ten.
Embodiment ten
The computer readable storage medium of the embodiment of the present application, is stored thereon with computer program, which is characterized in that the journey The domain name mapping side of the household appliance proposed such as the application previous embodiment one to embodiment three is realized when sequence is executed by processor Method.
Technical solution in above-mentioned the embodiment of the present application, at least have the following technical effects or advantages:
On the one hand, by sending domain name analysis request to name server, so that name server requests domain name mapping It is parsed;Parsing failure information is carried out to domain name mapping request if obtaining, current domain name analysis request parsing is obtained and sends Number;If current domain name analysis request parsing transmission times is greater than preset times threshold value, the current location of household appliance is obtained Information;Server domain name configuration corresponding with current location information is obtained in the flash memory of household appliance, and domain name mapping is requested It is parsed.Thus, it is possible to efficiently solve in the prior art when dns resolution failure when, circulation carry out repeatedly parsing until at Until function so that domain name mapping request always to DNS query when can not parse as a result, cause household appliance offline for a long time, The technical issues of to technical problems such as domain name mapping stability differences, realizes by requesting in name server domain name mapping When carrying out the parsing frequency of failure greater than preset times threshold value, obtained and household appliance current location pair from the flash memory of household appliance The server domain name configuration answered parses domain name mapping request, improves the stability and reliability of domain name mapping, is promoted User experience.
On the other hand, household appliance is controlled when configuring according to server domain name and carry out parsing failure to domain name mapping request WiFi module carries out reboot operation, further ensures that the stability and reliability of domain name mapping.
Another aspect determines preset times threshold value according to each domain name mapping request timed out time and standard offline time, Determine whether to obtain and household appliance current location from the flash memory of household appliance by setting reasonable preset times threshold value The configuration of corresponding server domain name parses domain name mapping request, further improves the stability of domain name mapping and reliable Property, promote user experience.
By the computer readable storage medium that the embodiment of the present application ten is introduced, to implement the embodiment of the present application one to reality Computer readable storage medium used by the method for example three is applied, so introduced based on the embodiment of the present application one to embodiment three Method, the affiliated personnel in this field can understand specific structure and the deformation of the computer readable storage medium, so herein not It repeats again.Computer readable storage medium used by method of all the embodiment of the present application one to embodiment three belongs to this Shen The range that please be protect.
It should be understood by those skilled in the art that, embodiments herein can provide as method, apparatus, equipment or calculate Machine program product.Therefore, the application can be used complete hardware embodiment, complete software embodiment or combine software and hardware side The form of the embodiment in face.Moreover, it wherein includes computer usable program code that the application, which can be used in one or more, The computer implemented in computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of program product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application 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 application 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 the preferred embodiment of the application has 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 application range.
Obviously, those skilled in the art can carry out various modification and variations without departing from the essence of the application to the application Mind and range.In this way, if these modifications and variations of the application belong to the range of the claim of this application and its equivalent technologies Within, then the application is also intended to include these modifications and variations.

Claims (10)

1. a kind of domain name analytic method of household appliance, which comprises the following steps:
Domain name analysis request is sent to name server, so that domain name server solves domain name analysis request Analysis;
If acquisition carries out parsing failure information to domain name analysis request, current domain name analysis request parsing transmission time is obtained Number;
If the current domain name analysis request parsing transmission times is greater than preset times threshold value, the present bit of household appliance is obtained Confidence breath;
Server domain name configuration corresponding with the current location information is obtained in the flash memory of the household appliance, to the domain Name analysis request is parsed.
2. the method as described in claim 1, which is characterized in that further include:
If carrying out parsing failure to domain name analysis request according to server domain name configuration, the household appliance is controlled WiFi module carry out reboot operation.
3. the method as described in claim 1, which is characterized in that if being sent in the current domain name analysis request parsing secondary Number is greater than preset times threshold value, then before the current location information for obtaining household appliance, further includes:
Obtain each domain name mapping request timed out time;
Obtain the standard offline time of the household appliance;
The preset times threshold value is determined according to each domain name mapping request timed out time and the standard offline time.
4. the method as described in claim 1, which is characterized in that further include:
If the current domain name analysis request parsing transmission times is less than or equal to preset times threshold value, continue to name server Domain name analysis request is sent, so that domain name server parses domain name analysis request;
The Internet protocol address that domain name server is sent is obtained, and is built according to the Internet protocol address with server Vertical connection.
5. the method as described in claim 1, which is characterized in that it is described to name server send domain name analysis request it Before, further includes:
Receive the router rs name and password that application program is sent;
Connection is established according to the router rs name and password and router, is asked with sending domain name mapping by the router It asks.
6. a kind of domain name mapping device of household appliance characterized by comprising
Sending module, for sending domain name analysis request to name server, so that domain name server is to domain name solution Analysis request is parsed;
First obtains module, if carrying out parsing failure information to domain name analysis request for obtaining, obtains current domain name Analysis request parses transmission times;
Second obtains module, if being greater than preset times threshold value for the current domain name analysis request parsing transmission times, obtains Take the current location information of household appliance;
Processing module, for obtaining server domain name corresponding with the current location information in the flash memory of the household appliance Configuration, parses domain name analysis request.
7. device as claimed in claim 6, which is characterized in that further include:
Control module, if being controlled for carrying out parsing failure to domain name analysis request according to server domain name configuration The WiFi module for making the household appliance carries out reboot operation.
8. device as claimed in claim 6, which is characterized in that further include:
Third obtains module, for obtaining each domain name mapping request timed out time;
4th obtains module, for obtaining the standard offline time of the household appliance;
Determining module, it is described pre- for being determined according to each domain name mapping request timed out time and the standard offline time If frequency threshold value.
9. a kind of electronic equipment characterized by comprising memory, processor and storage are on a memory and can be in processor The computer program of upper operation when the processor executes described program, realizes such as household electrical appliances as claimed in any one of claims 1 to 5 The domain name analytic method of equipment.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The domain name analytic method such as household appliance as claimed in any one of claims 1 to 5 is realized when execution.
CN201910484953.2A 2019-06-05 2019-06-05 Domain name analytic method, device, electronic equipment and the storage medium of household appliance Pending CN110290229A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910484953.2A CN110290229A (en) 2019-06-05 2019-06-05 Domain name analytic method, device, electronic equipment and the storage medium of household appliance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910484953.2A CN110290229A (en) 2019-06-05 2019-06-05 Domain name analytic method, device, electronic equipment and the storage medium of household appliance

Publications (1)

Publication Number Publication Date
CN110290229A true CN110290229A (en) 2019-09-27

Family

ID=68003260

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910484953.2A Pending CN110290229A (en) 2019-06-05 2019-06-05 Domain name analytic method, device, electronic equipment and the storage medium of household appliance

Country Status (1)

Country Link
CN (1) CN110290229A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101699825A (en) * 2009-10-28 2010-04-28 成都市华为赛门铁克科技有限公司 Network file system access method, device and system
CN102572014A (en) * 2012-03-07 2012-07-11 华为终端有限公司 Message processing method and device and system thereof
CN102790808A (en) * 2011-05-16 2012-11-21 奇智软件(北京)有限公司 Domain name resolution method and system, client
CN103327135A (en) * 2013-06-27 2013-09-25 贝壳网际(北京)安全技术有限公司 Domain name resolution method, device and client
CN103685603A (en) * 2013-12-19 2014-03-26 北京奇虎科技有限公司 Domain name system analyzing method and device
CN106412144A (en) * 2016-09-20 2017-02-15 乐视控股(北京)有限公司 Network access method and device
CN106790768A (en) * 2017-02-27 2017-05-31 维沃移动通信有限公司 A kind of dns server method to set up and mobile terminal
CN107154963A (en) * 2017-03-31 2017-09-12 北京猎豹移动科技有限公司 A kind of request processing method, device and electronic equipment
KR20180094644A (en) * 2017-02-16 2018-08-24 주식회사 에프엔에스벨류 Method and apparatus for configuration dns name

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101699825A (en) * 2009-10-28 2010-04-28 成都市华为赛门铁克科技有限公司 Network file system access method, device and system
CN102790808A (en) * 2011-05-16 2012-11-21 奇智软件(北京)有限公司 Domain name resolution method and system, client
CN102572014A (en) * 2012-03-07 2012-07-11 华为终端有限公司 Message processing method and device and system thereof
CN103327135A (en) * 2013-06-27 2013-09-25 贝壳网际(北京)安全技术有限公司 Domain name resolution method, device and client
CN103685603A (en) * 2013-12-19 2014-03-26 北京奇虎科技有限公司 Domain name system analyzing method and device
CN106412144A (en) * 2016-09-20 2017-02-15 乐视控股(北京)有限公司 Network access method and device
KR20180094644A (en) * 2017-02-16 2018-08-24 주식회사 에프엔에스벨류 Method and apparatus for configuration dns name
CN106790768A (en) * 2017-02-27 2017-05-31 维沃移动通信有限公司 A kind of dns server method to set up and mobile terminal
CN107154963A (en) * 2017-03-31 2017-09-12 北京猎豹移动科技有限公司 A kind of request processing method, device and electronic equipment

Similar Documents

Publication Publication Date Title
EP3896916B1 (en) Network distribution method for household appliance, household appliance, mobile terminal and storage medium
CN107995215B (en) Control method and device of intelligent household equipment and cloud platform server
CN110247999A (en) Domain name analytic method, domain name mapping device, household appliance and storage medium
CN101605108B (en) Method, system and apparatus for instant communication
CN111865621B (en) Method and device for accessing gateway
CN108156240B (en) Method and system for accessing industrial adapter to server
CN103023727B (en) Portal Performance Test System and method
CN110061993B (en) Log generation method and device containing public network exit address and access equipment
CN104809369B (en) Packet sets method, client, server and the system of equipment access rights
CN109379742A (en) A kind of cut-in method of WLAN, device and storage medium
CN112689316B (en) Binding method and device of intelligent equipment, storage medium and electronic device
CN104837134B (en) A kind of web authentication user login method, equipment and system
CN112232454A (en) Data writing method and system, terminal, household appliance and computer device
CN107113615A (en) A kind of authentication method, system and relevant device to access point AP
CN105959292B (en) Recognition methods, management server and the system of equipment access right
CN107968725A (en) Home gateway haplotype terminal equipment configuration information returns and collocation method, equipment
CN110290229A (en) Domain name analytic method, device, electronic equipment and the storage medium of household appliance
CN106708881B (en) Interaction method and device based on network file system
CN106161452A (en) The sending method of identifying code and device
CN109525417A (en) Household appliance cut-in method, domestic electric appliances controller and storage medium based on network interface
CN103248668B (en) Method, device and system for negotiating virtual desktop service parameters
CN110278600A (en) A kind of communication of terminal and base station, terminal method of network entry and device
CN114115074A (en) Device control method and device, computer readable storage medium, processor
CN111641664B (en) Crawler equipment service request method, device and system and storage medium
CN104660403B (en) A kind of device authorization method and server

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190927