Electronic fence monitoring method, system and device, storage medium and program product
By combining electronic fence technology and Beidou satellite positioning, real-time and accurate identification and recording of traffic violations has been achieved, and the problem of existing systems being difficult to identify pedestrians, electric vehicles and other violations has been solved, reducing disputed penalties and quickly confirming the identity of the perpetrator.
Patent Information
- Application Number
- CN202510141699.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-08
- Publication Date
- 2025-05-16
AI Technical Summary
The existing traffic monitoring system is difficult to identify and record road violations of pedestrians, electric vehicles, etc. in real time, accurately and clearly, and there are problems such as pixel unclear and angle deviation, resulting in controversial penalty.
Electronic fence technology is used to combine Beidou satellite positioning, and by obtaining real-time satellite positioning information and identity information of vehicles and pedestrians, a mapping relationship between positioning information and identity information is established, the electronic fence area is delineated, and the Cartesian coordinate function curve is established, violation judgment is made, and nearby cameras are called for video recording and capture.
Real-time, accurate and clear identification and recording of traffic violations is achieved, and is suitable for pedestrians, electric vehicles and other objects, reducing disputes and penalties, and can quickly confirm the identity of the violator.
Smart Images

Figure CN120017795A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of electronic monitoring, and in particular to an electronic fence monitoring method, system, device, storage medium and program product. Background Art
[0002] Existing traffic violations are usually identified or authenticated through on-site enforcement by traffic police, surveillance videos, electronic photos, etc., and sometimes controversial judgments may occur due to time differences.
[0003] In addition, the shooting position and focal length of existing road surveillance videos or electronic photos are fixed, and may result in unclear pixels, angle deviation, etc., making it impossible to accurately and clearly record certain illegal traffic behaviors.
[0004] In addition, existing traffic monitoring is mostly focused on monitoring and capturing illegal and irregular behaviors of motor vehicles, while road violations by pedestrians and electric vehicles are rarely identified and captured.
[0005] Therefore, it is necessary to develop a device and / or method that can identify and record traffic violations in real time, accurately and clearly. Summary of the invention
[0006] In order to solve the above problems, the present invention provides a method, system, device and storage medium for electronic monitoring of traffic violations. The electronic fence technology is combined with Beidou satellite positioning to identify and record traffic violations in real time, accurately and clearly.
[0007] In a first aspect, an embodiment of the present disclosure provides an electronic fence monitoring method, comprising the following steps:
[0008] Obtaining real-time satellite positioning information and identity information of all vehicles and pedestrians in the first electronic fence area, and establishing a mapping relationship between the positioning information and the identity information;
[0009] Delineating the boundaries and entrances of the second electronic fence area, and establishing rectangular coordinate function curves of the boundaries of the second electronic fence area;
[0010] Mapping the positioning information and the longitude and latitude of both ends of the entrance of the second electronic fence area into positioning information coordinates and longitude and latitude coordinates in a rectangular coordinate system respectively;
[0011] Determine the projection coordinates of the positioning information coordinates perpendicular to the coordinate axis x and perpendicular to the coordinate axis y on the coordinate function curve;
[0012] Violation judgment is made based on the positioning information coordinates, longitude and latitude coordinates, and projection coordinates.
[0013] Furthermore, the method further comprises:
[0014] According to the violation judgment result, the camera near the boundary entrance of the second electronic fence area is called to record and capture the coordinates of the violation positioning information.
[0015] Furthermore, the method further comprises:
[0016] The illegal vehicle or pedestrian is determined based on the positioning information coordinates judged to be illegal and the tag information contained in the positioning information coordinates.
[0017] Furthermore,
[0018] The positioning information coordinates are (x i ,y i ), the latitude and longitude coordinates of the two ends of the entrance of the second electronic fence area are A(x a ,y a ) and B(x b ,y b );
[0019] The rectangular coordinate function curve is y=mx;
[0020] Positioning information coordinates (x i ,y i ) is perpendicular to the coordinate axis x. The projection coordinates on the rectangular coordinate function curve are (x i ,y i ′), the projection coordinates perpendicular to the coordinate axis y on the rectangular coordinate function curve are (x i ′,y i );
[0021] Wherein, i represents the number of positioning information, m≥0 is the slope of the straight line, and a and b are marking symbols.
[0022] Furthermore,
[0023] (y i ′-y i ) or / and (x i ′-x i ) 0 and negative values are considered as warning status:
[0024] Satisfy x a <x i <x b , or y a <y i <y b Under the condition that the real-time traffic light signal in the forward direction is green, the above (y i ′-y i ) or / and (x i ′-x i) There is a warning state of 0 value and negative value. If the real-time traffic light signal in the forward direction is red, it is judged as a violation;
[0025] If x is satisfied a >x i , or x i >x b , or y a >y i , or y i >y b conditions and is judged as a violation.
[0026] Furthermore,
[0027] A coordinate function curve of each boundary of the second electronic fence area is established in the positive value area of the rectangular coordinate system.
[0028] Furthermore,
[0029] Real-time change of coordinate function curves of each boundary of the second electronic fence area.
[0030] In a second aspect, an embodiment of the present disclosure provides an electronic fence monitoring device, the device comprising an information acquisition module, a rectangular coordinate function curve establishment module, a coordinate mapping module, a coordinate projection module, and a violation judgment module;
[0031] An information acquisition module is used to obtain real-time satellite positioning information and identity information of all vehicles and pedestrians in the first electronic fence area, and establish a mapping relationship between the positioning information and the identity information;
[0032] A rectangular coordinate function curve establishing module, used to define the boundary and entrance of the second electronic fence area, and establish the rectangular coordinate function curve of each boundary of the second electronic fence area;
[0033] A coordinate mapping module, used to map the positioning information and the longitude and latitude of both ends of the entrance of the second electronic fence area into positioning information coordinates and longitude and latitude coordinates in a rectangular coordinate system respectively;
[0034] A coordinate projection module, used to determine the projection coordinates of the positioning information coordinates perpendicular to the coordinate axis x and perpendicular to the coordinate axis y on the coordinate function curve;
[0035] The violation judgment module is used to make violation judgments based on the positioning information coordinates, longitude and latitude coordinates, and projection coordinates.
[0036] In a third aspect, an embodiment of the present disclosure provides an electronic device, the electronic device comprising: a memory, a processor, and a computer program stored in the memory and running on the processor;
[0037] When the processor executes the computer program, any of the aforementioned electronic fence monitoring methods is implemented.
[0038] In a fourth aspect, an embodiment of the present disclosure provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and when the computer executable instructions are executed, any of the aforementioned electronic fence monitoring methods is implemented.
[0039] In a fifth aspect, an embodiment of the present disclosure provides a computer program product, which is stored in a storage medium; the program product is executed by at least one processor to implement any of the aforementioned electronic fence monitoring methods.
[0040] The beneficial effects of the above technical solution provided by the embodiments of the present disclosure include at least:
[0041] 1. Use simple algorithms to monitor illegal crossing of lines, climbing over and other behaviors in real time. It can be applied to pedestrians, electric vehicles and other objects, and has a wider range of application than ordinary traffic monitoring;
[0042] 2. The nearest camera to the violation location can be used in a timely manner to clearly record and capture the violation, without causing controversial penalties;
[0043] 3. Using identity information as label data for positioning information can quickly confirm the identity of the violator.
[0044] Other features and advantages of the present disclosure will be described in the following description or understood by practicing the present disclosure. The purpose and other advantages of the present disclosure can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings.
[0045] The technical solution of the present disclosure is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] The accompanying drawings are used to provide a further understanding of the present disclosure and constitute a part of the specification. Together with the embodiments of the present disclosure, they are used to explain the present disclosure and do not constitute a limitation of the present disclosure. In the accompanying drawings:
[0047] Figure 1 A schematic diagram of the division of the first and second electronic fence areas in an embodiment of the present disclosure;
[0048] Figure 2 is a flow chart of an electronic fence monitoring method in an embodiment of the present disclosure;
[0049] Figure 3 It is a schematic diagram of the projection of the positioning information coordinates on the coordinate function curve in an embodiment of the present disclosure;
[0050] Figure 4 It is a structural schematic diagram of an electronic fence monitoring device in an embodiment of the present disclosure;
[0051] Figure 5 It is a structural schematic diagram of an electronic device in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0052] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0053] In order to solve the problems existing in the prior art, the embodiments of the present disclosure provide an electronic fence monitoring method, system, device, storage medium and program product. Figure 1 A schematic diagram of the division scheme of the first electronic fence area and the second electronic fence area adopted in the present disclosure is shown, wherein the streets or road sections represented by blue lines are set as the first electronic fence area, that is, the area jointly enclosed by these blue lines is the first electronic fence area, and the area jointly enclosed by red lines, or the area between two red lines is set as the second electronic fence area. Figure 1 It includes elements such as "sidewalk", "lane", "traffic light", "barrier / dividing belt / lane line" to divide the electronic fence area, but Figure 1 This is just an example to illustrate the division rules of the first electronic fence area and the second electronic fence area. Figure 1 The shapes of the first electronic fence area and the second electronic fence area shown are regarded as limitations of the present disclosure.
[0054] The present disclosure first provides an electronic fence monitoring method, the process of which is as follows: Figure 2 As shown, the following steps are included:
[0055] Step S1:
[0056] The streets and road sections that need to be monitored are set as the first electronic fence area, and the real-time satellite positioning information and identity information of all vehicles and pedestrians entering the first electronic fence area are obtained.
[0057] All motor vehicles are equipped with satellite positioning devices, and traffic management departments can obtain the positioning information and vehicle registration information of motor vehicles according to their authority.
[0058] For pedestrians (including electric bicycles), the traffic management department can locate their mobile phones and obtain positioning information based on their authority, and can also obtain the real-name information of the mobile phone in accordance with the law.
[0059] The above positioning information is the latitude and longitude information. The positioning information set for entering the first electronic fence is D = {(x0i ,y 0i )|i>=1},x 0i Indicates longitude, y 0i The civil positioning accuracy of Beidou satellites has reached 0.1 meters, which can meet the requirements of accurate monitoring of traffic violations.
[0060] Assign each location information an identity label d i The identity tag corresponds to the vehicle registration information and mobile phone real-name information. That is, the mapping relationship between positioning information and identity information is established:
[0061] f:D→d i .
[0062] Step S2:
[0063] Based on the actual road traffic scene, the second electronic fence area is delineated.
[0064] The scope of the second electronic fence area is set according to the traffic restrictions of the actual road, for example: the isolation railings and isolation belts set on the actual road are used as one of the boundaries of the second electronic fence area, or the boundaries of the second electronic fence area are defined according to the traffic lights and road markings at the intersection.
[0065] Step S3:
[0066] According to the traffic rules and traffic time, determine the entrance of the second electronic fence area, and determine the longitude and latitude (x 0a ,y 0a )、(x 0b ,y 0b ). Among them, (x 0a ,y 0a ) represents the latitude and longitude of point A, (x 0b ,y 0b ) represents the latitude and longitude of point B.
[0067] Step S4:
[0068] According to the prohibited passage time, a coordinate function curve of each boundary of the second electronic fence area is established on the electronic map.
[0069] Specifically, the intersection of each border of the second electronic fence area is selected as the rectangular coordinate origin O (0, 0), and the coordinate function curve of each border of the second electronic fence area is established in the positive area of the coordinate system, wherein the origin O is the mapping of the longitude and latitude (x0, y0) of the intersection in the rectangular coordinate system, wherein any intersection can be used as the coordinate origin, and one section of the border is set in the positive area of the rectangular coordinate system, and each section of the border is monitored simultaneously and separately, which can reduce complex operations. Establishing the coordinate function curve of each border of the second electronic fence area in other areas of the coordinate system is a direct algorithm transformation of those skilled in the art based on the embodiments of the present disclosure, and should fall within the scope of the present disclosure.
[0070] Preferably, each boundary of the second electronic fence area can be respectively established in a newly established rectangular coordinate system to establish a coordinate function curve, and perform violation judgment separately.
[0071] Taking a straight line as an example, the coordinate function curve of a certain boundary of the second electronic fence area is:
[0072] y=mx, m≥0 is the slope of the straight line.
[0073] Step S5:
[0074] The positioning information set D = {(x 0i ,y 0i )|i>=1}, the longitude and latitude of both ends of the entrance of the second electronic fence area (x 0a ,y 0a ) and (x 0b ,y 0b ), mapped to the rectangular coordinate system, we get:
[0075] Positioning information coordinates (x i ,y i ), the latitude and longitude coordinates A(x a ,y a ) and B(x b ,y b ).
[0076] In the embodiment of the present disclosure, it is assumed that x a <x b ,y a <y b .
[0077] Step S6:
[0078] Determine the positioning information coordinates (x i ,y i ) is perpendicular to the projection coordinate of the coordinate axis x on the rectangular coordinate function curve (x i ,y i′), and the projection coordinates of the positioning information coordinates perpendicular to the coordinate axis y on the coordinate function curve (x i ′,y i ).like Figure 3 shown.
[0079] If the positioning information has no intersection with the coordinate function curve in the direction perpendicular to the coordinate axis x or the coordinate axis y, the projection coordinates of the positioning information in this direction are abandoned.
[0080] Step S7:
[0081] Violation judgment.
[0082] 1) For the projection coordinate (x i ,y i ′) or / and projection coordinates (x i ′,y i ), real-time calculation (y i ′-y i ) or / and (x i ′-x i ), “-” indicates subtraction.
[0083] (y i ′-y i ) or / and (x i ′-x i )A value of 0 or a negative value is considered a warning state.
[0084] This warning state indicates that the vehicle or pedestrian has crossed the boundary of the second electronic fence area at this time.
[0085] 2) Satisfy x a <x i <x b , or y a <y i <y b Under the condition of , that is, entering from the entrance of the second electronic fence area.
[0086] If the real-time traffic light signal in the forward direction is green, cancel the above (y i ′-y i ) or / and (x i ′-x i ) appears in the warning state of 0 value and negative value. If the real-time traffic light signal in the forward direction is red, it is judged as a violation.
[0087] 3) The above (y i ′-y i ) or / and (x i ′-x i ) When the warning state of 0 value and negative value appears, if x a >xi , or x i >x b , or y a >y i , or y i >y b conditions and is judged as a violation.
[0088] Step S8:
[0089] According to the violation judgment result, the camera near the boundary entrance of the second electronic fence area is called to record and capture the location information coordinates of the traffic violation.
[0090] Step S9:
[0091] According to the location information coordinates judged as violations and the tag information contained in the location information coordinates, the illegal vehicle or pedestrian is determined. Alternatively, for illegal snapshots with tag information of 0, the identity information of the corresponding person is further confirmed through portrait (face recognition).
[0092] As another feasible embodiment, in step S4, the coordinate function curves of each boundary of the second electronic fence area are fused with the time variable, and the time variable is used as a switch factor for judging traffic violations, so that real-time monitoring of traffic violations at traffic light intersections can be achieved, and the adjustment of the electronic fence area caused by changes in traffic light signals at complex intersections can be adapted. That is, the embodiment of the present disclosure can adjust the boundary of the second electronic fence area in real time according to the number and change rules of traffic lights. Among them, according to the adjustment of the electronic fence area of the intersection caused by the change of traffic light signals, the coordinate function curves of each boundary of the second electronic fence area are changed in real time in the electronic map.
[0093] Furthermore, in an embodiment of the present disclosure, all positioning information within the first electronic fence area is tracked simultaneously.
[0094] Based on the inspiration of the embodiments of the present disclosure, those skilled in the art can generate coordinate function curves for the complete boundaries of the second electronic fence area in the rectangular coordinate system established in the electronic map, and implement traffic violation judgment for each boundary section according to the calculation method for judging traffic violations recorded in the embodiments.
[0095] For ease of implementation, no other boundary entrances of the electronic fence are set except for the actual intersections for the actual road isolation railings, isolation belts, lane lines, etc. The "lane line" in this application is a solid line, a double yellow line, or a custom boundary that should not be crossed or climbed over.
[0096] As another embodiment, the second electronic fence area of the present disclosure does not have a boundary entrance and can be used as an anti-intrusion monitoring system.
[0097] The embodiment of the present disclosure combines satellite positioning data with electronic fences, uses a simple algorithm to monitor illegal crossing of lines, climbing over and other behaviors in real time, and can promptly call the nearest camera to the illegal location to clearly record and capture the illegal behavior; and uses data fusion technology to use identity information as label data of positioning information, so as to quickly confirm the identity of the violator. The implementation scheme of the present disclosure has simple operation steps and low implementation costs.
[0098] See attached Figure 4 , based on the above method, the embodiment of the present disclosure also provides an electronic fence monitoring device corresponding to the above method, including an information acquisition module, a rectangular coordinate function curve establishment module, a coordinate mapping module, a coordinate projection module, and a violation judgment module;
[0099] An information acquisition module is used to obtain real-time satellite positioning information and identity information of all vehicles and pedestrians in the first electronic fence area, and establish a mapping relationship between the positioning information and the identity information;
[0100] A rectangular coordinate function curve establishing module, used for defining the boundary and entrance of the second electronic fence area, and establishing the rectangular coordinate function curve of each boundary of the second electronic fence area;
[0101] A coordinate mapping module, used to map the positioning information and the longitude and latitude of both ends of the entrance of the second electronic fence area into the positioning information coordinates and the longitude and latitude coordinates in the rectangular coordinate system;
[0102] A coordinate projection module, used to determine the projection coordinates of the positioning information coordinates perpendicular to the coordinate axis x and perpendicular to the coordinate axis y on the coordinate function curve;
[0103] The traffic violation judgment module is used to judge traffic violations based on positioning information coordinates, longitude and latitude coordinates, and projection coordinates.
[0104] Based on the same inventive concept as the above disclosed content, the present disclosure also provides an electronic device. Figure 5 As shown, the electronic device of an embodiment of the present disclosure includes at least one electrically connected processor and at least one memory, wherein the memory is electrically connected to the processor, wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the electronic fence monitoring method as described above.
[0105] It should be noted that the electrical connection between the above-mentioned units does not necessarily mean the connection between lines. An indirect connection method can be applied to the embodiments of the present disclosure as long as the purpose of the present disclosure is achieved.
[0106] Based on the same inventive concept, the present disclosure also provides a computer storage medium, in which computer executable instructions are stored, and when the computer executable instructions are executed, the aforementioned control method of an energy storage system is implemented.
[0107] Based on the same inventive concept, the embodiment of the present disclosure also provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the control method embodiment of the energy storage system as described above, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0108] Regarding the system in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0109] Based on the same inventive concept, the present disclosure also provides an electronic device, the structure of which is as follows: Figure 4 As shown, it includes: a memory, a processor, and a computer program stored in the memory and running on the processor, and the processor implements the above-mentioned electronic fence monitoring method when executing the computer program.
[0110] Based on the same inventive concept, an embodiment of the present disclosure further provides a computer storage medium, in which computer executable instructions are stored. When the computer executable instructions are executed by a processor, the aforementioned electronic fence monitoring method is implemented.
[0111] Any modifications, supplements and equivalent substitutions made within the scope of the principles of this disclosure should still fall within the patent scope of this disclosure.
[0112] Unless otherwise stated, the "connection" mentioned above refers to a logical relationship of current transmission, and does not necessarily mean a direct electrical connection. At the same time, "first", "second", etc. do not indicate a sequence, but are only used to identify related units, devices, etc.
Claims
1. An electronic fence monitoring method, characterized in that: The following steps are involved: Obtaining real-time satellite positioning information and identity information of all vehicles and pedestrians in the first electronic fence area, and establishing a mapping relationship between the positioning information and the identity information; Delineating the boundaries and entrances of the second electronic fence area, and establishing rectangular coordinate function curves of the boundaries of the second electronic fence area; Mapping the positioning information and the longitude and latitude of both ends of the entrance of the second electronic fence area into positioning information coordinates and longitude and latitude coordinates in a rectangular coordinate system respectively; Determine the projection coordinates of the positioning information coordinates perpendicular to the coordinate axis x and perpendicular to the coordinate axis y on the coordinate function curve; Violation judgment is made based on the positioning information coordinates, longitude and latitude coordinates, and projection coordinates.
2. The method according to claim 1, characterized in that Also includes: According to the violation judgment result, the camera near the boundary entrance of the second electronic fence area is called to record and capture the coordinates of the violation positioning information.
3. The method according to claim 1, characterized in that Also includes: The illegal vehicle or pedestrian is determined based on the positioning information coordinates judged to be illegal and the tag information contained in the positioning information coordinates.
4. The method according to any one of claims 1 to 3, characterized in that: The positioning information coordinates are (x i ,y i ), the latitude and longitude coordinates of the two ends of the entrance of the second electronic fence area are A(x a ,y a ) and B(x b ,y b ); The rectangular coordinate function curve is y=mx; Positioning information coordinates (x i ,y i ) is perpendicular to the coordinate axis x. The projection coordinates on the rectangular coordinate function curve are (x i ,y i ′), the projection coordinates perpendicular to the coordinate axis y on the rectangular coordinate function curve are (x i ′,y i ); Wherein, i represents the number of positioning information, m≥0 is the slope of the straight line, and a and b are marking symbols.
5. The method according to claim 4, characterized in that (y i ′-y i ) or / and (x i ′-x i ) 0 and negative values are considered as warning status: Satisfy x a <x i <x b , or y a <y i <y b Under the condition that the real-time traffic light signal in the forward direction is green, the above (y i ′-y i ) or / and (x i ′-x i ) There is a warning state of 0 value and negative value. If the real-time traffic light signal in the forward direction is red, it is judged as a violation; If x is satisfied a >x i , or x i >x b , or y a >y i , or y i >y b conditions and is judged as a violation.
6. The method according to claim 1, characterized in that A rectangular coordinate function curve of each boundary of the second electronic fence area is established in the positive value area of the rectangular coordinate system.
7. An electronic fence monitoring system, characterized in that: The device includes an information acquisition module, a rectangular coordinate function curve establishment module, a coordinate mapping module, a coordinate projection module, and a violation judgment module; An information acquisition module is used to obtain real-time satellite positioning information and identity information of all vehicles and pedestrians in the first electronic fence area, and establish a mapping relationship between the positioning information and the identity information; A rectangular coordinate function curve establishing module, used for defining the boundary and entrance of the second electronic fence area, and establishing the rectangular coordinate function curve of each boundary of the second electronic fence area; A coordinate mapping module, used to map the positioning information and the longitude and latitude of both ends of the entrance of the second electronic fence area into positioning information coordinates and longitude and latitude coordinates in a rectangular coordinate system respectively; A coordinate projection module, used to determine the projection coordinates of the positioning information coordinates perpendicular to the coordinate axis x and perpendicular to the coordinate axis y on the coordinate function curve; The violation judgment module is used to make violation judgments based on the positioning information coordinates, longitude and latitude coordinates, and projection coordinates.
8. An electronic device, characterized in that: The electronic device comprises: a memory, a processor, and a computer program stored in the memory and running on the processor; When the processor executes the computer program, the electronic fence monitoring method according to any one of claims 1 to 6 is implemented.
9. A computer storage medium, characterized in that: The computer storage medium stores computer executable instructions, and when the computer executable instructions are executed, the electronic fence monitoring method according to any one of claims 1 to 6 is implemented.
10. A computer program product, characterized in that The program product is stored in a storage medium; the program product is executed by at least one processor to implement the electronic fence monitoring method according to any one of claims 1 to 6.