CN103618704A - Method for communication between interface client side and server - Google Patents

Method for communication between interface client side and server Download PDF

Info

Publication number
CN103618704A
CN103618704A CN201310571915.3A CN201310571915A CN103618704A CN 103618704 A CN103618704 A CN 103618704A CN 201310571915 A CN201310571915 A CN 201310571915A CN 103618704 A CN103618704 A CN 103618704A
Authority
CN
China
Prior art keywords
server
interface
client
clean culture
client side
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310571915.3A
Other languages
Chinese (zh)
Inventor
唐林
陈颖
马强
陈锡林
李嘉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric 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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN201310571915.3A priority Critical patent/CN103618704A/en
Publication of CN103618704A publication Critical patent/CN103618704A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention relates to a method for communication between an interface client side and a server. The interface client side and the server which are connected through the network are adopted in the method, the interface client side and the server are respectively provided with a unicast sending module based on a UDP and a unicast receiving module based on the UDP, and data transmission is conducted between the interface client side and the server under the UDP through the unicast sending module and the unicast receiving module. According to the method for communication between the interface client side and the sever, the client side can send a large number of control commands in a short time to be in communication with the remote server, and a remote user interface server can also receive and process the user commands in time, so that user experience is improved, and the control efficiency of intelligent household appliances is effectively improved.

Description

The communication means of interface client and server
Technical field
The present invention relates to communication means, is the communication means of interface client and server concretely.
Background technology
Development along with home network, remote subscriber interface based on general plug-and-play protocol (UPNP) (Remote User Interface, RUI) intelligent appliance of technology is more and more subject to consumer's favor, particularly the remote subscriber interface equipment development trend of intelligent appliance especially.
Remote subscriber interface equipment based in general plug-and-play protocol (UPNP) is to come sending and receiving to control the order of remote user interface service device with the http protocol of TCP at present.In most cases, remote user interface service device can receive control command in time, but when client sends a large amount of control command at short notice, remote user interface service device just likely can not receive in time and process user command, obviously like this, can have influence on the experience of user to remote subscriber interface equipment, cause problems such as controlling time delay or command expiration.
Summary of the invention
The invention provides the communication means of a kind of interface client and server, while making client send a large amount of control command at short notice, remote user interface service device can receive and process user command in time, to promote user's experience, improves the control efficiency of intelligent appliance.
The communication means of interface of the present invention client and server, comprise interface client (the Remote User Interface connecting by network, RUI) and server, in described interface client and server, be provided with the DatagramProtocol based on UDP(User, User Datagram Protocol) the clean culture sending module of agreement and clean culture receiver module, by described clean culture sending module and clean culture receiver module, interface client and server carries out transfer of data under udp protocol.Udp protocol is a kind of data pack protocol, is applicable to sending a large amount of data.By changing traditional communication mode to reach the object that increases data volume transmission.
Preferably, feature due to udp protocol, make when transmitting based on udp protocol, the reliability of data is poor, easily there is error in data, therefore in the client of interface, be provided with duration threshold value and corresponding transmission data volume threshold value, if the data volume sending within the scope of the duration arranging has reached transmission data volume threshold value, interface client and server carries out the described clean culture transmission based on udp protocol and clean culture receives, otherwise interface client and server is by UPNP(UPnP) agreement communicates, to strengthen the accuracy of transfer of data.
Further, after interface client is opened, by scanning discovery in network and be connected to an available server.
Concrete, for concrete client application, described server is user interface service device.
The communication means of interface of the present invention client and server, can make client send at short notice a large amount of control commands communicates by letter with remote server, remote user interface service device also can receive and process user command in time, promote thus user's experience, effectively improved the control efficiency of intelligent appliance.
Below in conjunction with the embodiment of embodiment, foregoing of the present invention is described in further detail again.But this should be interpreted as to the scope of the above-mentioned theme of the present invention only limits to following example.Without departing from the idea case in the present invention described above, various replacements or the change according to ordinary skill knowledge and customary means, made, all should comprise within the scope of the invention.
Embodiment
The communication means of interface of the present invention client and server, comprises the interface client (Remote User Interface, RUI) and the server that by network, connect, and wherein server is user interface service device.In described interface client and server, be provided with based on UDP(User Datagram Protocol, User Datagram Protocol) clean culture sending module and the clean culture receiver module of agreement.After interface client is opened, by scanning discovery in network and be connected to an available server.In the client of interface, be provided with duration threshold value and corresponding transmission data volume threshold value, if the data volume sending within the scope of the duration arranging has reached transmission data volume threshold value, interface client and server carries out described clean culture transmission and clean culture based on udp protocol by described clean culture sending module and clean culture receiver module and receives, otherwise interface client and server is by UPNP(UPnP) agreement communicates.

Claims (4)

1. the communication means of interface client and server, comprise the interface client and server connecting by network, it is characterized by: in described interface client and server, be provided with clean culture sending module and clean culture receiver module based on udp protocol, by described clean culture sending module and clean culture receiver module, interface client and server carries out transfer of data under udp protocol.
2. the communication means of interface as claimed in claim 1 client and server, it is characterized by: in the client of interface, be provided with duration threshold value and corresponding transmission data volume threshold value, if the data volume sending within the scope of the duration arranging has reached transmission data volume threshold value, interface client and server carries out the described clean culture transmission based on udp protocol and clean culture receives, otherwise interface client and server communicates by UPNP agreement.
3. the communication means of interface as claimed in claim 1 or 2 client and server, is characterized by: after interface client is opened, by scanning discovery in network and be connected to an available server.
4. the communication means of interface as claimed in claim 1 or 2 client and server, is characterized by: described server is user interface service device.
CN201310571915.3A 2013-11-15 2013-11-15 Method for communication between interface client side and server Pending CN103618704A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310571915.3A CN103618704A (en) 2013-11-15 2013-11-15 Method for communication between interface client side and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310571915.3A CN103618704A (en) 2013-11-15 2013-11-15 Method for communication between interface client side and server

Publications (1)

Publication Number Publication Date
CN103618704A true CN103618704A (en) 2014-03-05

Family

ID=50169408

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310571915.3A Pending CN103618704A (en) 2013-11-15 2013-11-15 Method for communication between interface client side and server

Country Status (1)

Country Link
CN (1) CN103618704A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1402494A (en) * 2002-09-29 2003-03-12 清华大学 Method for selecting transmission protocol based on client terminal feedback
CN101360045A (en) * 2007-07-30 2009-02-04 佳能株式会社 Method for the transmission of data packets in a tunnel storage means and tunnel end-point
CN103078831A (en) * 2011-10-26 2013-05-01 新太科技股份有限公司 Self-adaption method on basis of TCP (Transmission Control Protocol) and UDP (User Datagram Protocol) transmission supported by streaming media
WO2013079598A1 (en) * 2011-12-01 2013-06-06 Thomson Licensing Device for obtaining content by choosing the transport protocol according to the available bandwidth

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1402494A (en) * 2002-09-29 2003-03-12 清华大学 Method for selecting transmission protocol based on client terminal feedback
CN101360045A (en) * 2007-07-30 2009-02-04 佳能株式会社 Method for the transmission of data packets in a tunnel storage means and tunnel end-point
CN103078831A (en) * 2011-10-26 2013-05-01 新太科技股份有限公司 Self-adaption method on basis of TCP (Transmission Control Protocol) and UDP (User Datagram Protocol) transmission supported by streaming media
WO2013079598A1 (en) * 2011-12-01 2013-06-06 Thomson Licensing Device for obtaining content by choosing the transport protocol according to the available bandwidth

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王朝华: "基于Android的智能家居***的研究与实现", 《中国优秀博硕士学位论文全文数据库》 *

Similar Documents

Publication Publication Date Title
CN103546832B (en) The matching process of home appliance remote controller and system
CN104301905B (en) Smart home ad hoc network method based on supervision of election strategy and system
CN204631467U (en) A kind of intelligent appliance control system
CN103701695A (en) Intelligent home gateway control system
CN104133439A (en) Method for terminal to control intelligent home appliances and intelligent socket
CN103914041A (en) Binding method of user operation terminal and household appliance control device and household appliance control system
CN103973748A (en) Intelligent home system and monitoring method implemented by same
CN104935615A (en) System and method for realizing voice control for household electrical equipment
CN104378421A (en) Remote control system and method of intelligent household electrical appliance product
CN103166814A (en) Smart home remote control system based on Internet of things
WO2012105802A3 (en) Method and apparatus for managing power of smart appliance
CN103716811A (en) Method and device for controlling wireless router through intelligent terminal
CN101951368A (en) Service authority control method, terminal and system based on subnet
CN102006192A (en) Control system and control method for digital family network equipment
CN103439934A (en) Intelligent electrical appliance control method, server and system
CN103795757A (en) Method for remotely controlling local area network equipment, client and server
CN103762719A (en) Intelligent switch cabinet
CN105530151A (en) GPRS module and information transmission method for the GPRS module
CN103873560A (en) System for controlling household appliance through network
CN106302056B (en) Household Internet of things communication connection system and communication connection method
CN203151522U (en) Repeater and matching wireless router based on intelligent household system
CN101470945A (en) Mobile phone with infrared remote control function and its remote control method
CN104852835A (en) Smart device WIFI communication system and control method thereof
CN102404645A (en) Remote intelligent control method
CN103618704A (en) Method for communication between interface client side and server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140305