CN107801213A - Data transmission method and device - Google Patents

Data transmission method and device Download PDF

Info

Publication number
CN107801213A
CN107801213A CN201710995011.1A CN201710995011A CN107801213A CN 107801213 A CN107801213 A CN 107801213A CN 201710995011 A CN201710995011 A CN 201710995011A CN 107801213 A CN107801213 A CN 107801213A
Authority
CN
China
Prior art keywords
equipment
information
data
binary
binary data
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
CN201710995011.1A
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.)
Shenzhen Water World Co Ltd
Original Assignee
Shenzhen Water World 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 Shenzhen Water World Co Ltd filed Critical Shenzhen Water World Co Ltd
Priority to CN201710995011.1A priority Critical patent/CN107801213A/en
Publication of CN107801213A publication Critical patent/CN107801213A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • H04W28/065Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information using assembly or disassembly of packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0057Block codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • 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/22Parsing or analysis of headers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Present invention is disclosed a kind of data transmission method and device, the described method comprises the following steps:Receive the information of the first equipment transmission;Described information is parsed, it is determined that receiving the second equipment of described information;Described information is encapsulated as binary data;The binary data is sent to second equipment.A kind of data transmission method that the embodiment of the present invention is provided, by the first equipment send Information encapsulation be binary data after be sent to the second equipment, because binary data is smaller relative to the data volume of the forms such as json, xml, therefore the data volume of communications is greatly reduced, efficiency of transmission is improved, saves bandwidth resources, alleviates the pressure of server significantly, reduce the campus network expense of end side simultaneously, improve Consumer's Experience.

Description

Data transmission method and device
Technical field
The present invention relates to communication technical field, especially relates to a kind of data transmission method and device.
Background technology
Development of automobile industry is rapid, and the quantity of automobile is more and more, and onboard system is also increasingly popularized.With the communication technology Development, onboard system can access internet by mobile communications network, so as to being communicated with miscellaneous equipment.Most typically Be that onboard system is connected by server with mobile terminal, so as to car owner can by mobile terminal control onboard system, obtain Take information of vehicles.
Server is as information transmit-receive center, it is necessary to transmit substantial amounts of data.When server carries out data transmission, generally will Intend transmission Information encapsulation be json or xml forms data, then by the data of json or xml forms be sent to onboard system or Terminal device.
But because the volume of the data of json or xml forms is larger, cause the data volume of communications larger, take More bandwidth resources, influence the efficiency of transmission of data, cause the pressure of server very big.
The content of the invention
The main object of the present invention is a kind of data transmission method of offer and device, it is intended to reduces the data of communications Amount, efficiency of transmission is improved, and then alleviate server stress.
To achieve these objectives, the embodiment of the present invention proposes a kind of data transmission method, the described method comprises the following steps:
Receive the information of the first equipment transmission;
Described information is parsed, it is determined that receiving the second equipment of described information;
Described information is encapsulated as binary data;
The binary data is sent to second equipment.
Alternatively, described the step of described information is encoded into binary data, includes:Utilize privately owned binary protocol Described information is encoded, generates binary data.
Alternatively, described the step of sending the binary data to second equipment, includes:By http agreements to The binary data occurs for second equipment.
Alternatively, first equipment is control device, and second equipment is controlled plant.
Alternatively, described information is control command.
Alternatively, first equipment is controlled plant, and second equipment is control device.
Alternatively, described information is result feedback information, status information or warning message.
Alternatively, the control device is mobile terminal.
Alternatively, the controlled plant is mobile unit.
Alternatively, described information is communication information.
The embodiment of the present invention proposes a kind of data transmission device simultaneously, and described device includes:
Receiving module, the information sent for receiving the first equipment;
Parsing module, for parsing described information, it is determined that receiving the second equipment of described information;
Package module, for described information to be encoded into binary data;
Sending module, for sending the binary data to second equipment.
Alternatively, the package module is used for:Described information is encapsulated as binary number using privately owned binary protocol According to.
Alternatively, the sending module is used for:The binary data is occurred to second equipment by http agreements.
The embodiment of the present invention also proposes a kind of server, and it includes memory, processor and at least one is stored in institute State in memory and be configured as by the application program of the computing device, before the application program is configurable for execution State data transmission method.
A kind of data transmission method that the embodiment of the present invention is provided, the Information encapsulation that the first equipment is sent is binary system The second equipment is sent to after data, because binary data is smaller relative to the data volume of the forms such as json, xml, therefore greatly The big data volume for reducing communications, improves efficiency of transmission, saves bandwidth resources, alleviate the pressure of server significantly Power, while reduce the campus network expense of end side, improve Consumer's Experience.Further entered using privately owned binary protocol Row data encapsulate, if it is not known that the binary protocol, then can not parse the binary data, therefore can prevent third party from grabbing Bag steals data, improves the security of data transfer.
Brief description of the drawings
Fig. 1 is the flow chart of the embodiment of data transmission method one of the present invention;
Fig. 2 is the module diagram of the embodiment of data transmission device one of the present invention.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached The embodiment of figure description is exemplary, is only used for explaining the present invention, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singulative " one " used herein, " one It is individual ", " described " and "the" may also comprise plural form.It is to be further understood that what is used in the specification of the present invention arranges Diction " comprising " refer to the feature, integer, step, operation, element and/or component be present, but it is not excluded that in the presence of or addition One or more other features, integer, step, operation, element, component and/or their groups.It should be understood that when we claim member Part is " connected " or during " coupled " to another element, and it can be directly connected or coupled to other elements, or there may also be Intermediary element.In addition, " connection " used herein or " coupling " can include wireless connection or wireless coupling.It is used herein to arrange Taking leave "and/or" includes whole or any cell and all combinations of one or more associated list items.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art Language and scientific terminology), there is the general understanding identical meaning with the those of ordinary skill in art of the present invention.Should also Understand, those terms defined in such as general dictionary, it should be understood that have with the context of prior art The consistent meaning of meaning, and unless by specific definitions as here, idealization or the implication of overly formal otherwise will not be used To explain.
Those skilled in the art of the present technique are appreciated that " terminal " used herein above, " terminal device " both include wireless communication The equipment of number receiver, it only possesses the equipment of the wireless signal receiver of non-emissive ability, includes receiving again and transmitting hardware Equipment, its have on bidirectional communication link, can perform two-way communication reception and launch hardware equipment.This equipment It can include:Honeycomb or other communication equipments, it has single line display or multi-line display or shown without multi-line The honeycomb of device or other communication equipments;PCS (Personal Communications Service, PCS Personal Communications System), it can With combine voice, data processing, fax and/or its communication ability;PDA (Personal Digital Assistant, it is personal Digital assistants), it can include radio frequency receiver, pager, the Internet/intranet access, web browser, notepad, day Go through and/or GPS (Global Positioning System, global positioning system) receiver;Conventional laptop and/or palm Type computer or other equipment, its have and/or the conventional laptop including radio frequency receiver and/or palmtop computer or its His equipment." terminal " used herein above, " terminal device " they can be portable, can transport, installed in the vehicles (aviation, Sea-freight and/or land) in, or be suitable for and/or be configured in local runtime, and/or with distribution form, operate in the earth And/or any other position operation in space." terminal " used herein above, " terminal device " can also be communication terminal, on Network termination, music/video playback terminal, such as can be PDA, MID (Mobile Internet Device, mobile Internet Equipment) and/or mobile phone or the equipment such as intelligent television, set top box with music/video playing function.
Those skilled in the art of the present technique are appreciated that server used herein above, and it includes but is not limited to computer, net The cloud that network main frame, single network server, multiple webserver collection or multiple servers are formed.Here, cloud is by based on cloud meter The a large amount of computers or the webserver for calculating (Cloud Computing) are formed, wherein, cloud computing is the one of Distributed Calculation Kind, a super virtual computer being made up of the computer collection of a group loose couplings.In embodiments of the invention, server, Between terminal device and WNS servers can by any communication mode realize communicate, including but not limited to, based on 3GPP, LTE, WIMAX mobile communication, based on TCP/IP, the computer network communication of udp protocol and based on bluetooth, Infrared Transmission standard Low coverage wireless transmission method.
Reference picture 1, the embodiment of data transmission method one of the present invention being proposed, methods described is mainly used in server, when Miscellaneous equipment can also be so applied to, the described method comprises the following steps:
S11, receive the information that the first equipment is sent.
S12, the information is parsed, it is determined that receiving the second equipment of the information.
S13, by the Information encapsulation it is binary data.
S14, to the second equipment send the binary data.
In step S11, the first device-to-server sends information, and server receives the information.The information is probably control Order, status information, warning message, result feedback information, communication information etc..
In the embodiment of the present invention, the first equipment and the second equipment can be control device and controlled plant, also can be also two The individual mobile unit mutually communicated, it can also be two terminal devices mutually communicated.The control device such as mobile terminal is (such as Mobile phone, flat board etc.), PC, the terminal device such as notebook computer, the controlled plant such as mobile unit, home appliance are (such as Television set, air-conditioning etc.), play equipment (such as toy car, unmanned plane) etc., naturally it is also possible to be mobile terminal, PC, The terminal devices such as notebook computer.
Alternatively, the first equipment is control device, and the second equipment is controlled plant, and what now server received first sets The information that preparation is sent is control command, naturally it is also possible to is other information, this is not limited by the present invention.
For example, the first equipment is mobile terminal, as control device, the second equipment mobile unit, as controlled plant.Move Dynamic terminal to server sends control command to control mobile unit, the control command such as IGNITION CONTROL order, flame-out control Order, reversing control command, return and specify rate control command etc., so that control command is transmitted to mobile unit by server.
Alternatively, the first equipment is controlled plant, and the second equipment is control device, and what now server received first sets The information that preparation is sent can be status information, the result feedback information for performing control command, warning message etc..
For example, the first equipment is mobile unit, as controlled plant, the second equipment is mobile terminal, as control device. Mobile unit sends the status information of vehicle to server, performs the result feedback information of control command (as performed failure, performing Successfully), warning message of vehicle etc., so that aforementioned information is transmitted to mobile terminal by server.
Alternatively, the first equipment and the second equipment are two mobile units.One of mobile unit is sent to server Communication information, so that communication information is transmitted to another mobile unit by server.
Alternatively, the first equipment and the second equipment are two terminal devices.One of terminal device is sent to server Communication information, so that communication information is transmitted to another terminal device by server.
In step S12, the information received is resolved to string data by server, and the letter is determined according to the content of parsing The receiving device of breath is the second equipment.Wherein, when the information is the data of json or xml forms, then assisted using json or xml View is parsed;When the information is binary data, then parsed using binary protocol.
In step S13, the information (string data) after parsing is encapsulated as binary data by server.Specifically, clothes Business device is encoded using binary protocol to the information after parsing, generates binary data.
Preferably, the privately owned binary protocol of server by utilizing encodes to the information after parsing, binary system is generated Data.If it is not known that the binary protocol, then can not parse the binary data, therefore can prevent third party's packet capturing from stealing Data, improve the security of data transfer.
For example, it is assumed that the control command for receiving mobile terminal transmission is " igniting ", then using binary protocol to control Generation binary data is after command code conversion:111000010111001111000001101011.
And for example, it is assumed that the result feedback information for receiving onboard system transmission is " lighting a fire successfully ", then is assisted using binary system The Information encapsulation is to be after binary data by view:
111000010111001111000001101011110001000010000101001010011111。
And for example, it is assumed that the status information for receiving the vehicle of onboard system transmission is " 60,000 kilometers of mileage ", then enters using two The Information encapsulation is to be after binary data by agreement processed:
10010001110011001111010000010110011011010011100000011110100010110110010010001 11001100。
And for example, it is assumed that the warning message for receiving onboard system transmission is " someone illegally enters vehicle ", then enters using two The Information encapsulation is to be after binary data by agreement processed:
11001110000100110011101011101010010111010111101101100110101011000111111011011 10100010110010110001111011001101000111110000110。
In other embodiments, the Information encapsulation that server can also utilize general binary protocol to transmit plan is two Binary data.
In step S14, when be binary data by Information encapsulation after, server then sends the binary number to the second equipment According to.
Because binary data is smaller relative to the data volume of the forms such as json, xml, therefore greatly reduces communication and pass Defeated data volume, improves efficiency of transmission, saves bandwidth resources, alleviates the pressure of server significantly, while reduces end The campus network expense of side, improves Consumer's Experience.
Preferably, server passes through http agreements (HyperText Transport Protocol, Hyper text transfer association View) to the second equipment transmission binary data, without establishing long connection with the second equipment as prior art, avoid It is long to connect long-time occupied bandwidth resource and cause the waste of Internet resources, further save bandwidth resources.
The data transmission method of the embodiment of the present invention, by the first equipment send Information encapsulation be binary data after send To the second equipment, because binary data is smaller relative to the data volume of the forms such as json, xml, therefore greatly reduce logical Believe the data volume of transmission, improve efficiency of transmission, save bandwidth resources, alleviate the pressure of server significantly, reduce simultaneously The campus network expense of end side, improves Consumer's Experience.
Data encapsulation further is carried out using privately owned binary protocol, if it is not known that the binary protocol, then can not The binary data is parsed, therefore can prevent third party's packet capturing from stealing data, improves the security of data transfer.
Reference picture 2, the embodiment of data transmission device one of the present invention being proposed, described device is mainly used in server, when Miscellaneous equipment can also be so applied to, described device includes receiving module 10, parsing module 20, package module 30 and sending module 40, wherein:Receiving module 10, the information sent for receiving the first equipment;Parsing module 20, for parsing the information, it is determined that Receive the second equipment of the information;Package module 30, for the information to be encoded into binary data;Sending module 40, is used for Binary data is sent to the second equipment.
In the embodiment of the present invention, the information that the first equipment is sent is probably control command, status information, warning message, knot Fruit feedback information, communication information etc..First equipment and the second equipment can be control device and controlled plant, also can be also two The mobile unit mutually communicated, it can also be two terminal devices mutually communicated.The control device such as mobile terminal (such as hand Machine, flat board etc.), PC, the terminal device such as notebook computer, the controlled plant such as mobile unit, home appliance are (such as electricity Depending on machine, air-conditioning etc.), play equipment (such as toy car, unmanned plane) etc., naturally it is also possible to be mobile terminal, PC, pen Remember the terminal devices such as this computer.
Alternatively, the first equipment is control device, and the second equipment is controlled plant, now receiving module 10 receive The information that one equipment is sent is control command, naturally it is also possible to is other information, this is not limited by the present invention.
For example, the first equipment is mobile terminal, as control device, the second equipment mobile unit, as controlled plant.Move Dynamic terminal to server sends control command to control mobile unit, the control command such as IGNITION CONTROL order, flame-out control Order, reversing control command, return and specify rate control command etc., so that control command is transmitted to mobile unit by server.
Alternatively, the first equipment is controlled plant, and the second equipment is control device, now receiving module 10 receive The information that one equipment is sent can be status information, the result feedback information for performing control command, warning message etc..
For example, the first equipment is mobile unit, as controlled plant, the second equipment is mobile terminal, as control device. Mobile unit sends the status information of vehicle to server, performs the result feedback information of control command (as performed failure, performing Successfully), warning message of vehicle etc., so that aforementioned information is transmitted to mobile terminal by server.
Alternatively, the first equipment and the second equipment are two mobile units.One of mobile unit is sent to server Communication information, so that communication information is transmitted to another mobile unit by server.
Alternatively, the first equipment and the second equipment are two terminal devices.One of terminal device is sent to server Communication information, so that communication information is transmitted to another terminal device by server.
The information received is resolved to string data by parsing module 20, and connecing for the information is determined according to the content of parsing Receiving unit is the second equipment.Wherein, when the information is the data of json or xml forms, then carried out using json or xml agreements Parsing;When the information is binary data, then parsed using binary protocol.
Information (string data) after parsing is encapsulated as binary data by package module 30.Specifically, package module 30 are encoded using binary protocol to the information after parsing, generate binary data.
Preferably, package module 30 is encoded using privately owned binary protocol to the information after parsing, generation two Binary data.If it is not known that the binary protocol, then can not parse the binary data, therefore can prevent third party's packet capturing Data are stolen, improve the security of data transfer.
For example, it is assumed that the control command for receiving mobile terminal transmission is " igniting ", then package module 30 utilizes binary system Agreement to after control command code conversion generate binary data be:111000010111001111000001101011.
And for example, it is assumed that the result feedback information for receiving onboard system transmission is " lighting a fire successfully ", then the profit of package module 30 By the Information encapsulation it is to be after binary data with binary protocol: 111000010111001111000001101011110001000010000101001010011111。
And for example, it is assumed that the status information for receiving the vehicle of onboard system transmission is " 60,000 kilometers of mileage ", then package module The Information encapsulation using binary protocol is to be after binary data by 30: 10010001110011001111010000010110011011010011100000011110100010110110010010001 11001100。
And for example, it is assumed that the warning message for receiving onboard system transmission is " someone illegally enters vehicle ", then package module The Information encapsulation using binary protocol is to be after binary data by 30: 11001110000100110011101011101010010111010111101101100110101011000111111011011 10100010110010110001111011001101000111110000110。
In other embodiments, package module 30 can also utilize general binary protocol to intend the Information encapsulation transmitted For binary data.
When be binary data by Information encapsulation after, sending module 40 then sends the binary data to the second equipment.
Because binary data is smaller relative to the data volume of the forms such as json, xml, therefore greatly reduces communication and pass Defeated data volume, improves efficiency of transmission, saves bandwidth resources, alleviates the pressure of server significantly, while reduces end The campus network expense of side, improves Consumer's Experience.
Preferably, sending module 40 sends binary data by http agreements to the second equipment, without as existing Technology establishes long connection with the second equipment like that, avoids long connection long-time occupied bandwidth resource and causes the wave of Internet resources Take, further save bandwidth resources.
The data transmission device of the embodiment of the present invention, by the first equipment send Information encapsulation be binary data after send To the second equipment, because binary data is smaller relative to the data volume of the forms such as json, xml, therefore greatly reduce logical Believe the data volume of transmission, improve efficiency of transmission, save bandwidth resources, alleviate the pressure of server significantly, reduce simultaneously The campus network expense of end side, improves Consumer's Experience.
Data encapsulation further is carried out using privately owned binary protocol, if it is not known that the binary protocol, then can not The binary data is parsed, therefore can prevent third party's packet capturing from stealing data, improves the security of data transfer.
The present invention proposes a kind of server simultaneously, and it includes memory, processor and at least one is stored in memory In and be configured as the application program by computing device, the application program is configurable for performing data transmission method. The data transmission method comprises the following steps:Receive the information of the first equipment transmission;Described information is parsed, it is determined that receiving the letter Second equipment of breath;It is binary data by the Information encapsulation;The binary data is sent to the second equipment.Institute in the present embodiment The data transmission method of description is the data transmission method involved by above-described embodiment in the present invention, be will not be repeated here.
It will be understood by those skilled in the art that the present invention includes being related to for performing one in operation described herein Or multinomial equipment.These equipment can specially be designed and manufactured for required purpose, or can also include general-purpose computations Known device in machine.These equipment have the computer program being stored in it, and these computer programs optionally activate Or reconstruct.Such computer program, which can be stored in equipment (for example, computer) computer-readable recording medium or be stored in, to be suitable to Storage e-command is simultaneously coupled in any kind of medium of bus respectively, and the computer-readable medium includes but is not limited to Any kind of disk (including floppy disk, hard disk, CD, CD-ROM and magneto-optic disk), ROM (Read-Only Memory, it is read-only to deposit Reservoir), RAM (RandomAccess Memory, random access memory), EPROM (Erasable Programmable Read- Only Memory, Erarable Programmable Read only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory, EEPROM), flash memory, magnetic card or light card.It is it is, readable Medium includes any medium for storing or transmitting information in the form of it can read by equipment (for example, computer).
Those skilled in the art of the present technique be appreciated that can with computer program instructions come realize these structure charts and/or The combination of each frame and these structure charts and/or the frame in block diagram and/or flow graph in block diagram and/or flow graph.This technology is led Field technique personnel be appreciated that these computer program instructions can be supplied to all-purpose computer, special purpose computer or other The processor of programmable data processing method is realized, so as to pass through the processing of computer or other programmable data processing methods Device performs the scheme specified in the frame of structure chart and/or block diagram and/or flow graph disclosed by the invention or multiple frames.
Those skilled in the art of the present technique are appreciated that in the various operations discussed in the present invention, method, flow Step, measure, scheme can be replaced, changed, combined or deleted.Further, it is each with having been discussed in the present invention Kind operation, method, other steps in flow, measure, scheme can also be replaced, changed, reset, decomposed, combined or deleted. Further, it is of the prior art to have and the step in the various operations disclosed in the present invention, method, flow, measure, scheme It can also be replaced, changed, reset, decomposed, combined or deleted.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the scope of the invention, every utilization The equivalent structure or equivalent flow conversion that description of the invention and accompanying drawing content are made, or directly or indirectly it is used in other correlations Technical field, be included within the scope of the present invention.

Claims (10)

1. a kind of data transmission method, it is characterised in that comprise the following steps:
Receive the information of the first equipment transmission;
Described information is parsed, it is determined that receiving the second equipment of described information;
Described information is encapsulated as binary data;
The binary data is sent to second equipment.
2. data transmission method according to claim 1, it is characterised in that described that described information is encoded to binary number According to the step of include:
Described information is encoded using privately owned binary protocol, generates binary data.
3. data transmission method according to claim 1, it is characterised in that described to send described two to second equipment The step of binary data, includes:
The binary data is occurred to second equipment by http agreements.
4. data transmission method according to claim 1, it is characterised in that first equipment is control device, described Second equipment is controlled plant.
5. data transmission method according to claim 4, it is characterised in that described information is control command.
A kind of 6. data transmission device, it is characterised in that including:
Receiving module, the information sent for receiving the first equipment;
Parsing module, for parsing described information, it is determined that receiving the second equipment of described information;
Package module, for described information to be encoded into binary data;
Sending module, for sending the binary data to second equipment.
7. data transmission device according to claim 6, it is characterised in that the package module is used for:Using privately owned Described information is encapsulated as binary data by binary protocol.
8. data transmission device according to claim 6, it is characterised in that the sending module is used for:Assisted by http Discuss to second equipment and the binary data occurs.
9. data transmission device according to claim 6, it is characterised in that first equipment is control device, described Second equipment is controlled plant.
10. data transmission device according to claim 9, it is characterised in that described information is control command.
CN201710995011.1A 2017-10-23 2017-10-23 Data transmission method and device Pending CN107801213A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710995011.1A CN107801213A (en) 2017-10-23 2017-10-23 Data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710995011.1A CN107801213A (en) 2017-10-23 2017-10-23 Data transmission method and device

Publications (1)

Publication Number Publication Date
CN107801213A true CN107801213A (en) 2018-03-13

Family

ID=61534258

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710995011.1A Pending CN107801213A (en) 2017-10-23 2017-10-23 Data transmission method and device

Country Status (1)

Country Link
CN (1) CN107801213A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108551475A (en) * 2018-03-26 2018-09-18 深圳市沃特沃德股份有限公司 Data transmission method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101227432A (en) * 2008-02-04 2008-07-23 中国移动通信集团公司 Method for message conversion, system, apparatus and method of access
CN201733443U (en) * 2010-03-18 2011-02-02 北京喻龙恒瑞科技有限公司 Indoor electric equipment management device, indoor electrical equipment and management system
US20120023161A1 (en) * 2010-07-21 2012-01-26 Sk Telecom Co., Ltd. System and method for providing multimedia service in a communication system
CN102693625A (en) * 2012-06-19 2012-09-26 潘桃园 System for monitoring energy consumption of air conditioner
CN105653221A (en) * 2015-12-21 2016-06-08 广州视睿电子科技有限公司 Remote information synchronization method, terminals and system
CN107092656A (en) * 2017-03-23 2017-08-25 中国科学院计算技术研究所 A kind of tree data processing method and system
CN107179697A (en) * 2017-05-23 2017-09-19 珠海格力电器股份有限公司 A kind of intelligent home equipment control method, apparatus and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101227432A (en) * 2008-02-04 2008-07-23 中国移动通信集团公司 Method for message conversion, system, apparatus and method of access
CN201733443U (en) * 2010-03-18 2011-02-02 北京喻龙恒瑞科技有限公司 Indoor electric equipment management device, indoor electrical equipment and management system
US20120023161A1 (en) * 2010-07-21 2012-01-26 Sk Telecom Co., Ltd. System and method for providing multimedia service in a communication system
CN102693625A (en) * 2012-06-19 2012-09-26 潘桃园 System for monitoring energy consumption of air conditioner
CN105653221A (en) * 2015-12-21 2016-06-08 广州视睿电子科技有限公司 Remote information synchronization method, terminals and system
CN107092656A (en) * 2017-03-23 2017-08-25 中国科学院计算技术研究所 A kind of tree data processing method and system
CN107179697A (en) * 2017-05-23 2017-09-19 珠海格力电器股份有限公司 A kind of intelligent home equipment control method, apparatus and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108551475A (en) * 2018-03-26 2018-09-18 深圳市沃特沃德股份有限公司 Data transmission method and device

Similar Documents

Publication Publication Date Title
US10491575B2 (en) Secure dynamic communication network and protocol
CN107682829A (en) The data transmission method and device of mobile terminal
KR102110698B1 (en) Terminal interconnection method, device and storage medium
CN103475738B (en) A kind of inter-vehicle information system
US10298492B2 (en) System and method for interworking between vehicle controller and external resource
CN102546800A (en) Handshake and communication methods for gateway, gateway and Web communication system
CN109521956B (en) Cloud storage method, device, equipment and storage medium based on block chain
CN104094249B (en) It is transmitted using the file of XML
CN102655481A (en) Webpape-based instant messaging chat content looking-up method and system
CN106487811B (en) Method and device for communication among multiple containers
CN107168959A (en) Interpretation method and translation system
CN104834534A (en) Application program function extension method, device and system
CN102404616B (en) Method and system for pushing data cloud based on digital television network
CN114095912B (en) Emergency communication gateway system compatible with multiple satellites intelligently and working method thereof
CN104750723A (en) File sharing method, system, browser and server
CN107707686A (en) Equipment identification method and device
CN107801213A (en) Data transmission method and device
CN103259818A (en) Distributed data access system and distributed data access method
CN102160052A (en) Method and apparatus for address book contact management
CN109089299A (en) It is a kind of to allow facility registration to cloud with network method based on SmartConfig mode
CN105933217B (en) Message synchronization method and platform, network server and adaptive server
CN105163297A (en) Method and system of cross-operating system for receiving multimedia messages
US20120172071A1 (en) Method for a push server to broadcast data to user terminals via an interface device
CN108595444A (en) Voice translation method and device
CN103428201A (en) Multilink network information interaction method and system

Legal Events

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

Application publication date: 20180313

RJ01 Rejection of invention patent application after publication