CN105791032A - Method and device for testing transmission protocol between intelligent household appliance and mobile terminal - Google Patents

Method and device for testing transmission protocol between intelligent household appliance and mobile terminal Download PDF

Info

Publication number
CN105791032A
CN105791032A CN201610294047.2A CN201610294047A CN105791032A CN 105791032 A CN105791032 A CN 105791032A CN 201610294047 A CN201610294047 A CN 201610294047A CN 105791032 A CN105791032 A CN 105791032A
Authority
CN
China
Prior art keywords
host
protocol
intelligent appliance
test
testing
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
CN201610294047.2A
Other languages
Chinese (zh)
Other versions
CN105791032B (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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201610294047.2A priority Critical patent/CN105791032B/en
Publication of CN105791032A publication Critical patent/CN105791032A/en
Application granted granted Critical
Publication of CN105791032B publication Critical patent/CN105791032B/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
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/18Protocol analysers
    • 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/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Automation & Control Theory (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to a method and a device for testing a transmission protocol between an intelligent household appliance and a mobile terminal. Wherein, the method comprises the following steps: importing a transmission protocol to be tested in an upper computer; carrying out instruction division on a transmission protocol to obtain a plurality of protocol test instructions; sending a protocol test instruction to be tested to the intelligent household appliance; and receiving test result data returned by the intelligent household appliance. It obtains the transmission protocol to be tested by means of importing. And when the test is carried out, only the protocol test instruction divided from the imported transmission protocol needs to be sent to the intelligent household appliance. When the transmission protocol is tested, a tester does not need to manually compile bytes to be tested, and the problem of high error rate of manual compilation of the test protocol is avoided.

Description

The method of testing of host-host protocol and device between intelligent appliance and mobile terminal
Technical field
The present invention relates to protocol test technical field, particularly relate to method of testing and the device of host-host protocol between a kind of intelligent appliance and mobile terminal.
Background technology
Along with the successive optimization of the development of Smart Home and the constantly universal of smart mobile phone and performance, it is controlled becoming a new trend trend to Smart Home by network.
Present stage has been provided with intelligent object in air-conditioning so that it is be connectable to network, receives the control of intelligent terminal.Wherein, between intelligent terminal's (smart mobile phone) and air-conditioning, communication uses JSON (JavaScriptObjectNotation is the data interchange format of a kind of lightweight) agreement.So JSON agreement accounts for particularly important effect in the reliability of communication.Therefore, the test of JSON agreement is also just particularly important.
But carrying out in test process to JSON agreement, owing to JSON protocol format is complex, test point is more, in test data compiling procedure, it is easy to that mistake occurs, causes test inaccurate.
Summary of the invention
Based on this, it is necessary to complicated for JSON protocol test in conventional art, it is easy to the problem made mistakes, it is provided that the method for testing of host-host protocol and device between a kind of intelligent appliance and mobile terminal more preferably.
For realizing the method for testing of host-host protocol between a kind of intelligent appliance and the mobile terminal that the object of the invention provides, comprise the following steps:
Importing to carry out the host-host protocol tested;
Described host-host protocol is carried out instruction division, obtains multiple protocol test instruction;
Transmission to carry out the described protocol test instruction tested to intelligent appliance;
Receive the test result data that described intelligent appliance returns.
As the embodiment of the method for testing of host-host protocol between a kind of intelligent appliance and mobile terminal, described host-host protocol includes JSON agreement.
As the embodiment of the method for testing of host-host protocol between a kind of intelligent appliance and mobile terminal, described intelligent appliance includes air-conditioning.
As the embodiment of the method for testing of host-host protocol between a kind of intelligent appliance and mobile terminal, the mode entirety that form imports is adopted to import the host-host protocol carrying out testing.
As the embodiment of the method for testing of host-host protocol between a kind of intelligent appliance and mobile terminal, described protocol test instruction is made up of the combination of a byte in described host-host protocol or multiple byte.
As the embodiment of the method for testing of host-host protocol between a kind of intelligent appliance and mobile terminal, send in step and to carry out the described protocol test instruction tested to intelligent appliance, also include setting up being connected with between described intelligent appliance before, and obtain the step of the physical address of described intelligent appliance;And
Described transmission to carry out the described protocol test instruction the tested step to intelligent appliance, sends according to the described physical address obtained and to carry out the described protocol test instruction tested to intelligent appliance.
As the embodiment of the method for testing of host-host protocol between a kind of intelligent appliance and mobile terminal, further comprising the steps of:
Protocol test instruction corresponding to corresponding intelligent appliance and test result data is stored respectively according to described physical address.
As the embodiment of the method for testing of host-host protocol between a kind of intelligent appliance and mobile terminal, further comprising the steps of:
The response rate of protocol test instruction is added up by described intelligent appliance, obtains statistical result.
Based on the test device of host-host protocol between a kind of intelligent appliance and the mobile terminal of same inventive concept, including:
Import module, for importing the host-host protocol carrying out testing;Wherein, described host-host protocol is JSON agreement;
Instruction divides module, for described host-host protocol is carried out instruction division, obtains multiple protocol test instruction;
Sending module, to carry out the described protocol test instruction tested to intelligent appliance for sending;
Receiver module, for receiving the test result data that described intelligent appliance returns.
Based on the test device of host-host protocol between a kind of intelligent appliance and the mobile terminal of same inventive concept, also include:
Address acquisition module, foundation and the connection between described intelligent appliance, and obtain the physical address of described intelligent appliance;
Memory module, for storing protocol test instruction corresponding to corresponding intelligent appliance and test result data respectively according to described physical address.
The beneficial effect comprise that the method for testing of host-host protocol between intelligent appliance provided by the invention and mobile terminal, obtained the host-host protocol needing test by the mode imported.And have only to when testing the protocol test instruction marked off from the host-host protocol imported is sent to intelligent appliance.So, when being transmitted protocol test, it is not necessary to tester manually writes the byte needing test, it is to avoid test protocol manually writes the problem that error rate is high.And the host-host protocol imported carries out the division of protocol test instruction automatically, it is achieved the comprehensive covering to host-host protocol test point, effectively prevent host-host protocol test point test leakage.It addition, tester is after upper computer end only need to import host-host protocol, then the mode directly selected can be adopted to carry out the test of each test point, be greatly improved the testing efficiency of host-host protocol.Between the intelligent appliance and the mobile terminal that provide, the test device of host-host protocol also has aforesaid advantage simultaneously.
Accompanying drawing explanation
Fig. 1 is the flow chart of a specific embodiment of the method for testing of host-host protocol between a kind of intelligent appliance of the present invention and mobile terminal;
Fig. 2 is the flow chart of another specific embodiment of the method for testing of host-host protocol between a kind of intelligent appliance of the present invention and mobile terminal;
Fig. 3 is annexation schematic diagram between host computer and air-conditioning in the method for testing of host-host protocol between a kind of intelligent appliance of the present invention and mobile terminal;
Fig. 4 is the flow chart of another instantiation of the method for testing of host-host protocol between a kind of intelligent appliance of the present invention and mobile terminal;
Fig. 5 is the flow chart of the still another embodiment of the method for testing of host-host protocol between a kind of intelligent appliance of the present invention and mobile terminal;
Fig. 6 is a specific embodiment structural representation of the test device of host-host protocol between a kind of intelligent appliance of the present invention and mobile terminal;
Fig. 7 is the structural representation of another specific embodiment of the test device of host-host protocol between a kind of intelligent appliance of the present invention and mobile terminal.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearly understand, illustrate below in conjunction with the method for testing of host-host protocol and the detailed description of the invention of device between accompanying drawing intelligent appliance and mobile terminal to the present invention.Should be appreciated that specific embodiment described herein is only in order to explain the present invention, is not intended to limit the present invention.
An embodiment of the method for testing of host-host protocol between intelligent appliance of the present invention and mobile terminal, as it is shown in figure 1, comprise the following steps:
S100, imports the host-host protocol carrying out testing.
It should be noted that the method for testing of the embodiment of the present invention utilizes a host computer as a virtual terminal, host-host protocol to be tested.Most of steps flow chart of this method of testing is also all realized by host computer (virtual terminal) auxiliary.And host computer can pass through network and intelligent appliance communication, as being connected with air conditioning unit foundation by TCP (TransmissionControlProtocol transmission control protocol)/UDP (UserDatagramProtocol, UDP).Host computer is set up with intelligent appliance after being connected, and tests by transmitting the data mutual transmission transmission protocol of necessity.
Certainly, step S100 imports the host-host protocol carrying out testing, and is that the host-host protocol that will carry out testing imports in the host computer performing method of testing.
Wherein, described intelligent appliance includes but not limited to equipment such as the air-conditioning of Intelligent communication module, hot water machine, new blower fans.
As an example method of testing being illustrated with air-conditioning in follow-up explanation, but not illustrate that this method of testing is served only in air-conditioning, in other intelligent appliances, concrete testing process is essentially identical.
It addition, for importing host-host protocol in host computer, whole agreement can be imported in table form, adopt this lead-in mode to be easy to the corresponding procedure identification host-host protocol in host computer, the treatment effeciency that method of testing is overall can be increased.Certainly may be used without other modes and import the host-host protocol needing test.As mode one by one can be adopted to import host-host protocol, it is slightly slow that this mode imports host-host protocol speed.If but adopt multithreading to synchronize the host-host protocol having been introduced into is resolved while importing host-host protocol, then the impact of this method of testing disposed of in its entirety speed can be substantially reduced by lead-in mode one by one.Even adopting the resolution speed of the mode host-host protocol imported one by one faster, in conjunction with multiple threads mode, between intelligent appliance and mobile terminal, the test bulk velocity of host-host protocol also can be faster.
The host-host protocol carrying out testing in the present invention includes but is not limited to JSON (JavaScriptObjectNotation) agreement commonly used.
S200, carries out instruction division to host-host protocol, obtains multiple protocol test instruction.
The advantage of the method for testing of the embodiment of the present invention is in that, import host-host protocol in host computer after, directly the host-host protocol having been introduced into is carried out the division of instruction.Described instruction division refers to and the host-host protocol of importing is divided into the statement for testing.As for JSON agreement, any one byte in agreement can be transmitted control instruction separately as one and air-conditioning is controlled.Therefore, the instruction for host-host protocol divides, and can divide by byte, namely using each byte as an independent protocol test instruction.According to demand, multiple bytes can also be collectively formed a protocol test instruction.Certainly, as when dividing using each byte as a protocol test instruction, control command can also be combined and constitute mixture control order when testing, it is also possible to think to reconfigure multiple protocol test instructions marked off to constitute a new protocol test instruction.
Wherein, described protocol test instruction then refers to be transferred in intelligent appliance equipment, and household electrical appliances are controlled, and household electrical appliances can make certain control command reacting (feedback information) accordingly.
Protocol test instruction continues executing with below step after having divided:
S300, sends and to carry out the protocol test instruction tested to intelligent appliance.
The method of testing of the embodiment of the present invention is realized by host computer, and this step is carried out the transmission of protocol test instruction and can be realized by the network communication module of host computer.The protocol test instruction that will carry out testing by the network communication module of host computer is sent to intelligent appliance.Certainly, when network is unimpeded, protocol test instruction can be sent to intelligent appliance.After intelligent appliance receives described protocol test instruction, there is a change in the load of air-conditioning, some operational factors of air-conditioning also just change.Now, the operational factor that air-conditioning receives after controlling can be fed back to host computer by air-conditioning, as test result.
More preferably, wherein in an embodiment, after host-host protocol is divided into multiple protocol test instruction by step S200, further each protocol test instruction is shown on the display interface of host computer.Thus tester can adopt the mode directly chosen, select the protocol test instruction carrying out testing and be sent to intelligent appliance.
And in another embodiment, it is also possible to divided protocol test instruction is arranged according to preset order (such as lexicographic order etc.), and automatically sends protocol test instruction to intelligent appliance according to removal of mines order in step S300.And wait the test result that household electrical appliances return.So, it is possible the test of automatic, the intelligent host-host protocol completing to import.
S400, receives the test result data that intelligent appliance returns.
After receiving the test result data that intelligent appliance returns, then complete the test of Current protocol test instruction, the need to, then continue to send other protocol test instructions to intelligent appliance, so that other partial codes or byte to host-host protocol are tested, until completing the test of all host-host protocols.
The method of testing of host-host protocol between intelligent appliance and the mobile terminal of the embodiment of the present invention, is built virtual terminal, and is obtained the host-host protocol needing test by the mode imported.And have only to when testing the protocol test instruction marked off from the host-host protocol imported is sent to intelligent appliance.So, when being transmitted protocol test, it is not necessary to tester manually writes the byte needing test, it is to avoid test protocol manually writes the problem that error rate is high.And the host-host protocol imported carries out the division of protocol test instruction automatically, it is achieved the comprehensive covering to host-host protocol test point, effectively prevent host-host protocol test point test leakage.It addition, tester is after upper computer end only need to import host-host protocol, then the mode directly selected can be adopted to carry out the test of each test point, be greatly improved the testing efficiency of host-host protocol.
As in figure 2 it is shown, send the protocol test instruction carrying out testing to intelligent appliance in step, before further comprising the steps of:
S030, foundation and the connection between intelligent appliance, and obtain the physical address of intelligent appliance.
In the method for testing of the embodiment of the present invention, the transmission of protocol test instruction is to be undertaken by the network communication module in host computer.Host computer can pass through the network communication module of self and be connected with the Internet, and sent the protocol test instruction to test by the Internet.
After obtaining the physical address of intelligent appliance, step S400, transmission to carry out the described protocol test instruction tested to intelligent appliance, then further can send according to the described physical address obtained and to carry out the described protocol test instruction tested to intelligent appliance, S400 '.
Concrete, more for cloud control quantity, and it is divided into the system of multiple wifi module, as it is shown on figure 3, system includes N number of wifi module, and each module is connected to N number of air-conditioning.So, just including N*N air-conditioning in whole system, wherein N is the positive integer more than 1.Host computer 100 can be set up with all air-conditionings in system and be connected the test being transmitted agreement.Use the test mode of the embodiment of the present invention when obtaining the MAC Address of air-conditioning, can first obtain the address of upper layer module, after being connected with upper layer module binding, further obtain the MAC Address of concrete air-conditioning.Concrete execution process, referring to Fig. 4, comprises the following steps:
First in virtual terminal (host computer), import host-host protocol, step S101 in figure;
Adopt UDP (UserDatagramProtocol, UDP) mode to set up with a wifi module again to be connected, step S102 in figure;
After successful connection, virtual terminal obtains the physical address (MAC Address) of current wifi module, step S103 in figure;
After obtaining address, virtual terminal is bound with current wifi module, step S104 in figure;
After binding success, virtual terminal continues to obtain the physical address (MAC Address) of the air-conditioning being currently transmitted protocol communication, step S105 in figure.
After getting the physical address of air-conditioning, then the air-conditioning that virtual terminal utilizes this address corresponding is transmitted the test of agreement.
Figure 4, it is seen that this testing process also includes two judge step, S1021 and S1041.Wherein step S1021 is a judgement to host computer Yu wifi module connection, it is judged that both whether successful connections, under being not connected with successful situation, can be in the process to be connected such as, until both set up network and connect, it is possible to till smooth and easy communication.And step S1401 is a step whether judging binding success, only after binding, the current air-conditioning to find could be navigated under current wifi module by host computer.Ensure to obtain the accuracy of whole system structure.
The method of testing of this embodiment include two judge step after, the communication between host computer and air-conditioning can be made more stable also more smooth and easy.
More preferably, between the intelligent appliance and mobile terminal of another embodiment in the method for testing of host-host protocol, as it is shown in figure 5, further comprising the steps of:
S500, stores protocol test instruction corresponding to corresponding intelligent appliance and test result data respectively according to physical address.
In this embodiment, virtual terminal (host computer) uses MAC Address to be mark, the test result classification display under different wifi module.Conveniently check modules and each air-conditioning corresponding concrete host-host protocol test data, to contingency question investigation significant.
And as a kind of embodiment, host computer can by the air-conditioning quantity under the cloud control quantity of high in the clouds direct access systems and corresponding wifi module thereof.And also can be displayed in the display interface of host computer.So, further facilitating the operation of tester, operator can adopt the mode directly chosen to select the air-conditioning to send.
More preferably, when utilizing the test that host computer is transmitted agreement, additionally it is possible to the response rate of protocol test instruction is added up by intelligent appliance, obtains statistical result.It is thus possible to ensure that the response rate of communication is up to standard.
And, between the intelligent appliance and mobile terminal of the present invention in the method for testing of host-host protocol, after tester chooses the protocol test instruction being sent to intelligent terminal, it automatically can be adopted AES encryption mode to be encrypted by host computer before sending described protocol test instruction, and the transmission data needing deciphering are decrypted process.Reduce the complexity of host-host protocol test.
More preferably, it is also possible to utilizing the display device in host computer to show the test result that air-conditioning (intelligent appliance) returns and the difference that test result is according to physical address in real time, sub-module displays, it is simple to check.
Based on same inventive concept, the present invention also provides for the test device of host-host protocol between a kind of intelligent appliance and mobile terminal, owing to the principle of this device solution problem is similar to the method for testing of host-host protocol between aforementioned a kind of intelligent appliance and mobile terminal, therefore, the enforcement of this device can realize according to the concrete steps of preceding method, repeats part and repeats no more.
The test device of host-host protocol between intelligent appliance and the mobile terminal of one embodiment of the invention, as shown in Figure 6, including importing module 110, instruction division module 120, sending module 130 and receiver module 140.
Wherein, import module 110, for importing the host-host protocol carrying out testing;Wherein, host-host protocol is JSON agreement;Instruction divides module 120, for host-host protocol is carried out instruction division, obtains multiple protocol test instruction;Sending module 130, to carry out the protocol test instruction tested to intelligent appliance for sending;Receiver module 140, for receiving the test result data that intelligent appliance returns.
The test device of the embodiment of the present invention is also provided in host computer, and as a virtual terminal, host computer is transmitted protocol test.
Wherein, intelligent appliance includes being provided with the energy smart machines such as the air-conditioning of network communication module, water heater.And this device is when importing host-host protocol, the mode entirety of form can be adopted to import the host-host protocol carrying out testing, it would however also be possible to employ the mode imported one by one, import the host-host protocol carrying out testing by character one by one.
Further, the protocol test instruction of division can be made up of a byte, it is possible to has multiple byte to constitute.And protocol test instruction can adopt the mode of combination to be sent to intelligent appliance (such as air-conditioning).And when adopting compound mode to air-conditioning transmission protocol test instruction, module is integrated in the instruction in this device can be integrated into one by multiple protocol test instructions automatically, is sent to air-conditioning in the lump.
More preferably, wherein in an embodiment, also including encryption/decryption module, before described protocol test instruction is sent to intelligent appliance, described encryption/decryption module can adopt AES encryption mode automatically it to be encrypted.And the test result that intelligent appliance equipment returns also can be decrypted process by described deciphering module automatically.Reduce the difficulty of test of host-host protocol.
The test device of host-host protocol between intelligent appliance and the mobile terminal of the embodiment of the present invention, obtains the host-host protocol needing test by the mode imported.And have only to when testing the protocol test instruction marked off from the host-host protocol imported is sent to intelligent appliance.So, when being transmitted protocol test, it is not necessary to tester manually writes the byte needing test, it is to avoid test protocol manually writes the problem that error rate is high.And the host-host protocol imported carries out the division of protocol test instruction automatically, it is achieved the comprehensive covering to host-host protocol test point, effectively prevent host-host protocol test point test leakage.It addition, tester is after upper computer end only need to import host-host protocol, then the mode directly selected can be adopted to carry out the test of each test point, be greatly improved the testing efficiency of host-host protocol.
In another embodiment, as it is shown in fig. 7, also include address acquisition module 131 and memory module 150.Wherein, address acquisition module 131 is for connecting intelligent appliance by the network communication module of host computer, and obtains the physical address of intelligent appliance.Memory module 150 for storing protocol test instruction corresponding to corresponding intelligent appliance and test result data respectively according to physical address.
When system comprises multiple intelligent appliance, multiple intelligent appliances are likely to be grouped under several wifi module, now, described address acquisition module 131 is when obtaining the physical address of intelligent appliance, also can obtain the physical address of upper strata wifi module corresponding to current intelligent appliance simultaneously, thus, in host computer storage air-conditioning (intelligent appliance) physical address can displaying accurate, stratified its in the position of system.
Test result is stored for mark by the test device of this embodiment with MAC Address, is that test network is clear.Solve the problem that under multiple system, the data volume of JSON protocol test existence is big.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method and device, can be by the hardware that computer program carrys out instruction relevant to complete, described program can be stored in a computer read/write memory medium, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc..
Each technical characteristic of embodiment described above can combine arbitrarily, for making description succinct, the all possible combination of each technical characteristic in above-described embodiment is not all described, but, as long as the combination of these technical characteristics is absent from contradiction, all it is considered to be the scope that this specification is recorded.
Embodiment described above only have expressed the several embodiments of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that, for the person of ordinary skill of the art, without departing from the inventive concept of the premise, it is also possible to making some deformation and improvement, these broadly fall into protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.

Claims (10)

1. the method for testing of a host-host protocol between intelligent appliance and mobile terminal, it is characterised in that comprise the following steps:
Importing to carry out the host-host protocol tested;
Described host-host protocol is carried out instruction division, obtains multiple protocol test instruction;
Transmission to carry out the described protocol test instruction tested to intelligent appliance;
Receive the test result data that described intelligent appliance returns.
2. the method for testing of host-host protocol between intelligent appliance according to claim 1 and mobile terminal, it is characterised in that described host-host protocol includes JSON agreement.
3. the method for testing of host-host protocol between intelligent appliance according to claim 1 and mobile terminal, it is characterised in that described intelligent appliance includes air-conditioning.
4. the method for testing of host-host protocol between intelligent appliance according to claim 1 and mobile terminal, it is characterised in that described importing to carry out the step of the host-host protocol tested, including: adopt the mode entirety that form imports to import the host-host protocol carrying out testing.
5. the method for testing of host-host protocol between intelligent appliance according to claim 1 and mobile terminal, it is characterised in that described protocol test instruction is made up of the combination of a byte in described host-host protocol or multiple byte.
6. the method for testing of host-host protocol between intelligent appliance according to claim 1 and mobile terminal, it is characterized in that, send in step and to carry out the described protocol test instruction tested to intelligent appliance, also include setting up the connection between described intelligent appliance before, and obtain the step of the physical address of described intelligent appliance;And
Described transmission to carry out the described protocol test instruction the tested step to intelligent appliance, sends according to the described physical address obtained and to carry out the described protocol test instruction tested to intelligent appliance.
7. the method for testing of host-host protocol between intelligent appliance according to claim 6 and mobile terminal, it is characterised in that further comprising the steps of:
Protocol test instruction corresponding to corresponding intelligent appliance and test result data is stored respectively according to described physical address.
8. the method for testing of host-host protocol between intelligent appliance according to claim 1 and mobile terminal, it is characterised in that further comprising the steps of:
The response rate of protocol test instruction is added up by described intelligent appliance, obtains statistical result.
9. the test device of a host-host protocol between intelligent appliance and mobile terminal, it is characterised in that including:
Import module, for importing the host-host protocol carrying out testing;Wherein, described host-host protocol is JSON agreement;
Instruction divides module, for described host-host protocol is carried out instruction division, obtains multiple protocol test instruction;
Sending module, to carry out the described protocol test instruction tested to intelligent appliance for sending;
Receiver module, for receiving the test result data that described intelligent appliance returns.
10. the test device of host-host protocol between intelligent appliance according to claim 9 and mobile terminal, it is characterised in that also include:
Address acquisition module, foundation and the connection between described intelligent appliance, and obtain the physical address of described intelligent appliance;
Memory module, for storing protocol test instruction corresponding to corresponding intelligent appliance and test result data respectively according to described physical address.
CN201610294047.2A 2016-05-04 2016-05-04 Method and device for testing transmission protocol between intelligent household appliance and mobile terminal Active CN105791032B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610294047.2A CN105791032B (en) 2016-05-04 2016-05-04 Method and device for testing transmission protocol between intelligent household appliance and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610294047.2A CN105791032B (en) 2016-05-04 2016-05-04 Method and device for testing transmission protocol between intelligent household appliance and mobile terminal

Publications (2)

Publication Number Publication Date
CN105791032A true CN105791032A (en) 2016-07-20
CN105791032B CN105791032B (en) 2018-12-07

Family

ID=56400722

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610294047.2A Active CN105791032B (en) 2016-05-04 2016-05-04 Method and device for testing transmission protocol between intelligent household appliance and mobile terminal

Country Status (1)

Country Link
CN (1) CN105791032B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108781174A (en) * 2018-05-31 2018-11-09 深圳市蚂蚁雄兵物联技术有限公司 Equipment connection method, device, electronic equipment and readable storage medium storing program for executing
CN109059198A (en) * 2018-07-23 2018-12-21 珠海格力电器股份有限公司 Automatic engineering debugging method, device and system for equipment and computer equipment
CN110784379A (en) * 2019-11-01 2020-02-11 北京云迹科技有限公司 Internet of things module testing method, intermediate equipment, terminal equipment and testing system
CN112102526A (en) * 2020-08-12 2020-12-18 中国电力科学研究院有限公司 Test method and system for electric intelligent internet of things lock
CN113468033A (en) * 2021-06-23 2021-10-01 青岛海尔科技有限公司 Testing method and system for household appliance
CN115314427A (en) * 2022-10-11 2022-11-08 荣耀终端有限公司 Protocol testing method, electronic equipment and chip system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072135A (en) * 2007-06-29 2007-11-14 杭州华三通信技术有限公司 Wireless LAN testing method and system
US20070280247A1 (en) * 2006-03-13 2007-12-06 Kabushiki Kaisha Toshiba Method and apparatus for detecting VPN communication
CN101500255A (en) * 2008-02-03 2009-08-05 中国移动通信集团公司 Mobile terminal test method and system
CN103532772A (en) * 2012-09-29 2014-01-22 深圳市友讯达科技发展有限公司 Method and device for network hierarchy test
CN103812729A (en) * 2014-02-19 2014-05-21 北京理工大学 Network protocol fuzz testing method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070280247A1 (en) * 2006-03-13 2007-12-06 Kabushiki Kaisha Toshiba Method and apparatus for detecting VPN communication
CN101072135A (en) * 2007-06-29 2007-11-14 杭州华三通信技术有限公司 Wireless LAN testing method and system
CN101500255A (en) * 2008-02-03 2009-08-05 中国移动通信集团公司 Mobile terminal test method and system
CN103532772A (en) * 2012-09-29 2014-01-22 深圳市友讯达科技发展有限公司 Method and device for network hierarchy test
CN103812729A (en) * 2014-02-19 2014-05-21 北京理工大学 Network protocol fuzz testing method and device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108781174A (en) * 2018-05-31 2018-11-09 深圳市蚂蚁雄兵物联技术有限公司 Equipment connection method, device, electronic equipment and readable storage medium storing program for executing
CN108781174B (en) * 2018-05-31 2021-09-17 深圳市蚂蚁雄兵物联技术有限公司 Device connection method and device, electronic device and readable storage medium
CN109059198A (en) * 2018-07-23 2018-12-21 珠海格力电器股份有限公司 Automatic engineering debugging method, device and system for equipment and computer equipment
CN110784379A (en) * 2019-11-01 2020-02-11 北京云迹科技有限公司 Internet of things module testing method, intermediate equipment, terminal equipment and testing system
CN112102526A (en) * 2020-08-12 2020-12-18 中国电力科学研究院有限公司 Test method and system for electric intelligent internet of things lock
CN113468033A (en) * 2021-06-23 2021-10-01 青岛海尔科技有限公司 Testing method and system for household appliance
CN113468033B (en) * 2021-06-23 2024-03-26 青岛海尔科技有限公司 Household appliance testing method and system
CN115314427A (en) * 2022-10-11 2022-11-08 荣耀终端有限公司 Protocol testing method, electronic equipment and chip system

Also Published As

Publication number Publication date
CN105791032B (en) 2018-12-07

Similar Documents

Publication Publication Date Title
CN105791032A (en) Method and device for testing transmission protocol between intelligent household appliance and mobile terminal
CN106411667B (en) Intelligent home multi-cloud control method and system based on network chip
CN105119749B (en) A kind of method and system of home gateway local batch upgrade
CN111372232A (en) Method and system for first connection pairing of electric energy meter and Bluetooth circuit breaker
US20060106912A1 (en) Outdoor-unit software upgrade system and method
CN108592313A (en) Wireless networking method of air conditioner, air conditioner internal unit and air conditioner external unit
CN109005188A (en) A kind of data transmission device and method, system, equipment, computer storage medium
CN107678771A (en) A kind of method for optimizing battery management system online upgrading
CN105047135A (en) Lamp panel module group, box body, and LED display screen system
CN109839548A (en) Interface test method, apparatus and system
CN104699524A (en) SOC (system on chip) chip verifying system and method for dynamic simulation of static compilation
US20150095518A1 (en) I/o device sharing system and i/o device sharing method
CN101324363A (en) Air conditioner monitoring system
JP5841457B2 (en) Test equipment and test modules
CN102831714A (en) Multi-protocol type power collection system, data exchange method of multi-protocol type power collection system and off-line power selling system
CN110430293A (en) Pairing method and device of multi-split system, storage medium and processor
US20130231886A1 (en) Test apparatus and test module
CN111597083B (en) Testing system of intelligent terminal
CN106708688A (en) Module testing method and terminal
CN115718641A (en) Memory simulation method and device, storage medium and electronic device
CN111541589B (en) Method, device and equipment for testing expansion module interface of intelligent terminal
CN106549840A (en) Data interaction system, method and device
CN106685588B (en) Adapter, data transmission system and method
CN103576019B (en) Testing tool, testing system and testing method for electrical equipment
CN114576828B (en) Communication management method, bifurcation box, multi-split air conditioning system and storage medium

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