CN113112869A - Method, device, equipment and medium for customizing electronic fence and processing data - Google Patents

Method, device, equipment and medium for customizing electronic fence and processing data Download PDF

Info

Publication number
CN113112869A
CN113112869A CN202110378130.9A CN202110378130A CN113112869A CN 113112869 A CN113112869 A CN 113112869A CN 202110378130 A CN202110378130 A CN 202110378130A CN 113112869 A CN113112869 A CN 113112869A
Authority
CN
China
Prior art keywords
data
filtering
level
electronic fence
trigger rule
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.)
Granted
Application number
CN202110378130.9A
Other languages
Chinese (zh)
Other versions
CN113112869B (en
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.)
Linewell Software Co Ltd
Original Assignee
Linewell Software Co Ltd
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 Linewell Software Co Ltd filed Critical Linewell Software Co Ltd
Priority to CN202110378130.9A priority Critical patent/CN113112869B/en
Publication of CN113112869A publication Critical patent/CN113112869A/en
Priority to PCT/CN2021/135408 priority patent/WO2022213634A1/en
Application granted granted Critical
Publication of CN113112869B publication Critical patent/CN113112869B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G3/00Traffic control systems for marine craft
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B13/00Burglar, theft or intruder alarms
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B25/00Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Ocean & Marine Engineering (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Navigation (AREA)
  • Radar Systems Or Details Thereof (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method, a device, equipment and a medium for customizing and processing data of various electronic fences, wherein the method comprises the following steps: the formulation process comprises the following steps: receiving the definition of the range of the electronic fence and the setting of a trigger rule; and (3) data processing: receiving target data in real time, wherein the target data comprises positioning data, static attribute data and dynamic attribute data, performing streaming calculation processing on the received target data in real time, judging whether the positioning data is warning range data according to the electronic fence range, judging whether the static attribute data and the dynamic attribute data are early warning data according to the trigger rule if the positioning data is the warning range data, converting the early warning data into asynchronous messages if the positioning data is the warning range data, sending the asynchronous messages to an asynchronous message queue, and distributing the asynchronous messages according to message sending rules. The invention firstly makes the range of the electronic fence and the trigger early warning mechanism, and carries out streaming real-time calculation during data processing, thereby solving the problems of poor flexibility and trigger delay of the traditional electronic fence.

Description

Method, device, equipment and medium for customizing electronic fence and processing data
Technical Field
The invention relates to the technical field of computers, in particular to a method, a device, equipment and a medium for customizing and processing data of an electronic fence.
Background
The ocean and fishery bureau of Fujian province aims at effectively solving the problem of safety supervision of the fishing boat, improving the capabilities of ocean disaster prevention and reduction and emergency command and rescue, and installing Beidou position indicating instrument equipment for more than fifteen thousands of ships in the whole province, wherein the Beidou position indicating instrument realizes accurate positioning and data return of the fishing boat on the sea through Beidou satellite positioning and communication functions, and realizes real-time supervision of fishing boat positioning.
In order to strengthen the limitation on actions such as fishing boat boundary-crossing fishing, illegal fishing and the like and protect the safe and orderly operation of the fishing boat, a fishery administrative department arranges a specially-assigned person to watch for 7 x 24 hours, and timely responds to the movement and rescue of the marine fishing boat, but the number of teams is small, the behavior of the fishing boat is irregular, difficulty and hidden danger are brought to supervision, the fishing boat entering the appointed action of the appointed area needs to be intelligently judged and reminded, and the person on duty is reminded, and the sailing-in boat is reminded to sail away, so that manual intervention is reduced.
The entity electronic fence technology is expensive in manufacturing cost, difficult in sea surface construction, difficult in later maintenance cost estimation, low in cost and capable of being created and removed anytime and anywhere by means of the high-precision positioning characteristics of the Beidou, the GIS geographic information technology is combined, the virtual electronic fence is realized, the virtual electronic fence is quite suitable for a scene of monitoring a marine fishing boat, on the other hand, the traditional electronic fence is calculated in a timed task mode, early warning information lags behind, early warning is carried out on the fishing boat entering the fence range, and a large amount of invalid early warning information consumes the energy of an operator on duty.
In summary, the problems of the prior art are as follows:
(1) the traditional solid electronic fence has high manufacturing cost and difficult construction.
(2) The traditional virtual electronic fence processes data in a timing triggering mode, so that the instantaneous load of a server is high, and the early warning data of the fence is delayed.
(3) The traditional virtual electronic fence only supports early warning on targets entering a fence range, cannot filter target behaviors and characteristics more closely, and is poor in flexibility.
(4) The traditional virtual electronic fence data processing technology is immature, and the expected functions of the electronic fence cannot be effectively realized.
The difficulty and significance for solving the technical problems are as follows:
human ocean activity is extensive more, but marine stormy waves is violent, can refer to the target few, brings unknown risk for marine navigation, for reducing the risk of navigating, reinforcing danger area suggestion, can effectively solve this problem through customizable fence, on the other hand fence can help administrative staff to strengthen the management and control to the interior action of region, carries out the early warning to behaviors such as stealing and adopting sea sand, border-crossing fishing, illegal fishing, strikes marine illegal action, promotes the sustainable development ability of ocean.
According to the invention, on the premise of not increasing the investment of hardware equipment, the flexibility and the real-time performance of the electronic fence are improved through the existing information technology and means, the real-time calculation of the positioning and attribute behaviors of the fishing boat is realized by means of the streaming calculation, the real-time triggering of the early warning message which meets the early warning condition in the fence range is ensured, the decoupling of message sending is solved through the asynchronous message queue, under the condition that the existing service architecture is not changed, the technology can calculate the positioning data and the target auxiliary attribute, the early warning is realized according to the rules set by the user, the intrusion of project modification is small, the modification is simple, and the user experience is obviously improved.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a method, a device, equipment and a medium for customizing and processing data of an electronic fence, wherein the range of the electronic fence and a trigger early warning mechanism are firstly formulated, and streaming real-time calculation is carried out during data processing, so that the problems of poor flexibility and trigger delay of the traditional electronic fence are solved.
In a first aspect, the present invention provides a method for customizing and processing data of an electronic fence, including:
the formulation process comprises the following steps: receiving the definition of the range of the electronic fence and the setting of a trigger rule;
and (3) data processing: receiving target data in real time, wherein the target data comprises positioning data, static attribute data and dynamic attribute data, performing streaming calculation processing on the received target data in real time, judging whether the positioning data is warning range data according to the electronic fence range, judging whether the static attribute data and the dynamic attribute data are early warning data according to the trigger rule if the positioning data is the warning range data, converting the early warning data into asynchronous messages if the positioning data is the warning range data, sending the asynchronous messages to an asynchronous message queue, and distributing the asynchronous messages according to message sending rules.
In a second aspect, the present invention provides an electronic fence customizing and data processing apparatus, comprising:
the system comprises a setting module, a triggering module and a control module, wherein the setting module is used for receiving the definition of the range of the electronic fence and the setting of a triggering rule;
the data processing module is used for receiving target data in real time, wherein the target data comprises positioning data, static attribute data and dynamic attribute data, performing streaming calculation processing on the received target data in real time, judging whether the positioning data is warning range data according to the electronic fence range, and judging whether the static attribute data and the dynamic attribute data are early warning data according to the trigger rule if the positioning data is the warning range data;
and the early warning module is used for converting the early warning data into asynchronous messages, sending the asynchronous messages to an asynchronous message queue and distributing the asynchronous messages according to the message sending rules.
In a third aspect, the present invention provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of the first aspect when executing the program.
In a fourth aspect, the invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the method of the first aspect.
One or more technical solutions provided in the embodiments of the present invention have at least the following technical effects or advantages: the electronic fence range and the trigger rule can be set in a targeted manner, so that the requirements of individuation and timeliness are greatly met, received target data are processed in real time through stream type calculation, the data do not need to be loaded from a hard disk, a back-end database is not relied on, the data type is not relied on, consumption peaks and valleys caused by the fact that a server processes the data regularly can be reduced, the service stability is improved, the modification cost is reduced, and the accuracy and the instantaneity of early warning are improved; in addition, each trigger rule is set to be a filtering mode of a step-by-step filter, the filtering idea is one by one according to the step-by-layer judgment, the existing judgment result is fully utilized, the calculation consumption caused by repeated judgment is reduced, and the efficiency is higher.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
The invention will be further described with reference to the following examples with reference to the accompanying drawings.
FIG. 1 is an architecture diagram of an overall system according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method according to one embodiment of the present invention;
FIG. 3 is a schematic structural diagram of an apparatus according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to a third embodiment of the invention;
fig. 5 is a schematic structural diagram of a medium according to a fourth embodiment of the present invention.
Detailed Description
The embodiment of the application provides a method for customizing and processing data of an electronic fence, firstly, the range of the electronic fence and a triggering early warning mechanism are formulated, and streaming real-time calculation is carried out during data processing, so that the problems of delay and poor flexibility of traditional electronic fence triggering are solved.
The technical scheme in the embodiment of the application has the following general idea: the electronic fence range and the trigger rule can be set in a targeted manner, and besides the positioning data of the target, the static attribute data and the dynamic attribute data of the target are also considered, so that the requirements of individuation and timeliness are greatly met, the received target data are processed in real time through flow type calculation, the accurate determination and the real-time performance of early warning are improved, the service stability is improved, and the modification cost is reduced; in addition, a plurality of trigger rules are connected into a trigger rule formula through logical connectors, so that the logical relation of each trigger rule is simple and clear, the trigger rule formula is decomposed into a plurality of filtering conditions after data processing, each trigger rule is set into a filtering mode of a step-by-step filter, layer-by-layer judgment is carried out, filtering is carried out one by one, the existing judgment result is fully utilized, the calculation consumption caused by repeated judgment is reduced, and the efficiency is higher.
Before describing the specific embodiment, a system framework corresponding to the method of the embodiment of the present application is described, and as shown in fig. 1, the overall system is roughly divided into the following parts:
a location reception handling system, such as a beidou location reception handling system or an AIS location reception handling system or the like, for receiving location data of the target vessel;
the position fusion system is used for carrying out fusion processing on the position data of the target ship sent by the position receiving and handling systems to obtain the final position of the target ship;
the fence processing system is used for processing the data of the target ship, and comprises triggering rule decomposition, filtering the data step by using a step-by-step filter and judging whether the data is early warning data or not; converting the early warning data into asynchronous messages and sending the asynchronous messages to an asynchronous message queue;
and the message handling system is used for distributing the asynchronous message queue according to the message sending rule.
Example one
As shown in fig. 2, the present embodiment provides a method for customizing and processing data of an electronic fence, including:
the formulation process comprises the following steps: receiving the definition of the range of the electronic fence and the setting of a trigger rule; for example, the user may define a geospatial area by way of input, import, or drawing,
and (3) data processing: receiving target data in real time, wherein the target data comprises positioning data, static attribute data and dynamic attribute data, performing streaming calculation processing on the received target data in real time, judging whether the positioning data is warning range data according to the electronic fence range, judging whether the static attribute data and the dynamic attribute data are early warning data according to the trigger rule if the positioning data is the warning range data, converting the early warning data into asynchronous messages if the positioning data is the warning range data, sending the asynchronous messages to an asynchronous message queue, and distributing the asynchronous messages according to message sending rules.
Among them, as a more preferred or more specific implementation manner of this embodiment:
the trigger rule is a rule for judging the static attribute or the dynamic attribute in an attribute judging mode;
the static attributes are inherent attributes of the ship, are endowed during ship manufacturing or administrative examination and approval, are not changed due to subjective consciousness of ship operators, and comprise ship basic attributes and administrative examination and approval attributes;
the dynamic attribute can be changed along with the subjective consciousness of the shipboard operators, and indirectly reflects the ideas and purposes of the operators on the ship, including course, navigational speed and the like;
the attribute judgment mode comprises 'greater than', 'less than', 'equal to', 'greater than or equal to', 'smaller than or equal to', 'including' and 'not including'; for example: the ship length is more than 12; or for example: course equals true east; wherein, the 'captain' is a static attribute, the 'heading' is a dynamic attribute, the 'greater than' and 'equal to' are judgment modes, and the '12' and 'east' are limiting conditions.
The trigger rule corresponds to a trigger rule formula, the trigger rule formula is obtained by connecting logical connectors when a plurality of filter conditions are met, and the logical connectors comprise brackets, and OR. For example: (the ship length is more than 12 or the total tonnage is more than 100) and the navigational speed is less than 2.
The early warning data judgment process is a step-by-step filtering process, and specifically comprises the following steps: decomposing the trigger rule formula according to a logical connector to obtain a plurality of filtering conditions and combined judging conditions, and carrying out priority ordering on the plurality of filtering conditions and the combined judging conditions according to the logical connector; when target data is received, filtering the target data step by step according to the filtering condition and the combination judgment condition and the priority sequence, wherein each step of filtering can obtain a level filtering result; when each level filtering result is obtained, adding the current level filtering result into the target data, then entering the next level of filtering, reading the existing level filtering result in the data before each level of filtering, if the necessary condition in the existing level filtering result is 'no', skipping the current level of filtering and directly entering the next level of filtering, otherwise, firstly carrying out the current level of filtering.
The specific decomposition of the trigger rule formula is as follows: reading a logical connector in the trigger rule formula, determining the level and the filtering mode of each filtering condition by the logical connector, following the principle of 'bracket' priority, 'and' or 'after', if 'and', only needing one filtering condition to fail, directly jumping to the end, if 'or', only needing one filtering condition to be established, and jumping to the end.
For example: assuming that the triggering rule is (the ship length is more than 12 or the total tonnage is more than 100) and the navigational speed is less than 2, judging that the data is the ship length: 11 (m), tonnage: 80 (ton), speed: 2 (meters per second); the trigger rules will be broken down by the system into four filter levels, namely:
firstly, the ship length is more than 12 meters;
the total tonnage is larger than 100 tons;
thirdly, combining, judging and filtering firstly or secondly;
and the navigational speed is less than 2 meters per second.
Wherein, the fourth step is filtering condition filtering, and the third step is combined judgment filtering.
If the received target data is: and (4) captain: 11, tonnage: 90, speed of flight: 1; after the first-level filtration, a first-level filtration result is obtained: if not; adding the first level filtering result to the target data, and then performing second level filtering to obtain a second level filtering result: if not, adding the second-level filtering result to the target data, and then sequentially carrying out third-level and fourth-level filtering until the final judgment result is no, so that the data cannot generate early warning.
If the target data is changed to: and (4) captain: 13, tonnage: 100, navigational speed: 3; after the first-level filtration, a first-level filtration result is obtained: if yes, adding a first-level filtering result to the target data, then performing second-level filtering, skipping the current-level filtering after reading that the first-level filtering result is yes before performing the second-level filtering, directly entering third-level filtering, similarly skipping the current-level filtering after reading that the first-level filtering result is yes before performing the third-level filtering, and directly entering fourth-level filtering to obtain a fourth-level filtering result: and if not, the final judgment result is no, and the data cannot generate early warning.
Based on the same inventive concept, the application also provides a device corresponding to the method in the first embodiment, which is detailed in the second embodiment.
Example two
As shown in fig. 3, in the present embodiment, there is provided an electronic fence customizing and data processing apparatus, including:
the system comprises a setting module, a triggering module and a control module, wherein the setting module is used for receiving the definition of the range of the electronic fence and the setting of a triggering rule;
the data processing module is used for receiving target data in real time, wherein the target data comprises positioning data, static attribute data and dynamic attribute data, performing streaming calculation processing on the received target data in real time, judging whether the positioning data is warning range data according to the electronic fence range, and judging whether the static attribute data and the dynamic attribute data are early warning data according to the trigger rule if the positioning data is the warning range data;
and the early warning module is used for converting the early warning data into asynchronous messages, sending the asynchronous messages to an asynchronous message queue and distributing the asynchronous messages according to the message sending rules.
Among them, as a more preferred or more specific implementation manner of this embodiment:
the trigger rule is a rule for judging the static attribute or the dynamic attribute in an attribute judging mode;
the static attributes are inherent attributes of the ship, are endowed during ship manufacturing or administrative examination and approval, are not changed due to subjective consciousness of ship operators, and comprise ship basic attributes and administrative examination and approval attributes;
the dynamic attribute can be changed along with the subjective consciousness of the shipboard operators, and indirectly reflects the ideas and purposes of the operators on the ship, including course, navigational speed and the like;
the attribute judgment mode comprises 'greater than', 'less than', 'equal to', 'greater than or equal to', 'smaller than or equal to', 'including' and 'not including'; for example: the ship length is more than 12; or for example: course equals true east; wherein, the 'captain' is a static attribute, the 'heading' is a dynamic attribute, the 'greater than' and 'equal to' are judgment modes, and the '12' and 'east' are limiting conditions.
When the trigger rule comprises a plurality of filter conditions, the filter conditions are connected through a logic connector, so that a trigger rule formula is obtained, wherein the logic connector comprises brackets, and OR. For example: (the ship length is more than 12 or the total tonnage is more than 100) and the navigational speed is less than 2.
The early warning data is judged by a step-by-step filter, the step-by-step filter is composed of a plurality of step-by-step filters, and each step-by-step filter corresponds to a filtering condition or a combined judging condition;
the step-by-step filter specifically comprises the following steps of: decomposing the trigger rule formula according to a logical connector to obtain a plurality of filtering conditions and combined judging conditions, and carrying out priority ordering on the plurality of filtering conditions and the combined judging conditions according to the logical connector; when target data is received, filtering the target data step by step according to the filtering condition and the combination judgment condition and the priority sequence, wherein each step of filtering can obtain a level filtering result; when each level filtering result is obtained, adding the current level filtering result into the target data, then entering the next level of filtering, reading the existing level filtering result in the data before each level of filtering, if the necessary condition in the existing level filtering result is 'no', skipping the current level of filtering and directly entering the next level of filtering, otherwise, firstly carrying out the current level of filtering.
The specific decomposition of the trigger rule formula is as follows: reading a logical connector in the trigger rule formula, determining the level and the filtering mode of each filtering condition by the logical connector, following the principle of 'bracket' priority, 'and' or 'after', if 'and', only needing one filtering condition to fail, directly jumping to the end, if 'or', only needing one filtering condition to be established, and jumping to the end.
For example: assuming that the triggering rule is (the ship length is more than 12 or the total tonnage is more than 100) and the navigational speed is less than 2, judging that the data is the ship length: 11 (m), tonnage: 80 (ton), speed: 2 (meters per second); the trigger rule will be broken down by the system into four filter levels, one for each level of filter, namely:
firstly, the ship length is more than 12 meters;
the total tonnage is larger than 100 tons;
thirdly, combining and judging the filter to be 'firstly' or 'secondly';
and the navigational speed is less than 2 meters per second.
Wherein, the filter (r) is a filter condition filter, and the filter (r) is a combined judgment filter.
If the received target data is: and (4) captain: 11, tonnage: 90, speed of flight: 1; after passing through a filter, obtaining a first-level filtering result: if not, the filtering condition is satisfied; after adding the first-level filtering result to the target data, after the second-level filtering result is read as 'no' by the filter, continuing the second-level filtering to obtain a second-level filtering result: if not, the filtering condition is established, the target data is added with the second-level filtering result and then enters a filter c, and after the filter c reads that the second-level filtering result is 'no', the filtering continues to be performed at the current level, and a third-level filtering result is obtained: if not, adding the third-level filtering result to the target data and then entering a filter IV to obtain a fourth-level filtering result: is that; therefore, the final judgment result is 'no', and the data cannot generate early warning.
If the target data is changed to: and (4) captain: 13, tonnage: 100, navigational speed: 1; generating early warning information, and obtaining a first-level filtering result after the early warning information passes through a filter (i): if yes, adding a first-level filtering result to the target data, then, after the target data passes through a filter II, skipping the filtering of the current level after the filter II reads that the first-level filtering result is 'yes', directly entering the filter III, after the filter III reads that the first-level filtering result is 'yes', also skipping the filtering of the current level, and directly entering the filter IV to obtain a fourth-level filtering result: therefore, the final judgment result is yes, and the data can generate early warning.
Since the apparatus described in the second embodiment of the present invention is an apparatus used for implementing the method of the first embodiment of the present invention, based on the method described in the first embodiment of the present invention, a person skilled in the art can understand the specific structure and the deformation of the apparatus, and thus the details are not described herein. All the devices adopted in the method of the first embodiment of the present invention belong to the protection scope of the present invention.
Based on the same inventive concept, the application provides an electronic device embodiment corresponding to the first embodiment, which is detailed in the third embodiment.
EXAMPLE III
The embodiment provides an electronic device, as shown in fig. 4, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, any one of the first embodiment modes may be implemented.
Since the electronic device described in this embodiment is a device used for implementing the method in the first embodiment of the present application, based on the method described in the first embodiment of the present application, a specific implementation of the electronic device in this embodiment and various variations thereof can be understood by those skilled in the art, and therefore, how to implement the method in the first embodiment of the present application by the electronic device is not described in detail herein. The equipment used by those skilled in the art to implement the methods in the embodiments of the present application is within the scope of the present application.
Based on the same inventive concept, the application provides a storage medium corresponding to the fourth embodiment, which is described in detail in the fourth embodiment.
Example four
The present embodiment provides a computer-readable storage medium, as shown in fig. 5, on which a computer program is stored, and when the computer program is executed by a processor, any one of the embodiments can be implemented.
The technical scheme provided in the embodiment of the application at least has the following technical effects or advantages: the electronic fence range and the trigger rule can be set in a targeted manner, so that the requirements of individuation and timeliness are greatly met, received target data are processed in real time through stream type calculation, the data do not need to be loaded from a hard disk, a back-end database is not relied on, the data type is not relied on, consumption peaks and valleys caused by the fact that a server processes the data regularly can be reduced, the service stability is improved, the modification cost is reduced, and the accuracy and the instantaneity of early warning are improved; in addition, each trigger rule is set to be a filtering mode of a step-by-step filter, the filtering idea is one by one according to the step-by-layer judgment, the existing judgment result is fully utilized, the calculation consumption caused by repeated judgment is reduced, and the efficiency is higher.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus or system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Although specific embodiments of the invention have been described above, it will be understood by those skilled in the art that the specific embodiments described are illustrative only and are not limiting upon the scope of the invention, and that equivalent modifications and variations can be made by those skilled in the art without departing from the spirit of the invention, which is to be limited only by the appended claims.

Claims (10)

1. A method for customizing and processing data of an electronic fence is characterized by comprising the following steps: the method comprises the following steps:
the formulation process comprises the following steps: receiving the definition of the range of the electronic fence and the setting of a trigger rule;
and (3) data processing: receiving target data in real time, wherein the target data comprises positioning data, static attribute data and dynamic attribute data, performing streaming calculation processing on the received target data in real time, judging whether the positioning data is warning range data according to the electronic fence range, judging whether the static attribute data and the dynamic attribute data are early warning data according to the trigger rule if the positioning data is the warning range data, converting the early warning data into asynchronous messages if the positioning data is the warning range data, sending the asynchronous messages to an asynchronous message queue, and distributing the asynchronous messages according to message sending rules.
2. The electronic fence customizing and data processing method of claim 1, wherein: the trigger rule is a rule for judging the static attribute or the dynamic attribute in an attribute judging mode;
the static attributes are inherent attributes of the ship, are endowed during ship manufacturing or administrative examination and approval, are not changed due to subjective consciousness of ship operators, and comprise ship basic attributes and administrative examination and approval attributes;
the dynamic attribute can be changed along with the subjective consciousness of the shipboard operators, and indirectly reflects the ideas and purposes of the operators on the ship, including course and navigational speed;
the attribute judgment mode comprises 'greater than', 'less than', 'equal to', 'greater than or equal to', 'smaller than or equal to', 'including' and 'not including';
the trigger rule corresponds to a trigger rule formula, the trigger rule formula is obtained by connecting logical connectors when a plurality of filter conditions are processed, and the logical connectors comprise brackets, and OR.
3. The electronic fence customizing and data processing method of claim 2, wherein: the early warning data judgment process is a step-by-step filtering process, and specifically comprises the following steps: decomposing the trigger rule formula according to a logical connector to obtain a plurality of filtering conditions and combined judging conditions, and carrying out priority ordering on the plurality of filtering conditions and the combined judging conditions according to the logical connector; when target data is received, filtering the target data step by step according to the filtering condition and the combination judgment condition and the priority sequence, wherein each step of filtering can obtain a level filtering result; when each level filtering result is obtained, adding the current level filtering result into the target data, then entering the next level of filtering, reading the existing level filtering result in the data before each level of filtering, if the necessary condition in the existing level filtering result is 'no', skipping the current level of filtering and directly entering the next level of filtering, otherwise, firstly carrying out the current level of filtering.
4. The electronic fence customizing and data processing method of claim 3, wherein: the specific decomposition of the trigger rule formula is as follows: reading a logical connector in the trigger rule formula, determining the level and the filtering mode of each filtering condition by the logical connector, following the principle of 'bracket' priority, 'and' or 'after', if 'and', only needing one filtering condition to fail, directly jumping to the end, if 'or', only needing one filtering condition to be established, and jumping to the end.
5. An electronic fence customizing and data processing device is characterized in that: the method comprises the following steps:
the system comprises a setting module, a triggering module and a control module, wherein the setting module is used for receiving the definition of the range of the electronic fence and the setting of a triggering rule;
the data processing module is used for receiving target data in real time, wherein the target data comprises positioning data, static attribute data and dynamic attribute data, performing streaming calculation processing on the received target data in real time, judging whether the positioning data is warning range data according to the electronic fence range, and judging whether the static attribute data and the dynamic attribute data are early warning data according to the trigger rule if the positioning data is the warning range data;
and the early warning module is used for converting the early warning data into asynchronous messages, sending the asynchronous messages to an asynchronous message queue and distributing the asynchronous messages according to the message sending rules.
6. An electronic fence customization and data processing apparatus according to claim 5, wherein: the trigger rule is a rule for judging the static attribute or the dynamic attribute in an attribute judging mode;
the static attributes are inherent attributes of the ship, are endowed during ship manufacturing or administrative examination and approval, are not changed due to subjective consciousness of ship operators, and comprise ship basic attributes and administrative examination and approval attributes;
the dynamic attribute can be changed along with the subjective consciousness of the shipboard operators, and indirectly reflects the ideas and purposes of the operators on the ship, including course and navigational speed;
the attribute judgment mode comprises 'greater than', 'less than', 'equal to', 'greater than or equal to', 'smaller than or equal to', 'including' and 'not including';
the trigger rule corresponds to a trigger rule formula, the trigger rule formula is obtained by connecting logical connectors when a plurality of filter conditions are processed, and the logical connectors comprise brackets, and OR.
7. An electronic fence customization and data processing apparatus according to claim 5, wherein: the early warning data is judged by a step-by-step filter, the step-by-step filter is composed of a plurality of step-by-step filters, and each step-by-step filter corresponds to a filtering condition or a combined judging condition;
the step-by-step filter specifically comprises the following steps of: decomposing the trigger rule formula according to a logical connector to obtain a plurality of filtering conditions and combined judging conditions, and carrying out priority ordering on the plurality of filtering conditions and the combined judging conditions according to the logical connector; when target data is received, filtering the target data step by step according to the filtering condition and the combination judgment condition and the priority sequence, wherein each step of filtering can obtain a level filtering result; when each level filtering result is obtained, adding the current level filtering result into the target data, then entering the next level of filtering, reading the existing level filtering result in the data before each level of filtering, if the necessary condition in the existing level filtering result is 'no', skipping the current level of filtering and directly entering the next level of filtering, otherwise, firstly carrying out the current level of filtering.
8. An electronic fence customization and data processing apparatus according to claim 5, wherein: the specific decomposition of the trigger rule formula is as follows: reading a logical connector in the trigger rule formula, determining the level and the filtering mode of each filtering condition by the logical connector, following the principle of 'bracket' priority, 'and' or 'after', if 'and', only needing one filtering condition to fail, directly jumping to the end, if 'or', only needing one filtering condition to be established, and jumping to the end.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 4 when executing the program.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 4.
CN202110378130.9A 2021-04-08 2021-04-08 Method, device, equipment and medium for customizing electronic fence and processing data Active CN113112869B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110378130.9A CN113112869B (en) 2021-04-08 2021-04-08 Method, device, equipment and medium for customizing electronic fence and processing data
PCT/CN2021/135408 WO2022213634A1 (en) 2021-04-08 2021-12-03 Customization and data processing method and apparatus for electronic fence, and device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110378130.9A CN113112869B (en) 2021-04-08 2021-04-08 Method, device, equipment and medium for customizing electronic fence and processing data

Publications (2)

Publication Number Publication Date
CN113112869A true CN113112869A (en) 2021-07-13
CN113112869B CN113112869B (en) 2022-09-02

Family

ID=76715208

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110378130.9A Active CN113112869B (en) 2021-04-08 2021-04-08 Method, device, equipment and medium for customizing electronic fence and processing data

Country Status (2)

Country Link
CN (1) CN113112869B (en)
WO (1) WO2022213634A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022213634A1 (en) * 2021-04-08 2022-10-13 南威软件股份有限公司 Customization and data processing method and apparatus for electronic fence, and device and medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101145037A (en) * 2007-09-25 2008-03-19 孙国强 Fishing boat dynamic monitoring and inquiry validation system
US20100228752A1 (en) * 2009-02-25 2010-09-09 Microsoft Corporation Multi-condition filtering of an interactive summary table
CN103177608A (en) * 2013-03-01 2013-06-26 上海海事大学 Offshore suspicious ship and ship oil contamination discovering system
CN105739956A (en) * 2014-12-09 2016-07-06 阿里巴巴集团控股有限公司 Method and system for constructing intelligent rule model of computer system
CN106157574A (en) * 2016-06-28 2016-11-23 福建南威软件有限公司 A kind of method of execution water administration law dynamic monitoring intelligent early warning
US20180158340A1 (en) * 2016-12-02 2018-06-07 Veniam, Inc. Systems and methods for port management in a network of moving things, for example including autonomous vehicles
CN108170580A (en) * 2017-11-22 2018-06-15 链家网(北京)科技有限公司 A kind of rule-based log alarming method, apparatus and system
CN109685086A (en) * 2017-10-18 2019-04-26 中电科海洋信息技术研究院有限公司 The recognition methods of marine ships job state, device, equipment and storage medium
CN109754202A (en) * 2018-12-05 2019-05-14 深圳市闻迅数码科技有限公司 A kind of ship-handling method, ship-handling device and computer readable storage medium
CN111222526A (en) * 2018-11-27 2020-06-02 中电科海洋信息技术研究院有限公司 Fishing boat real-time fishing behavior recognition method, device, equipment and storage medium
CN211123286U (en) * 2019-12-03 2020-07-28 厦门星环科技有限公司 Beidou anti-border-crossing early warning terminal
US20200264268A1 (en) * 2019-02-20 2020-08-20 Vulcan Technologies Llc Real-time vessel navigation tracking

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108417093A (en) * 2018-05-09 2018-08-17 大连海事大学 A kind of dynamic virtual electronic enclosure system being limited for ship navigation with supervision waters
CN111556438B (en) * 2020-04-13 2022-04-29 中电科西北集团有限公司 Method and device for judging boundary crossing of ship
CN113112869B (en) * 2021-04-08 2022-09-02 南威软件股份有限公司 Method, device, equipment and medium for customizing electronic fence and processing data

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101145037A (en) * 2007-09-25 2008-03-19 孙国强 Fishing boat dynamic monitoring and inquiry validation system
US20100228752A1 (en) * 2009-02-25 2010-09-09 Microsoft Corporation Multi-condition filtering of an interactive summary table
CN103177608A (en) * 2013-03-01 2013-06-26 上海海事大学 Offshore suspicious ship and ship oil contamination discovering system
CN105739956A (en) * 2014-12-09 2016-07-06 阿里巴巴集团控股有限公司 Method and system for constructing intelligent rule model of computer system
CN106157574A (en) * 2016-06-28 2016-11-23 福建南威软件有限公司 A kind of method of execution water administration law dynamic monitoring intelligent early warning
US20180158340A1 (en) * 2016-12-02 2018-06-07 Veniam, Inc. Systems and methods for port management in a network of moving things, for example including autonomous vehicles
CN109685086A (en) * 2017-10-18 2019-04-26 中电科海洋信息技术研究院有限公司 The recognition methods of marine ships job state, device, equipment and storage medium
CN108170580A (en) * 2017-11-22 2018-06-15 链家网(北京)科技有限公司 A kind of rule-based log alarming method, apparatus and system
CN111222526A (en) * 2018-11-27 2020-06-02 中电科海洋信息技术研究院有限公司 Fishing boat real-time fishing behavior recognition method, device, equipment and storage medium
CN109754202A (en) * 2018-12-05 2019-05-14 深圳市闻迅数码科技有限公司 A kind of ship-handling method, ship-handling device and computer readable storage medium
US20200264268A1 (en) * 2019-02-20 2020-08-20 Vulcan Technologies Llc Real-time vessel navigation tracking
CN211123286U (en) * 2019-12-03 2020-07-28 厦门星环科技有限公司 Beidou anti-border-crossing early warning terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022213634A1 (en) * 2021-04-08 2022-10-13 南威软件股份有限公司 Customization and data processing method and apparatus for electronic fence, and device and medium

Also Published As

Publication number Publication date
WO2022213634A1 (en) 2022-10-13
CN113112869B (en) 2022-09-02

Similar Documents

Publication Publication Date Title
KR101860284B1 (en) Proactive neonatal threat detection
CN104036108B (en) A kind of Ocean Wind-field and the method for wave joint inversion
Zhu Mining ship spatial trajectory patterns from AIS database for maritime surveillance
CN104331588B (en) A kind of Ocean Wind-field and the device of wave joint inversion
CN108313236A (en) A kind of ship's navigation method for early warning and system
CN113112869B (en) Method, device, equipment and medium for customizing electronic fence and processing data
Wang et al. Sea-water-level prediction via combined wavelet decomposition, neuro-fuzzy and neural networks using SLA and wind information
CN111460621A (en) Modularized simulation modeling method and system
CN115359386A (en) Safe fishing method, system and medium for oceanic fishery based on Internet of things
CN115578546A (en) Ship attitude prediction method, equipment, device and system
CN116429119B (en) Method and system for identifying false positioning information of ship based on big data
CN113720383A (en) Method, device and medium for identifying abnormal behavior of ship
CN117214935A (en) Position monitoring method and device based on satellite positioning
CN112001642A (en) Ship health assessment method
CN116595049A (en) Ship intelligent navigation virtual test scene generation method, system and storage medium
CN111273671A (en) Non-periodic communication remote observer of intelligent ship
Szlapczynski et al. Ship weather routing featuring w-MOEA/D and uncertainty handling
CN111045010B (en) Environment reconstruction method and device based on shipborne radar
CN116258252A (en) Aircraft track prediction method, storage medium and equipment based on attention mechanism
Ding et al. A novel deep learning framework for detecting seafarer’s unsafe behavior
CN114490648A (en) Data processing method, device and equipment for offshore target object
CN111027766A (en) Green tide biomass forecasting method, device, equipment and medium
CN117218898B (en) Method and device for identifying offshore oil depot ship, electronic equipment and readable storage medium
Zhang et al. Research on Transmission Line Foreign Object Detection Based on Edge Calculation
Luo et al. Marine information management service platform: a GIS based study

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
GR01 Patent grant
GR01 Patent grant