Data pushing method and device, equipment, storage medium and program product
By obtaining traffic shooting data and determining the target push configuration information from the database based on these data, and pushing the data to the target device, the problem of low timeliness of massive traffic shooting data is solved, and more efficient data push and configuration information updates are achieved.
Patent Information
- Application Number
- CN202411848731.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-13
- Publication Date
- 2025-05-02
AI Technical Summary
In the scene of massive traffic shooting data pushing, how to improve the timeliness of data pushing is an important issue.
By acquiring traffic shooting data, corresponding target push configuration information is determined from the database based on these data, and the data is pushed to the target device based on these configuration information. The push configuration information in the database is updated according to the preset update strategy to ensure the flexibility and timeliness of push configuration.
It improves the timeliness of data pushing to the target device, enhances the flexibility and timeliness of pushing configuration information, and thus improves the review efficiency of traffic shooting data.
Smart Images

Figure CN119922229A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of data push, and in particular to a data push method, apparatus, computer equipment, computer-readable storage medium and computer program product. Background Art
[0002] In related technologies, illegal behavior capture equipment can be used to collect illegal behaviors, and the traffic shooting data of illegal behaviors can be pushed to target devices such as traffic management departments to improve the efficiency of reviewing illegal behaviors.
[0003] However, in the scenario of pushing massive amounts of traffic photography data, how to improve the timeliness of data push is of great significance. Summary of the invention
[0004] Based on this, it is necessary to provide a data push method, apparatus, computer device, computer-readable storage medium and computer program product that can improve the timeliness of data push in response to the above technical problems.
[0005] In a first aspect, the present application provides a data push method. The method comprises:
[0006] Obtain traffic shooting data;
[0007] According to the traffic shooting data, target push configuration information corresponding to the traffic shooting data is determined from a database, and each push configuration information included in the database is updated according to a preset update strategy;
[0008] The traffic shooting data is pushed to a target device according to the traffic shooting data and the target push configuration information.
[0009] In one embodiment, determining target push configuration information corresponding to the traffic shooting data from a database according to the traffic shooting data includes:
[0010] Determining, according to the traffic shooting data, a query identifier corresponding to the traffic shooting data;
[0011] Determining the target push configuration information from the database according to the query identifier;
[0012] The query identifier is obtained by associating a photographing device identifier and a data source identifier included in the traffic photographing data, or the query identifier is obtained by associating a photographing interval identifier and a data source identifier included in the traffic photographing data.
[0013] In one embodiment, the step of pushing the traffic shooting data to a target device according to the traffic shooting data and the target push configuration information includes:
[0014] Determine whether a push identifier is configured in the target push configuration information;
[0015] If the push identifier is configured in the target push configuration information, the traffic shooting data is matched with at least one push condition included in the target push configuration information, and if the traffic shooting data successfully matches each of the push conditions, the traffic shooting data is pushed to the target device.
[0016] In one embodiment, the push condition includes any one of the following:
[0017] The target shooting time included in the traffic shooting data is within a preset push period;
[0018] The target vehicle corresponding to the traffic shooting data is not a whitelist vehicle;
[0019] The vehicle behavior corresponding to the traffic shooting data is in a preset behavior list;
[0020] The speed of the target vehicle is not within a preset overspeed ratio range;
[0021] The current moment is within the preset push validity period;
[0022] The amount of traffic shooting data pushed to the target device in the historical time period does not exceed a preset push threshold.
[0023] In one of the embodiments, before determining the target push configuration information corresponding to the traffic shooting data from a database according to the traffic shooting data, the method further includes:
[0024] Determining, according to the traffic shooting data, whether the traffic shooting data is repeated shooting data;
[0025] If the traffic shooting data is repeated shooting data, determining whether the traffic shooting data is valid shooting data according to the target shooting time included in the traffic shooting data;
[0026] The step of determining target push configuration information corresponding to the traffic shooting data from a database according to the traffic shooting data includes:
[0027] In a case where the traffic shooting data is valid shooting data, the target push configuration information is determined from the database according to the traffic shooting data.
[0028] In one embodiment, the traffic shooting data further includes a vehicle identification and a shooting device identification of a target vehicle, and determining whether the traffic shooting data is repeated shooting data according to the traffic shooting data includes:
[0029] Splicing the vehicle identification with the photographing device identification to obtain a deduplicated identification;
[0030] Determine whether the deduplication identifier exists in the database;
[0031] If the deduplication mark does not exist in the database, the traffic shooting data is determined to be non-repetitive shooting data, and the deduplication mark and the target shooting time are associated and stored in the database.
[0032] In one embodiment, determining whether the traffic shooting data is valid shooting data according to the target shooting time included in the traffic shooting data includes:
[0033] Acquire the historical shooting time associated with the deduplication mark from the database;
[0034] The target shooting time is compared with the historical shooting time. If the absolute value of the difference between the target shooting time and the historical shooting time is greater than or equal to a time difference threshold, the traffic shooting data is determined to be the valid shooting data.
[0035] In a second aspect, the present application also provides a disease risk analysis device. The device comprises:
[0036] An acquisition module is used to acquire traffic shooting data;
[0037] A first determination module is used to determine, from a database, target push configuration information corresponding to the traffic shooting data according to the traffic shooting data, and each push configuration information included in the database is updated according to a preset update condition;
[0038] The push module is used to push the traffic shooting data to the target device according to the traffic shooting data and the target push configuration information.
[0039] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the method described in the first aspect are implemented.
[0040] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.
[0041] In a fifth aspect, the present application further provides a computer program product, wherein the computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.
[0042] In the above-mentioned data push method, device, computer equipment, computer-readable storage medium and computer program product, the server first obtains traffic shooting data, and then, based on the traffic shooting data, determines the target push configuration information corresponding to the traffic shooting data from the database, and then, based on the traffic shooting data and the target push configuration information, pushes the traffic shooting data to the target device. Since each push configuration information is updated according to a preset update strategy, the push configuration information can be updated in a timely manner according to traffic management requirements, thereby improving the flexibility and timeliness of the push configuration information, thereby improving the timeliness of the determined target push configuration information, and then, based on the traffic shooting data and the target push configuration information, the traffic shooting data is pushed to the target device, which can improve the timeliness of the traffic shooting data pushed to the target device. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0044] Figure 1 An application environment diagram of a data push method in an embodiment;
[0045] Figure 2 A schematic diagram of a flow chart of a data push method in an embodiment;
[0046] Figure 3 is a flow chart of step 202 in another embodiment;
[0047] Figure 4 is a flow chart of step 203 in another embodiment;
[0048] Figure 5 It is a flowchart of a data push method in another embodiment;
[0049] Figure 6 is a flow chart of step 501 in another embodiment;
[0050] Figure 7 is a flow chart of step 502 in another embodiment;
[0051] Figure 8It is a flowchart of a data push method in another embodiment;
[0052] Fig. 9 is a structural block diagram of a data push device in an embodiment;
[0053] Fig.10 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0054] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0055] In the field of traffic management, how to flexibly configure a variety of violation push rules for different intersections, different roads, and different time periods, and how to promptly intercept and educate the responsible violators on the spot are urgent issues to be solved. Therefore, the violation push rules can be dynamically adjusted according to the violation handling requirements, so that the violation data can be pushed to the target device in real time according to the dynamically adjusted violation push rules.
[0056] In traditional technology, the collected violation data can be uploaded to the service cloud, and the traffic management department applies to the service cloud for permission to use the violation data. After the review is passed, the corresponding violation data can be received. However, in the face of massive amounts of violation data, due to the limited push rules for pushing violation data and the amount of data pushed, and the inability to dynamically and real-time configure the push rules, there are problems with single push rules and poor universality and versatility of push rules, which leads to the problem of not being able to push violation data to the target device in a timely manner. Moreover, since the violation data pushed by the above method is mostly used for punishment after the violation occurs, it is impossible to correct the violation in time, and it is impossible to send real-time reminders to illegal drivers and law enforcement personnel of the traffic management department, which affects the control of violations. Therefore, how to improve the timeliness of pushing violation data is of great significance to the field of traffic management.
[0057] In view of this, the present application provides a data push method, in which the server first obtains traffic shooting data, and then, based on the traffic shooting data, determines the target push configuration information corresponding to the traffic shooting data from a database, and then, based on the traffic shooting data and the target push configuration information, pushes the traffic shooting data to a target device. Since each push configuration information is updated according to a preset update strategy, the push configuration information can be updated in a timely manner according to traffic management requirements, thereby improving the flexibility and timeliness of the push configuration information, thereby improving the timeliness of the determined target push configuration information, and then, based on the traffic shooting data and the target push configuration information, pushes the traffic shooting data to the target device, thereby improving the timeliness of the traffic shooting data pushed to the target device.
[0058] The data push method provided in the embodiment of the present application can be applied to Figure 1 In the implementation environment shown, the server 102 communicates with the shooting device 104 through the network. The data storage system can store the data that the server 102 needs to process. The data storage system can be integrated on the server 102, or it can be placed on the cloud or other network servers. The server 102 obtains the traffic shooting data sent by the shooting device 104, and then determines the target push configuration information corresponding to the traffic shooting data from the database based on the traffic shooting data. The push configuration information included in the database is updated according to the preset update strategy, and then, based on the traffic shooting data and the target push configuration information, the traffic shooting data is pushed to the target device. Among them, the server 102 can be implemented with an independent server or a server cluster composed of multiple servers. Among them, the shooting device 104 can be a speed capture camera, a mobile capture camera, a traffic monitoring camera, a parking violation capture camera, an interval speed measurement camera, a Skynet monitoring camera, etc.
[0059] In an exemplary embodiment, Figure 2 As shown, a data push method is provided, which is applied to Figure 1 The server in the example is used to illustrate, including the following steps 201-203:
[0060] Step 201, obtaining traffic shooting data.
[0061] Among them, traffic shooting data refers to the data collected by the capture equipment during the driving process of the vehicle. The traffic shooting data can be image data, text data, video data, etc. For example, a camera is set at the intersection to capture the behavior of running a red light, or a speed measurement camera is set at the interval to capture the speeding behavior of the vehicle, or a parking violation capture camera is set in the illegal parking area to capture the illegally parked vehicles. Optionally, the vehicle shooting data can include shooting time, illegal vehicle image, capture equipment number and other information, which is used to determine the violation of the vehicle with illegal behavior.
[0062] Optionally, in this embodiment, the server may receive traffic shooting data sent from multiple shooting devices through a network; or, the server may also periodically obtain traffic shooting data from a cloud server.
[0063] Step 202: According to the traffic shooting data, target push configuration information corresponding to the traffic shooting data is determined from a database, and each push configuration information included in the database is updated according to a preset update strategy.
[0064] The database refers to a storage space for storing push configuration information. The database may be a storage space integrated on the server, or the database may be a storage space independent of the server. The push configuration information refers to the judgment conditions for determining whether to push the traffic shooting data to the target end. The push configuration information may include the data source of the traffic shooting data, the data push target end, whether to push, the push time limit, the type of illegal behavior, the push time, and other information. In this embodiment, the push configuration information corresponding to the traffic shooting data may be used as the target push configuration information.
[0065] It should be noted that after acquiring the traffic shooting data, it is also necessary to determine whether the traffic shooting data is illegal data, so that when the determination result indicates that the traffic shooting data is illegal data, the traffic shooting data is sent to the target device. In this embodiment, the push configuration information can be used to determine whether the traffic shooting data is illegal data. It can be understood that a plurality of different push configuration information can be stored in the database. For example, corresponding push configuration information is set for different illegal vehicle behaviors, different shooting times, different shooting locations and other information. Therefore, different push configuration information can be corresponding to different traffic shooting data. For example, the traffic shooting data of the compacted line during the morning and evening rush hours can be pushed, and the traffic shooting data of other time periods will not be pushed.
[0066] As a possible implementation method, the server may display a configuration interface of the push configuration information to the user through a visual interface, and modify the push configuration information according to a trigger operation of the user, thereby obtaining new push configuration information.
[0067] It is understandable that different update strategies can be set to update the push configuration information according to different traffic regulations, and after the push configuration information is updated, the updated push configuration information can be connected to the processing system for judging the traffic shooting data in real time through the Change Data Capture (CDC) technology to achieve real-time dynamic configuration of the push configuration information. The update strategy can be when the judgment requirements of the illegal data change, or the update strategy can be when a preset update time is reached.
[0068] In this embodiment, the server can determine the corresponding target push configuration information from multiple push configuration information in the database according to the shooting time, shooting device number, vehicle behavior and other information in the traffic shooting data.
[0069] Step 203: Push the traffic shooting data to the target device according to the traffic shooting data and the target push configuration information.
[0070] The target device may be a terminal of a traffic management law enforcement officer, a smartphone of a vehicle owner, or a device such as an illegal display screen set up on the roadside.
[0071] In this embodiment, the server can determine whether to push the traffic shooting data according to the target push configuration information, and then push the traffic shooting data to the target device through the network when it is determined that the traffic shooting data meets the push conditions in the target push configuration information.
[0072] As a possible implementation mode, the server may also determine whether the traffic shooting data is illegal data according to the target push configuration information, and then, if the traffic shooting data is illegal data, determine whether to push the traffic shooting data.
[0073] It is understandable that pushing traffic shooting data to the target device may include different push methods, for example, pushing to SMS, WeChat public account, application terminal, traffic police communication terminal, etc.; the types of information pushed include text, pictures, maps, etc. The following introduces the beneficial effects of pushing traffic shooting data to the target device on traffic management:
[0074] 1. Reduce the workload of traffic control personnel in checking illegal behaviors and improve the efficiency of illegal control.
[0075] For example, when hosting major events, certain sections of roads may be controlled or closed, and no penalties may be imposed on illegal acts or special operation vehicles; for speed measurement violations, flexible and dynamic speeding interval configuration adjustments can be made according to different time periods and weather conditions; the illegal acts, number of capture times, and capture time periods of some illegal equipment can also be dynamically adjusted based on public sentiment and public opinion.
[0076] 2. Build a vehicle violation warning portrait library and issue online warnings for illegal vehicles.
[0077] Based on the time, location, frequency, road section, etc. of the illegal behavior, we can combine the historical violation data of the vehicle to construct a holographic portrait of the illegal vehicle, assisting the traffic police in conducting a comprehensive analysis and positioning of the historical details of the vehicle's violations, the vehicle's violation trajectory, the illegal vehicle owner's information, etc.; we can also calculate the driver's driving credit points through the portrait of each vehicle, and include the driving credit points in the personal credit report.
[0078] 3. For the vehicle violation portrait constructed in the previous step, each vehicle can be reported in real time, and a violation warning reminder can be broadcast for the same vehicle.
[0079] 4. In view of the limited police resources on the road, vehicles with different degrees of violations can be treated in a graded manner, and different promotional and educational materials can be pushed to different types of offenders.
[0080] In the above data push method, the server first obtains the traffic shooting data, and then determines the target push configuration information corresponding to the traffic shooting data from the database according to the traffic shooting data, and then pushes the traffic shooting data to the target device according to the traffic shooting data and the target push configuration information. Since each push configuration information is updated according to the preset update strategy, the push configuration information can be updated in time according to the traffic management requirements, thereby improving the flexibility and timeliness of the push configuration information, thereby improving the timeliness of the determined target push configuration information, and then pushing the traffic shooting data to the target device according to the traffic shooting data and the target push configuration information, thereby improving the timeliness of the traffic shooting data pushed to the target device.
[0081] In one embodiment, based on Figure 2 The embodiment shown, see Figure 3 This embodiment relates to the process of how the server determines the target push configuration information corresponding to the traffic shooting data from the database according to the traffic shooting data. Figure 3 As shown, step 202 includes Figure 3 Step 301 and step 302 are shown.
[0082] Step 301, determining a query identifier corresponding to the traffic shooting data according to the traffic shooting data, wherein the query identifier is obtained by associating a shooting device identifier and a data source identifier included in the traffic shooting data, or the query identifier is obtained by associating a shooting interval identifier and a data source identifier included in the traffic shooting data.
[0083] Among them, the query identifier is an identifier used to search for the target push configuration information corresponding to the traffic shooting data in multiple push configuration information. It can be understood that different push configuration information can correspond to different data sources, or to different shooting devices, or to different shooting intervals. Therefore, in this embodiment, the shooting device identifier and the data source identifier included in the traffic shooting data can be associated, and the associated shooting device identifier-data source identifier can be used as the query identifier, or the shooting interval identifier and the data source identifier included in the traffic shooting data can be associated, and the associated shooting interval identifier-data source identifier can be used as the query identifier.
[0084] In this embodiment, the server can obtain the data source identifier, the shooting device identifier, and the shooting interval identifier from the traffic shooting data, and then associate the shooting device identifier with the data source identifier to obtain the query identifier, or associate the shooting interval identifier with the data source identifier to obtain the query identifier.
[0085] Step 302: Determine the target push configuration information from the database according to the query identifier.
[0086] In this embodiment, the server can compare the query identifier with each push configuration information in the database one by one. If the data source identifier, shooting device identifier and query identifier included in the push configuration information are consistent, or if the data source identifier, shooting interval identifier and query identifier included in the push configuration information are consistent, then the push configuration information can be determined as the target push configuration information.
[0087] In this embodiment, the server first determines the query identifier corresponding to the traffic shooting data based on the traffic shooting data, and then determines the target push configuration information from the database based on the query identifier, wherein the query identifier is obtained by associating the shooting device identifier and the data source identifier included in the traffic shooting data, or the query identifier is obtained by associating the shooting interval identifier and the data source identifier included in the traffic shooting data, so that the target push configuration information can be accurately determined based on the query identifier and the data source identifier and the shooting device identifier in the multiple push configuration information included in the database, or the data source identifier and the shooting interval identifier, thereby improving the accuracy of the determined target push configuration information.
[0088] In one embodiment, based on Figure 2 The embodiment shown, see Figure 4 This embodiment relates to the process of how the server pushes the traffic shooting data to the target device according to the traffic shooting data and the target push configuration information. Figure 4 As shown, step 203 includes Figure 4 Step 401 and step 402 are shown.
[0089] Step 401: Determine whether a push identifier is configured in the target push configuration information.
[0090] The push flag refers to a flag indicating whether to push the traffic shooting data matching the target push configuration information. It can be understood that if the push flag exists in the target push configuration information, it can be determined that the push flag is configured in the target push configuration information, and the server can use the target push configuration information to determine whether to push the traffic shooting data; if the push flag does not exist in the target push configuration information, it can be determined that the push flag is not configured in the target push configuration information, and the server does not execute the operation of pushing the traffic shooting data matching the target push configuration information to the target device.
[0091] In this embodiment, the server can search and obtain the push identifier from multiple information included in the target push configuration information. Optionally, if the target push configuration information includes the push identifier, it is determined that the push identifier is configured in the target push configuration information; or, if the target push configuration information does not include the push identifier, it is determined that the push identifier is not configured in the target push configuration information.
[0092] Step 402: if a push identifier is configured in the target push configuration information, the traffic shooting data is matched with at least one push condition included in the target push configuration information, and when the traffic shooting data successfully matches each push condition, the traffic shooting data is pushed to the target device.
[0093] The push condition is a condition for determining whether to push the traffic shooting data. Optionally, the push condition includes any one of the following:
[0094] The target shooting time included in the traffic shooting data is within the preset push period;
[0095] The target vehicle corresponding to the traffic shooting data is not a whitelist vehicle;
[0096] The vehicle behavior corresponding to the traffic shooting data is in the preset behavior list;
[0097] The speed of the target vehicle is not within the preset overspeed ratio range;
[0098] The current moment is within the preset push validity period;
[0099] The amount of traffic shooting data pushed to the target device during the historical time period does not exceed the preset push threshold.
[0100] The preset push time period refers to the time period determined to be an illegal act. For example, if the preset push time period is 07:00-09:00 and the target shooting time is 09:30, it can be determined that the target shooting time is within the preset push time period.
[0101] Among them, the whitelisted vehicles are vehicles that have been authenticated and authorized under specific conditions and have driving permission within a specific time. For example, you can set the vehicle with license plate number **** as a whitelisted vehicle in the push configuration information.
[0102] Among them, the preset behavior list refers to the vehicle driving behaviors determined to be illegal behaviors in the push configuration information. The preset behavior lists in different push configuration information are different. For example, the preset behavior list in push configuration information A may include: running a red light, not giving way to pedestrians, and the preset behavior list in push configuration information A may include: crossing a solid line, not wearing a seat belt.
[0103] The preset overspeed ratio range refers to the ratio range in which the vehicle is allowed to exceed the legal speed during driving. For example, the preset overspeed ratio range may not exceed 10%.
[0104] The preset push validity period is set to avoid delays due to network reasons, which may cause the traffic shooting data to become invalid. For example, the preset push validity period may be within one hour after the shooting time.
[0105] The historical time period refers to the time period before the current moment, for example, the historical time period can be within 24 hours before the current moment. The preset push threshold refers to the maximum number of traffic shooting data pushed in the historical time period, in order to avoid excessive penalties caused by too much traffic shooting data captured by the same shooting device. For example, the preset push threshold can be 20.
[0106] As an optional implementation, when the server determines that a push flag is configured in the target push configuration information, it can further determine whether the push switch is turned on according to the push flag. For example, a binary number is used to represent the push flag. If the push flag is 1, it means push; if the push flag is 0, it means no push.
[0107] In this embodiment, the server can determine whether the current moment is within the preset push validity period when it is determined that the target push configuration information includes a configuration push identifier. If the current moment is not within the preset push validity period, the traffic shooting data will not be pushed; if the current moment is within the preset push validity period, it is determined whether the target shooting time included in the traffic shooting data is within the preset push time period. If the target shooting time is not within the preset push time period, the traffic shooting data will not be pushed; if the target shooting time is within the preset push time period, it is determined whether the target vehicle corresponding to the traffic shooting data is a white-list vehicle. If the target vehicle is a white-list vehicle, the traffic shooting data will not be pushed; if the target vehicle is not a white-list vehicle, it is determined whether the vehicle behavior corresponding to the traffic shooting data is within In the preset behavior list, if the vehicle behavior is not in the preset behavior list, the traffic shooting data will not be pushed; if the vehicle behavior is in the preset behavior list, it is determined whether the speed of the target vehicle is within the preset speeding ratio range. If it is within the preset speeding ratio range, the traffic shooting data will not be pushed; if it is not within the preset speeding ratio range, it is determined whether the number of traffic shooting data pushed to the target device in the historical time period exceeds the preset push threshold. If it exceeds the preset push threshold, the traffic shooting data will not be pushed; if it does not exceed the preset push threshold, it can be determined that the traffic shooting data matches the push conditions included in the target push configuration information, and then, the server can push the traffic shooting data to the target device through the network if the traffic shooting data successfully matches each push condition.
[0108] In this embodiment, the server determines whether a push identifier is configured in the target push configuration information. When the push identifier is configured in the target push configuration information, the server can match the traffic shooting data with at least one push condition included in the target push configuration information, and push the traffic shooting data to the target device when the traffic shooting data successfully matches each push condition. Since the traffic shooting data can be matched with at least one push condition included in the target push configuration information in the process of determining whether to push the traffic shooting data, the accuracy of the matching process can be improved, thereby improving the accuracy of determining whether to push the traffic shooting data.
[0109] In one embodiment, based on Figure 2 The embodiment shown, see Figure 5 This embodiment relates to a process of determining whether the traffic shooting data is valid shooting data before the server determines the target push configuration information corresponding to the traffic shooting data from the database based on the traffic shooting data. Figure 5 As shown, the server can execute Figure 5 Steps 501 and 502 are shown to implement this process.
[0110] Step 501: Determine whether the traffic shooting data is repeated shooting data according to the traffic shooting data.
[0111] The repeated shooting data refers to the data obtained by shooting the same vehicle in the same driving state multiple times by the same shooting device within a preset time. For example, the preset time can be 0.01 seconds. For example, in order to improve the clarity of the image captured by the shooting device A, the shooting device A is set to shoot 3 times every 1 second, and there may be a situation where the shooting device A captures the same driving state of the same vehicle 3 times. It is understandable that in order to avoid pushing the repeated shooting data to the target device multiple times, resulting in a waste of resources, the repeated shooting data in the traffic shooting data can be deduplicated.
[0112] In this embodiment, the server can obtain the data identifier corresponding to the traffic shooting data, and then determine whether there is a historical data identifier identical to the data identifier corresponding to the traffic shooting data in a database of multiple historical traffic shooting data, and then determine whether the traffic shooting data is repeated shooting data based on the judgment result. Optionally, if there is a historical data identifier identical to the data identifier corresponding to the traffic shooting data in the database, it can be determined that the traffic shooting data is repeated shooting data; if there is no historical data identifier identical to the data identifier corresponding to the traffic shooting data in the database, it can be determined that the traffic shooting data is non-repeated shooting data.
[0113] Step 502: If the traffic shooting data is repeated shooting data, determine whether the traffic shooting data is valid shooting data according to the target shooting time included in the traffic shooting data.
[0114] It is understandable that, when the server determines that the traffic shooting data is not duplicate shooting data, the server can store the traffic shooting data in the server's database. When the server receives new traffic shooting data of the same vehicle shot by the same capture device again, it can determine whether the new traffic shooting data is valid shooting data according to the shooting time. Valid shooting data refers to traffic shooting data with the same shooting device and vehicle identification as the traffic shooting data stored in the database, but with a large difference in shooting time. For example, if the shooting time of the valid shooting data is 12:00 and the shooting time of the traffic shooting data stored in the database is 13:00, it can be considered that the shooting time of the two is very different.
[0115] In this embodiment, when the server determines that the traffic shooting data is repeated shooting data, it can obtain the target shooting time included in the traffic shooting data, and then determine whether the target shooting time is the same as the historical shooting time of the repeated shooting data stored in the database, obtain a judgment result, and then determine whether the traffic shooting data is valid shooting data according to the judgment result. Optionally, if the judgment result is that the target shooting time is the same as the historical shooting time, it can be determined that the traffic shooting data is invalid shooting data; if the judgment result is that the target shooting time is not the same as the historical shooting time, it can be determined that the traffic shooting data is valid shooting data.
[0116] Based on the above step 502, as a possible implementation mode, according to the traffic shooting data, the target push configuration information corresponding to the traffic shooting data is determined from the database, including:
[0117] In the case where the traffic shooting data is valid shooting data, target push configuration information is determined from a database according to the traffic shooting data.
[0118] It is understandable that if the traffic shooting data is valid shooting data, it can be determined that the traffic shooting data is not duplicate data. Then, the target push configuration information can be determined from the database based on the traffic shooting data to push the traffic shooting data to the target device according to the target push configuration information.
[0119] In this embodiment, the server determines whether the traffic shooting data is duplicate shooting data based on the traffic shooting data, so that when the traffic shooting data is duplicate shooting data, the server can determine whether the traffic shooting data is valid shooting data based on the target shooting time included in the traffic shooting data, so that when the traffic shooting data is valid shooting data, the server can determine the target push configuration information from the database based on the traffic shooting data, thereby ensuring the reliability of the traffic shooting data and avoiding the traffic shooting data being duplicate shooting data or invalid shooting data, which causes a waste of push resources.
[0120] In one embodiment, based on Figure 5 In the embodiment shown, the traffic shooting data also includes the vehicle identification of the target vehicle and the shooting equipment identification, see Figure 6 This embodiment relates to a process of how a server determines whether traffic shooting data is repeated shooting data based on traffic shooting data. Figure 6 As shown, step 501 includes Figure 6 Steps 601 to 603 shown:
[0121] Step 601, concatenate the vehicle identification and the camera identification to obtain a deduplicated identification.
[0122] Among them, the vehicle identification refers to the identification information of the target vehicle in the traffic shooting data, for example, the vehicle identification can be the license plate number, and the shooting device identification refers to the identification of the camera that collects the traffic shooting data, for example, the shooting device identification can be the camera number.
[0123] In this embodiment, the server can obtain the vehicle identification and the shooting device identification of the target vehicle from the traffic shooting data, and then use the text splicing algorithm to splice the vehicle identification and the shooting device identification, and then use the spliced vehicle identification-shooting device identification as the deduplicated identification.
[0124] Step 602, determine whether there is a deduplication mark in the database.
[0125] It should be noted that for the traffic photography data of the same vehicle collected by the same shooting device at the same time, when the server first receives the traffic photography data, it can splice the vehicle identification and the shooting device identification in the traffic photography data to obtain a deduplicated identification, and then store the traffic photography data with the deduplicated identification in the database. Therefore, the database can include historical deduplicated identifications corresponding to the traffic photography data stored in multiple historical time periods.
[0126] In this embodiment, the server may compare the deduplication identifier with the historical deduplication identifier in the database, and determine whether the deduplication identifier exists in the database based on the comparison result. Optionally, if the historical deduplication identifier that is identical to the deduplication identifier exists in the database, it may be determined that the deduplication identifier exists in the database; or, if the historical deduplication identifier that is identical to the deduplication identifier does not exist in the database, it may be determined that the deduplication identifier does not exist in the database.
[0127] Step 603: If there is no de-duplication mark in the database, the traffic shooting data is determined to be non-duplicate shooting data, and the de-duplication mark and the target shooting time are associated and stored in the database.
[0128] It is understandable that if there is a deduplication mark in the database, it means that traffic shooting data of the same vehicle captured by the same capture device as the traffic shooting data already exists in the database, and then the traffic shooting data can be determined to be duplicate shooting data.
[0129] In this embodiment, the server can determine that the traffic shooting data is non-duplicate shooting data when there is no deduplication mark in the database, and then obtain the target shooting time from the traffic shooting data, and then associate the deduplication mark and the target shooting time, and store the associated data in the database as a key-value pair. For example, the deduplication mark can be used as the key in the associated data, and the target shooting time can be used as the value to obtain a data pair of deduplication mark-target shooting time in the form of key-value.
[0130] As a possible implementation, the server may set a preset time period, and after the preset time period, clear the data pairs of deduplication identifier-target shooting time stored in the database.
[0131] In this embodiment, the server obtains a deduplication identifier by splicing the vehicle identifier and the shooting device identifier, and then determines whether the deduplication identifier exists in the database. When the deduplication identifier does not exist in the database, the server can determine that the traffic shooting data is non-duplicate shooting data. Since the process of obtaining the deduplication identifier is relatively simple, it can quickly determine whether the traffic shooting data is duplicate shooting data. When it is determined that the traffic shooting data is non-duplicate shooting data, the deduplication identifier and the target shooting time can be associated and stored in the database. When the server receives the traffic shooting data again, the server can use the deduplication identifier and the target shooting time stored in the database to judge whether the traffic shooting data is duplicate shooting data.
[0132] In one embodiment, based on Figure 5 The embodiment shown, see Figure 7 This embodiment relates to a process of how the server determines whether the traffic shooting data is valid shooting data according to the target shooting time included in the traffic shooting data. Figure 7 As shown, step 502 includes Figure 7 Step 701 and step 702 are shown:
[0133] Step 701: Acquire historical shooting time associated with a deduplication mark from a database.
[0134] Among them, the historical shooting time refers to the shooting time stored in the database before the current time. It can be understood that when the traffic shooting data is repeated shooting data, it means that there is a de-duplication identifier in the database that is the same as the de-duplication identifier corresponding to the traffic shooting data, and there is a historical shooting time associated with the same de-duplication identifier.
[0135] In this embodiment, the server may search and obtain the associated data associated with the deduplication identifier from the database according to the deduplication identifier, and then obtain the historical shooting time from the associated data.
[0136] Step 702 : compare the target shooting time with the historical shooting time. If the absolute value of the difference between the target shooting time and the historical shooting time is greater than or equal to the time difference threshold, determine that the traffic shooting data is valid shooting data.
[0137] It can be understood that if the difference between the shooting times of two traffic shooting data with the same deduplication mark is small, it means that the two traffic shooting data correspond to the same violation, and if the difference between the shooting times of two traffic shooting data with the same deduplication mark is large, it means that the two traffic shooting data correspond to different violations. Therefore, a time difference threshold can be set to quantitatively analyze the difference between the shooting times of two traffic shooting data. For example, the time difference threshold can be 1 hour, or the time difference threshold can also be 0.5 hours, which is not limited in this embodiment.
[0138] In this embodiment, the server can calculate the difference between the target shooting time and the historical shooting time, and then compare the absolute value of the difference with the time difference threshold. If the comparison result is greater than or equal to the time difference threshold, it means that the traffic shooting data and the historical traffic shooting data corresponding to the historical shooting time are not the same violation data. Therefore, it can be determined that the traffic shooting data is valid shooting data.
[0139] In this embodiment, the server obtains the historical shooting time associated with the deduplication mark from the database, and by comparing the target shooting time with the historical shooting time, it can determine that the traffic shooting data is valid shooting data when the absolute value of the difference between the target shooting time and the historical shooting time is greater than or equal to the time difference threshold. Since the process of comparing the target shooting time with the historical shooting time is relatively simple, the size between the absolute value of the difference between the target shooting time and the historical shooting time and the time difference threshold can be quickly determined, so that the traffic shooting data can be quickly determined to be valid shooting data when the absolute value of the difference is greater than or equal to the time difference threshold, thereby improving the efficiency of determining that the traffic shooting data is valid shooting data.
[0140] In one embodiment, a data push method is provided for a server, such as Figure 8 As shown, the method comprises the following steps:
[0141] Step 801, obtaining traffic shooting data.
[0142] Step 802, concatenate the vehicle identification and the camera identification to obtain a deduplicated identification.
[0143] Step 803, determine whether there is a deduplication mark in the database.
[0144] Step 804, if there is no deduplication mark in the database, the traffic shooting data is determined to be non-duplicate shooting data, and the deduplication mark and the target shooting time are associated and stored in the database. After a preset time, the associated data pair of the deduplication mark and the target shooting time is deleted from the database.
[0145] Step 805: Acquire the historical shooting time associated with the deduplication mark from the database.
[0146] Step 806: Compare the target shooting time with the historical shooting time.
[0147] Step 807: If the absolute value of the difference between the target shooting time and the historical shooting time is greater than or equal to the time difference threshold, the traffic shooting data is determined to be valid shooting data.
[0148] Step 808: Determine the query identifier corresponding to the traffic shooting data according to the data source identifier, the traffic shooting data or the shooting interval identifier in the traffic shooting data.
[0149] Step 809: Determine the target push configuration information from the database according to the query identifier.
[0150] Step 8010, determining whether a push identifier is configured in the target push configuration information; if a push identifier is not configured in the target push configuration information, executing step 8018, ie, not pushing the traffic shooting data.
[0151] Step 8011, if a push flag is configured in the target push configuration information, determine whether the current moment is within the preset push validity period; if the current moment is not within the preset push validity period, execute step 8018, that is, do not push the traffic shooting data.
[0152] Step 8012, if the current time is within the preset push validity period, determine whether the target shooting time included in the traffic shooting data is within the preset push time period; if the target shooting time is not within the preset push time period, execute step 8018, that is, do not push the traffic shooting data.
[0153] Step 8013, if the target shooting time is within the preset push period, determine whether the target vehicle corresponding to the traffic shooting data is a whitelist vehicle; if the target vehicle is a whitelist vehicle, execute step 8018, that is, do not push the traffic shooting data.
[0154] Step 8014, if the target vehicle is not a whitelist vehicle, determine whether the vehicle behavior corresponding to the traffic shooting data is in the preset behavior list; if the vehicle behavior is not in the preset behavior list, execute step 8018, that is, do not push the traffic shooting data.
[0155] Step 8015, if the vehicle behavior is in the preset behavior list, determine whether the speed of the target vehicle is within the preset speeding ratio range; if the speed of the target vehicle is within the preset speeding ratio range, execute step 8018, that is, do not push the traffic shooting data.
[0156] Step 8016, if the speed of the target vehicle is not within the preset speeding ratio range, determine whether the amount of traffic shooting data pushed to the target device in the historical time period exceeds the preset push threshold; if the amount of traffic shooting data pushed to the target device in the historical time period exceeds the preset push threshold, execute step 8018, that is, do not push the traffic shooting data.
[0157] Step 8017: If the amount of traffic shooting data pushed to the target device in the historical time period does not exceed the preset push threshold, the traffic shooting data is pushed to the target device.
[0158] Step 8018, do not push traffic shooting data.
[0159] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0160] Based on the same inventive concept, the embodiment of the present application also provides a data push device for implementing the data push method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more data push device embodiments provided below can refer to the limitations on the data push method above, and will not be repeated here.
[0161] In an exemplary embodiment, Fig. 9 As shown, a data push device is provided, comprising:
[0162] An acquisition module 901 is used to acquire traffic shooting data;
[0163] A first determination module 902 is used to determine, from a database, target push configuration information corresponding to the traffic shooting data according to the traffic shooting data, and each push configuration information included in the database is updated according to a preset update condition;
[0164] The push module 903 is used to push the traffic shooting data to the target device according to the traffic shooting data and the target push configuration information.
[0165] In one embodiment, the first determining module 902 includes:
[0166] A first determining unit, configured to determine a query identifier corresponding to the traffic photographing data according to the traffic photographing data;
[0167] A second determining unit, configured to determine the target push configuration information from the database according to the query identifier;
[0168] The query identifier is obtained by associating a photographing device identifier and a data source identifier included in the traffic photographing data, or the query identifier is obtained by associating a photographing interval identifier and a data source identifier included in the traffic photographing data.
[0169] In one embodiment, the push module 903 includes:
[0170] A point determination unit, used to determine whether a push identifier is configured in the target push configuration information;
[0171] A matching unit is used to match the traffic shooting data with at least one push condition included in the target push configuration information if the push identifier is configured in the target push configuration information, and push the traffic shooting data to the target device if the traffic shooting data successfully matches each of the push conditions.
[0172] Optionally, the push condition includes any of the following:
[0173] The target shooting time included in the traffic shooting data is within a preset push period;
[0174] The target vehicle corresponding to the traffic shooting data is not a whitelist vehicle;
[0175] The vehicle behavior corresponding to the traffic shooting data is in a preset behavior list;
[0176] The speed of the target vehicle is not within a preset overspeed ratio range;
[0177] The current moment is within the preset push validity period;
[0178] The amount of traffic shooting data pushed to the target device in the historical time period does not exceed a preset push threshold.
[0179] In one embodiment, the device further comprises:
[0180] A second determination module is used to determine whether the traffic shooting data is repeated shooting data according to the traffic shooting data;
[0181] A third determination module is used to determine whether the traffic shooting data is valid shooting data according to the target shooting time included in the traffic shooting data if the traffic shooting data is repeated shooting data;
[0182] The first determining module 902 includes:
[0183] The fourth determining unit is configured to determine the target push configuration information from the database according to the traffic shooting data when the traffic shooting data is valid shooting data.
[0184] In one embodiment, the traffic shooting data further includes a vehicle identification and a shooting device identification of the target vehicle, and the second determination module includes:
[0185] A splicing unit, used for splicing the vehicle identification and the photographing device identification to obtain a deduplicated identification;
[0186] A fifth determining unit, configured to determine whether the deduplication identifier exists in the database;
[0187] The sixth determining unit is configured to determine that the traffic shooting data is non-repetitive shooting data if the de-duplication mark does not exist in the database, and store the de-duplication mark and the target shooting time in the database in association with each other.
[0188] In one embodiment, the third determination module includes:
[0189] An acquisition unit, configured to acquire from the database a historical shooting time associated with the deduplication identifier;
[0190] A comparing unit is used to compare the target shooting time with the historical shooting time, and if the absolute value of the difference between the target shooting time and the historical shooting time is greater than or equal to a time difference threshold, determine that the traffic shooting data is the valid shooting data.
[0191] Each module in the above data push device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of the processor in the server in the form of hardware, or can be stored in the memory in the server in the form of software, so that the processor can call and execute the operations corresponding to each module above.
[0192] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Fig.10As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store traffic shooting data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external target device through a network connection. When the computer program is executed by the processor, a data push method is implemented.
[0193] Those skilled in the art will understand that Fig.10 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0194] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0195] Obtain traffic shooting data;
[0196] According to the traffic shooting data, target push configuration information corresponding to the traffic shooting data is determined from a database, and each push configuration information included in the database is updated according to a preset update strategy;
[0197] The traffic shooting data is pushed to a target device according to the traffic shooting data and the target push configuration information.
[0198] In one embodiment, the processor implements the following steps when executing the computer program:
[0199] Determining, according to the traffic shooting data, a query identifier corresponding to the traffic shooting data;
[0200] Determining the target push configuration information from the database according to the query identifier;
[0201] The query identifier is obtained by associating a photographing device identifier and a data source identifier included in the traffic photographing data, or the query identifier is obtained by associating a photographing interval identifier and a data source identifier included in the traffic photographing data.
[0202] In one embodiment, the processor implements the following steps when executing the computer program:
[0203] Determine whether a push identifier is configured in the target push configuration information;
[0204] If the push identifier is configured in the target push configuration information, the traffic shooting data is matched with at least one push condition included in the target push configuration information, and if the traffic shooting data successfully matches each of the push conditions, the traffic shooting data is pushed to the target device.
[0205] Optionally, the push condition includes any of the following:
[0206] The target shooting time included in the traffic shooting data is within a preset push period;
[0207] The target vehicle corresponding to the traffic shooting data is not a whitelist vehicle;
[0208] The vehicle behavior corresponding to the traffic shooting data is in a preset behavior list;
[0209] The speed of the target vehicle is not within a preset overspeed ratio range;
[0210] The current moment is within the preset push validity period;
[0211] The amount of traffic shooting data pushed to the target device in the historical time period does not exceed a preset push threshold.
[0212] In one embodiment, the processor implements the following steps when executing the computer program:
[0213] Determining, according to the traffic shooting data, whether the traffic shooting data is repeated shooting data;
[0214] If the traffic shooting data is repeated shooting data, determining whether the traffic shooting data is valid shooting data according to the target shooting time included in the traffic shooting data;
[0215] The step of determining target push configuration information corresponding to the traffic shooting data from a database according to the traffic shooting data includes:
[0216] In a case where the traffic shooting data is valid shooting data, the target push configuration information is determined from the database according to the traffic shooting data.
[0217] In one embodiment, the processor implements the following steps when executing the computer program:
[0218] Splicing the vehicle identification with the photographing device identification to obtain a deduplicated identification;
[0219] Determine whether the deduplication identifier exists in the database;
[0220] If the deduplication mark does not exist in the database, the traffic shooting data is determined to be non-repetitive shooting data, and the deduplication mark and the target shooting time are associated and stored in the database.
[0221] In one embodiment, the processor implements the following steps when executing the computer program:
[0222] Acquire the historical shooting time associated with the deduplication mark from the database;
[0223] The target shooting time is compared with the historical shooting time. If the absolute value of the difference between the target shooting time and the historical shooting time is greater than or equal to a time difference threshold, the traffic shooting data is determined to be the valid shooting data.
[0224] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0225] Obtain traffic shooting data;
[0226] According to the traffic shooting data, target push configuration information corresponding to the traffic shooting data is determined from a database, and each push configuration information included in the database is updated according to a preset update strategy;
[0227] The traffic shooting data is pushed to a target device according to the traffic shooting data and the target push configuration information.
[0228] In one embodiment, when the computer program is executed by a processor, the following steps are specifically implemented:
[0229] Determining, according to the traffic shooting data, a query identifier corresponding to the traffic shooting data;
[0230] Determining the target push configuration information from the database according to the query identifier;
[0231] The query identifier is obtained by associating a photographing device identifier and a data source identifier included in the traffic photographing data, or the query identifier is obtained by associating a photographing interval identifier and a data source identifier included in the traffic photographing data.
[0232] In one embodiment, when the computer program is executed by a processor, the following steps are specifically implemented:
[0233] Determine whether a push identifier is configured in the target push configuration information;
[0234] If the push identifier is configured in the target push configuration information, the traffic shooting data is matched with at least one push condition included in the target push configuration information, and if the traffic shooting data successfully matches each of the push conditions, the traffic shooting data is pushed to the target device.
[0235] Optionally, the push condition includes any of the following:
[0236] The target shooting time included in the traffic shooting data is within a preset push period;
[0237] The target vehicle corresponding to the traffic shooting data is not a whitelist vehicle;
[0238] The vehicle behavior corresponding to the traffic shooting data is in a preset behavior list;
[0239] The speed of the target vehicle is not within a preset overspeed ratio range;
[0240] The current moment is within the preset push validity period;
[0241] The amount of traffic shooting data pushed to the target device in the historical time period does not exceed a preset push threshold.
[0242] In one embodiment, when the computer program is executed by a processor, the following steps are specifically implemented:
[0243] Determining, according to the traffic shooting data, whether the traffic shooting data is repeated shooting data;
[0244] If the traffic shooting data is repeated shooting data, determining whether the traffic shooting data is valid shooting data according to the target shooting time included in the traffic shooting data;
[0245] The step of determining target push configuration information corresponding to the traffic shooting data from a database according to the traffic shooting data includes:
[0246] In a case where the traffic shooting data is valid shooting data, the target push configuration information is determined from the database according to the traffic shooting data.
[0247] In one embodiment, when the computer program is executed by a processor, the following steps are specifically implemented:
[0248] Splicing the vehicle identification with the photographing device identification to obtain a deduplicated identification;
[0249] Determine whether the deduplication identifier exists in the database;
[0250] If the deduplication mark does not exist in the database, the traffic shooting data is determined to be non-repetitive shooting data, and the deduplication mark and the target shooting time are associated and stored in the database.
[0251] In one embodiment, when the computer program is executed by a processor, the following steps are specifically implemented:
[0252] Acquire the historical shooting time associated with the deduplication mark from the database;
[0253] The target shooting time is compared with the historical shooting time. If the absolute value of the difference between the target shooting time and the historical shooting time is greater than or equal to a time difference threshold, the traffic shooting data is determined to be the valid shooting data.
[0254] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0255] Obtain traffic shooting data;
[0256] According to the traffic shooting data, target push configuration information corresponding to the traffic shooting data is determined from a database, and each push configuration information included in the database is updated according to a preset update strategy;
[0257] The traffic shooting data is pushed to a target device according to the traffic shooting data and the target push configuration information.
[0258] In one embodiment, when the computer program is executed by a processor, the following steps are specifically implemented:
[0259] Determining, according to the traffic shooting data, a query identifier corresponding to the traffic shooting data;
[0260] Determining the target push configuration information from the database according to the query identifier;
[0261] The query identifier is obtained by associating a photographing device identifier and a data source identifier included in the traffic photographing data, or the query identifier is obtained by associating a photographing interval identifier and a data source identifier included in the traffic photographing data.
[0262] In one embodiment, when the computer program is executed by a processor, the following steps are specifically implemented:
[0263] Determine whether a push identifier is configured in the target push configuration information;
[0264] If the push identifier is configured in the target push configuration information, the traffic shooting data is matched with at least one push condition included in the target push configuration information, and if the traffic shooting data successfully matches each of the push conditions, the traffic shooting data is pushed to the target device.
[0265] Optionally, the push condition includes any of the following:
[0266] The target shooting time included in the traffic shooting data is within a preset push period;
[0267] The target vehicle corresponding to the traffic shooting data is not a whitelist vehicle;
[0268] The vehicle behavior corresponding to the traffic shooting data is in a preset behavior list;
[0269] The speed of the target vehicle is not within a preset overspeed ratio range;
[0270] The current moment is within the preset push validity period;
[0271] The amount of traffic shooting data pushed to the target device in the historical time period does not exceed a preset push threshold.
[0272] In one embodiment, when the computer program is executed by a processor, the following steps are specifically implemented:
[0273] Determining, according to the traffic shooting data, whether the traffic shooting data is repeated shooting data;
[0274] If the traffic shooting data is repeated shooting data, determining whether the traffic shooting data is valid shooting data according to the target shooting time included in the traffic shooting data;
[0275] The step of determining target push configuration information corresponding to the traffic shooting data from a database according to the traffic shooting data includes:
[0276] In a case where the traffic shooting data is valid shooting data, the target push configuration information is determined from the database according to the traffic shooting data.
[0277] In one embodiment, when the computer program is executed by a processor, the following steps are specifically implemented:
[0278] Splicing the vehicle identification with the photographing device identification to obtain a deduplicated identification;
[0279] Determine whether the deduplication identifier exists in the database;
[0280] If the deduplication mark does not exist in the database, the traffic shooting data is determined to be non-repetitive shooting data, and the deduplication mark and the target shooting time are associated and stored in the database.
[0281] In one embodiment, when the computer program is executed by a processor, the following steps are specifically implemented:
[0282] Acquire the historical shooting time associated with the deduplication mark from the database;
[0283] The target shooting time is compared with the historical shooting time. If the absolute value of the difference between the target shooting time and the historical shooting time is greater than or equal to a time difference threshold, the traffic shooting data is determined to be the valid shooting data.
[0284] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0285] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0286] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A data push method, characterized in that: The method comprises: Obtain traffic shooting data; According to the traffic shooting data, target push configuration information corresponding to the traffic shooting data is determined from a database, and each push configuration information included in the database is updated according to a preset update strategy; The traffic shooting data is pushed to a target device according to the traffic shooting data and the target push configuration information.
2. The method according to claim 1, characterized in that The step of determining target push configuration information corresponding to the traffic shooting data from a database according to the traffic shooting data includes: Determining, according to the traffic shooting data, a query identifier corresponding to the traffic shooting data; Determining the target push configuration information from the database according to the query identifier; The query identifier is obtained by associating a photographing device identifier and a data source identifier included in the traffic photographing data, or the query identifier is obtained by associating a photographing interval identifier and a data source identifier included in the traffic photographing data.
3. The method according to claim 1, characterized in that: The step of pushing the traffic shooting data to a target device according to the traffic shooting data and the target push configuration information includes: Determine whether a push identifier is configured in the target push configuration information; If the push identifier is configured in the target push configuration information, the traffic shooting data is matched with at least one push condition included in the target push configuration information, and if the traffic shooting data successfully matches each of the push conditions, the traffic shooting data is pushed to the target device.
4. The method according to claim 1, characterized in that: Before determining the target push configuration information corresponding to the traffic shooting data from a database according to the traffic shooting data, the method further includes: Determining, according to the traffic shooting data, whether the traffic shooting data is repeated shooting data; If the traffic shooting data is repeated shooting data, determining whether the traffic shooting data is valid shooting data according to the target shooting time included in the traffic shooting data; The step of determining target push configuration information corresponding to the traffic shooting data from a database according to the traffic shooting data includes: In a case where the traffic shooting data is valid shooting data, the target push configuration information is determined from the database according to the traffic shooting data.
5. The method according to claim 4, characterized in that The traffic shooting data also includes a vehicle identification and a shooting device identification of a target vehicle, and determining whether the traffic shooting data is repeated shooting data according to the traffic shooting data includes: Splicing the vehicle identification with the photographing device identification to obtain a deduplicated identification; Determine whether the deduplication identifier exists in the database; If the deduplication mark does not exist in the database, the traffic shooting data is determined to be non-repetitive shooting data, and the deduplication mark and the target shooting time are associated and stored in the database.
6. The method according to claim 5, characterized in that The determining, according to the target shooting time included in the traffic shooting data, whether the traffic shooting data is valid shooting data comprises: Acquire the historical shooting time associated with the deduplication mark from the database; The target shooting time is compared with the historical shooting time. If the absolute value of the difference between the target shooting time and the historical shooting time is greater than or equal to a time difference threshold, the traffic shooting data is determined to be the valid shooting data.
7. A data push device, characterized in that: The device comprises: An acquisition module is used to acquire traffic shooting data; A first determination module is used to determine, from a database, target push configuration information corresponding to the traffic shooting data according to the traffic shooting data, and each push configuration information included in the database is updated according to a preset update condition; The push module is used to push the traffic shooting data to the target device according to the traffic shooting data and the target push configuration information.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Non-motor vehicle driving behavior detection method, system and device and storage medium
CN113139438A
Early warning reporting method, device and system and electronic equipment
CN114143748A
Traffic behavior warning method and device, electronic equipment and computer readable medium
CN114241763A
Violation message pushing method and device, equipment and storage medium
CN114553951A
Vehicle illegal parking information determination method and device and electronic equipment
CN115565382A
Cited By
Map data fusion-based element management method and system
CN120216611A
A method and system for element management based on map data fusion
CN120216611B