Area ASM message voice prompt device of AIS/VDES
1. A regional ASM message voice prompt device of AIS/VDES is composed of a storage battery, an embedded microprocessor, an AIS receiving module, a text-to-voice module, a loudspeaker and a regional selection dial; the embedded microprocessor executes the AIS/VDES message analysis module according to AIS/VDES message protocol standard after receiving the message of the AIS receiving module; the method is characterized in that:
the technical scheme includes that an embedded microprocessor is connected with a region selection dial, an AIS receiving module is connected with the embedded microprocessor, the embedded microprocessor is connected with a text-to-speech module, and the text-to-speech module is also connected with a loudspeaker;
the embedded microprocessor has a variable myMMSI, stores the overwater mobile communication service identification code of the ship, stores the identification code in a FLASH of the embedded microprocessor, and can be modified and stored, particularly, the modification is carried out through a serial port, and the myMMSI is consistent with the AIS shipway MMSI of the ship;
the embedded microprocessor has a voice playing object structure nt _ AISVoice composed of Priority, playing time Count, playing interval Span (unit: second), playing mode Type and playing content buffer AISTxt [ m ], wherein m is in the range of: 30-300 parts of; the embedded microprocessor has a voice playing object array buffer myVoice [ n ] defined by nt _ AISFOice, and the range of n is as follows: 2 to 100 parts;
the embedded microprocessor is provided with a parameter weight structure nt _ AISAR consisting of a Priority weight Priority, a playing frequency weight Count and a playing mode weight Type; the embedded microprocessor has a parameter weight object myRatio defined by nt _ AISAR, and the numerical value of the object is stored in a FLASH of the microprocessor and can be modified through a serial port;
the embedded microprocessor executes the AIS message analysis module: fourthly, MMSI inspection is carried out, and when the MMSI of the target ship in the AIS message is equal to the myMMSI of the ship, the fifth step, namely area ASM message inspection and decoding, is executed;
sixthly, checking and decoding a regional ASM message of the embedded microprocessor, firstly, searching an idle position x in a voice playing object array buffer myVoice [ n ], namely, the idle position x meets myVoice [ x ] and the Count = 0; then checking whether the buffer myAIS message is a No. 6 message, if so, selecting a corresponding message 6 region ASM processing module according to a region selection variable myZone, obtaining data of the message such as Priority, playing times, playing time interval, playing mode, Chinese prompt text and the like, inserting the data into the Priority, Count, Span, Type and AISTxt [ m ] of myVoice [ x ], and then exiting the module; if the buffer myAIS message is not the No. 6 message, continuing to perform subsequent work to check whether the message is the No. 8 message, if the message is the No. 8 message, selecting a corresponding message 8 region ASM processing module according to a region selection variable myZone, obtaining the Priority level, the playing frequency, the playing time interval, the playing mode and a Chinese prompt text of the message, inserting the Priority level, the Count, the Span, the Type and the AISTT [ m ] of myVoice [ x ], and exiting the module;
when entering an interrupt service program of a voice playing timer, the embedded microprocessor firstly calls a voice playing text analysis method module to analyze a voice playing object array buffer myVoice [ n ], so as to obtain a specific object myVoice [ k ] which needs to be sent currently, secondly sends myVoice [ k ] AISTxt [ m ] data to a text-to-voice module, then reduces myVoice [ k ] Count by one, and finally sets a voice playing timer period by myVoice [ k ] Span;
and the voice playing text analysis method module is used for respectively buffering the voice playing object array buffer myVoice [ n ]]And myRatio, the calculation formula is as follows: pi=myVoice[i].Count×(myVoice[i].Priority×myRatio.Priority+myVoice[i]Type × myratio.type), thereby obtaining n scoring values of the voice playback object, forming a data set { P0,P1,…,Pn-1}; then in the data set { P }0,P1,…,Pn-1Find the maximum value P inmaxAnd P ismaxNot 0, this myVoice max]It is the voice playing object needed this time.
2. The AIS/VDES regional ASM message voice prompt apparatus of claim 1, wherein: the embedded microprocessor has a region selection variable myZone, can be modified and stored, and is specifically modified through region selection dialing and serial ports.
3. The AIS/VDES regional ASM message voice prompt apparatus of claim 1, wherein: the text-to-speech module is SYN 6288.
4. The AIS/VDES regional ASM message voice prompt apparatus of claim 1, wherein: the AIS receiving module is AIS33 VRX.
Background
An Automatic Identification System (AIS) for ship is composed of VHF communication unit, GPS locator, display and sensor, and can continuously and automatically broadcast the ship and receive the dynamic and static information of other ships, such as position, speed, course and name of ship. The AIS is connected with terminal equipment such as radar, ECDIS, VTS, can effectively obtain traffic information, is favorable to promoting to constitute marine traffic management and monitoring network, is favorable to reducing boats and ships collision accident. The AIS shore-based network which is the largest in scale and is interconnected and intercommunicated around the world is built in China, AIS data is widely applied, and the AIS shore-based network plays a great role in aspects of shipping guarantee and management, such as flow analysis, maritime search and rescue, maritime survey and the like.
In 2012, a VDES (very high frequency Data Exchange System) is formed by an ITU (International Telecommunication Union) and is added with functions of an Application Specific Message (ASM) and a broadband very high frequency Data Exchange (VDE) on the basis of the existing AIS function, so that the pressure of the existing AIS Data communication can be effectively relieved; due to the high bandwidth of VDES, the information available for the future ships is greatly enriched, so that not only the safety information of maritime affairs, search and rescue and the like can be transmitted, but also the business information of port operation, freight management, electronic customs declaration and the like is expected to be transmitted, and an effective auxiliary means is provided for protecting the navigation safety of the ships. The International Association of shipping and Navigation (International Association of International america) suggested VDES as The primary communication link for e-Navigation in 2013. In 2014, VDES was adopted by IMO (International Maritime Organization) as an important component of the implementation of e-navigation strategies. Determined in 2015 via a joint review by 162 member countries and 136 international organizations and groups.
According to the AIS protocol, the message data is binary encoded in english or numbers. The AIS messages have various types and relate to AIS link management, dynamic and static information broadcasting, safety communication and the like, wherein the number 6 and 8 messages are binary messages and can be independently coded to compile different information messages. In 2011, the maritime affairs office of the department of transportation of China issued the Chinese coding rule of automatic identification system, and expanded the information of the Chinese character code for the messages No. 6 and No. 8 of the AIS on the basis of ITU-R M.1371-1. In order to improve AIS navigation support guarantee efficiency, the IMO defines the Application based on AIS binary telegraph text as an Application Specific Message (ASM), actively promotes Application and popularization, and aims to widen AIS Application channels by utilizing the characteristics of flexible and various contents, comprehensive functions and the like of the type of telegraph text; in 2010, an AIS/ASM application guide rule is officially released by an IMO, relevant contents including airline recommendations, onboard personnel number reports, arrival cleaning time, area announcements and the like are covered, and reference standards are provided for releasing various navigation aid information including airline telegraph messages in the AIS. Certainly, each sovereign country can develop 'regional ASM' application in the jurisdiction without IMO approval, and a unique message in the jurisdiction is formulated to provide requirements that international ASM cannot meet, so that a rapid formulation and implementation way is provided for developing ASM application in a specific region. For example, in 4.2019, "ship materials and markets" published "sunken ship identifier ASM message information format design", a real-time sunken ship message format based on AIS/ASM broadcast messages is designed, 11 types of sunken ship information including sunken ship type, longitude and latitude and spatial scale include the requirement of ship navigation on sunken ship information.
The existing AIS display equipment cannot display a lot of information of the ASM, such as navigation aid information based on the ASM, a sunken ship area and the like, and cannot meet the requirement of the development of the ASM application, namely, the main obstacle of the ASM application is that the existing driving platform equipment cannot basically process and display the ASM telegraph text. In 3 months of 2015, the university college newspaper (nature science edition) published the "AIS voice broadcast of emergency coordination collision avoidance decision", which indicates: AIS text decision information is not easy to be found in time, the aim of effective coordination and collision avoidance cannot be achieved, and an AIS short message voice playing function design framework is provided, the system comprises a PC (personal computer) of a ship, an RS422/RS232 conversion interface, AIS equipment and the like, the AIS and the PC are connected through the RS422/RS232 conversion interface, and the PC is mainly used for encoding and decoding AIS information; the main hardware equipment required by the two ships comprises ECDISS based on a PC, AIS equipment and a loudspeaker; when a ship (hereinafter called an initiator) falls into urgent danger, coordination collision avoidance is needed, collision avoidance decision information to be sent forms an AIS decision message through a coding module, the AIS short message package conforms to IEC61162-1 standard, a No. 12 message is used and sent in a point-to-point short message mode, and the message is sent to a serial port module and sent to the ship (hereinafter called a receiver) needing collision avoidance through a wireless channel; the AIS equipment of the receiver can output a message which begins with an AIVDM statement and is packaged with AIS information from a serial port after receiving the transmitted 12 messages, the PC reads the message through the serial port, firstly, the message is checked, the message is extracted after no errors exist, characters are converted into 6-bit binary fields one by one, then, required information is obtained according to a 12 message packaging structure, and text information is broadcasted in a voice mode by utilizing a voice module to inform the receiver of decision information; experiments verify that the AIS can automatically broadcast the received emergency coordination collision avoidance decision short messages by international universal standard voice. Beneficial attempts are made around the application of ASM, such as a master paper of american university in 2014 "research and development of AIS binary text chinese display terminal", a master paper of american university in 2015 "research and development of Android platform-based AIS _ ASM information display technology", a master paper of american university in 2016 "AIS planning airline telegraph distribution and analysis program design research".
In recent years, the public entrepreneurship and the public innovation become important power for economic development in new normality of China, and the advanced technology, namely the subversive technology, can be developed by adding physical strength and mental strength and adding creation, so that more values can be created; china highly attaches importance to the improvement of navigation safety guarantee capability by means of high and new technologies, particularly in important areas such as bridge areas and ports, optimizes and strengthens the deployment and intellectualization of devices such as automatic voice broadcasting, alarming and screen display devices, and timely issues VTS early warning information; according to the IMO standard, if the existing modules, devices and the like are organically integrated, a novel device is formed, and the development of the industry can be promoted undoubtedly. Document CN106550287A discloses a VHF intercom device integrated with AIS reception, which can display the own position information, and also can display the received position signals of other ships on a display module, and can also implement the voice transmission or reception function with other ships, thereby ensuring the implementation of the VHF intercom function. Document CN106836136A discloses an AIS-based active collision avoidance system for river and sea bridges, which includes a navigation information processing unit, a data processing unit and a voice signal sending unit, which can form data exchange with ships and ship traffic management systems, and the data processing unit can complete data exchange with the navigation information processing unit and the voice signal sending unit respectively; the navigation information processing unit is used for sending navigation main pier information to a ship, receiving the ship information and transmitting the ship information to the data processing unit; the data processing unit calculates according to the received ship information, analyzes the ship situation, judges whether the ship has collision danger or not, timely sends a voice warning to the voice signal sending unit if the collision danger exists, and timely sends a voice prompt to the voice signal sending unit if the collision danger does not exist. Document CN107886775A proposes an active anti-collision early warning method and system for ships in bridge area, the method includes: s1: dividing a navigation area of a bridge area based on the electronic chart; s2: setting a converse judgment virtual navigation mark on the boundary of each virtual navigation mark navigation area close to the adjacent navigation hole; s3: collecting AIS information of navigation ships in a bridge area in real time; s4: acquiring a collision risk level for evaluating the running state of the ship according to the real-time coordinate of the ship and the bow direction based on the navigation area of the bridge area; s5: broadcasting broadcast information corresponding to the collision risk level acquired in step S4 to the ship; therefore, the risk of ship collision with the bridge is evaluated based on the AIS data, and navigation aid service and early warning information are provided for the ship according to different risk grades in a classified mode. Document CN110312215A discloses an intelligent sensing and navigation aid information broadcasting device for lighthouses/lightpoles, which provides a cloud software platform and a back-end AIS data receiving and control instruction sending software; the system comprises a power supply module, a singlechip control board, an AIS transceiver module, a 4G DTU wireless data transmission module, a loudspeaker power amplifier module, a voice synthesis module, a camera and holder module, a loudspeaker and a CY-VH01 bidirectional very high frequency wireless telephone; the singlechip control panel is connected with the voice synthesis module; the voice synthesis module is respectively connected with the loudspeaker power amplification module and the CY-VH01 bidirectional very high frequency wireless telephone; the AIS transceiving module is respectively in communication connection with the 4G DTU wireless data transmission module and the singlechip control board; the singlechip control panel is also connected with a power supply module; the camera and the holder module are connected with the 4G DTU wireless data transmission module; the invention sends various forms of VHF radio station, sound playing and the like to correctly provide navigation aid early warning information for the ship according to different early warning levels.
The AIS ASM message can also have a special message function of requesting other ships and corresponding to the AIS ASM message, can automatically receive and feed back the information of the request, improves the information transmission efficiency and reliability, and reduces the manual operation burden, and the AIS ASM message helps to reduce voice communication and helps ships to timely and accurately acquire information so as to avoid accidents. Therefore, the navigation aid device capable of receiving the ASM information of the AIS/VDES area and converting the ASM information into the voice prompt can obviously provide another auxiliary prompt mode for the screen display mode of the conventional AIS slipway device and provide equipment support for navigation management of the limited area.
Disclosure of Invention
The invention aims to overcome the defects of the prior art, and provides an AIS/VDES regional ASM message voice prompt device for organically integrating the existing unit modules, which can convert AIS/VDES regional ASM information into voice and output the voice through a loudspeaker, thereby providing a voice prompt mode of navigation aid information for ship drivers.
In order to achieve the purpose, the technical scheme of the invention is as follows: the area ASM message voice prompt device of the AIS/VDES comprises an area monitoring center, an AIS/VDES network, an AIS shipway and an ASM voice box of the AIS/VDES, wherein the area monitoring center is respectively connected with the ASM voice box of the AIS shipway and the ASM voice box of the AIS/VDES through the AIS/VDES network.
The regional monitoring center carries out ship collision risk assessment on ship radar data, ship AIS data, video identification data, a chart electronic fence and other data, generates message data such as emergency early warning, appointed prompt, broadcasting and navigation aid and the like, and packages regional ASM according to AIS specification requirements and sends the regional ASM to an AIS/VDES network.
The AIS berth is mature AIS ship navigation aid equipment.
The ASM voice box of AIS/VDES, by the battery, embedded microprocessor, AIS receiving module, text commentaries on classics voice module, loudspeaker, regional selection dial code are constituteed, wherein, the battery links to each other with embedded microprocessor, AIS receiving module, text commentaries on classics voice module respectively, embedded microprocessor links to each other with regional selection dial code, AIS receiving module and embedded microprocessor link to each other, embedded microprocessor links to each other with text commentaries on classics voice module, text commentaries on classics voice module still links to each other with loudspeaker.
The AIS receiving module is an AIS signal receiver, and in one embodiment, the type of the AIS signal receiver is AIS33 VRX.
The text-to-speech module is a speech synthesis module, a text-to-speech TTS real-person pronunciation module, and in one embodiment, the model is SYN 6288.
The embedded microprocessor has a variable myMMSI, stores a Marine Mobile Service Identification (MMSI) of the ship, stores the MMSI in a FLASH of the embedded microprocessor, can be modified and stored, and specifically modifies the MMSI through a serial port, and the myMMSI is consistent with the AIS berth MMSI of the ship.
The embedded microprocessor has a region selection variable myZone, can be modified and stored, and is specifically modified through region selection dialing and serial ports.
The embedded microprocessor has an AIS message buffer myAIS for storing the received messages from the AIS receiving module.
The embedded microprocessor has a voice playing object structure nt _ AISVoice composed of Priority, playing frequency Count, playing interval Span (unit: second), playing mode Type and playing content buffer AISTxt [ m ], where m is in the range of: 30-300 parts of; the embedded microprocessor has a voice playing object array buffer myVoice [ n ] defined by nt _ AISFOice, and the range of n is as follows: 2 to 100. The priority level is determined according to the types of emergency early warning, designated prompt, broadcast navigation aid and the like generated by ship collision risk assessment. The playing times are determined according to the types of emergency early warning, appointed prompt, broadcasting navigation aid and the like generated by ship collision risk assessment. The playing mode refers to a voice playing mode, and the two playing modes are as follows: the continuous playing and the alternate playing are determined by the types of emergency early warning, appointed prompt, playing and navigation aid and the like generated by the ship collision risk assessment.
The embedded microprocessor has a parameter weight structure nt _ AISAR composed of Priority weight, play frequency weight Count and play mode weight Type; the embedded microprocessor has a parameter weight object myRatio defined by nt _ AISAR, the numerical value of the object is stored in a FLASH of the embedded microprocessor, the initialization of each member variable is 1, and the member variables can be modified through a serial port.
After the embedded microprocessor finishes receiving the message of the AIS receiving module, the embedded microprocessor executes the AIS/VDES message analysis module according to AIS/VDES message protocol specifications: firstly, looking up a symbol!in the buffer myAIS, and executing the second step only if the symbol!is found; secondly, searching a symbol "+" backwards from the position of the symbol "!in the buffer myAIS, and executing the third step only if the symbol" + "is found; thirdly, carrying out message check calculation, and executing the fourth step only after the check is correct; fourthly, MMSI inspection is carried out, and when the MMSI of the target ship in the AIS message is equal to the myMMSI of the ship, the fifth step, namely area ASM message inspection and decoding, is executed; fifthly, checking and decoding the regional ASM message; and if the first step, the second step, the third step and the fourth step all fail, namely the symbol "!is not found, the symbol" + "is not found, the error is checked, and the ASM message which is not sent to the ship is not sent, the buffer area myAIS is emptied, and the module exits.
Checking and decoding a regional ASM message of the embedded microprocessor, firstly, searching an idle position x in a voice playing object array buffer myVoice [ n ], namely, the idle position x satisfies myVoice [ x ]. Count = 0; then checking whether the buffer myAIS message is a No. 6 message, if so, selecting a corresponding message 6 region ASM processing module according to a region selection variable myZone, obtaining data of the message such as Priority, playing times, playing time interval, playing mode, Chinese prompt text and the like, inserting the data into the Priority, Count, Span, Type and AISTxt [ m ] of myVoice [ x ], and then exiting the module; if the buffer myAIS message is not the No. 6 message, continuing to perform subsequent work to check whether the message is the No. 8 message, if the message is the No. 8 message, selecting a corresponding message 8 region ASM processing module according to a region selection variable myZone, obtaining the Priority level, the playing frequency, the playing time interval, the playing mode and a Chinese prompt text of the message, inserting the Priority level, the Count, the Span, the Type and the AISTT [ m ] of myVoice [ x ], and exiting the module; if the message is neither the No. 6 message nor the No. 8 message, the module is directly exited.
The embedded microprocessor is provided with a voice playing timer, and the interrupt period can be set and has the unit of second; when the embedded microprocessor enters an interrupt service program of a voice playing timer, firstly, a voice playing text analysis method module is called to analyze a voice playing object array buffer myVoice [ n ], so that a specific object myVoice [ k ] which needs to be sent currently is obtained, secondly, myVoice [ k ] and AISTxt [ m ] data are sent to a text-to-voice module, secondly, myVoice [ k ] and Count are reduced by one, and finally, myVoice [ k ] and Span are used for setting the period of the voice playing timer.
The voice playing text analysis method module is used for respectively buffering a voice playing object array buffer myVoice [ n ]]And myRatio, the calculation formula is as follows: pi=myVoice[i].Count×(myVoice[i].Priority×myRatio.Priority+myVoice[i]Type × myratio.type), thereby obtaining n scoring values of the voice playback object, forming a data set { P0,P1,…,Pn-1}; then in the data set { P }0,P1,…,Pn-1Find the maximum value P inmaxAnd P ismaxNot 0, this myVoice max]Is the language required this timeAnd (4) playing the object by sound.
Compared with the prior art, the invention has the beneficial effects that: the AIS/VDES area ASM information can be played in a voice mode, the defects of an AIS slipway terminal are overcome, and new equipment is provided for a ship driver to concentrate on steering.
The objects, features and advantages of the present invention will be described in detail by way of embodiments in conjunction with the accompanying drawings.
Drawings
Fig. 1 is a diagram of an application scenario of the present invention.
Fig. 2 is a structural composition diagram of the present invention.
Fig. 3 is a flow chart of AIS message parsing of the present invention.
Fig. 4 is a flow chart of the regional ASM message inspection and decoding of the present invention.
Fig. 5 is a flow chart of the voice play timer interrupt service of the present invention.
Detailed Description
In fig. 1, 100 is an area monitoring center, 101 is ship radar data, 102 is ship AIS data, 103 is video identification data, 104 is a chart electronic fence, 105 is important area ship collision risk assessment, 106 is emergency warning, 107 is a designated prompt, 108 is broadcast navigation aid, 109 is an AIS berth, 110 is an ASM voice box of AIS/VDES, and 111 is an AIS/VDES network, wherein 100 is composed of 101, 102, 103, 104, 105, 106, 107, and 108, 101, 102, 103, 104, 106, 107, and 108 are respectively connected with 105, and 100 is respectively connected with 109 and 110 through 111.
In fig. 2, 201 is an embedded microprocessor, 202 is an AIS receiving module, 203 is a text-to-speech module, 204 is a speaker, 205 is a storage battery, and 206 is a zone selection dial, wherein 205 is respectively connected with 201, 202, and 203, 203 is further connected with 204, and 201 and 206 are connected.
To further explain the specific embodiment of the present invention, the emergency control method according to the present invention is specifically described with reference to the flowcharts shown in fig. 3, fig. 4, and fig. 5, and includes the following steps:
step 301: executing the AIS message analysis module, and executing step 302;
step 302: looking up the symbol "!" in the buffer myAIS, if found, performing step 303, otherwise performing step 306;
step 303: looking up the symbol "|" in the buffer myAIS backwards in position, if found, go to step 304, otherwise go to step 306;
step 304: performing message checking calculation, if the checking is correct, executing step 305, otherwise executing step 306;
step 305: checking whether the target MMSI in the message is equal to the myMMSI of the ship, if so, executing a step 306, otherwise, executing a step 307;
step 306: after the inspection and decoding of the regional ASM message are continued, step 306 is executed;
step 307: the buffer is emptied and step 308 is executed;
step 308: and exiting the module.
Step 401: the regional ASM message inspecting and decoding module starts and performs step 402;
step 402: searching an idle position x in the voice playing object array buffer myVoice [ n ], namely, myVoice [ x ]. Count =0, and executing step 403;
step 403: checking whether the myAIS message in the buffer area is a No. 6 message, if so, executing a step 406, otherwise, executing a step 404 if the myAIS message is wrong;
step 404: checking whether the myAIS message in the buffer area is a message No. 8, if so, executing a step 405, otherwise, executing a step 407 if the message is wrong;
step 405: selecting a corresponding message 8 processing module according to the myZone, obtaining the Priority level, the playing times, the playing time interval, the playing mode and the Chinese prompt text of the message, inserting the Priority, the Count, the Span, the Type and the AISTxt [ m ] of myVoice [ x ], and executing step 407;
step 406: selecting a corresponding message 6 processing module according to the myZone, obtaining data such as Priority level, playing times, playing time interval, playing mode, Chinese prompt text and the like of the message, inserting the data into Priority, Count, Span, Type and AISTxt [ m ] of myVoice [ x ], and executing step 407;
step 407: and exiting the module.
Step 501: entering a voice playing timer interrupt service routine, and executing step 502;
step 502: calculating the myVoice [ n ] and myRatio of the voice playing object array buffer area, wherein the calculation formula is as follows: pi = myVoice [ i ]. Count × (myVoice [ i ]. Priority × myratio.priority + myVoice [ i ]. Type × myratio.type), go to step 503;
step 503: n scoring values of the voice playing object are obtained to form a data set { P }0,P1,…,Pn-1Executing step 504;
step 504: in the data set { P0,P1,…,Pn-1Find the maximum value P inmaxAnd P ismaxIf not, obtaining the required voice playing object myVoice [ max ]]Step 505 is executed;
step 505: the myVoice [ max ] and AISTxt [ m ] data are sent to the text-to-speech module, and finally the myVoice [ max ] and Count are reduced by one, and step 506 is executed;
step 506: myVoice max. Span is used to set the period of the voice playing timer, and step 507 is executed;
step 507: and exiting the timed interrupt service routine.
Although specific embodiments of the invention have been described above, it will be understood by those skilled in the art that the specific embodiments described are illustrative only and are not limiting to the scope of the invention, and that any equivalent modifications and variations that are obvious from the technical teaching of the present invention are intended to be included within the scope of the appended claims.