CN112214264A - AIS interactive operation processing method and device - Google Patents

AIS interactive operation processing method and device Download PDF

Info

Publication number
CN112214264A
CN112214264A CN202011079494.9A CN202011079494A CN112214264A CN 112214264 A CN112214264 A CN 112214264A CN 202011079494 A CN202011079494 A CN 202011079494A CN 112214264 A CN112214264 A CN 112214264A
Authority
CN
China
Prior art keywords
ais
event
processing
interactive operation
user interface
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
CN202011079494.9A
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.)
Transport Planning And Research Institute Ministry Of Transport
Original Assignee
Transport Planning And Research Institute Ministry Of Transport
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 Transport Planning And Research Institute Ministry Of Transport filed Critical Transport Planning And Research Institute Ministry Of Transport
Priority to CN202011079494.9A priority Critical patent/CN112214264A/en
Publication of CN112214264A publication Critical patent/CN112214264A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides an AIS interactive operation processing method and device for an automatic identification system of a ship, wherein the method comprises the following steps: detecting and receiving an interactive operation instruction of a user on a user interface; determining an AIS processing event corresponding to the interactive operation instruction based on the interactive operation instruction; and executing the operation corresponding to the AIS processing event based on the AIS processing event. Compared with the prior art, the technical scheme provided by the application can embody a complete AIS processing event communication system by processing AIS processing events in a divided manner.

Description

AIS interactive operation processing method and device
Technical Field
The application relates to the technical field of automatic ship identification systems, in particular to an AIS interactive operation processing method and device.
Background
The automatic Identification system AIS (automatic Identification system) of the ship is developed by a friend or foe identifier of a ship and an airplane, and is matched with a global positioning system (GPS or Beidou) to broadcast the ship position, ship speed, changed course rate, course and other ship dynamic information combined with ship static information such as ship name, call number, draught, dangerous goods and the like to ships and shore stations in nearby water areas through Very High Frequency (VHF) channels, so that the nearby ships and shore stations can timely master the dynamic and static information of all ships on nearby sea surfaces, and the communication coordination can be realized immediately, necessary avoidance action is taken, and great help is provided for the safety of the ships.
However, the AIS system currently applied has fewer types and lower degree of division of AIS processing events in the control logic of the AIS processing events, and therefore how to logically divide and control the AIS processing events becomes an urgent technical problem to be solved.
Disclosure of Invention
In view of this, embodiments of the present application provide an AIS interoperation processing method and apparatus, so as to solve the problems in the prior art that the AIS processing event processing communication system has fewer types of AIS processing events and has a lower degree of division.
In a first aspect, an embodiment of the present application provides an AIS interactive operation processing method, where the method includes: detecting and receiving an interactive operation instruction of a user on a user interface; determining an AIS processing event corresponding to the interactive operation instruction based on the interactive operation instruction; and executing the operation corresponding to the AIS processing event based on the AIS processing event.
In an embodiment of the present application, the AIS processing event is a UART communication event, where based on the AIS processing event, an operation corresponding to the AIS processing event is executed, including: inputting the UART communication event into a digital processing module, and analyzing the UART frame format input into the digital processing module to obtain an analysis result; when the analysis result is data information, inputting the analysis result into a data processing module for data format conversion and presenting the converted data information to a user interface; and when the analysis result is the control information, inputting the analysis result into a command analysis processing module for analysis and presenting the analyzed control information to a user interface.
In one embodiment of the present application, the digital processing module comprises a Field Programmable Gate Array (FPGA) core board.
In an embodiment of the present application, the AIS processing event is an input event, where based on the AIS processing event, an operation corresponding to the AIS processing event is executed, including: judging whether the keyboard or the remote controller triggers an interactive operation instruction; when the keyboard triggers the interactive operation instruction, calling a keyboard driver to acquire a keyboard key value and returning the keyboard key value to the input event processing module; when the remote controller triggers an interactive operation instruction, calling a remote controller drive to acquire a remote controller key value and returning the remote controller key value to the input event processing module; the input event processing module presents the keyboard key value or the remote controller key value to the user interface.
In an embodiment of the present application, the AIS processing event is a change display event, wherein based on the AIS processing event, an operation corresponding to the AIS processing event is executed, including: and moving the display driver to present the change display event on the user interface.
In an embodiment of the present application, the AIS processing event is a print event, wherein based on the AIS processing event, an operation corresponding to the AIS processing event is executed, including: and calling a printing driver to finish the printing event.
In an embodiment of the present application, the AIS processing event is a storage event, where based on the AIS processing event, an operation corresponding to the AIS processing event is executed, including: and calling a storage driver to finish storing the AIS processing event.
In one embodiment of the present application, detecting and receiving an interactive operation instruction of a user at a user interface includes: the user interface is scanned based on a predetermined time interval to detect the interoperation instructions.
In a second aspect, an embodiment of the present application provides an AIS interoperation processing apparatus, where the detection receiving module is configured to detect and receive an interoperation instruction of a user on a user interface; the determination module is used for determining an AIS processing event corresponding to the interactive operation instruction based on the interactive operation instruction; and the execution module is used for executing the operation corresponding to the AIS processing event based on the AIS processing event.
In a third aspect, an embodiment of the present application provides an electronic device, including: a processor; a memory for storing processor executable instructions, wherein the processor is configured to perform the AIS interoperation processing method according to the first aspect.
The embodiment of the application provides an AIS interactive operation processing method and device, and the AIS interactive operation processing method and device are beneficial to quickly processing different AIS processing events by receiving trigger instructions corresponding to different AIS processing events on a user interface of AIS shipborne equipment, and can further embody a complete AIS processing event communication system.
Drawings
Fig. 1 is a schematic flow chart of an AIS interactive operation processing method according to an embodiment of the present application.
Fig. 2 is a schematic flowchart illustrating a UART communication event of the AIS interactive operation processing method according to an embodiment of the present application.
Fig. 3 is a schematic flow chart illustrating an input event of the AIS interactive operation processing method according to an embodiment of the present application.
Fig. 4 is a schematic flow chart illustrating a change display event of the AIS interactive operation processing method according to an embodiment of the present application.
Fig. 5 is a schematic flow chart illustrating a print event of the AIS interactive operation processing method according to an embodiment of the present application.
Fig. 6 is a schematic flow chart illustrating a storage event of the AIS interactive operation processing method according to an embodiment of the present application.
Fig. 7 is a schematic flowchart illustrating an AIS interactive operation processing method according to another embodiment of the present application.
Fig. 8 is a schematic structural diagram of an AIS interoperation processing apparatus according to an embodiment of the present application.
Fig. 9 is a block diagram illustrating an electronic device for an AIS interactive operation processing method according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a flowchart illustrating a method for assisting language learning according to an embodiment of the present application. The method of FIG. 1 is performed by a computing device, such as an AIS terminal, and other AIS onboard equipment. As shown in fig. 1, the AIS interactive operation processing method includes the following contents.
110: and detecting and receiving an interactive operation instruction of a user on a user interface.
Specifically, the user interface may be an AIS communication interface displayed by the AIS terminal device, and the AIS communication interface is configured to receive an interactive operation instruction of a user.
The interoperation instruction may be an operation by a contact object (e.g., a finger). The interactive operation command may be operated by a control (e.g., a cursor or a mouse). The control method for generating the interactive operation instruction is not particularly limited in the embodiments of the present application. And, the interoperation instruction may be to select content presented in the user interface, for example, to click on the AIS function module. The interactive operation command may also be selected through a preset gesture, for example, a circular gesture is input on the interface to perform corresponding command movement.
The method for detecting and receiving the interactive instruction may be that after the interactive instruction of the user is generated, the interactive instruction is used as a trigger operation to execute a corresponding operation, or a background continuously scans a user interface at a predetermined time interval to detect and receive the interactive operation instruction of the user. For details of the detection instruction, reference is made to the following description of the embodiments, which are not repeated herein.
120: and determining an AIS processing event corresponding to the interactive operation instruction based on the interactive operation instruction.
Specifically, the types of AIS processing events may include input-type events and output-type events. And the AIS processing event may include a plurality, such as 3, 4, or 5 (see, e.g., fig. 7). It should be understood that the AIS processing events are in a parallel relationship, and for details of the AIS processing events, reference is made to the following description of the embodiments, which is not repeated herein.
Referring to fig. 7, the output type event, i.e., the external driver needs to be called, may include a change display event, and the display driver is called to present changed contents on the display device, for example, the LCD driver is called; the method also can comprise the steps that a printing event calls the USB printing driver; storage events may also be included, invoking the SD driver. The input-type event may include a UART communication event. The input-type event may also include an input event. For details of the AIS processing events, reference is made to the following description of the embodiments, which are not repeated herein.
130: and executing the operation corresponding to the AIS processing event based on the AIS processing event.
Specifically, the corresponding operation is performed based on the AIS processing event. E.g., the detected AIS handling event is a change display event, a display driver (e.g., as shown in fig. 4) is invoked to present the contents of the change display on the user interface.
Therefore, the embodiment of the application can further embody the complete communication system for the AIS processing events by providing a set of complete GUI interface application programs, performing division processing on different AIS processing events and taking the interactive operation of the user as a trigger instruction.
Fig. 2 is a schematic flowchart illustrating a UART communication event of the AIS interactive operation processing method according to an embodiment of the present application. Fig. 2 is an example of the embodiment of fig. 1, and the same parts are not repeated, and the differences are mainly described here. As shown in fig. 2, the method includes the following.
210: the main control module scans the user interface at preset time intervals and waits for the occurrence of the AIS processing event.
Specifically, the main control module may be a control unit that controls the entire GUI interface application control logic (see the flow of fig. 2). Therefore, the main control module 210 can be understood as a main control module of the central processing unit. The central processing unit may also include a processor, such as an Advanced RISC Machine, ARM processor. The ARM processor is a display and control unit of the intelligent navigation equipment and is composed of an ARM chip, a power circuit and a storage chip. The central processing unit may be developed based on a Linux operating system, may also be developed based on a Windows operating system, and may also be developed based on a MaxOS operating system, which is not specifically limited in this embodiment of the present application.
It can be understood that the ARM chip embeds the Linux operating system, and can run a cross-platform development library, such as Qt, thereon, so as to realize interaction with a user and complete information interaction with the underlying module.
220: and judging whether a UART communication event is input.
Specifically, if there is an input of the UART communication event, step 230 is executed, otherwise, step 210 is returned to continue waiting for the occurrence of the UART communication event.
230: and sending the UART communication event into a digital processing module, analyzing the UART communication event to obtain an analysis result and judging whether the analysis result is data information or control information.
Specifically, the digital processing module includes an FPGA core board, and for details of the description of the digital processing module, reference is made to the following description of the embodiment, which is not repeated herein for avoiding repetition.
Parsing the UART communication events may include frame format parsing the UART communication events. The parsing process may be parsing according to a set frame format and obtaining a corresponding parsing result. Wherein, the set frame format can be a new message designed in advance according to actual requirements.
In one example, parsing the UART communication event may make a parsing determination within a protocol stack. Since the AIS system itself has a communication rate of 9.6Kbps, a path is not provided specifically for data information transmission such as navigation information. Therefore, in order to realize the function, on one hand, the waveform generated by the AIS can be used for communication along the original physical layer scheme; on the other hand, the frame structure of the AIS needs to be redefined, and new message types are added, as shown in table 1.
TABLE 1 message 30
Figure BDA0002718211770000061
Figure BDA0002718211770000071
The new message 30 occupies 1 AIS standard time slot and can implement point-to-point data transmission. After the ship receives the message, if the 'target ID' field in the message does not match the self ID, the message is discarded. Thus, only the target vessel will process the message.
To ensure that the message is transmitted correctly, a retransmission mechanism may be enabled. After the receiving side finishes receiving, the receiving side needs to perform feedback to the transmitting side (the message structure is shown in table 2), and the transmitting side is informed that the frame sequence number received correctly does not exist. Thereafter, the transmitting party will retransmit the frames until all frames are received correctly or a preset maximum number of retransmissions is exceeded.
Table 2 message 31
Parameter(s) Number of bits Description of the invention
Message ID 6 Message ID, fixed to 31
Object ID 20 Target vessel ID
Source ID 20 Source ID
Number of erroneous frames 8 Total number of frames received in error
Serial number 8 The frame number of message 31, counting from zero
Wrong frame number 106 Receiving the wrong frame number, requiring retransmission
Total number of bits 168 Occupying 1 time slot
Formation communication, e.g., message 32 (see table 3). The message is used for formation communication, and each ship is assigned a formation ID in advance according to the formation to which the ship belongs. After receiving the message 32, comparing whether the target formation ID is consistent with the formation ID of the target formation ID, if not, discarding the message, otherwise, receiving the message, and performing subsequent processing. Further, the message type of the broadcast communication is also taken as the message 32, and the target formation ID is fixed to 0. Any ship receives message 32 and the target formation ID equals 0.
TABLE 3 message 32
Figure BDA0002718211770000072
Figure BDA0002718211770000081
The region broadcasts, for example, message 33 (see table 4). The purpose of the area broadcast is to allow ships within a particular area to receive messages. The message format is shown in table 4, the region is a rectangular region, the longitude and latitude 1 in the message represents the lower left corner coordinate of the rectangle, and the longitude and latitude 2 represents the upper right corner coordinate of the rectangle. After receiving the message 33, the ship determines whether it is within the specified rectangular area, and if so, receives the message, otherwise, discards it.
TABLE 4 message 33
Parameter(s) Number of bits Description of the invention
Message ID 6 Message ID, fixed to 33
Longitude 1 28 Longitude of lower left corner of rectangular region
Latitude 1 27 Latitude of lower left corner of rectangular region
Longitude 2 28 Longitude of upper right corner of rectangular region
Latitude 2 27 Latitude of upper right corner of rectangular region
Navigation data frame number 8 Total frame number required by this data transmission
Serial number 8 Frame number, counting from zero
Number of active bits 8 Effective bit number of navigation data
Navigation data 196 Navigation data
Total number of bits 336 Occupying 2 time slots
The audio file can also be regarded as a kind of data, so that one of the messages 31 to 33 can be selected for communication according to the difference of communication modes.
Distress call, e.g., message 34 (see table 5). The distress call is only transmitted after being pressed by a special key in distress, and the message number is 34. The distress message is a broadcast message which is repeatedly transmitted, and the distress message carries the position information and the basic information of the distress ship.
TABLE 5 message 34
Figure BDA0002718211770000082
Figure BDA0002718211770000091
It should be understood that data generated by all of the communication types described above may be recorded and stored by the AIS device (e.g., receiver). If the amount of memory exceeds the maximum limit, the new message will overwrite the oldest message. In addition, a flag may be set for a critical message, and for a message to which the flag is added, the message will not be overwritten by another message. Because the device provides a data transmission interface, the history information stored in the device can be conveniently transmitted to a PC or other devices for reference, statistics and the like.
Therefore, the self-defined communication protocol provided by the embodiment of the application can transmit information such as voice and characters besides realizing basic navigation data communication between the main ship and the auxiliary ship. The broadcasting mode has a common broadcasting function and a self-defined area broadcasting function, and can realize formation transmission and send specific messages to a designated formation.
240: when the analysis result is data information, entering a data processing module for data format conversion to obtain specific data information; and when the analysis result is the control information, entering a command analysis processing module for analysis to obtain the specific control information.
Specifically, the data information and the control information are analyzed to obtain data therein. For example, the parsed specific data information may be "the target ship arrives at the target location approximately 1 month and 30 days 2018". In addition, the embodiment of the present application does not limit the specific form of parsing the data information and the control information.
250: and returning the analyzed data information and the control information to the main control module, and displaying the analyzed data information and the analyzed control information on a user interface by the main control module.
Specifically, the main control module presents the parsed information (the information includes data information and control information), such as text, on the user interface of the AIS terminal device, and prompts the user.
Therefore, the AIS processing event type is enriched, and the real-time performance, reliability and safety of data communication between sailing ships are improved.
According to one embodiment of the application, the digital processing module comprises a Field Programmable Gate Array (FPGA) core board.
In particular, the FPGA core board may be a core unit of a digital processing module. The FPGA core board can comprise a power supply control circuit, an FPGA minimum system and a storage chip. In order to match with peripheral devices, the pin levels of all the expansion interfaces of the FPGA core board can be adjusted correspondingly. The application embodiment does not specifically limit the use model of the FPGA core board, and can be flexibly set according to actual production needs.
Therefore, by arranging the digital processing module, the embodiment of the application can complete functions such as digital modulation in the digital processing module, and the like, thereby ensuring the high efficiency of bottom layer information processing. Fig. 3 is a schematic flow chart illustrating an input event of the AIS interactive operation processing method according to an embodiment of the present application. Fig. 3 is an example of the embodiment of fig. 1, and the same parts are not repeated herein, and the differences are mainly described herein. As shown in fig. 3, the method includes the following.
310: the main control module scans the user interface at preset time intervals and waits for the occurrence of the AIS processing event.
Specifically, step 310 is substantially the same as step 210 in fig. 2, and for details, please refer to the description in fig. 2, which is not repeated herein to avoid repetition.
320: and judging whether an input event is input or not.
Specifically, it is determined whether there is an input event, where the input event may be a key value sent by an external device, for example, a device such as a keyboard, a remote controller, and a mobile phone. If the keyboard is used as an external device, it should be understood that the keyboard in the embodiment of the present application may be a virtual keyboard or a physical keyboard.
The input event may be a key value, such as a number, a letter, a character, etc., that receives a keyboard input. The input event may also be a key value, such as a number, etc., input by receiving a remote control. The embodiment of the present application does not specifically limit the type of the external device.
When it is determined that there is an input event, step 330 is executed.
330: if the input event is sent to the event processing module, whether the input event is keyboard trigger input or remote control trigger input is judged.
Specifically, the input event processing module may determine that the input event is a keyboard trigger input. The input event processing module can also judge that the input event is the remote control trigger input. The input event processing module can also judge that the input event is the trigger input of the mobile phone/the tablet computer. The embodiment of the present application does not specifically limit the determination of the input event processing module.
To facilitate the description of the embodiments of the present application, the present application selects the external device definition as a keyboard or a remote controller.
In one example, when an input event is detected, the input event processing module performs an event for determining whether the input event is triggered by a keyboard or a remote controller. If so, the keyboard driver described in step 340 is executed and invoked. If the input is from the remote controller, the remote controller driver described in step 340 is executed and invoked.
340: if the key value is input by the keyboard, calling a keyboard driver to obtain the key value; and if the key value is input by the remote controller, calling a remote controller drive to acquire the key value.
Specifically, if the key value is obtained by calling the keyboard driver, and if the key value is obtained by calling the remote controller driver, the key value is obtained. The method for calling the keyboard/remote controller to identify the specific input key value is not particularly limited, and different identification schemes can be set according to different external devices.
In one example, the recognition mode may be that the design input character prediction algorithm recognizes a key value. The interface shape of the keyboard or the remote controller, such as the number of keys, the arrangement of the keys and other information, is stored in the system in advance, each key value is set to be a preset effective area, and the corresponding key value area is predicted by receiving the key touch position of the keyboard or the remote controller, so that the corresponding key value is identified.
350: and returning the key values acquired by the keyboard driver and the remote controller driver to the input event processing module, returning the key values to the main control module by the input event processing module, and displaying the key values on the user interface by the main control module.
In particular, the input event processing module may perform different operations at different stages. After the step 340 is executed to obtain the corresponding key value, the obtained key value is input to the input event processing module again. At the moment, the input event processing module returns the acquired key value to the main control module, and the input key value is displayed on the user interface through the main control module, so that the user is prompted.
Therefore, the AIS processing event is enriched, the corresponding key value is displayed on the user interface of the AIS terminal, and the connectivity between the AIS terminal and the external equipment is enhanced.
Fig. 4 is a schematic flow chart illustrating a change display event of the AIS interactive operation processing method according to an embodiment of the present application. Fig. 4 is an example of the embodiment of fig. 1, and the same parts are not repeated herein, and the differences are mainly described here. As shown in fig. 4, the method includes the following.
410: the main control module scans the user interface at preset time intervals and waits for the occurrence of the AIS processing event.
Specifically, step 410 is substantially the same as step 210 in fig. 2, and for details, please refer to the record in fig. 2, which is not described herein for avoiding repetition.
420: it is determined whether there is a change display event input.
In particular, the change display event may be a change of related content displayed on the user interface. Such as changing navigation information displayed on the user interface, or changing the time displayed on the user interface, etc. When it is determined that there is an input for changing the display event, step 430 is performed, otherwise, step 410 is returned to continue waiting for the occurrence of the event.
430: and if the display event is changed, calling a display driver to display.
Specifically, the Display drive may be an LCD drive (liquid Crystal Display). The display driving may also be LCM driving (Liquid composition driving). The display driver may also be an OLED (Organic Light-Emitting Diode), which is not particularly limited in the embodiments of the present application.
Preferably, the embodiment of the present application selects an LCD driver, that is, if a display change event is detected, the LCD driver is called to display the event to be changed.
Therefore, the type of the AIS processing event is enriched, the LCD drive is selected to save the space of the display drive, save electricity and avoid high temperature, and meanwhile the real-time performance and the intuitiveness of event change are enhanced.
Fig. 5 is a schematic flow chart illustrating a print event of the AIS interactive operation processing method according to an embodiment of the present application. Fig. 5 is an example of the embodiment of fig. 1, and the same parts are not repeated herein, and the differences are mainly described here. As shown in fig. 5, the method includes the following.
510: the main control module scans the user interface at preset time intervals and waits for the occurrence of the AIS processing event.
Specifically, step 510 is substantially the same as step 210 in fig. 2, and for details, please refer to the description in fig. 2, which is not repeated herein to avoid repetition.
520: it is determined whether a print event is input.
Specifically, it is determined whether there is an event to be printed, if yes, step 530 is executed, otherwise, step 510 is returned to continue waiting for the occurrence of the event.
530: and if the printing event is input, calling a printing driver to print.
Specifically, the print driver may be a USB print driver or a non-USB print driver, and the specific type of the print driver is not specifically limited in the embodiment of the present application.
Preferably, the embodiment of the application selects the USB print driver.
Therefore, on the basis of enriching AIS processing events, the USB printing driver is selected for use, the printing driving device and the USB interface connection are high in universality, the hot plug can be further achieved, and the external printing driving device is convenient to select and use.
Fig. 6 is a schematic flow chart illustrating a storage event of the AIS interactive operation processing method according to an embodiment of the present application. Fig. 6 is an example of the embodiment of fig. 1, and the same parts are not repeated herein, and the differences are mainly described here. As shown in fig. 6, the method includes the following.
610: the main control module scans the user interface at preset time intervals and waits for the occurrence of the AIS processing event.
Specifically, step 610 is substantially the same as step 210 in fig. 2, and for details, please refer to the record in fig. 2, which is not described herein for avoiding repetition.
620: determine if there is a storage event input?
Specifically, it is determined whether there is an event to be stored, if yes, step 630 is executed, otherwise, step 610 is returned to continue waiting for the occurrence of the event.
630: and if the storage event is input, calling the storage driver to store.
In particular, the storage drive may be a Secure Digital card drive, i.e., an SD Drive (SD). The storage drive may also be a removable hard disk drive. The storage drive may also be a Read-Only Memory drive (ROM). The Memory drive may also be a Random Access Memory (RAM) drive. The storage drive may also be a magnetic disk or optical disk drive or other storage media with storage functions. The embodiment of the present application does not specifically limit the type of the storage drive.
Preferably, the embodiment of the present application selects SD drive. When a need to store an event is detected, the SD driver is invoked.
Therefore, the type of the AIS processing event is enriched, and data stored in the equipment, such as historical data, can be conveniently transmitted to a PC or other platforms for statistical analysis by calling an SD driving mode.
According to an embodiment of the application, detecting and receiving an interactive operation instruction of a user on a user interface comprises: the user interface is continuously scanned based on a predetermined time interval to detect an interoperation instruction of the user interface.
Specifically, the main body for detecting the interactive operation instruction of the user interface may be main control module detection, that is, the GUI interface application (for example, the main control module 210 in fig. 2) performs timing scanning at a predetermined time interval, and when a touch instruction is scanned, identifies the instruction and executes the relevant instruction, where the predetermined time interval may be 1 second, 1.5 seconds, or 2 seconds, and the predetermined time interval is not specifically limited in this embodiment of the application. The mode of receiving the selection instruction may also be directly triggered by an instruction of the user. The embodiment of the present application does not specifically limit the manner of receiving the selection instruction of the user.
Fig. 8 is a schematic structural diagram of an AIS interoperation processing apparatus according to an embodiment of the present application. The AIS interoperation processing apparatus 800 includes: a detection receiving module 810, a determining module 820 and an executing module 830.
The detection receiving module 810 is configured to detect and receive an interactive operation instruction of a user on a user interface; a determining module 820, configured to determine, based on the interactive operation instruction, an AIS processing event corresponding to the interactive operation instruction; and an executing module 830, configured to execute, based on the AIS processing event, an operation corresponding to the AIS processing event.
Therefore, the embodiment of the application provides a set of complete GUI application programs, the AIS processing events are divided and processed according to different types, and meanwhile, the communication system of the complete AIS processing events can be further embodied by taking the interaction operation of the user as a trigger instruction.
According to an embodiment of the present application, the AIS processing event is a UART communication event of a universal asynchronous receiver transmitter, wherein based on the AIS processing event, an operation corresponding to the AIS processing event is performed, including: inputting the UART communication event into a digital processing module, and analyzing the UART frame format input into the digital processing module to obtain an analysis result; when the analysis result is data information, entering a data processing module for data format conversion and presenting the converted data information to a user interface; and when the analysis result is the control information, entering a command analysis processing module for analysis and presenting the analyzed control information to a user interface.
According to one embodiment of the application, the digital processing module comprises a Field Programmable Gate Array (FPGA) core board.
According to an embodiment of the application, the AIS processing event is an input event, wherein based on the AIS processing event, an operation corresponding to the AIS processing event is executed, and the operation includes: judging whether the keyboard or the remote controller triggers an interactive operation instruction; when the keyboard triggers the interactive operation instruction, calling a keyboard driver to acquire a keyboard key value and returning the keyboard key value to the input event processing module; when the remote controller triggers an interactive operation instruction, calling a remote controller drive to acquire a remote controller key value and returning the remote controller key value to the input event processing module; the input event processing module presents the keyboard key value or the remote controller key value to the user interface.
According to an embodiment of the application, the AIS processing event is a change display event, wherein based on the AIS processing event, an operation corresponding to the AIS processing event is executed, and the operation includes: and moving the display driver to present the change display event on the user interface.
According to an embodiment of the application, the AIS processing event is a printing event, wherein based on the AIS processing event, an operation corresponding to the AIS processing event is executed, and the operation includes: and calling a printing driver to finish the printing event.
According to an embodiment of the present application, the AIS processing event is a storage event, wherein based on the AIS processing event, an operation corresponding to the AIS processing event is executed, including: and calling a storage driver to finish storing the AIS processing event.
According to an embodiment of the application, detecting and receiving an interactive operation instruction of a user on a user interface comprises: the user interface is continuously scanned based on a predetermined time interval to detect an interoperation instruction of the user interface.
It should be understood that, for the specific working processes and functions of the detection receiving module 810, the determining module 820 and the executing module 830 in the foregoing embodiments, reference may be made to the description of the image segmentation method provided in the foregoing embodiments of fig. 1 and fig. 7, and in order to avoid repetition, details are not repeated herein.
Fig. 9 is a block diagram illustrating an electronic device 900 for an AIS interactive operation processing method according to an embodiment of the present application.
Referring to fig. 9, electronic device 900 includes a processing component 910 that further includes one or more processors, and memory resources, represented by memory 920, for storing instructions, such as applications, that are executable by processing component 910. The application programs stored in memory 920 may include one or more modules that each correspond to a set of instructions. Further, the processing component 910 is configured to execute instructions to perform the AIS interoperation processing methods described above.
The electronic device 900 may also include a power component configured to perform power management for the electronic device 900, a wired or wireless network interface configured to connect the electronic device 900 to a network, and an input-output (I/O) interface. The electronic device 900 may be operated based on an operating system, such as Windows Server, stored in the memory 920TM,Mac OS XTM,UnixTM,LinuxTM, FreeBSDTMOr the like.
A non-transitory computer readable storage medium having instructions stored thereon that, when executed by a processor of the electronic device 900, enable the electronic device 900 to perform an AIS interaction processing method, comprising: detecting and receiving an interactive operation instruction of a user on a user interface; determining an AIS processing event corresponding to the interactive operation instruction based on the interactive operation instruction; and executing the operation corresponding to the AIS processing event based on the AIS processing event.
All the above optional technical solutions can be combined arbitrarily to form optional embodiments of the present application, and are not described herein again.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program check codes, such as a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
In the description herein, references to the description of "one embodiment," "some embodiments," "an example" or the like are intended to mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modifications, equivalents and the like that are within the spirit and principle of the present application should be included in the scope of the present application.

Claims (10)

1. An AIS interactive operation processing method for an automatic identification system of a ship is characterized by comprising the following steps:
detecting and receiving an interactive operation instruction of a user on a user interface;
determining an AIS processing event corresponding to the interactive operation instruction based on the interactive operation instruction;
and executing the operation corresponding to the AIS processing event based on the AIS processing event.
2. The AIS interoperation processing method of claim 1, wherein the AIS processing events are UART communication events of a Universal Asynchronous Receiver Transmitter (UART), wherein
The executing the operation corresponding to the AIS processing event based on the AIS processing event comprises the following steps:
inputting the UART communication event into a digital processing module, and analyzing the UART frame format input into the digital processing module to obtain an analysis result;
when the analysis result is data information, inputting the analysis result into a data processing module for data format conversion and presenting the converted data information to the user interface;
and when the analysis result is control information, inputting the control information into a command analysis processing module for analysis and presenting the analyzed control information to the user interface.
3. The AIS interoperation processing method of claim 2, wherein the digital processing module comprises a Field Programmable Gate Array (FPGA) core board.
4. The AIS interaction operation processing method according to any of claims 1 to 3, wherein the AIS processing event is an input event, wherein
The executing the operation corresponding to the AIS processing event based on the AIS processing event comprises the following steps:
judging whether the keyboard or the remote controller triggers the interactive operation instruction;
when the interactive operation instruction is triggered by the keyboard, calling a keyboard driver to acquire a keyboard key value and returning the keyboard key value to the input event processing module;
when the remote controller triggers the interactive operation instruction, calling a remote controller drive to acquire a remote controller key value and returning the remote controller key value to the input event processing module;
and the input event processing module presents a keyboard key value or a remote controller key value to the user interface.
5. The AIS interaction operation processing method according to any of claims 1 to 3, wherein the AIS processing event is a change display event, wherein
The executing the operation corresponding to the AIS processing event based on the AIS processing event comprises the following steps:
and invoking a display driver to present the change display event on the user interface.
6. The AIS interaction operation processing method according to any one of claims 1 to 3 wherein the AIS processing event is a print event, wherein
The executing the operation corresponding to the AIS processing event based on the AIS processing event comprises the following steps:
and calling a printing driver to finish the printing event.
7. The AIS interaction operation processing method according to any one of claims 1 to 3, wherein the AIS processing event is a storage event, wherein
The executing the operation corresponding to the AIS processing event based on the AIS processing event comprises the following steps:
and calling a storage driver to finish storing the AIS processing event.
8. The AIS interaction processing method according to any one of claims 1 to 3, wherein the detecting and receiving the user interaction operation command at the user interface includes:
scanning the user interface based on a predetermined time interval to detect the interoperation instruction.
9. An AIS interoperation processing apparatus, comprising:
the detection receiving module is used for detecting and receiving an interactive operation instruction of a user on a user interface;
the determining module is used for determining an AIS processing event corresponding to the interactive operation instruction based on the interactive operation instruction;
and the execution module is used for executing the operation corresponding to the AIS processing event based on the AIS processing event.
10. An electronic device, the electronic device comprising:
a processor;
a memory for storing the processor-executable instructions,
wherein the processor is configured to perform the AIS interoperation processing method of any of the preceding claims 1 to 8.
CN202011079494.9A 2020-10-10 2020-10-10 AIS interactive operation processing method and device Pending CN112214264A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011079494.9A CN112214264A (en) 2020-10-10 2020-10-10 AIS interactive operation processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011079494.9A CN112214264A (en) 2020-10-10 2020-10-10 AIS interactive operation processing method and device

Publications (1)

Publication Number Publication Date
CN112214264A true CN112214264A (en) 2021-01-12

Family

ID=74053114

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011079494.9A Pending CN112214264A (en) 2020-10-10 2020-10-10 AIS interactive operation processing method and device

Country Status (1)

Country Link
CN (1) CN112214264A (en)

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080034083A1 (en) * 2006-08-01 2008-02-07 Koran Joshua M Automatic identification of event classification errors in a network
US20130332867A1 (en) * 2012-06-12 2013-12-12 Apple Inc. Input device event processing
CN103680212A (en) * 2013-12-27 2014-03-26 广东电网公司江门供电局 Automatic identification and monitoring system for ships in sea area of 110kv submarine cable
CN104239027A (en) * 2013-06-07 2014-12-24 北京三星通信技术研究有限公司 Method and device for calling programs and terminal device
CN105488223A (en) * 2015-12-28 2016-04-13 中国民航信息网络股份有限公司 Analyzing and subscribing method and system of business data events
CN107580143A (en) * 2017-09-30 2018-01-12 维沃移动通信有限公司 A kind of display methods and mobile terminal
CN107967098A (en) * 2017-12-22 2018-04-27 海能达通信股份有限公司 A kind of button exchange method and device
CN108055704A (en) * 2017-12-22 2018-05-18 广州视源电子科技股份有限公司 interaction control method, system, terminal and storage medium
KR101941896B1 (en) * 2018-08-21 2019-01-24 김정훈 System for controlling auto sailing of vessel
US20190120959A1 (en) * 2014-12-10 2019-04-25 Navico Holding As Event triggering and automatic waypoint generation
CN109684046A (en) * 2018-08-21 2019-04-26 平安普惠企业管理有限公司 Event self-processing method, device, equipment and computer storage medium
WO2020084979A1 (en) * 2018-10-25 2020-04-30 古野電気株式会社 Ais information processing device
CN111343148A (en) * 2020-02-05 2020-06-26 苏州浪潮智能科技有限公司 FGPA communication data processing method, system and device
CN111385294A (en) * 2020-03-04 2020-07-07 腾讯科技(深圳)有限公司 Data processing method, system, computer device and storage medium
US10739984B1 (en) * 2017-07-31 2020-08-11 Amazon Technologies, Inc. System for detection of input device
CN111625159A (en) * 2020-05-25 2020-09-04 智慧航海(青岛)科技有限公司 Man-machine interaction operation interface display method and device for remote driving and terminal
US20200293385A1 (en) * 2017-11-24 2020-09-17 Shanghai Zhonglian Technologies Ltd., Co Input operation processing method and processing apparatus and computer-readable storage medium
CN111737023A (en) * 2020-05-14 2020-10-02 重庆长安汽车股份有限公司 Vehicle-mounted event processing method, cloud server and computer-readable storage medium

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080034083A1 (en) * 2006-08-01 2008-02-07 Koran Joshua M Automatic identification of event classification errors in a network
US20130332867A1 (en) * 2012-06-12 2013-12-12 Apple Inc. Input device event processing
CN104239027A (en) * 2013-06-07 2014-12-24 北京三星通信技术研究有限公司 Method and device for calling programs and terminal device
CN103680212A (en) * 2013-12-27 2014-03-26 广东电网公司江门供电局 Automatic identification and monitoring system for ships in sea area of 110kv submarine cable
US20190120959A1 (en) * 2014-12-10 2019-04-25 Navico Holding As Event triggering and automatic waypoint generation
CN105488223A (en) * 2015-12-28 2016-04-13 中国民航信息网络股份有限公司 Analyzing and subscribing method and system of business data events
US10739984B1 (en) * 2017-07-31 2020-08-11 Amazon Technologies, Inc. System for detection of input device
CN107580143A (en) * 2017-09-30 2018-01-12 维沃移动通信有限公司 A kind of display methods and mobile terminal
US20200293385A1 (en) * 2017-11-24 2020-09-17 Shanghai Zhonglian Technologies Ltd., Co Input operation processing method and processing apparatus and computer-readable storage medium
CN107967098A (en) * 2017-12-22 2018-04-27 海能达通信股份有限公司 A kind of button exchange method and device
CN108055704A (en) * 2017-12-22 2018-05-18 广州视源电子科技股份有限公司 interaction control method, system, terminal and storage medium
KR101941896B1 (en) * 2018-08-21 2019-01-24 김정훈 System for controlling auto sailing of vessel
CN109684046A (en) * 2018-08-21 2019-04-26 平安普惠企业管理有限公司 Event self-processing method, device, equipment and computer storage medium
WO2020084979A1 (en) * 2018-10-25 2020-04-30 古野電気株式会社 Ais information processing device
CN111343148A (en) * 2020-02-05 2020-06-26 苏州浪潮智能科技有限公司 FGPA communication data processing method, system and device
CN111385294A (en) * 2020-03-04 2020-07-07 腾讯科技(深圳)有限公司 Data processing method, system, computer device and storage medium
CN111737023A (en) * 2020-05-14 2020-10-02 重庆长安汽车股份有限公司 Vehicle-mounted event processing method, cloud server and computer-readable storage medium
CN111625159A (en) * 2020-05-25 2020-09-04 智慧航海(青岛)科技有限公司 Man-machine interaction operation interface display method and device for remote driving and terminal

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
安亚巍, 王洁, 王玉平, 沈康辰: "全球船舶航行报告系统GVLIS的设计方法", 上海海运学院学报, no. 04, 30 December 2003 (2003-12-30), pages 312 - 316 *
张杏谷主编: "《AIS助航规范与应用》", 31 March 2014, 大连:大连海事大学出版社, pages: 246 - 251 *
翟海庆;谭志伟;李磊;: "海上嵌入式AIS信息终端研究与实现", 舰船科学技术, no. 05, 15 May 2015 (2015-05-15), pages 200 - 203 *

Similar Documents

Publication Publication Date Title
US7904823B2 (en) Transparent windows methods and apparatus therefor
CN112041791B (en) Method and terminal for displaying virtual keyboard of input method
CN103473027A (en) Split-screen multi-task interaction method for communication terminal and communication terminal
CN113518026B (en) Message processing method and device and electronic equipment
CN109102264B (en) Electronic red packet detection method and device and terminal equipment
CN113141293B (en) Message display method and device and electronic equipment
JP3163500U (en) Information processing system and handwriting input terminal
EP3702913A1 (en) Input operation processing method and processing device, and computer-readable storage medium
CN110069177A (en) Electronic device, application program guiding method of operating and storage medium
CN111026464A (en) Identification method and electronic equipment
CN113179204B (en) Message withdrawal method and device and electronic equipment
EP4354827A1 (en) Display method, display apparatus, related device, and readable storage medium
US20120242582A1 (en) Apparatus and method for improving character input function in mobile terminal
CN112596650B (en) Chart processing method and device and electronic equipment
CN113885750A (en) Message processing method and device and electronic equipment
CN112578975A (en) Information processing method and device and electronic equipment
CN112214264A (en) AIS interactive operation processing method and device
CN110912801B (en) Method, system and terminal device for detecting electronic red packet
CN113824627B (en) Group chat message display method and device, electronic equipment and storage medium
CN110881001B (en) Electronic red packet detection method, system and terminal equipment
US9696817B2 (en) Portable electronic device including keyboard and method of controlling the same
CN113626786A (en) Device management method, device, storage medium and device in local area wireless network
CN113485593A (en) Display control method, display control device, electronic device, and medium
CN113656131A (en) Remote control method, device, electronic equipment and storage medium
KR20080034245A (en) Method for processing touch event of mobile terminal having touch screen

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