Disclosure of Invention
The invention aims to solve the defects of the communication technology of the conventional intelligent container terminal horizontal transport equipment, and provides an information transmission method suitable for the intelligent container terminal horizontal transport equipment, so as to improve the communication level between the horizontal transport equipment and other operation equipment, realize information synchronization and information sharing, enable all the equipment to cooperatively operate, and improve the overall operation efficiency of the terminal.
In order to solve the technical problems, the invention adopts the following technical scheme:
an information transmission method for adapting to intelligent container terminal horizontal transport equipment, comprising the following steps:
s1, intelligent container terminal horizontal transport equipment is accessed to an Internet of things platform, and communication is carried out through the Internet of things platform and an application server;
s2, the intelligent container terminal horizontal transport equipment communicates with the Internet of things platform in the forms of message reporting and event reporting;
s3, the application server sends instructions to the intelligent container terminal horizontal transportation equipment in the forms of message issuing, command issuing and event issuing;
the system comprises an Internet of things platform, an intelligent container terminal and a control platform, wherein the Internet of things platform is communicated with intelligent container terminal horizontal transportation equipment through preset topic (event theme), and the topic comprises equipment management topic, equipment information reporting topic, job task management topic, path planning issuing topic, driving instruction issuing topic, job alignment management topic and shore bridge position issuing topic;
the preset topic contains various message types or event types and specifies the format of the uplink request, the downlink response, the downlink request or the uplink response.
Further, in step S2, the message reporting means that when the intelligent container terminal horizontal transport device cannot report data according to the attribute format defined in the product model, the self-defined data of the intelligent container terminal horizontal transport device is reported to the platform through the device message reporting interface, and the internet of things platform forwards the message reported by the intelligent container terminal horizontal transport device to the application server.
Further, in step S2, the event reporting refers to that the intelligent container terminal horizontal transport device reports event data to the internet of things platform according to a format defined in the product model.
Further, in step S3, the message issuing platform issues data in a custom format to the intelligent container terminal horizontal transport device; the command issuing means that the application server issues a control command to the intelligent container terminal horizontal transport equipment according to a command format defined in the product model; the event issuing means that the application server issues the event to the intelligent container terminal horizontal transportation equipment according to an event format defined in the product model.
Further, the device management topic comprises a device login request, a device login request response, a device login request response and a device login request response, wherein the intelligent container terminal horizontal transportation device sends an application layer heartbeat to the platform, the platform sends an application layer heartbeat to the intelligent container terminal horizontal transportation device, the platform sends an intelligent container terminal horizontal transportation device power-on/power-off instruction, and the intelligent container terminal horizontal transportation device returns a power-on/power-off execution response.
Further, the device information reporting topic includes reporting BSM (Blind Spot Monitoring, position status) information to the platform by the intelligent container terminal horizontal transport device and reporting battery status information to the platform by the intelligent container terminal horizontal transport device.
Further, the job task management topic comprises a platform-down job task for the intelligent container terminal horizontal transport device, a job task response returned by the intelligent container terminal horizontal transport device, a platform-down job command for the intelligent container terminal horizontal transport device, and a response returned by the intelligent container terminal horizontal transport device.
Further, the path planning transmitting topic comprises the steps that the platform transmits a navigation path to the intelligent container terminal horizontal transport device and the intelligent container terminal horizontal transport device returns a navigation response.
Further, the running instruction transmitting topic comprises a platform transmitting a running stopping instruction, an intelligent container terminal horizontal transportation device returning response, a platform transmitting a recovering navi instruction and an intelligent container terminal horizontal transportation device returning recovering navi response.
Further, the operation alignment management topic comprises the steps that the intelligent container terminal horizontal transportation equipment reports an operation alignment state to the platform, the platform returns response, the platform issues alignment information to the intelligent container terminal horizontal transportation equipment, the intelligent container terminal horizontal transportation equipment returns response, the intelligent container terminal horizontal transportation equipment reports an alignment result to the platform, the platform returns response, the platform issues charging and alignment information to the intelligent container terminal horizontal transportation equipment, and the intelligent container terminal horizontal transportation equipment returns response.
Further, the format of the uplink request, the downlink response, the downlink request or the uplink response of different topics is different, including a lower field header, body, statusCode, expiresIn.
Compared with the prior art, the intelligent container terminal horizontal transportation control platform and the single device can realize real-time communication, ensure the unification of data information formats under different instruction modes, ensure that information receiving and transmitting are concise and rapid, enable different operation systems of the terminal and the inside of the horizontal transportation system to be interacted and cooperated in real time, ensure the continuity of each horizontal transportation operation, improve the container loading and unloading transportation efficiency, reduce the production transportation cost and realize the maximization of the whole operation efficiency of the terminal.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
As shown in fig. 1, the information transmission method for adapting to intelligent container terminal horizontal transport equipment provided by the invention specifically comprises the following steps:
s1, an intelligent container terminal horizontal transport device is accessed to an Internet of things platform and is communicated with each application server through the platform;
s2, the intelligent container terminal horizontal transport equipment communicates with the Internet of things platform in two forms of message reporting and event reporting;
s3, the application server sends instructions to the intelligent container terminal horizontal transportation equipment in three modes of message issuing, command issuing and event issuing;
in the above technical solution, as shown in fig. 1, the intelligent container terminal horizontal transport device communicates with each application server through an internet of things platform, and if the horizontal transport device selects a message reporting form, data information is reported to the internet of things platform through a device message reporting interface, and the internet of things platform forwards the device message to the application server; if the intelligent container terminal horizontal transportation equipment selects an event reporting form, event data is directly reported to an Internet of things platform, and the Internet of things platform forwards equipment data information to an application server. The application server makes a reflection according to the data information reported by the equipment and selects a command issuing mode.
If the application server selects the issuing instruction mode to issue the message, the internet of things platform issues data in a custom format to the intelligent container terminal horizontal transport equipment; if the application server selects the issuing instruction mode as the command issuing, the platform issues a control command to the intelligent container terminal horizontal transport equipment according to a defined command format; if the application server selects the issuing instruction mode as event issuing, the platform issues the event to the intelligent container terminal horizontal transportation equipment according to the defined event format.
In the above technical solution, the internet of things platform communicates with the horizontal transport device through a preset topic, where the topic includes a device management topic, a device information reporting topic, a job task management topic, a path planning issuing topic, a driving instruction issuing topic, a job alignment management topic and a shore bridge position issuing topic, where the various topics are subdivided into a plurality of modules, the preset topic includes a plurality of message types or event types, and specifies formats of an uplink request, a downlink response, a downlink request or an uplink response. Topic classification is favorable for distinguishing information types, improves information receiving and transmitting efficiency, and is convenient for staff to manage.
As shown in fig. 2, the device management topic is divided into a device login request module, a device logout request module, a device heartbeat request module, and a device power-on/power-off instruction module;
the device information reporting topic is divided into a BSM information reporting module, a battery information reporting module and an abnormal alarm information reporting module;
the job task management topic is divided into a job task issuing module, a job command issuing module and an automatic charging execution result issuing module;
the route planning issuing topic is divided into a route navigation issuing module; the running instruction issuing topic is divided into an intelligent container terminal horizontal transport device stopping running module, an intelligent container terminal horizontal transport device canceling scram and a running recovery module;
the operation alignment management topic is divided into an operation alignment reporting module, an alignment information issuing module, an alignment result reporting module and a charging alignment information issuing module;
the shore bridge position issuing topic is divided into a shore bridge position issuing module.
In the above technical solution, as shown in fig. 2, the various topics are subdivided into a plurality of sub-modules, and each module has different interface functions.
The interface function of the device login (logout) request module is used for requesting the device to login (logout) to the platform according to the format defined in the project;
the interface function of the equipment heartbeat request module is used for carrying out application layer heartbeat interaction between the intelligent container terminal horizontal transport equipment and the platform, and the frequency is once in 30 seconds;
the interface function of the equipment power-on/power-off instruction (job command issuing) module is used for a platform to issue equipment power-on/power-off commands (job commands) to equipment according to a format defined in an item;
the interface function of the BSM information reporting module is used for the intelligent container terminal horizontal transport equipment to report BSM information containing positions to an FMS (Flexible Manufacturing System );
the interface function of the battery information reporting module is used for the equipment to report the battery state information of the equipment to the platform;
the interface function of the abnormal alarm information reporting module is used for the intelligent container terminal horizontal transport equipment to report alarm information comprising alarm types and the positions of the intelligent container terminal horizontal transport equipment to the FMS;
the interface function of the job task (path navigation) issuing module is used for the platform to issue a job task (navigation path) to the intelligent container terminal horizontal transportation equipment (equipment) according to the format defined in the project;
the interface function of the automatic charging execution result issuing module is that when the automatic charging pile informs the intelligent container terminal horizontal transport equipment of a gun inserting result, the platform synchronizes the automatic charging pile gun inserting result to a bicycle, and when the intelligent container terminal horizontal transport equipment receives the notification, the platform replies a platform response result;
the interface function of the intelligent container terminal horizontal transport equipment stopping running module is used for the platform to issue running cooperative indication-stopping running to the equipment according to a format defined in the project, and after the equipment receives the instruction, stopping running and storing navi which is not completed due to sudden stop;
the intelligent container terminal horizontal transportation equipment cancels scram, and the interface function of the recovery running module is used for the platform to issue running cooperative indication-recovery stopping running to the equipment according to the format defined in the project;
the interface function of the operation alignment reporting (alignment result reporting) module is used for reporting operation information to the platform according to a format defined in the project by the equipment;
the interface function of the contraposition information issuing (charging contraposition information issuing) module is used for the platform to issue an contraposition command to the equipment according to a format defined in the project;
the interface function of the quay location issuing module is used for the FMS to synchronize the locations of the respective quays to intelligent container terminal horizontal transport equipment (ART, artificial Intelligence Robot of Transportation, artificial intelligent transport robot).
In the above technical solution, each topic type specifies a format for reporting device data information and issuing an application server command, as shown in fig. 3, parameters required for communication between the intelligent container terminal horizontal transport device and the platform of the internet of things mainly include header, body, statusCode and expirein. The header and the status code are communication candidates, and the body and the expiresino are communication candidates; the header and body types are Object, the status code type is String, and the expiresino type is Integer; header definition message header, body definition message body, status code is status code, success is indicated only when the value is 200, and expiration indicates login expiration time. The intelligent container terminal horizontal transportation equipment, the internet of things platform and the application server follow the format rules to jointly complete the communication flow, so that the information receiving and transmitting speed is guaranteed, and the communication accuracy is improved.
In the above technical solution, the parameters header and body have respective structural definitions, where the job task management topic and the job alignment management topic are two main interface modules for communicating between the dock horizontal transport system control platform and the intelligent container dock horizontal transport device, and the job task management topic includes communication interfaces for job task issuing, job command issuing, automatic charging execution result issuing, and the like; the job alignment management topic comprises a communication interface for reporting job alignment, transmitting alignment information, reporting alignment results, transmitting charging alignment information and the like.
In the following, the present invention takes job task management topic and job alignment management topic as examples, and describes definition and description of header parameters and body parameters of each communication interface in detail.
As shown in fig. 4, field information and description of all communication interface header parameters of the job task management topic and job alignment management topic are described in detail.
The parameter header of the job task issuing interface comprises a field transId, deviceId and a timestamp; deviceId and timestamp are optional for communication, transId is optional for communication; transId, deviceId and timestamp are both String types; transId is the unique identity of the message, deviceId is the unique identity of the device, and timestamp is the timestamp;
the parameter header field information used by the operation command issuing interface, the operation counterpoint reporting interface, the counterpoint information issuing interface, the counterpoint result reporting interface, the charging counterpoint information issuing interface and the like is the same, and specifically comprises a field transId, deviceId and a timestamp; the timestamp is a communication alternative, and the transId and deviceId are communication alternatives; transId, deviceId and timestamp are both String types; transId is the unique identification of the message, deviceId is the unique identification of the device, and timestamp is the timestamp.
The parameter header of the automatic charging execution result issuing interface comprises a field transId, deviceId and a timestamp; the timestamp is a communication alternative, and the transId and deviceId are communication alternatives; transId, deviceId and timestamp are both String types; the transId is the unique identification of the message, the deviceId is the unique identification of the charging pile device, and the timestamp is the timestamp.
As shown in fig. 5, field information and description of all communication interface body parameters of the job task management topic and job alignment management topic are described in detail.
A job task issuing interface, wherein the parameter body comprises a field missionId, missionType, destination, operateType and a missionParas; missionId, missionType and operateType are communication candidates, and destination and missionParas are communication candidates; missionId, missionType and operateType are String type, destination is Location type, and missinParas is Object type; the missinId represents a job number, the missinType represents a job task type, the destination represents an end position, the operateType represents a service scene type, and the missinParas represents job parameters in a Json format.
A job command issuing interface, wherein the parameter body comprises fields of a missionId and a missionCommand; both the missinId and the missinCommand are communication candidates; the missinId is of the String type and the missinCommand is of the Integer type; the missinId represents the job number, and the missinCommand represents the specific contents of the job command.
An automatic charging execution result issuing interface, wherein the parameter body comprises a field targetInform and a faultInfo; the charger Inform is communication necessary choice, and the faultInfo is communication optional choice; the charger Inform is of the Integer type, and the faultInfo is of the Object type; the chargenform represents the announcement content of the charging stake, and the faultInfo represents the fault details.
And the job pair bit reporting interface, wherein the parameter body comprises fields of a missionId and status. Both the missionId and status are communication candidates; the missionId is of the String type, and status is of the Integer type; the missionId represents a task number and status represents the status of the corresponding task in the job area.
A bit information issuing interface, wherein the parameter body comprises fields of missionId, targetId, inPosition and offset; the missinId, targetId and inPosition are communication candidates, and the offset is communication candidates; the missionId and targetId are of the String type, and the inPosition and offset are of the Integer type; the missinId represents the task number, the targetId represents the bit object number, the inPosition represents the in-place state, and the offset represents the relative offset.
And reporting the bit result to an interface, wherein the parameter body comprises fields of a missionId and status. Both the missionId and status are communication candidates; the missionId is of the String type, and status is of the Integer type; the missinid indicates a task number, and status indicates a job-aligned guidance result confirmation state.
The charging contraposition information issuing interface comprises fields including inPosition, offsetX, offsetY and angle; the inoposition is a communication necessity, the offsetX, the offsetY and the angle are communication alternatives; the inPosition, offsetX, offsetY and angle are all of the Integer type; the inoposition indicates the gun in place, offsetX indicates the longitudinal offset, offsetY indicates the lateral offset, and angle indicates the angular offset.
Finally, it should be noted that the above-described embodiments are only for the purpose of illustration and description of the present invention, and are not intended to limit the invention to the embodiments described. In addition, it will be understood by those skilled in the art that the present invention is not limited to the embodiments described above, and that many variations and modifications may be made in accordance with the teachings of the present invention, which fall within the scope of the claimed invention.