Software design method for scalable conditional screening based on VTS coding

By adopting the scalable condition screening method based on VTS coding in the ship traffic management system, the problem that the existing technology cannot meet the multi-dimensional condition combination screening is solved, the flexible screening and monitoring of ships is realized, the early warning capability is improved, and the problem of occurrence of significant economic losses.

CN113569337BActive Publication Date: 2024-09-06CSIC PRIDE (NANJING) ATMOSPHERIC & OCEANIC INFORMATION SYST CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202110844864.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-26
Publication Date
2024-09-06
Estimated Expiration
2041-07-26

AI Technical Summary

Technical Problem

Existing ship traffic management system software cannot meet the screening requirements for a combination of multi-dimensional conditions (such as time, area, sensor source, ship parameters, ship type, nationality, route, navigation status, human labeling, formation, etc.), resulting in the inability to effectively predict It is difficult to judge and manage key ships. For example, it is impossible to provide early warning during the Suez Canal blockage in 2021, causing significant economic losses.

Method used

The scalable condition screening method based on VTS coding is used to achieve flexible screening and monitoring of multi-dimensional conditions such as ship attributes, time, and regions by establishing a combination of minimum logical unit classes, condition coding, rule expression parsing, and logical operators. Supports combinations of logical operators such as AND, OR, and NOT, allowing users to customize regular expressions and logical operators.

Benefits of technology

It realizes flexible screening management and rapid editing of ships, meets users' sophisticated and intelligent needs for VTS terminals, avoids the occurrence of large-scale incidents, and improves the customizability and early warning capabilities of the traffic management system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113569337B
    Figure CN113569337B
Patent Text Reader

Abstract

The present invention discloses a software design method for scalable conditional screening based on VTS coding, comprising the following steps: (1) establishing a minimum logic unit class; (2) encoding conditional options; (3) parsing a rule expression; (4) decomposing the expression into minimum logic unit objects for storage; (5) traversing the logic unit objects; (6) obtaining conditions through conditional coding; (7) calling a corresponding rule judgment interface to calculate the filtering result through the logic operator in the logic unit object. The present invention performs screening management, rapid editing and customized development of ships without affecting the original code structure, thereby realizing the rapid customization requirements of the ship traffic management system for ship filtering and display.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of software framework of a vessel traffic management system, in particular to a software design method based on VTS coding extensible condition screening. Background Art

[0002] In the vessel traffic management system, the software adopts object-oriented CS architecture to realize data reception, processing and display functions. It mainly includes interface module, chart module, target module, multi-sensor module, alarm module and user management module. It has the following functions:

[0003] 1. Receive network message information in real time and process various message information in batches.

[0004] The interface module uses a trigger-based and active batch read of network information, asynchronously implements the receiving and processing process, and after preliminary conversion, forwards it to the secondary processing class for analysis, information storage or display.

[0005] 2. Display target information in real time, intuitively display target type, speed, safety and other attributes. Refresh the target in real time, compare the database, query the target annotation information, and display the target database annotation ship name.

[0006] 3. Display electronic charts, realize the conversion of chart data into images, and support the zooming and moving operations of charts.

[0007] 4. Display and edit of chart element information. The display data of chart elements comes from the comprehensive element information of the database and server. The edited element information is confirmed by the server and then fed back to the client.

[0008] 5. Display radar echoes from each radar station.

[0009] 6. User login and user registration functions are mainly about database data operations.

[0010] 7. Alarm setting and alarm display. Alarm setting includes setting of alarm range and alarm.

[0011] 8. Single and dual screen display, support single screen display and dual screen display, initialize and read single screen or dual screen display from the configuration file.

[0012] 9. Mouse status monitoring, real-time display of the mouse's screen position, geographic location and related center.

[0013] However, the above software still has the following problems to be improved during use:

[0014] 1. Different users have different supervision methods and supervision objects, and the VTS terminal needs to highlight the key ships. For example, when the monitoring area is relatively large, VTS monitoring can be carried out on multiple operating stations such as upstream stations, downstream stations, and key stations. In different operating stations, monitoring areas, supervision methods, and supervision objects may be different.

[0015] 2. Ships need customized rules for screening and display, but the original screening conditions are fixed and the logical relationship is also fixed. It is impossible to meet the requirements of multiple dimensional conditions (such as time, area, sensor source, ship parameters, ship type, nationality, route, navigation area, navigation status, manual marking, formation, etc.) and multiple logical (and, or, not) combinations. For example, for "navigation", the existing technology has a unified setting, either all navigation is open or all navigation is closed. For example, the Suez Canal ship jam in March 2021, due to the lack of ship screening, it is impossible to predict large ships and navigation conditions in advance, resulting in a loss of 60 billion in one day.

[0016] 3. Users require VTS terminals to be more sophisticated and intelligent. Summary of the invention

[0017] The technical problem to be solved by the present invention is to provide a software design method based on VTS coding and extensible conditional screening to address the deficiencies of the above-mentioned prior art. The software design method based on VTS coding and extensible conditional screening can screen, manage, quickly edit and customize ships without affecting the original code structure.

[0018] In order to solve the above technical problems, the technical solution adopted by the present invention is:

[0019] The software design method for scalable conditional screening based on VTS coding includes the following steps.

[0020] Step 1, establishing a minimum logic unit class: defining the data structure in the VTS terminal in the form of a logical expression; wherein the logical expression includes conditions and logical operators; establishing a minimum logic unit class in the data storage area of ​​the VTS terminal.

[0021] Step 2: Conditional encoding: Encode the conditions and logical operators.

[0022] Step 3: Parse the rule expression: According to the rules set by the user, convert the set conditions and set logical operators in the rule expression into codes; at the same time, define a rule operation interface for each rule.

[0023] Step 4: Expression decomposition and storage: Decompose the code parsed in step 3 and store it in the minimum logic unit class established in step 1.

[0024] Step 5, reading actual condition values: When the monitored ship enters the monitoring area of ​​the VTS terminal, the actual condition value of each condition of the monitored ship is read.

[0025] Step 6: Traverse: Traverse all the smallest logical units in the VTS terminal data storage area.

[0026] Step 7, obtaining participation conditions: During the traversal process of step 6, the setting conditions and setting condition values ​​for participation judgment are obtained through condition coding.

[0027] Step 8, obtaining the set logical operator: calling the rule operation interface of the corresponding rule, and obtaining the set logical operator corresponding to the rule from the data storage area of ​​the VTS terminal.

[0028] Step 9: Comparison and judgment, specifically including the following steps:

[0029] Step 9A, calculating the actual filtering result: according to the set logical operator obtained in step 8, the actual condition value corresponding to the set condition read in step 5 is logically operated to obtain the actual filtering result of the ship to be monitored.

[0030] Step 9B, calculating the set filtering result: according to the set logical operator obtained in step 8, the set condition value corresponding to the set condition obtained in step 7 is logically operated to obtain the set filtering result of the ship to be monitored.

[0031] Step 9C, comparison and judgment: compare the actual filtering result obtained in step 9A with the set filtering result obtained in step 9B, and return the monitoring status information on the VTS terminal.

[0032] The method further comprises step 10, repeating steps 5 to 9, monitoring each ship to be monitored and returning monitoring status information.

[0033] In step 1, the conditions include one or a combination of ship attributes, time, area information, label, grouping, sensor source, ship type, navigation status, tide and draft.

[0034] Ship attributes include ship static attributes and ship dynamic attributes.

[0035] Logical operators include and, or, and not.

[0036] In step 3, the regular expression is a multi-layer expression; in step 1, the data storage area of ​​the VTS terminal includes multi-layer logical units, and each layer of logical unit has a number of small logical unit classes.

[0037] In step 3, the user can add conditions and logical operators to the rule expression according to their needs.

[0038] The present invention has the following beneficial effects: the present invention performs screening management, rapid editing and customized development of ships without affecting the original code structure, thereby realizing the rapid customization requirements of the ship traffic management system for ship filtering and display. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 The flowchart of the software design method of the present invention for scalable conditional screening based on VTS coding is shown.

[0040] Figure 2 A schematic diagram showing the minimal class of logic units established.

[0041] Figure 3 A schematic diagram showing the use of vessel screening during alarm in Example 1.

[0042] Figure 4 A schematic diagram showing the use of ship screening for safe navigation in Example 2.

[0043] Figure 5 A schematic diagram of the process of comparative judgment is shown. DETAILED DESCRIPTION

[0044] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific preferred embodiments.

[0045] In the description of the present invention, it should be understood that the terms "left side", "right side", "upper part", "lower part" and the like indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, which is only for the convenience of describing the present invention and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation. "First", "second" and the like do not indicate the importance of the components, and therefore cannot be understood as limiting the present invention. The specific dimensions used in this embodiment are only for illustrating the technical solution, and do not limit the scope of protection of the present invention.

[0046] The present invention is described in detail in combination with warning (Example 1) and safe navigation (Example 2).

[0047] like Figure 1 As shown, a software design method for scalable conditional screening based on VTS encoding includes the following steps.

[0048] Step 1: Establish a minimum logic unit class: define the data structure in the VTS terminal in the form of a logical expression; wherein the logical expression includes conditions and logical operators.

[0049] The above conditions preferably include one or any combination of ship attributes, time, area information, label, grouping, sensor source, ship type, navigation status, tide and draft, etc. Among them, the ship attributes include ship static attributes and ship dynamic attributes.

[0050] The above logical operators preferably include and, or, not, etc.

[0051] like Figure 2 As shown, in the data storage area of ​​the VTS terminal (corresponding to Figure 2 In the dotted box area), several minimum logic unit classes are established. The minimum logic unit class in this application refers to the minimum number of bytes that each conditional encoding can correspond to, so that the original code architecture is not affected during subsequent additions.

[0052] In the present invention, since the minimum logical unit class is adopted, even if there is additional information later, it will not affect the original code framework.

[0053] In addition, the data storage area of ​​the VTS terminal may also include multiple layers of logic units, each of which has several small logic unit classes. The multiple layers of logic units will correspond to the multiple layers of expressions in step 3 below.

[0054] In Example 1, the conditions corresponding to the alarm include multi-dimensional information such as area information, captain and ship type, among which the captain is a static attribute of the ship. The logical operators corresponding to the alarm include and, or, not, etc.

[0055] In Example 2, the conditions corresponding to safe navigation include multi-dimensional information such as tide, draft, time, etc. The logical operators corresponding to safe navigation include not only AND, OR, NOT, but also conventional mathematical symbol operators.

[0056] Step 2: Conditional encoding: Encode the conditions and logical operators.

[0057] For example, the ship attributes, time, area information, annotation, grouping and other conditions are coded as S, T, A, B and C, etc., which can also be recorded as ship attributes S, time T, area information A, annotation B, grouping C, etc.; the specific representation is as follows:

[0058] Ship attribute code S: For example, the codes of n ship attributes are S1, S2, S3...Sn in sequence; among them, S1 can represent

[0059] Captain, S2 can be expressed as the ship type, S3 can be expressed as the ship draft, etc.

[0060] Time T: For example, the codes of n time periods are T1, T2, T3, ... Tn, among which T1 can represent 0-1 o'clock,

[0061] T2 can represent 2-4 o'clock, T3 can represent 8-10 o'clock, and so on.

[0062] Area information A: For example, the codes corresponding to n areas are A1, A2, A3...An; among them, A1 can represent reporting line 1; A2 can represent anchorage 1; A3 can represent no-fishing zone 1, and so on.

[0063] Marking B: For example, the codes corresponding to n markings are B1, B2, B3...Bn; among them, B1 can be marked as a detained ship; B2 can be marked as a key tracking ship, etc.

[0064] Group C: For example, the codes for comparison of n groups are C1, C2, C3...Cn respectively.

[0065] The corresponding codes for "and", "or" and "not" in the logical operators are: "&", "|", "!", and the mathematical operators in the logical operators are themselves.

[0066] In Embodiment 1, the conditions corresponding to the alarm include the area information, the captain and the ship type, and the corresponding codes are: area information A, captain code S1 and ship type code S2.

[0067] In Example 2, the conditions corresponding to safe navigation include regional information, tide, draft and time, and the corresponding codes are: regional information A, tide code D (meteorological and hydrological attributes), draft code S3 and time T.

[0068] Step 3: Parse the rule expression: According to the rules set by the user, convert the set conditions and set logical operators in the rule expression into codes; at the same time, define a rule operation interface for each rule.

[0069] In Example 1, when giving an alarm, the user sets the rule as follows: in the upstream area, if a dangerous goods ship or a cargo ship with a length exceeding 80 meters passes the reporting line without reporting to the port, an audible and visual alarm will be given at the upstream operating console.

[0070] In Example 1, the alarm has three setting conditions and setting condition values, which are:

[0071] Setting condition one: regional information; its corresponding setting condition value one is: within the upstream area.

[0072] Setting condition two: ship length; its corresponding setting condition value two is: more than 80 meters.

[0073] Setting condition three: ship type; its corresponding setting condition value three is: dangerous goods ship or cargo ship, crossing the reporting line without reporting to the port.

[0074] In Example 1, the set logical operators corresponding to the alarm rules are "and" and "not". The "and" logical operation is used between the three set conditions, that is, when the three set conditions and the three set condition values ​​are met at the same time, the monitoring status information returned is an alarm (such as sound and light prompt); otherwise, the set logical operator of "not" is displayed, and the monitoring status information returned is that the ship is normal (no sound and light prompt at this time).

[0075] like Figure 3 As shown in the figure, when monitoring the alarm rules, the specific settings of the alarm are:

[0076] A. The ship A to be monitored meets the above three set conditions, that is, it is located in the upstream area, the length of the ship exceeds 80 meters, and it is a dangerous goods ship or a cargo ship. Since it has reported to the port, it does not meet the set condition value three, so the monitoring status information returned is that the ship A is normal, and no sound and light prompts are given.

[0077] B. The ship A to be monitored meets the above three set conditions and three set condition values ​​at the same time, that is: it is located in the upstream area, the ship length exceeds 80 meters, and it is a dangerous goods ship or a cargo ship, and it has not reported to the port, so an alarm is issued with sound and light prompts.

[0078] C. The ship B to be monitored does not meet the above three setting conditions, so the monitoring status information returned is that the ship B is normal, and no sound and light prompt is performed.

[0079] Then, the three setting conditions, three setting condition values ​​and setting logical operators are all converted into codes.

[0080] In Example 2, when sailing safely, the user sets the rules as follows: when there are reefs (height set to H0) underwater, the water depth H1 at the current time is determined based on the current tidal data; the ship's draft H2 is calculated based on the ship's cargo; then at the current time, the requirement for the ship to be allowed to sail is: H1-H2>H0.

[0081] In Example 2, safe navigation has four set conditions and four set condition values, which are:

[0082] Setting condition 1: tide; its corresponding setting condition value 1 is: judging the water depth H1 at the current time according to the tide data at the current time;

[0083] Setting condition 2: draught; the corresponding setting condition value 2 is: according to the cargo of the ship, calculate the ship's draught H2;

[0084] Setting condition three: regional information; the corresponding setting condition value three is: there is a reef underwater, and its height is H0;

[0085] Setting condition four: time; its corresponding setting condition value four is: current time.

[0086] In Example 2, the logical operators corresponding to the safe navigation rules are set as "-", ">" and "&", and the return monitoring status information of the safe navigation rules is to allow ships that meet the navigation requirements to pass, instead of the simple setting of all ships passing or all ships closed in the prior art, so as to avoid the occurrence of the Suez Canal blockage incident. Figure 4 As shown in the figure, when monitoring the safe navigation rules, the specific settings for allowing ships that meet the navigation requirements to pass are:

[0087] A. Figure 4 As shown in the left figure, at a certain period 1, the corresponding tide is 1, the water depth is H1', ​​the draft of ship A is H2, and the height of the reef is H0. Since at this time, H1'-H2≤H0, ship A is not allowed to navigate.

[0088] B. Figure 4 As shown in the right figure, at a certain period 2, the corresponding tide is 2, the water depth is H1", the draft of ship A is H2, and the height of the reef is H0. Since at this time, H1"-H2>H0, ship A is allowed to navigate.

[0089] In the present invention, users can add setting conditions and setting logical operators in the rule expression according to their own needs.

[0090] Step 4: Expression decomposition and storage: Decompose the code parsed in step 3 and store it in the minimum logic unit class established in step 1.

[0091] When the rule expression is a multi-layer expression, the smallest logical unit is used as the condition of the outer expression and continues to be stored in the upper logical unit object; such as alarm, upstream area, captain, ship type dangerous goods ship or cargo ship and other information items; such as safety, tidal data, elapsed time, ship type and other information items, these expressions are decomposed and encoded and stored in the smallest logical unit object without affecting the original system architecture.

[0092] Step 5, reading actual condition values: When the monitored ship enters the monitoring area of ​​the VTS terminal, the actual condition value of each condition of the monitored ship is read.

[0093] Step 6: Traverse: traverse all the smallest logical units in the VTS terminal data storage area.

[0094] Step 7, obtaining participation conditions: During the traversal process of step 6, the setting conditions and setting condition values ​​for participation judgment are obtained through condition coding.

[0095] Step 8, obtaining the set logical operator: calling the rule operation interface of the corresponding rule, and obtaining the set logical operator corresponding to the rule from the data storage area of ​​the VTS terminal.

[0096] Step 9: Comparison and judgment, specifically including the following steps:

[0097] Step 9A, calculating the actual filtering result: according to the set logical operator obtained in step 8, the actual condition value corresponding to the set condition read in step 5 is logically operated to obtain the actual filtering result of the ship to be monitored.

[0098] Step 9B, calculating the set filtering result: according to the set logical operator obtained in step 8, the set condition value corresponding to the set condition obtained in step 7 is logically operated to obtain the set filtering result of the ship to be monitored.

[0099] Step 9C, comparison and judgment: compare the actual filtering result obtained in step 9A with the set filtering result obtained in step 9B, and return the monitoring status information on the VTS terminal.

[0100] Figure 5 The process diagram of comparison and judgment is shown. When it is necessary to implement the warning of prohibited entry for ship monitoring, it is required that AIsA ships with a length of more than 80m and a general width of more than 20m entering the prohibited fishing area 1 or prohibited fishing area 2, and AISB ships with dangerous goods ships or cargo ships entering the prohibited fishing area 1 or prohibited fishing area 2, all be warned. Analyze the following diagram A1 (ship length>80m) logical operator & A2 (ship width>20m) = A, B1 (entering prohibited fishing area 1) logical operator B2 (entering prohibited fishing area 2) = B, C1 (dangerous goods ship) logical operator C2 (cargo ship) = C, A&B=1 (AIS A ship with a length of more than 80m and a general width of more than 20m entering the prohibited fishing area 1 or prohibited fishing area 2), B&C=2 (AISB ship with dangerous goods ships or cargo ships entering the prohibited fishing area 1 or prohibited fishing area 2), 1 logical operator 2 = the final operation result.

[0101] Step 10, repeating steps 5 to 9, monitoring each ship to be monitored and returning monitoring status information.

[0102] In summary, the present invention realizes a vessel traffic management system that classifies and manages various vessel information, time, area, manual calibration, etc.

[0103] The preferred embodiments of the present invention are described in detail above; however, the present invention is not limited to the specific details in the above embodiments. Within the technical concept of the present invention, various equivalent transformations can be made to the technical solutions of the present invention, and these equivalent transformations all belong to the protection scope of the present invention.

Claims

1. A software design method based on VTS coding and scalable condition screening for status monitoring of each ship to be monitored; Features: The steps include: Step 1, establish the minimum logic unit class: define the data structure in the VTS terminal in the form of a logical expression; wherein the logical expression includes conditions and logical operators; establish the minimum logic unit class in the data storage area of ​​the VTS terminal; the minimum logic unit class refers to the minimum number of bytes that each conditional encoding can correspond to, so that the original code architecture is not affected during subsequent additions; the data storage area of ​​the VTS terminal can include multiple layers of logic units, and at this time, each layer of logic units has several minimum logic unit classes established; The monitoring status of each ship to be monitored includes warning and safe navigation; The conditions corresponding to the alarm include area information, captain and ship type; among which, the captain is a static attribute of the ship; the logical operators corresponding to the alarm include and, or, and not; The conditions for safe navigation include tide, draft and time; the logical operators for safe navigation include and, or, not, and conventional mathematical symbol operators; Step 2: Conditional encoding: Encode the conditions and logical operators; Step 3, parsing the rule expression: according to the rules set by the user, convert the set conditions and set logical operators in the rule expression into codes; at the same time, each rule defines a rule operation interface; Step 4, expression decomposition and storage: decompose the code parsed in step 3 and store it in the minimum logic unit class established in step 1; when the rule expression is a multi-layer expression, use the minimum logic unit as the condition of the outer expression and continue to store it in the upper logic unit object; since the expressions are all decomposed and encoded and stored in the minimum logic unit object, the original system architecture is not affected; Step 5, reading the actual condition value: when the monitored ship enters the monitoring area of ​​the VTS terminal, the actual condition value of each condition of the monitored ship is read; Step 6: traverse: traverse all the smallest logical units in the VTS terminal data storage area; Step 7, obtaining participation conditions: in the process of traversing step 6, obtaining the setting conditions and setting condition values ​​of participation judgment through condition coding; Step 8, obtaining the set logical operator: calling the rule operation interface of the corresponding rule, and obtaining the set logical operator corresponding to the rule from the data storage area of ​​the VTS terminal; Step 9: Comparison and judgment, specifically including the following steps: Step 9A, calculating the actual filtering result: according to the set logical operator obtained in step 8, the actual condition value corresponding to the set condition read in step 5 is logically operated to obtain the actual filtering result of the ship to be monitored; Step 9B, calculating the set filtering result: according to the set logical operator obtained in step 8, the set condition value corresponding to the set condition obtained in step 7 is logically operated to obtain the set filtering result of the ship to be monitored; Step 9C, comparison and judgment: compare the actual filtering result obtained in step 9A with the set filtering result obtained in step 9B, and return the monitoring status information on the VTS terminal.

2. The software design method for scalable conditional screening based on VTS coding according to claim 1, Features: The method further comprises step 10, repeating steps 5 to 9, monitoring each ship to be monitored and returning monitoring status information.

3. The software design method for scalable conditional screening based on VTS coding according to claim 1, Features: In step 1, the conditions include one or a combination of ship attributes, time, area information, label, grouping, sensor source, ship type, navigation status, tide and draft.

4. The software design method for scalable conditional screening based on VTS coding according to claim 3, Features: Ship attributes include ship static attributes and ship dynamic attributes.

5. The software design method for scalable conditional screening based on VTS coding according to claim 1, Features: In step 3, the user can add conditions and logical operators to the rule expression according to their needs.

Citation Information

Patent Citations

  • Screening rule configuration method, display method and client

    CN106933889A

  • Multifunctional ship automatic identification system

    CN108630016A

  • Regular expression matching method, system and equipment

    CN109408682A

  • A ship target black and white list maintenance method based on a real-time AIS

    CN109597920A

  • A method and a device for executing rule processing by a computer

    CN109947401A