CN107294951A - robot industry management system data transmission method based on cloud service - Google Patents
robot industry management system data transmission method based on cloud service Download PDFInfo
- Publication number
- CN107294951A CN107294951A CN201710310275.9A CN201710310275A CN107294951A CN 107294951 A CN107294951 A CN 107294951A CN 201710310275 A CN201710310275 A CN 201710310275A CN 107294951 A CN107294951 A CN 107294951A
- Authority
- CN
- China
- Prior art keywords
- data
- request
- websocket
- service device
- websocket servers
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/08—Protocols for interworking; Protocol conversion
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 discloses a kind of robot industry Management System Data transmission method based on cloud service, comprise the following steps:Design real-time Data Transmission frame format, create browser client, WebSocket servers, the magnanimity real-time data communication passage of data server, browser initiates request of data to WebSocket servers, WebSocket servers initiate request of data to data server, data server constantly pushes corresponding data according to the type of request to WebSocket servers, WebSocket servers constantly push corresponding data to browser client, by obtained data real-time rendering on browser client.The characteristics of present invention is with not only increasing the efficiency of data transfer, and ensure that mass data transfers real-time.
Description
Technical field
The present invention relates to robotic technology field, more particularly, to one kind transmission data are true and reliable, transmission data are real-time
Property it is high, can reliably by the real-time production data of situ industrial robot and tension management analysis system combine closely based on cloud
The robot industry Management System Data transmission method of service.
Background technology
With the development of society and science and technology, the production and processing pattern of conventional plant has been no longer appropriate for the letter of high speed development
Breathization epoch, the pressure that manufacturing industry faces is increasing.Separate between each system of manufacturing industry, shortage data sharing, so that
Cause the range of information islanding problems such as overlapping, the data contradiction of function.Information island, which is caused, manufactures information in level in factory
The blocking in direction, the problem of bringing seriously governs the coordination between various systems in factory, hinders the development of system, drop
The mass action of low manufacture Informatization, hinders the industrial Informationization development of factory.
The working condition of traditional industrial robot, the method for production data acquisition substantially all can only be with robot sheets
Or checked and managed in the LAN of inside plants, it is impossible to it is convenient remotely to be entered by internet or Internet of Things
Row management and monitoring, while the working condition of robot, the real-time of creation data are very poor, it is impossible to realize to all robots
Condition monitoring and management.With the development of computer science, the state and product practice of industrial robot pass through scene always
Line technology, can perfectly be preserved, but real time data is merely present in industrial site, the life to industrial robot
Production and the monitoring of state are also merely present in working site and equipment.For industrial robot state, the data of the course of work point
Analysis and management, the optimization of the course of work of life cycle, also can only export number in first slave unit or field management system
According to being then introduced into industrial robot operating state data analysis system and carry out analysis optimization.How by scene industrial machine
The management and analysis on device people execution system and upper strata is effectively combined, and is current industrial robot lifecycle management
A problem.How to be therein by the data transfer of the execution system of situ industrial robot to tension management analysis system
It is crucial.
And with the increase of management system robot quantity, the transmission of reliable and secure and a large amount of real time datas will influence
The performance of robotary monitoring management system based on cloud service technology, it is therefore necessary to largely counted in real time to industrial robot
Studied and improved according to transmission technology.
The content of the invention
The goal of the invention of the present invention is to overcome method of the prior art can not be in real time by situ industrial robot
Real-time status and creation data and tension management analysis system can not associate not enough there is provided one kind transmission data are true
Real reliable, transmission real-time property is high, reliably can analyze the real-time production data of situ industrial robot and tension management
The robot industry Management System Data transmission method based on cloud service that system is combined closely.
To achieve these goals, the present invention uses following technical scheme:
A kind of robot industry Management System Data transmission method based on cloud service, comprises the following steps:
(1-1) parameter initialization:
It is N to set the maximum number connection number between browser client and the connection of WebSocket servers, is set
Maximum number of connections between WebSocket servers and Socket service device is M;
(1-2) design data transmission frame format;
(1-3) creates communication port:
(1-3-1) creates the communication port between browser client and WebSocket servers;
(1-3-2) creates the communication port between WebSocket servers and Socket service device;
(1-3-3) communication port is created successfully;
Communication between (1-4) browser client and WebSocket servers;
Communication between (1-5) WebSocket servers and Socket service device.
The present invention technical concept be:First, real-time Data Transmission frame format is designed;Then, create browser client,
The magnanimity real-time data communication passage of WebSocket servers, data server;Secondly, browser is to WebSocket servers
Request of data is initiated, WebSocket servers initiate request of data to data server;Again, data server is according to request
Type constantly push corresponding data to WebSocket servers, WebSocket servers are constantly pushed away to browser client
Send corresponding data;Finally, by obtained data real-time rendering on browser client.Robot industry based on cloud service
Management System Data transmission method, not only increases the efficiency of data transfer, and ensure that the real-time of mass data transfers.
Preferably, step (1-2) includes request bag, packet and end packet;Request bag includes bag mark Head, number
According to type DataType and request bag bag tail EndHead;
Packet includes bag mark Body, packet sequence number Number, packet data start bit DataStart, data
Data, packet data stop bits DataEnd and packet bag tail EndBody;
End packet includes bag mark Tail and end packet bag tail EndTail.
Preferably, step (1-3-1) comprises the following steps:
(3-1) browser client initiates connection request to WebSocket servers;
(3-2) judges whether current browser client connection WebSocket server channels numbers n is less than N, wherein n tables
Show that browser client connects WebSocket server channels numbers;
(3-3) creates communication port between browser client and WebSocket servers, otherwise created if n < N
Failure.
Preferably, step (1-3-2) comprises the following steps:
(4-1) WebSocket servers initiate connection request to Socket service device;
(4-2) judges whether current Web Socket service device connection Socket service device port number m is 0, wherein, m is represented
WebSocket servers connect Socket service device port number;
(4-3) creates the communication port between WebSocket servers and Socket service device, otherwise created if m=0
Build unsuccessfully.
Preferably, step (1-4) comprises the following steps:
(5-1) browser client sends request instruction Request to WebSocket serversbrowser;
(5-2) analysis request is instructed, if instruction RequestbrowserFor halt instruction, into step (5-7), if referred to
Make RequestbrowserStep (5-3) is transferred to for data command;
(5-3) parsing data command RequestbrowserObtain the type of data packet Request of requestdata;
(5-4) obtains data Response to Socket service devicedata, when obtaining data ResponsedataWhen, into step
Suddenly (5-5);
(5-5) pushes obtained data Response to browser clientdata;
(5-6) determines whether new request instruction, if new request instruction is transferred to step (5-2), is otherwise transferred to
Step (5-4);
The communication port that (5-7) is closed between browser and WebSocket servers, close WebSocket servers and
The Socket passages of communication between Socket service device.
Preferably, step (1-5) comprises the following steps:
(6-1) WebSocket servers send data requesting instructions Request to Socket service devicedata;
(6-2) analysis request instructs Requestdata, obtain what WebSocket servers were asked to Socket service device
Packet Responsedata;
(6-3) is to WebSocket server push packets Responsedata;
(6-4) determines whether new request instruction, if new request instruction is transferred to step (6-2), is otherwise transferred to
Step (6-3).
Therefore, the present invention has the advantages that:On the basis of data exchange and parsing accuracy is ensured, improve
Data exchange and analyzing efficiency.
Brief description of the drawings
Fig. 1 is a kind of structure chart of the present invention.
Embodiment
The present invention will be further described with reference to the accompanying drawings and detailed description.
Embodiment as shown in Figure 1 is a kind of robot industry Management System Data transmission method based on cloud service, bag
Include following steps:
1) parameter initialization:
It is N to set the maximum number connection number between browser client and the connection of WebSocket servers;
2) design data transmission frame format;
2.1) request bag includes bag mark Head, data type DataType, request bag bag tail EndHead;
2.2) packet includes bag mark Body, packet sequence number Number, packet data start bit DataStart,
Data Data, packet data stop bits DataEnd, packet bag tail EndBody;
2.3) end packet includes bag mark Tail, end packet bag tail EndTail;
3) communication port is created:
3.1) browser client initiates connection request to WebSocket servers;
3.2) judge whether current browser client connection WebSocket server channels numbers n is less than N, wherein n is represented
Browser client connects WebSocket server channels numbers;
If 3.3) n < N, are created successfully, failure is otherwise created;
3.4) WebSocket servers initiate connection request to Socket service device;
3.5) judge that current Web Socket service device connection Socket service device port number m is that, for 0, wherein m is represented
WebSocket servers connect Socket service device port number;
If 3.6) m=0, WebSocket servers connection Socket service device passage is created;
3.7) communication port is created successfully;
4) communication between browser client and WebSocket servers:
4.1) browser client sends request instruction Request to WebSocket serversbrowser;
4.2) analysis request is instructed, if instruction RequestbrowserFor halt instruction, into step 4.7), if instruction
RequestbrowserStep 4.3 is transferred to for data command);
4.3) parsing data command RequestbrowserObtain the type of data packet Request of requestdata;
4.4) data Response is obtained to Socket service devicedata, when obtaining data ResponsedataWhen, into step
4.5);
4.5) obtained data Response is pushed to browser clientdata;
4.6) new request instruction is determined whether, if new request instruction is transferred to step 4.2), otherwise it is transferred to step
It is rapid 4.4);
4.7) communication port closed between browser and WebSocket servers, close WebSocket servers and
The Socket passages of communication between Socket service device;
5) communication between WebSocket servers and Socket service device:
5.1) WebSocket servers send data requesting instructions Request to Socket service devicedata;
5.2) analysis request instruction Requestdata, obtain what WebSocket servers were asked to Socket service device
Packet Responsedata;
5.3) to WebSocket server push packets Responsedata;
5.4) new request instruction is determined whether, if new request instruction is transferred to step 5.1), otherwise it is transferred to step
It is rapid 5.3);
Example:
Robot industry management system comprehensive training system data transmission method based on cloud service, is comprised the steps of:
1) parameter initialization:
It is N=100 to set the maximum number connection number between browser client and the connection of WebSocket servers;
2) design data transmission frame format;
2.1) request bag is by bag mark Head, data type DataType, request bag bag tail EndHead;
2.2) packet is by bag mark Body, packet sequence number Number, packet data start bit DataStart, number
According to Data, packet data stop bits DataEnd, packet bag tail EndBody;
2.3) end packet is by bag mark Tail, end packet bag tail EndTail;
3) communication port is created:
3.1) browser client initiates connection request to WebSocket servers;
3.2) judge whether current browser client connection WebSocket server channels numbers n is less than N, wherein n is represented
Browser client connects WebSocket server channels numbers;
If 3.3) n < N, are created successfully, failure is otherwise created;
3.4) WebSocket servers initiate connection request to Socket service device;
3.5) judge that current Web Socket service device connection Socket service device port number m is that, for 0, wherein m is represented
WebSocket servers connect Socket service device port number;
If 3.6) m=0, WebSocket servers connection Socket service device passage is created;
3.7) communication port is created successfully;
4) communication between browser client and WebSocket servers:
4.1) browser client sends request instruction Request to WebSocket serversbrowser;
4.2) analysis request is instructed, if instruction RequestbrowserFor halt instruction, into step 4.7), if instruction
RequestbrowserStep 4.3 is transferred to for data command);
4.3) parsing data command RequestbrowserObtain the type of data packet Request of requestdata;
4.4) data Response is obtained to Socket service devicedata, when obtaining data ResponsedataWhen, into step
4.5);
4.5) obtained data Response is pushed to browser clientdata;
4.6) new request instruction is determined whether, if new request instruction is transferred to step 4.2), otherwise it is transferred to step
It is rapid 4.4);
4.7) communication port closed between browser and WebSocket servers, close WebSocket servers and
The Socket passages of communication between Socket service device;
5) communication between WebSocket servers and Socket service device:
5.1) WebSocket servers send data requesting instructions Request to Socket service devicedata;
5.2) analysis request instruction Requestdata, obtain what WebSocket servers were asked to Socket service device
Packet Responsedata;
5.3) to WebSocket server push packets Responsedata;
5.4) new request instruction is determined whether, if new request instruction is transferred to step 5.1), otherwise it is transferred to step
It is rapid 5.3);
Described above is the excellent results that one embodiment that the present invention is provided is showed, it is clear that the present invention is not only fitted
Above-described embodiment is closed, can on the premise of without departing from essence spirit of the present invention and without departing from content involved by substantive content of the present invention
Many variations are done to it to be carried out.
Claims (6)
1. a kind of robot industry Management System Data transmission method based on cloud service, it is characterized in that, comprise the following steps:
(1-1) parameter initialization:
It is N to set the maximum number connection number between browser client and the connection of WebSocket servers, sets WebSocket
Maximum number of connections between server and Socket service device is M;
(1-2) design data transmission frame format;
(1-3) creates communication port:
(1-3-1) creates the communication port between browser client and WebSocket servers;
(1-3-2) creates the communication port between WebSocket servers and Socket service device;
Communication between (1-4) browser client and WebSocket servers;
Communication between (1-5) WebSocket servers and Socket service device.
2. the robot industry Management System Data transmission method according to claim 1 based on cloud service, it is characterized in that,
Step (1-2) includes request bag, packet and end packet;Request bag include bag mark Head, data type DataType and
Request bag bag tail EndHead;
Packet includes bag mark Body, packet sequence number Number, packet data start bit DataStart, data Data,
Packet data stop bits DataEnd and packet bag tail EndBody;
End packet includes bag mark Tail and end packet bag tail EndTail.
3. the robot industry Management System Data transmission method according to claim 1 based on cloud service, it is characterized in that,
Step (1-3-1) comprises the following steps:
(3-1) browser client initiates connection request to WebSocket servers;
(3-2) judges whether current browser client connection WebSocket server channels numbers n is less than N, and wherein n represents clear
Device client of looking at connects WebSocket server channels numbers;
(3-3) creates communication port between browser client and WebSocket servers if n < N, otherwise creates failure.
4. the robot industry Management System Data transmission method according to claim 1 based on cloud service, it is characterized in that,
Step (1-3-2) comprises the following steps:
(4-1) WebSocket servers initiate connection request to Socket service device;
(4-2) judges whether current Web Socket service device connection Socket service device port number m is 0, wherein, m is represented
WebSocket servers connect Socket service device port number;
(4-3) creates the communication port between WebSocket servers and Socket service device if m=0, otherwise creates and loses
Lose.
5. the robot industry Management System Data transmission method according to claim 1 based on cloud service, it is characterized in that,
Step (1-4) comprises the following steps:
(5-1) browser client sends request instruction Request to WebSocket serversbrowser;
(5-2) analysis request is instructed, if instruction RequestbrowserFor halt instruction, into step (5-7), if instruction
RequestbrowserStep (5-3) is transferred to for data command;
(5-3) parsing data command RequestbrowserObtain the type of data packet Request of requestdata;
(5-4) obtains data Response to Socket service devicedata, when obtaining data ResponsedataWhen, into step (5-
5);
(5-5) pushes obtained data Response to browser clientdata;
(5-6) determines whether new request instruction, if new request instruction is transferred to step (5-2), is otherwise transferred to step
(5-4);
The communication port that (5-7) is closed between browser and WebSocket servers, close WebSocket servers and
The Socket passages of communication between Socket service device.
6. the robot industry Management System Data transmission side based on cloud service according to claim 1 or 2 or 3 or 4 or 5
Method, it is characterized in that, step (1-5) comprises the following steps:
(6-1) WebSocket servers send data requesting instructions Request to Socket service devicedata;
(6-2) analysis request instructs Requestdata, obtain the data that WebSocket servers are asked to Socket service device
Wrap Responsedata;
(6-3) is to WebSocket server push packets Responsedata;
(6-4) determines whether new request instruction, if new request instruction is transferred to step (6-2), is otherwise transferred to step
(6-3)。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710310275.9A CN107294951A (en) | 2017-05-04 | 2017-05-04 | robot industry management system data transmission method based on cloud service |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710310275.9A CN107294951A (en) | 2017-05-04 | 2017-05-04 | robot industry management system data transmission method based on cloud service |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107294951A true CN107294951A (en) | 2017-10-24 |
Family
ID=60095261
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710310275.9A Pending CN107294951A (en) | 2017-05-04 | 2017-05-04 | robot industry management system data transmission method based on cloud service |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107294951A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112260877A (en) * | 2020-06-30 | 2021-01-22 | 北京来也网络科技有限公司 | AI-based RPA robot management method, platform and storage medium |
CN114205341A (en) * | 2021-11-26 | 2022-03-18 | 上海企翔智能科技有限公司 | Decentralized industrial internet platform data communication method and device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050080799A1 (en) * | 1999-06-01 | 2005-04-14 | Abb Flexible Automaton, Inc. | Real-time information collection and distribution system for robots and electronically controlled machines |
CN102063111A (en) * | 2010-12-14 | 2011-05-18 | 广东雅达电子股份有限公司 | Mobile terminal-based remote robot control system |
CN102087592A (en) * | 2009-12-08 | 2011-06-08 | J.移动公司 | Terminal device for executing android applications |
CN103605342A (en) * | 2013-11-21 | 2014-02-26 | 福州大学 | Remote distributed control system and distributed control method based on Internet |
CN104270432A (en) * | 2014-09-22 | 2015-01-07 | 苏州耐克斯特能源开采技术有限公司 | Real-time data service system and data interaction method based on drilling industry |
CN105934723A (en) * | 2014-02-07 | 2016-09-07 | Abb瑞士股份有限公司 | Web browser access to robot cell devices |
CN106060058A (en) * | 2016-06-16 | 2016-10-26 | 华南理工大学 | Internet-based industrial robot remote control method |
-
2017
- 2017-05-04 CN CN201710310275.9A patent/CN107294951A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050080799A1 (en) * | 1999-06-01 | 2005-04-14 | Abb Flexible Automaton, Inc. | Real-time information collection and distribution system for robots and electronically controlled machines |
CN102087592A (en) * | 2009-12-08 | 2011-06-08 | J.移动公司 | Terminal device for executing android applications |
CN102063111A (en) * | 2010-12-14 | 2011-05-18 | 广东雅达电子股份有限公司 | Mobile terminal-based remote robot control system |
CN103605342A (en) * | 2013-11-21 | 2014-02-26 | 福州大学 | Remote distributed control system and distributed control method based on Internet |
CN105934723A (en) * | 2014-02-07 | 2016-09-07 | Abb瑞士股份有限公司 | Web browser access to robot cell devices |
CN104270432A (en) * | 2014-09-22 | 2015-01-07 | 苏州耐克斯特能源开采技术有限公司 | Real-time data service system and data interaction method based on drilling industry |
CN106060058A (en) * | 2016-06-16 | 2016-10-26 | 华南理工大学 | Internet-based industrial robot remote control method |
Non-Patent Citations (1)
Title |
---|
文潇: ""基于工业物联网的机器人测试系统与远程监控平台的研究"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112260877A (en) * | 2020-06-30 | 2021-01-22 | 北京来也网络科技有限公司 | AI-based RPA robot management method, platform and storage medium |
CN114205341A (en) * | 2021-11-26 | 2022-03-18 | 上海企翔智能科技有限公司 | Decentralized industrial internet platform data communication method and device |
CN114205341B (en) * | 2021-11-26 | 2024-04-19 | 上海企翔智能科技有限公司 | Data communication method and device for decentralized industrial Internet platform |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101282331B (en) | Method for recognizing P2P network flow based on transport layer characteristics | |
CN203480301U (en) | Remote monitoring system for coke oven vehicle equipment | |
CN107294951A (en) | robot industry management system data transmission method based on cloud service | |
CN202956644U (en) | Power battery production process information monitoring system based on distributed control system (DCS) | |
CN102946260B (en) | Automatic meter reading system and communication link quality detecting method thereof | |
CN106378436A (en) | Die casting production information monitoring system based on mobile internet | |
CN111726421A (en) | Method and device for realizing interconnection of network target range and industrial control equipment | |
CN106843183A (en) | The long distance control system and control method of the dry type grout line debugging based on VPN technologies | |
CN109514555A (en) | Command interaction method, robot demonstrator, robot controller and storage medium | |
CN104320301A (en) | Intranet special line flow monitoring method and system | |
CN103279083B (en) | A kind of ORC genset wireless supervisory control system and long-distance monitoring method | |
CN109450928A (en) | A kind of across cloud data penetration transmission method and system based on UDP and Modbus TCP | |
EP2755097A2 (en) | Process data gateway in a decentralised automation system based on web technology | |
CN113904950B (en) | Stream-based network monitoring method and device, computer equipment and storage medium | |
CN105389131A (en) | Data acquisition method for process industry production system | |
CN117348557B (en) | Automatic control system and control method | |
CN104317868B (en) | A kind of regulation and control integral method based on single preposition more SCADA applications | |
CN111031083B (en) | Production data acquisition method in dual subscription mode | |
CN203116168U (en) | Header-system heating power plant automatic generation control (AGC) system | |
CN207332861U (en) | A kind of drifter with booms and its mechanical arm of electrical control | |
CN102662368A (en) | CAN bus-based digital flat machine network control method | |
CN208112646U (en) | A kind of transmitter loop network control system | |
CN207867479U (en) | A kind of man-machine interactive system based on NFC | |
CN203423710U (en) | Separated type machine vision device based on TCP / IP network protocol | |
CN105138390A (en) | Real-time data communication system and method applied between process monitoring control system and emulation support 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: 20171024 |
|
RJ01 | Rejection of invention patent application after publication |