CN105577427A - Detection method and device for communication connection between household appliance and mobile terminal - Google Patents

Detection method and device for communication connection between household appliance and mobile terminal Download PDF

Info

Publication number
CN105577427A
CN105577427A CN201510901872.XA CN201510901872A CN105577427A CN 105577427 A CN105577427 A CN 105577427A CN 201510901872 A CN201510901872 A CN 201510901872A CN 105577427 A CN105577427 A CN 105577427A
Authority
CN
China
Prior art keywords
mobile terminal
electrical appliance
household electrical
udp message
message bag
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
CN201510901872.XA
Other languages
Chinese (zh)
Other versions
CN105577427B (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.)
MEIZHI PHOTOELECTRIC TECHNOLOGY Co.,Ltd.
Original Assignee
Midea Group 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 filed Critical Midea Group Co Ltd
Priority to CN201510901872.XA priority Critical patent/CN105577427B/en
Publication of CN105577427A publication Critical patent/CN105577427A/en
Application granted granted Critical
Publication of CN105577427B publication Critical patent/CN105577427B/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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1829Arrangements specially adapted for the receiver end
    • H04L1/1858Transmission or retransmission of more than one copy of acknowledgement message
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/18Protocol analysers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]

Abstract

The invention discloses a detection method and system for communication connection between a household appliance and a mobile terminal and the mobile terminal. The method comprises the following steps: the mobile terminal sends a first UDP data packet to the household appliance; the household appliance sends a second UDP data packet to the mobile terminal; and if the mobile terminal receives the second UDP data packet, the mobile terminal judges that the communication connection of the household appliance is normal. The detection method improves success rate of the communication connection between the household appliance and the mobile terminal, and user experience is improved.

Description

The detection method communicated to connect between household electrical appliance and mobile terminal, device
Technical field
The present invention relates to communication technical field, particularly relate to the detection method, system and the mobile terminal that communicate to connect between a kind of household electrical appliance and mobile terminal.
Background technology
At present, user can realize the control to household electrical appliance in the application program of mobile terminal, namely household electrical appliance need to set up corresponding data cube computation, if there is data cube computation fault in household electrical appliance, then can cause the data transmission fault of household electrical appliance and mobile terminal, thus household electrical appliance do not receive the data of household electrical appliance transmission, and then cause user cannot control household electrical appliance at mobile terminal, for the life of user is made troubles, therefore need a kind of whether normal method of data cube computation that can detect household electrical appliance badly.
Summary of the invention
Object of the present invention is intended to solve one of above-mentioned technical problem at least to a certain extent.
For this reason, first object of the present invention is the detection method proposing to communicate to connect between a kind of household electrical appliance and mobile terminal, the method is by detecting the communication connection between household electrical appliance and mobile terminal, improve the success rate that household electrical appliance are connected with communication of mobile terminal, improve Consumer's Experience.
Second object of the present invention is to propose a kind of mobile terminal.
3rd object of the present invention is the detection system proposing to communicate to connect between a kind of household electrical appliance and mobile terminal.
For reaching above-mentioned purpose, the detection method communicated to connect between the household electrical appliance of first aspect present invention embodiment and mobile terminal, comprising: mobile terminal sends the first UDP message bag to household electrical appliance; Described household electrical appliance send the second UDP message bag to described mobile terminal; If described mobile terminal receives described second UDP message bag, then described mobile terminal judges that the communication connection of described household electrical appliance is normal.
According to the detection method communicated to connect between the household electrical appliance of the embodiment of the present invention and mobile terminal, household electrical appliance and mobile terminal all send UDP message bag to the other side, if mobile terminal receives the UDP message bag that household electrical appliance send, then judge that household electrical appliance communication connection is normal, whether the method sends UDP message bag to the other side by mobile terminal and household electrical appliance simultaneously normal with the communication detected between household electrical appliance and mobile terminal, and whether the UDP message bag whether being received household electrical appliance transmission by mobile terminal is normal to judge household electrical appliance communication connection, improve detection efficiency on the one hand, improve the success rate that household electrical appliance are connected with communication of mobile terminal on the other hand, improve Consumer's Experience.
In addition, in one embodiment of the invention, described household electrical appliance receive described first UDP message bag; Described household electrical appliance return the 3rd UDP message bag by the port different from sending described second UDP message bag to described mobile terminal.
In one embodiment of the invention, described mobile terminal judges in Preset Time, whether receive described second UDP message bag and the 3rd UDP message bag; If all do not receive described second UDP message bag and the 3rd UDP message bag, then described mobile terminal judges that the communication connection of described household electrical appliance is abnormal, and points out user.
In one embodiment of the invention, if described mobile terminal receives described 3rd UDP message bag, then described mobile terminal judges that the communication connection of described household electrical appliance is normal, and points out described user.
For reaching above-mentioned purpose, the mobile terminal of second aspect present invention embodiment, comprising: sending module, for sending the first UDP message bag to household electrical appliance; Receiver module, for receiving the second UDP message bag that described household electrical appliance send; First judge module, for when receiving described second UDP message bag, judges that the communication connection of described household electrical appliance is normal.
According to the mobile terminal of the embodiment of the present invention, the first UDP message bag is sent to household electrical appliance by sending module, and the second UDP message bag of household electrical appliance transmission is received by receiver module, if receiver module receives the second UDP message bag that household electrical appliance send, first judge module then judges that the communication connection of household electrical appliance is normal, namely send UDP message bag to the other side by mobile terminal and household electrical appliance whether normal with the communication detected between household electrical appliance and mobile terminal simultaneously, whether the UDP message bag that mobile terminal passes through whether to receive household electrical appliance transmission is normal to judge household electrical appliance communication connection, improve detection efficiency on the one hand, improve the success rate that household electrical appliance are connected with communication of mobile terminal on the other hand, improve Consumer's Experience.
In addition, in one embodiment of the invention, described receiver module also receives the first UDP message bag for receiving described household electrical appliance, and by the 3rd UDP message bag that the port different from described transmission second UDP message bag returns.
In one embodiment of the invention, described mobile terminal also comprises: the second judge module, for judging whether described receiver module receives described second UDP message bag and the 3rd UDP message bag in Preset Time; 3rd judge module, during for all not receiving described second UDP message bag and the 3rd UDP message bag at described receiver module, judges that the communication connection of described household electrical appliance is abnormal, and points out user.
In one embodiment of the invention, described 3rd judge module also for: when described receiver module receives described 3rd UDP message bag, judge that the communication connection of described household electrical appliance is normal, and described user pointed out.For reaching above-mentioned purpose, the detection system communicated to connect between the household electrical appliance of third aspect present invention embodiment and mobile terminal, comprising: the mobile terminal described in second aspect present invention embodiment; Household electrical appliance, for sending the second UDP message bag to described mobile terminal.
For reaching above-mentioned purpose, the detection system communicated to connect between the household electrical appliance of third aspect present invention embodiment and mobile terminal, comprising: the mobile terminal described in second aspect present invention embodiment; Household electrical appliance, for sending the second UDP message bag to described mobile terminal.
According to the detection system communicated to connect between the household electrical appliance of the embodiment of the present invention and mobile terminal, all UDP message bag is sent to the other side by household electrical appliance and mobile terminal, if mobile terminal receives the UDP message bag that household electrical appliance send, then judge that household electrical appliance communication connection is normal, namely send UDP message bag to the other side by mobile terminal and household electrical appliance whether normal with the communication detected between household electrical appliance and mobile terminal simultaneously, and whether the UDP message bag whether being received household electrical appliance transmission by mobile terminal is normal to judge household electrical appliance communication connection, improve detection efficiency on the one hand, improve the success rate that household electrical appliance are connected with communication of mobile terminal on the other hand, improve Consumer's Experience.
In addition, in one embodiment of the invention, described household electrical appliance also for receiving described first UDP message bag, and return the 3rd UDP message bag by the port different from sending described second UDP message bag to described mobile terminal.The aspect that the present invention adds and advantage will part provide in the following description, and part will become obvious from the following description, or be recognized by practice of the present invention.
Accompanying drawing explanation
The present invention above-mentioned and/or additional aspect and advantage will become obvious and easy understand from the following description of the accompanying drawings of embodiments, wherein,
Fig. 1 is the flow chart of the detection method communicated to connect between household electrical appliance and mobile terminal according to an embodiment of the invention;
Fig. 2 is the flow chart according to the detection method communicated to connect between the household electrical appliance of the present invention's specific embodiment and mobile terminal;
Fig. 3 is the structural representation of mobile terminal according to an embodiment of the invention;
Fig. 4 is the structural representation of the mobile terminal according to the present invention's specific embodiment; And
Fig. 5 is the structural representation of the detection system communicated to connect between household electrical appliance and mobile terminal according to an embodiment of the invention.
Reference numeral: mobile terminal 300, household electrical appliance 400, sending module 310, receiver module 320, the first judge module 330, second judge module 340 and the 3rd judge module 350.
Embodiment
Be described below in detail embodiments of the invention, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has element that is identical or similar functions from start to finish.Be exemplary below by the embodiment be described with reference to the drawings, be intended to for explaining the present invention, and can not limitation of the present invention be interpreted as.
Below with reference to the accompanying drawings detection method between the household electrical appliance of the embodiment of the present invention and mobile terminal, system and mobile terminal are described.It should be noted that, mobile terminal in the embodiment of the present invention can be that mobile phone, panel computer, personal digital assistant, Wearable etc. have various operating system and have the hardware device of screen, and this Wearable can be Intelligent bracelet, intelligent watch, intelligent glasses etc.
Fig. 1 is the flow chart of the detection method communicated to connect between household electrical appliance and mobile terminal according to an embodiment of the invention, and as shown in Figure 1, the detection method communicated to connect between this household electrical appliance and mobile terminal comprises:
S110, mobile terminal sends the first UDP message bag to household electrical appliance.
For example, in one embodiment of the invention, before mobile terminal sends the first UDP message bag to household electrical appliance, mobile terminal connects by router and household electrical appliance, to realize and the contact of household electrical appliance, thus mobile terminal sends the request of the first UDP message bag to household electrical appliance by this connection, after household electrical appliance accept this request, mobile terminal starts to send the first UDP message bag to household electrical appliance, namely mobile terminal sends the first UDP message bag to router, and this first UDP message bag is sent to household electrical appliance by router.
S120, household electrical appliance send the second UDP message bag to mobile terminal.
Particularly, in an embodiment of the present invention, while mobile terminal sends the first UDP message bag to household electrical appliance, household electrical appliance also can send the request of the second UDP message bag to mobile terminal, after mobile terminal determines this request, household electrical appliance send the second UDP message bag to mobile terminal.
S130, if mobile terminal receives the second UDP message bag, then mobile terminal judges that household electrical appliance communication is normal.
Particularly, if mobile terminal receives the second UDP message bag in Preset Time, then mobile terminal judges that household electrical appliance communication is normal, if namely the communication of household electrical appliance is normal, can encapsulate and transmission etc. the second UDP message bag, wherein above-mentioned Preset Time can by system calibrating, in Preset Time, UDP message bag can complete the step retransmitting and wait and send, and in this Preset Time, UDP message bag can be successfully completed normal process of transmitting.
It should be noted that, the first UDP message bag in the embodiment of the present invention and the second UDP message bag are the packet of agreement in advance, or can by the source IP address in resolution data bag, to distinguish the first UDP message bag and the second UDP message bag and to identify, this principle is equally applicable to the 3rd UDP message bag be next described, for identification the 3rd UDP message bag.
The detection method communicated to connect between the household electrical appliance of the embodiment of the present invention and mobile terminal, household electrical appliance and mobile terminal all send UDP message bag to the other side, if mobile terminal receives the second UDP message bag that household electrical appliance send, then judge that household electrical appliance communication connection is normal, whether the method sends UDP message bag to the other side by mobile terminal and household electrical appliance simultaneously normal with the communication detected between household electrical appliance and mobile terminal, and whether the UDP message bag whether being received household electrical appliance transmission by mobile terminal is normal to judge household electrical appliance communication connection, improve detection efficiency on the one hand, improve the success rate that household electrical appliance are connected with communication of mobile terminal on the other hand, improve Consumer's Experience.
Fig. 2 is the flow chart according to the detection method communicated to connect between the household electrical appliance of the present invention's specific embodiment and mobile terminal.
As shown in Figure 2, the detection method communicated to connect between this household electrical appliance and mobile terminal also comprises:
S210, mobile terminal sends the first UDP message bag to household electrical appliance.
S220, household electrical appliance send the second UDP message bag to mobile terminal.
S230, mobile terminal receives the second UDP message bag.
S240, household electrical appliance receive the first UDP message bag.
Particularly, mobile terminal sends the first UDP message bag by router to household electrical appliance, and household electrical appliance receive this first UDP message bag.
S250, household electrical appliance return the 3rd UDP message bag according to by the port different from transmission second UDP message bag to mobile terminal.
Particularly, after household electrical appliance receive the first UDP message bag, this packet resolved and generates corresponding packet, the 3rd namely above-mentioned UDP message bag, and by the port different from the second UDP message bag sent, the 3rd UDP message bag being returned to mobile terminal.S260, mobile terminal judges in Preset Time, whether receive the second UDP message bag and the 3rd UDP message bag.
Particularly, mobile terminal is by judging whether to receive the second UDP message bag in Preset Time and the 3rd UDP message bag judges, the whether fault of communicating of household electrical appliance and mobile terminal, break down if the UDP of household electrical appliance connects, ARP (the AddressResolutionProtocol of such as household electrical appliance, address resolution protocol) show fault, then household electrical appliance can be caused cannot to send UDP message bag.Wherein above-mentioned Preset Time can by system calibrating, and in Preset Time, UDP message bag can complete the step retransmitting and wait and send, and in this Preset Time, UDP message bag can be successfully completed normal process of transmitting.
S270, if receive the second UDP message bag, then judges that household electrical appliance communication connection is normal.
Particularly, if mobile terminal receives the second UDP message bag that household electrical appliance send, then represent that household electrical appliance can realize the transmission of data, it is normal that the UDP of household electrical appliance connects, and namely the communication connection of household electrical appliance is normal.
S280, if receive the 3rd UDP message bag, then judges that the communication connection of household electrical appliance is normal and points out user.
Particularly, in Preset Time, if mobile terminal does not receive the second UDP message bag, receive the 3rd UDP message bag, then judge that the communication connection of household electrical appliance is normal, the reason causing the second UDP message bag not to be received may be caused by other reasons.
Be appreciated that, in an embodiment of the present invention, if mobile terminal does not receive the second UDP message bag that household electrical appliance send, in order to what judge further to cause the reason of the transmission failure of this packet whether caused by the communication failure of household electrical appliance, the 3rd UDP message bag sent by the port different from transmission second UDP message bag by household electrical appliance is needed to judge, if one of them UDP message bag can be received, then represent that the reason causing another one UDP message bag not to be received is likely except the other reasons of communication connection fault causes, the port failure of such as household electrical appliance, if mobile terminal does not receive the second UDP message bag and the 3rd UDP message bag, then can judge that household electrical appliance communication connection is abnormal.
S290, if all do not receive the second UDP message bag and the 3rd UDP message bag, judges that household electrical appliance connect abnormal, and points out user.
Particularly, in an embodiment of the present invention, if in Preset Time, mobile terminal does not receive the second UDP message bag and the 3rd UDP message bag, then judge that household electrical appliance communication connection is abnormal, and user is pointed out, such as, if the ARP of household electrical appliance breaks down, household electrical appliance then can be caused to network unsuccessfully, thus cause sending the failure of UDP message bag, in addition, in an embodiment of the present invention, note can be passed through, the abnormal relevant information of household electrical appliance communication connection is sent in the mode such as corresponding application program of mobile terminal, to point out user.
Thus, the the second UDP message bag and the 3rd UDP message bag that household electrical appliance are sent by two different ports whether can be received according to mobile terminal, carry out the reason analyzing to obtain the communication barrier caused between household electrical appliance and mobile terminal, thus judge the fault that household electrical appliance communicate to connect or other fault, and then solve this fault to realize the good communication connection between household electrical appliance and mobile terminal.
The detection method communicated to connect between the household electrical appliance of the embodiment of the present invention and mobile terminal, household electrical appliance send the second UDP message bag to mobile terminal, the first UDP message bag that household electrical appliance mobile terminal receive sends, and return the 3rd UDP message bag by the port different from transmission second UDP message bag to mobile terminal, thus the situation of the second UDP message bag and the 3rd UDP message bag is received according to mobile terminal, whether the connection between analyst's electrical appliance and mobile terminal is normal, and the reason that malunion often causes communication failure can be analyzed, improve the success rate that household electrical appliance are connected with communication of mobile terminal, improve Consumer's Experience.
In order to realize above-described embodiment, the invention allows for a kind of mobile terminal.
Fig. 3 is the structural representation of mobile terminal according to an embodiment of the invention.As shown in Figure 3, this mobile terminal comprises: sending module 310, receiver module 320 and the first judge module 330.
Particularly, sending module 310 is for sending the first UDP message bag to household electrical appliance.For example, in one embodiment of the invention, before sending module 310 sends the first UDP message bag to household electrical appliance, mobile terminal connects by router and household electrical appliance, to realize and the contact of household electrical appliance, thus mobile terminal sends the request of the first UDP message bag to household electrical appliance by this connection, after household electrical appliance accept this request, sending module 310 starts to send the first UDP message bag to household electrical appliance, namely sending module 310 sends the first UDP message bag to router, and this first UDP message bag is sent to household electrical appliance by router.
The second UDP message bag that receiver module 320 sends for receiving household electrical appliance.
Particularly, in an embodiment of the present invention, while sending module 310 sends the first UDP message bag to household electrical appliance, household electrical appliance also can send the request of the second UDP message bag to mobile terminal, after mobile terminal determines this request, household electrical appliance send the second UDP message bag to mobile terminal, and receiver module 320 receives the second UDP message bag that household electrical appliance send.
First judge module 330, for when receiving the second UDP message bag, judges that household electrical appliance communication is normal.
Particularly, if receiver module 330 receives the second UDP message bag in Preset Time, then the first judge module 330 judges that household electrical appliance communication is normal, if namely the communication of household electrical appliance is normal, can encapsulate and the operations such as transmission the second UDP message bag, wherein above-mentioned Preset Time can by system calibrating, in Preset Time, UDP message bag can complete the step retransmitting and wait and send, and in this Preset Time, UDP message bag can be successfully completed normal process of transmitting.
The mobile terminal of the embodiment of the present invention, the first UDP message bag is sent to household electrical appliance by sending module, and the second UDP message bag of household electrical appliance transmission is received by receiver module, if receiver module receives the second UDP message bag that household electrical appliance send, first judge module then judges that household electrical appliance communication connection is normal, namely send UDP message bag to the other side by mobile terminal and household electrical appliance whether normal with the communication detected between household electrical appliance and mobile terminal simultaneously, and by the first judge module judge receiver module whether receive household electrical appliance send UDP message bag with judge household electrical appliance communicate to connect whether normal, improve detection efficiency on the one hand, improve the success rate that household electrical appliance are connected with communication of mobile terminal on the other hand, improve Consumer's Experience.
Fig. 4 is the structural representation of the mobile terminal according to the present invention's specific embodiment.
As shown in Figure 4, this mobile terminal comprises: sending module 310, receiver module 320, first judge module 330, second judge module 340 and the 3rd judge module 350.
Particularly, sending module 310 sends the first UDP message bag to household electrical appliance, and receiver module 320 also can be used for receiving household electrical appliance and receives the first UDP message bag, and by the 3rd UDP message bag that the port different from transmission second UDP message bag sends.After household electrical appliance receive the first UDP message bag, and by the port different from the second UDP message bag sent, the 3rd UDP message bag is sent to mobile terminal., the receiver module 320 in mobile terminal receives the 3rd UDP message bag.
Whether the second judge module 340 receives the second UDP message bag and the 3rd UDP message bag for judging in Preset Time.
Particularly, second judge module 340 is by judging whether to receive the second UDP message bag in Preset Time and the 3rd UDP message bag judges, the whether fault of communicating of household electrical appliance and mobile terminal, if there is fault, the ARP table fault of such as household electrical appliance, then can cause household electrical appliance cannot send UDP message bag.Wherein above-mentioned Preset Time can by system calibrating, and in Preset Time, UDP message bag can complete the step retransmitting and wait and send, and in this Preset Time, UDP message bag can be successfully completed normal process of transmitting.
3rd judge module 350 is not for all receiving the second UDP message bag and the 3rd UDP message bag during at receiver module 320, judges that household electrical appliance communication connection is abnormal, and user is pointed out.
Particularly, in an embodiment of the present invention, if in Preset Time, receiver module 320 does not receive the second UDP message bag and the 3rd UDP message bag, 3rd judge module 350 judgement household electrical appliance communication connection is abnormal, and user is pointed out, such as, if the ARP of household electrical appliance breaks down, household electrical appliance then can be caused to network unsuccessfully, thus cause sending the failure of UDP message bag, in addition, in an embodiment of the present invention, note can be passed through, the abnormal relevant information of household electrical appliance communication connection is sent in the mode such as corresponding application program of mobile terminal, to point out user.
3rd judge module 350, also for when receiver module 320 receives the 3rd UDP message bag, judges that household electrical appliance communication connection is normal, and points out user.
Particularly, in another embodiment of the present invention, in Preset Time, if the second judge module 340 judges that receiver module 320 does not receive the second UDP message bag, receive the 3rd UDP message bag, 3rd judge module 350 judgement household electrical appliance communication connection is normal, and points out user.
Be appreciated that, in an embodiment of the present invention, if receiver module 320 does not receive the second UDP message bag that household electrical appliance send, in order to what judge further to cause the reason of the transmission failure of this packet whether caused by the communication failure of household electrical appliance, the 3rd UDP message bag sent by the port different from transmission second UDP message bag by household electrical appliance is needed to judge, if sending module 310 can receive one of them UDP message bag, then represent that the reason causing another one UDP message bag not to be received is likely except the other reasons of communication connection fault causes, the port failure of such as household electrical appliance, if the second judge module 340 judges not receive the second UDP message bag and the 3rd UDP message bag, then can judge that household electrical appliance communication connection is abnormal.
Thus, whether the second judge module 340 can receive according to receiver module 320 the second UDP message bag and the 3rd UDP message bag that household electrical appliance are sent by two different ports, 3rd judge module 350 analyzes to obtain the reason of the communication barrier caused between household electrical appliance and mobile terminal to it, thus judge fault or other faults of the communication connection of household electrical appliance, and then solve this fault to realize the good communication connection between household electrical appliance and mobile terminal.
The mobile terminal of the embodiment of the present invention, the second UDP message bag of household electrical appliance transmission is received by receiver module, receiver module also receives the 3rd UDP message bag that household electrical appliance are sent to mobile terminal by the port different from transmission second UDP message bag, second judge module and the 3rd judge module receive the situation of the second UDP message bag and the 3rd UDP message bag according to receiver module, whether the connection between analyst's electrical appliance and mobile terminal is normal, and the reason that malunion often causes communication failure can be analyzed, improve the success rate that household electrical appliance are connected with communication of mobile terminal, improve Consumer's Experience.
In order to realize above-described embodiment, the invention allows for the detection system communicated to connect between a kind of household electrical appliance and mobile terminal.
Fig. 5 is the structural representation of the detection system communicated to connect between household electrical appliance and mobile terminal according to an embodiment of the invention.
As shown in Figure 5, the detection system communicated to connect between this household electrical appliance and mobile terminal comprises: mobile terminal 300 and household electrical appliance 400.
Particularly, the function of mobile terminal 300 describes the detailed functions of mobile terminal see specification Fig. 3 and Fig. 4, does not repeat them here.
Household electrical appliance 400 are for sending the second UDP message bag to mobile terminal 300, and household electrical appliance 400 are also for receiving the first UDP message bag, and return the 3rd UDP message bag by the port different from transmission second UDP message bag to mobile terminal.The detection system communicated to connect between the household electrical appliance of the embodiment of the present invention and mobile terminal, all UDP message bag is sent to the other side by household electrical appliance and mobile terminal, if mobile terminal receives the UDP message bag that household electrical appliance send, then judge that household electrical appliance communication connection is normal, namely send UDP message bag to the other side by mobile terminal and household electrical appliance whether normal with the communication detected between household electrical appliance and mobile terminal simultaneously, and whether the UDP message bag whether being received household electrical appliance transmission by mobile terminal is normal to judge household electrical appliance communication connection, improve detection efficiency on the one hand, improve the success rate that household electrical appliance are connected with communication of mobile terminal on the other hand, improve Consumer's Experience.
In describing the invention, the implication of " multiple " is at least two, such as two, three etc., unless otherwise expressly limited specifically.
In the description of this specification, specific features, structure, material or feature that the description of reference term " embodiment ", " some embodiments ", " example ", " concrete example " or " some examples " etc. means to describe in conjunction with this embodiment or example are contained at least one embodiment of the present invention or example.In this manual, to the schematic representation of above-mentioned term not must for be identical embodiment or example.And the specific features of description, structure, material or feature can combine in one or more embodiment in office or example in an appropriate manner.In addition, when not conflicting, the feature of the different embodiment described in this specification or example and different embodiment or example can carry out combining and combining by those skilled in the art.
Describe and can be understood in flow chart or in this any process otherwise described or method, represent and comprise one or more for realizing the module of the code of the executable instruction of the step of specific logical function or process, fragment or part, and the scope of the preferred embodiment of the present invention comprises other realization, wherein can not according to order that is shown or that discuss, comprise according to involved function by the mode while of basic or by contrary order, carry out n-back test, this should understand by embodiments of the invention person of ordinary skill in the field.
In flow charts represent or in this logic otherwise described and/or step, such as, the sequencing list of the executable instruction for realizing logic function can be considered to, may be embodied in any computer-readable medium, for instruction execution system, device or equipment (as computer based system, comprise the system of processor or other can from instruction execution system, device or equipment instruction fetch and perform the system of instruction) use, or to use in conjunction with these instruction execution systems, device or equipment.With regard to this specification, " computer-readable medium " can be anyly can to comprise, store, communicate, propagate or transmission procedure for instruction execution system, device or equipment or the device that uses in conjunction with these instruction execution systems, device or equipment.The example more specifically (non-exhaustive list) of computer-readable medium comprises following: the electrical connection section (electronic installation) with one or more wiring, portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasablely edit read-only memory (EPROM or flash memory), fiber device, and portable optic disk read-only memory (CDROM).In addition, computer-readable medium can be even paper or other suitable media that can print described program thereon, because can such as by carrying out optical scanner to paper or other media, then carry out editing, decipher or carry out process with other suitable methods if desired and electronically obtain described program, be then stored in computer storage.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, multiple step or method can with to store in memory and the software performed by suitable instruction execution system or firmware realize.Such as, if realized with hardware, the same in another embodiment, can realize by any one in following technology well known in the art or their combination: the discrete logic with the logic gates for realizing logic function to data-signal, there is the application-specific integrated circuit (ASIC) of suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
Those skilled in the art are appreciated that realizing all or part of step that above-described embodiment method carries is that the hardware that can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, this program perform time, step comprising embodiment of the method one or a combination set of.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, also can be that the independent physics of unit exists, also can be integrated in a module by two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, and the form of software function module also can be adopted to realize.If described integrated module using the form of software function module realize and as independently production marketing or use time, also can be stored in a computer read/write memory medium.
The above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.Although illustrate and describe embodiments of the invention above, be understandable that, above-described embodiment is exemplary, can not be interpreted as limitation of the present invention, and those of ordinary skill in the art can change above-described embodiment within the scope of the invention, revises, replace and modification.

Claims (10)

1. the detection method communicated to connect between household electrical appliance and mobile terminal, is characterized in that, comprises the following steps:
Mobile terminal sends the first UDP message bag to household electrical appliance;
Described household electrical appliance send the second UDP message bag to described mobile terminal;
If described mobile terminal receives described second UDP message bag, then described mobile terminal judges that the communication connection of described household electrical appliance is normal.
2. the detection method communicated to connect between household electrical appliance and mobile terminal as claimed in claim 1, is characterized in that, after described mobile terminal sends the first UDP message bag to household electrical appliance, also comprise:
Described household electrical appliance receive described first UDP message bag;
Described household electrical appliance return the 3rd UDP message bag by the port different from sending described second UDP message bag to described mobile terminal.
3. the detection method communicated to connect between household electrical appliance and mobile terminal as claimed in claim 2, is characterized in that, also comprise:
Described mobile terminal judges in Preset Time, whether receive described second UDP message bag and the 3rd UDP message bag;
If all do not receive described second UDP message bag and the 3rd UDP message bag, then described mobile terminal judges that the communication connection of described household electrical appliance is abnormal, and points out user.
4. the detection method communicated to connect between household electrical appliance and mobile terminal as claimed in claim 3, is characterized in that, also comprise:
If described mobile terminal receives described 3rd UDP message bag, then described mobile terminal judges that the communication connection of described household electrical appliance is normal, and points out described user.
5. a mobile terminal, is characterized in that, comprising:
Sending module, for sending the first UDP message bag to household electrical appliance;
Receiver module, for receiving the second UDP message bag that described household electrical appliance send;
First judge module, for when receiving described second UDP message bag, judges that the communication connection of described household electrical appliance is normal.
6. mobile terminal as claimed in claim 5, it is characterized in that, described receiver module also receives the first UDP message bag for receiving described household electrical appliance, and returns the 3rd UDP message bag by the port different from sending described second UDP message bag.
7. mobile terminal as claimed in claim 6, is characterized in that, also comprise:
Second judge module, for judging whether described receiver module receives described second UDP message bag and the 3rd UDP message bag in Preset Time;
3rd judge module, during for all not receiving described second UDP message bag and the 3rd UDP message bag at described receiver module, judges that the communication connection of described household electrical appliance is abnormal, and points out user.
8. mobile terminal as claimed in claim 7, is characterized in that, described 3rd judge module also for:
When described receiver module receives described 3rd UDP message bag, judge that the communication connection of described household electrical appliance is normal, and described user is pointed out.
9. the detection system communicated to connect between household electrical appliance and mobile terminal, is characterized in that, comprising:
Mobile terminal according to any one of claim 5 to 8;
Household electrical appliance, for sending the second UDP message bag to described mobile terminal.
10. the detection system communicated to connect between household electrical appliance and mobile terminal as claimed in claim 9, it is characterized in that, described household electrical appliance also for receiving described first UDP message bag, and return the 3rd UDP message bag by the port different from sending described second UDP message bag to described mobile terminal.
CN201510901872.XA 2015-12-08 2015-12-08 The detection method that is communicated to connect between household electrical appliance and mobile terminal, device Active CN105577427B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510901872.XA CN105577427B (en) 2015-12-08 2015-12-08 The detection method that is communicated to connect between household electrical appliance and mobile terminal, device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510901872.XA CN105577427B (en) 2015-12-08 2015-12-08 The detection method that is communicated to connect between household electrical appliance and mobile terminal, device

Publications (2)

Publication Number Publication Date
CN105577427A true CN105577427A (en) 2016-05-11
CN105577427B CN105577427B (en) 2018-12-18

Family

ID=55887124

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510901872.XA Active CN105577427B (en) 2015-12-08 2015-12-08 The detection method that is communicated to connect between household electrical appliance and mobile terminal, device

Country Status (1)

Country Link
CN (1) CN105577427B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106358147A (en) * 2016-09-28 2017-01-25 美的智慧家居科技有限公司 Method and system for connecting wireless network, household electric appliance and user terminal
CN108628178A (en) * 2017-03-17 2018-10-09 佛山市顺德区美的电热电器制造有限公司 A kind of control method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102315975A (en) * 2011-10-17 2012-01-11 杭州华三通信技术有限公司 Fault processing method based on intelligent resilient framework (IRF) system and equipment thereof
CN104113458A (en) * 2014-07-23 2014-10-22 海信集团有限公司 Mobile terminal and intelligent household appliance interconnecting method and device
US20140324950A1 (en) * 2013-04-24 2014-10-30 Compal Electronics, Inc. Connection method and management server
US20150156166A1 (en) * 2013-11-29 2015-06-04 Acer Incorporated Communication method and mobile electronic device using the same
CN104993979A (en) * 2015-07-22 2015-10-21 上海迈外迪网络科技有限公司 Network connection monitoring method, terminal equipment and communication system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102315975A (en) * 2011-10-17 2012-01-11 杭州华三通信技术有限公司 Fault processing method based on intelligent resilient framework (IRF) system and equipment thereof
US20140324950A1 (en) * 2013-04-24 2014-10-30 Compal Electronics, Inc. Connection method and management server
US20150156166A1 (en) * 2013-11-29 2015-06-04 Acer Incorporated Communication method and mobile electronic device using the same
CN104113458A (en) * 2014-07-23 2014-10-22 海信集团有限公司 Mobile terminal and intelligent household appliance interconnecting method and device
CN104993979A (en) * 2015-07-22 2015-10-21 上海迈外迪网络科技有限公司 Network connection monitoring method, terminal equipment and communication system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106358147A (en) * 2016-09-28 2017-01-25 美的智慧家居科技有限公司 Method and system for connecting wireless network, household electric appliance and user terminal
CN108628178A (en) * 2017-03-17 2018-10-09 佛山市顺德区美的电热电器制造有限公司 A kind of control method and device

Also Published As

Publication number Publication date
CN105577427B (en) 2018-12-18

Similar Documents

Publication Publication Date Title
US11722392B2 (en) Network adapter node performance detection method and apparatus, device, and readable medium
CN104935593A (en) Data message transmitting method and device
CN107547300B (en) Network quality detection method and device
CN102571492B (en) Method and device for detecting failure of routing equipment
CN103259699B (en) Method of testing, system and client and service end
CN106559280A (en) Bidirectional forwarding detection (BFD) method and device
CN105471678A (en) Method and system for detecting networking failure reason of household appliance and mobile terminal
CN102231687A (en) Method and device for detecting link failure
CN108494972A (en) A kind of message prompt method, prompting message device and mobile terminal
US8687501B1 (en) Automatic detection and configuration of Ethernet OAM protocols
CN105577427A (en) Detection method and device for communication connection between household appliance and mobile terminal
CN107948000B (en) Method, device and system for switching main channel and standby channel
CN102546304B (en) BFD detection method, equipment and system
CN110278577A (en) The sending control method and device of data
CN101610181A (en) Realize method, the Apparatus and system of fault detect
CN105515970B (en) A kind of method and apparatus being used for transmission message
CN105553762A (en) Communication method and communication system between domestic appliance and mobile terminal and corresponding devices
CN105337801A (en) State machine-based test case design method applicable to switch protocol
CN106817316B (en) Method, device and system for detecting path MTU
CN116436540A (en) LED display screen receiving card testing method and device, testing card and storage medium
CN105357078A (en) Detection method and system of network state of intelligent equipment
CN109587409B (en) Video processor self-adaptive cascade method, device and system
US10491421B2 (en) Ring protection network module
CN110971436B (en) Service processing method and device and electronic equipment
CN114024870A (en) Network connectivity detection method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200331

Address after: 335400 No. 1 Industrial Park, Yingtan, Jiangxi, Guixi

Patentee after: MEIZHI PHOTOELECTRIC TECHNOLOGY Co.,Ltd.

Address before: 528311, Guangdong, Foshan Town, Shunde District, Beijiao, 6 beautiful avenue, beautiful headquarters building, B District, 26-28 floor

Patentee before: MIDEA GROUP Co.,Ltd.

TR01 Transfer of patent right