CN105681459A - Data transmission method of unmanned remote device - Google Patents

Data transmission method of unmanned remote device Download PDF

Info

Publication number
CN105681459A
CN105681459A CN201610122586.8A CN201610122586A CN105681459A CN 105681459 A CN105681459 A CN 105681459A CN 201610122586 A CN201610122586 A CN 201610122586A CN 105681459 A CN105681459 A CN 105681459A
Authority
CN
China
Prior art keywords
data
unmanned remote
server
online
remote equipment
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
CN201610122586.8A
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.)
Nanjing Qunting Information Technology Co Ltd
Original Assignee
Nanjing Qunting Information Technology 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 Nanjing Qunting Information Technology Co Ltd filed Critical Nanjing Qunting Information Technology Co Ltd
Priority to CN201610122586.8A priority Critical patent/CN105681459A/en
Publication of CN105681459A publication Critical patent/CN105681459A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/163In-band adaptation of TCP data exchange; In-band control procedures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention relates to an unmanned remote device, and especially to the data transmission of an unmanned remote device. The invention provides a data transmission method of the unmanned remote device, which includes the steps of: establishing online with a server and transmitting data. The data is transmitted through a data structure cutting mode. A method for establishing online with the server includes the steps of: registering and obtaining the verification of a server side; firstly using a system default initialized account number and a password to log in the server; after the verification is successful, sending another group of a check ID and a Check Password to a terminal device by the server side; and after the register is successful, establishing online with the server side by a terminal, sending a demand for asking for Login, inputting login information of the Check ID and the Check PWD at this time, and confirming to have a login authority through verification. The data transmission method of the unmanned remote device has the following advantages that the transmission is still performed rightly when network signals are not stable, the repeatable transmission is not performed, and the network cost is saved.

Description

The data transmission method of unmanned remote equipment
Technical field
The present invention relates to a kind of unmanned remote equipment, the data particularly to unmanned remote equipment are transmitted.
Background technology
Unmanned remote equipment is in operatorless device, the various situation of unmanned remote equipment must be known constantly, through 3G, 4G wireless network, message is sent back server, but due to 3G or 4G network signal instability normal off line, cause that corrupted data is imperfect or cannot transmit completely, cause that equipment remotely cannot know equipment As-Is and network communication situation in real time. And wireless network transmissions there is also the problem of safety, it is stolen in transmitting procedure or is modified.
Most of serialitys transmit data acquisition Socket mode, transmit in data particularly in Games Software, but game uses generally all on computers and has good network environment, but do not possess good network environment on unmanned remote equipment. Usual Socket on-line mode first to be shaken hands, confirm that both sides are that what to be verified is safe, just set up online, transmit data alternately, but shake hands when network outage and set up and online must try again, and on-line state must be always maintained at, repeat to shake hands, set up online and keep online if intermittently will result in always, waste network cost and inefficent.
Summary of the invention
In order to solve problem above, the invention provides the data transmission method of a kind of unmanned remote equipment, setting up online and transmission data including with server, set up online and transmission data including with server, described transmission data are that data structure cutting mode is transmitted.
The host-host protocol of described transmission data fit SOAP uses the data structure of XML, has label data structure.
In described data structure is cut, when message size of data just can be cut more than 5KB.
Message contents is split by the principle of described data structure cutting with different attribute, is transmitted with different packages, has unique value UID in each package.
Described packet size is less than 2KB.
Described and server is set up online method and is: registration obtains the checking of service product end, the initialized account of system default and password is first used to login, after being proved to be successful, server end can send out another group CheckID and CheckPassword again to terminal unit, after succeeding in registration, terminal and server end are set up online, Login demand is logined in transmission request, now inputs CheckID, CheckPWD etc. and logins message, has via demonstration validation and logins authority.
Described and server sets up online method low layer, and to remain TCPSocket online, puts into Key in the content and is verified guaranteeing that both sides are via authenticated.
Described and server sets up online method when unmanned remote equipment does not obtain SessionKey, server end can produce one group of SessionKey, when requiring terminal unit in heart beating and transmit data, identity and data correctness must be verified by band SessionKey, server is regularly to require that terminal unit changes SessionKey, it is ensured that data will not be modified.
The data transmission method of a kind of unmanned remote equipment provided by the invention has the advantage that
1, still can correctly transmit under network signal shakiness;
2, repeatability transmission will not be done, save network cost.
Detailed description of the invention
The present invention is described in detail below.
The invention provides the data transmission method of a kind of unmanned remote equipment, set up online and transmission data including with server, set up online and transmission data including with server, described transmission data are that data structure cutting mode is transmitted. The host-host protocol of described transmission data fit SOAP uses the data structure of XML, has label data structure, it is easy to read, and data crush and very easily find.
In unstable networks situation; message often can be interrupted and cannot transmit; cause that corrupted data is imperfect or cannot transmit completely; so adopting data cutting mode transmission in patent of the present invention; although adopting the design of XML structure label, but cutting mode is not adopt data capacity to cut, and adopts data structure to cut; such cutting mode causes data structure when every time transmitting to complete, and diminishes via cutting package simultaneously and also easily transmits.
When message size of data just can be cut more than 5KB, message contents is split by the principle of cutting with different attribute, and unconformity transmits together.
Embodiment 1,
Automatic vending machine is a kind of unmanned remote equipment, the information needing transmission includes Transaction Information, Cang Dao sells information off, cumulative sale total number information, error message, switch gate information, send accumulative Transaction Information, price-aggregate sales information, Cang Dao sell information etc. off, under unstable network condition, transmission of data is that data structure cutting mode is transmitted, transmitted with different packages, each package with less than 2KB for principle. Data are diminished and reaches can also transmit under unstable signal. Having unique value UID in each package, above-mentioned data note has UID value, it is judged that UID value judges whether data repeat, and repeats, and no longer transmits.
Most of serialitys transmit data acquisition Socket mode, transmit in data particularly in Games Software, but game uses generally all on computers and has good network environment, but do not possess good network environment on unmanned remote equipment. Usual Socket on-line mode first to be shaken hands, confirm that both sides are that what to be verified is safe, just set up online, transmit data alternately, but shake hands when network outage and set up and online must try again, and on-line state must be always maintained at, repeat to shake hands, set up online and keep online if intermittently will result in always, waste network cost and inefficent.
The present invention and server set up online method: registration obtains the checking of service product end, the initialized account of system default and password is first used to login, after being proved to be successful, server end can send out another group CheckID and CheckPassword again to terminal unit, after succeeding in registration, terminal and server end are set up online, Login demand is logined in transmission request, now inputs CheckID, CheckPWD etc. and logins message, has via demonstration validation and logins authority.
Described and server sets up online method low layer, and to remain TCPSocket online, puts into Key in the content and is verified guaranteeing that both sides are via authenticated.
Although this have the advantage that but low layer remains the online what is called that do not carry out of TCPSocket and shakes hands, but put into Key in the content and be verified guaranteeing that both sides are via authenticated, be safe. Once transmission data complete just broken string, it is not necessary to be always maintained at on-line state, save network cost, increase efficiency.
Embodiment 2
For automatic vending machine, when first time uses, automatic vending machine must register the checking of acquirement service product end, now first using the initialized account of system default and password to login, after being proved to be successful, server end can send out another group CheckID and CheckPassword again to terminal unit. After succeeding in registration, terminal and server end are set up online, Login demand is logined in transmission request, now input CheckID, CheckPWD etc. and login message, have via demonstration validation and login authority, if this automatic vending machine does not obtain SessionKey, server end can produce one group of SessionKey, when requiring terminal unit in heart beating and transmit data, identity and data correctness must be verified by band SessionKey, server is regularly to require that terminal unit changes SessionKey, to guarantee that data will not be modified.

Claims (8)

1. a data transmission method for unmanned remote equipment, sets up online and transmission data including with server, it is characterised in that: described transmission data are that data structure cutting mode is transmitted.
2. the data transmission method of unmanned remote equipment as claimed in claim 1, it is characterised in that: the host-host protocol of described transmission data fit SOAP uses the data structure of XML, has label data structure.
3. the data transmission method of unmanned remote equipment as claimed in claim 1, it is characterised in that: in described data structure is cut, when message size of data just can be cut more than 5KB.
4. the data transmission method of the unmanned remote equipment as described in claim 1-3 any claim, it is characterized in that: message contents is split by the principle of described data structure cutting with different attribute, transmitted with different packages, each package is had unique value UID.
5. the data transmission method of unmanned remote equipment as claimed in claim 3, it is characterised in that: described packet size is less than 2KB.
6. the data transmission method of unmanned remote equipment as claimed in claim 1, it is characterized in that: described and server is set up online method and is: registration obtains the checking of service product end, the initialized account of system default and password is first used to login, after being proved to be successful, server end can send out another group CheckID and CheckPassword again to terminal unit, after succeeding in registration, terminal and server end are set up online, Login demand is logined in transmission request, now input CheckID, CheckPWD etc. and login message, have via demonstration validation and login authority.
7. the data transmission method of unmanned remote equipment as claimed in claim 6, it is characterised in that: described and server sets up online method low layer, and to remain TCPSocket online, puts into Key in the content and is verified guaranteeing that both sides are via authenticated.
8. the data transmission method of unmanned remote equipment as claimed in claim 7, it is characterized in that: described sets up online method when unmanned remote equipment does not obtain SessionKey with server, server end can produce one group of SessionKey, when requiring terminal unit in heart beating and transmit data, identity and data correctness must be verified by band SessionKey, server is regularly to require that terminal unit changes SessionKey, it is ensured that data will not be modified.
CN201610122586.8A 2016-03-04 2016-03-04 Data transmission method of unmanned remote device Pending CN105681459A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610122586.8A CN105681459A (en) 2016-03-04 2016-03-04 Data transmission method of unmanned remote device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610122586.8A CN105681459A (en) 2016-03-04 2016-03-04 Data transmission method of unmanned remote device

Publications (1)

Publication Number Publication Date
CN105681459A true CN105681459A (en) 2016-06-15

Family

ID=56306691

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610122586.8A Pending CN105681459A (en) 2016-03-04 2016-03-04 Data transmission method of unmanned remote device

Country Status (1)

Country Link
CN (1) CN105681459A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101945266A (en) * 2010-08-20 2011-01-12 山东神戎电子股份有限公司 Adaptive method for wireless network video stream transmission
CN102647255A (en) * 2012-05-14 2012-08-22 李勇 Method and system for transmitting data on wireless voice channel in Internet of things energy consumption monitoring
CN102958105A (en) * 2012-10-23 2013-03-06 大唐软件技术股份有限公司 Internet of things terminal access method and device
CN103106742A (en) * 2013-02-06 2013-05-15 成都思珩网络科技有限公司 Vending network system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101945266A (en) * 2010-08-20 2011-01-12 山东神戎电子股份有限公司 Adaptive method for wireless network video stream transmission
CN102647255A (en) * 2012-05-14 2012-08-22 李勇 Method and system for transmitting data on wireless voice channel in Internet of things energy consumption monitoring
CN102958105A (en) * 2012-10-23 2013-03-06 大唐软件技术股份有限公司 Internet of things terminal access method and device
CN103106742A (en) * 2013-02-06 2013-05-15 成都思珩网络科技有限公司 Vending network system

Similar Documents

Publication Publication Date Title
US8327432B2 (en) Self-initiated end-to-end monitoring of an authentication gateway
CN103944890B (en) Virtual interaction system based on customer end/server mode and method
CN105187431B (en) Login method, server, client and the communication system of third-party application
CN105554098B (en) A kind of equipment configuration method, server and system
CN106708489B (en) Debugging method and system of equipment
CN108512846A (en) Mutual authentication method and device between a kind of terminal and server
CN109327477A (en) Authentication method, device and storage medium
CN111783068B (en) Device authentication method, system, electronic device and storage medium
CN1801825B (en) Bulk transmission of messages using a single HTTP request
CN108600203A (en) Secure Single Sign-on method based on Cookie and its unified certification service system
CN104836814B (en) Intelligent hardware high in the clouds connection control method and its corresponding device
CN107211001A (en) Forced gate flow is acted on behalf of for input-bound device
CN105306433B (en) A kind of method and apparatus accessing virtual machine server
CN105337935A (en) Method of establishing long connection of client and server and apparatus thereof
CN104601544B (en) Onboard networks service system avionics data-services communication method
CN109729000A (en) A kind of instant communicating method and device
CN105592459B (en) Safety certification device based on wireless communication
CN106878336A (en) A kind of data interactive method and device
CN102811203B (en) Method for identifying ID, system and user terminal in the Internet
CN112073963A (en) Communication interaction data transmission method and device
CN109086588A (en) A kind of authentication method and authenticating device
CN107135228A (en) A kind of Verification System and authentication method based on Centroid
CN101938428B (en) Message transmission method and equipment
CN105681459A (en) Data transmission method of unmanned remote device
CN111726332A (en) Transmission device and method for transmitting data between two networks

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160615