Data acquisition method and device based on electronic fence, equipment and medium
By setting open and frozen states in the electronic fence, data is collected only within the open fence and updated to the frozen state after completion, solving the problem of repeated data uploads in the training of large autonomous driving models and achieving high efficiency and cost-effectiveness in data collection.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-30
- Publication Date
- 2026-03-10
AI Technical Summary
During the training of large-scale autonomous driving models, duplicate data uploads from different vehicles within the same electronic fence lead to data redundancy in the cloud and wasted traffic in vehicle-to-cloud interactions.
By setting the status of the electronic fence, the number of times data can be collected from the same electronic fence can be limited, including open and frozen states. Data can only be collected within the open state of the fence, and the fence can be updated to the frozen state after the data collection is completed, thus avoiding duplicate collection.
This effectively avoids duplicate data collection from the same electronic fence, reduces cloud data redundancy and vehicle-to-cloud interaction traffic, and lowers the complexity and cost of data management.
Smart Images

Figure CN121645141A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle technology, and in particular to a data acquisition method, device, equipment and medium based on electronic fence. Background Technology
[0002] Currently, with the rapid development of large-scale models, autonomous driving is considered a major future application scenario for them. Large-scale models require more computing resources for training and inference, and in order to effectively train large-scale models, a large amount of effective data needs to be collected.
[0003] In existing technologies, data collection areas are defined by electronic fences. When a vehicle enters the electronic fence, it uploads the data collected within the electronic fence to the cloud for data analysis.
[0004] However, when different vehicles enter the same electronic fence, they will all upload data, resulting in the cloud collecting a lot of duplicate data, wasting vehicle-to-cloud interaction traffic and cloud data redundancy. Summary of the Invention
[0005] In view of the above problems, this application is made to provide a data acquisition method, apparatus, device and medium based on electronic fences to solve the above problems. By setting the status of the electronic fence, the number of times the target data of the electronic fence is collected can be limited, so as to avoid collecting data of the same electronic fence too many times.
[0006] In a first aspect, this application provides a data acquisition method based on an electronic fence, applied to a data acquisition and association system, the method comprising: Receive the location of the target vehicle, wherein the location is sent by the target vehicle to the data acquisition and association system; If the location is within a preset target area, a target electronic fence within the target area is sent to the target vehicle. The target electronic fence is in an open state, and different target electronic fences correspond to different numbers. If a data acquisition completion signal and target number are received from the target vehicle, the status of the target electronic fence corresponding to the target number is updated to frozen and recorded as frozen electronic fence; the data acquisition completion signal is sent to the data acquisition association system after the target vehicle enters the target electronic fence corresponding to the target number and completes the collection of target data. If target data is received from the target vehicle, the frozen electronic fence corresponding to the target number will be closed.
[0007] Optionally, after updating the status of the target electronic fence corresponding to the target number to a frozen state, the method further includes: A status update command and the target number are sent to all vehicles within the target area, so that after receiving the status update command and the target number, all vehicles update the status of the target electronic fence corresponding to the target number to the frozen state, and record it as the frozen electronic fence.
[0008] Optionally, the target data is sent to the data collection and association system when the target vehicle is in non-intelligent driving mode.
[0009] Optionally, the data acquisition completion signal is generated when the target vehicle enters the target electronic fence corresponding to the target number and the field of vision is determined to be open, and the target data is collected and then sent to the data acquisition association system after the target row data is collected.
[0010] Optionally, the open state refers to the field of vision state when the speed of the target vehicle is greater than a preset speed threshold.
[0011] Optionally, after receiving the target data sent by the target vehicle, the method further includes: Count the number of times the target data sent by the target vehicle is received; If the number of attempts exceeds a preset threshold, the electronic fence for the target area will not be sent to the target vehicle.
[0012] Optionally, the number of times threshold is determined based on the average number of vehicles and the average number of electronic fences in the target area.
[0013] Secondly, this application provides a data acquisition device based on an electronic fence, applied to a data acquisition and association system, the device comprising: The receiving module is used to receive the location of the target vehicle, wherein the location is sent by the target vehicle to the data acquisition and association system; The first sending module is used to send a target electronic fence within the target area to the target vehicle if the location is within a preset target area. The target electronic fence is in an open state, and different target electronic fences correspond to different numbers. The update module is used to update the status of the target electronic fence corresponding to the target number to a frozen state and record it as a frozen electronic fence if it receives a data acquisition completion signal and target number sent by the target vehicle; the data acquisition completion signal is sent to the data acquisition association system after the target vehicle enters the target electronic fence corresponding to the target number and completes the collection of target data. The closing module is used to close the frozen electronic fence corresponding to the target number if it receives target data sent by the target vehicle.
[0014] Thirdly, this application provides an electronic device, including: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the computer instructions to perform the method as described in the first aspect.
[0015] Fourthly, this application provides a computer-readable storage medium storing computer instructions for causing the computer to perform the method described in the first aspect.
[0016] The technical solutions provided in this application embodiment have at least the following technical effects or advantages: This application provides a data acquisition method, apparatus, device, and medium based on electronic fences. The method receives the location of a target vehicle, which is sent by the vehicle to a data acquisition association system. If the location is within a preset target area, the system sends the target electronic fence within that area to the vehicle. The target electronic fence is in an open state; that is, after the vehicle enters the target area, only an open electronic fence is sent to the vehicle. If a data acquisition completion signal and a target number are received from the vehicle, the state of the target electronic fence corresponding to the target number is updated to a frozen state and recorded as a frozen electronic fence. That is, after the vehicle enters the target electronic fence corresponding to the target number and completes the target data acquisition, it sends a data acquisition completion signal and a target number to the data acquisition association system. If the target data is received from the vehicle, the frozen electronic fence corresponding to the target number is closed; that is, after obtaining the target data for the electronic fence with the target number, the electronic fence can be closed. This method avoids repeatedly collecting data from the same electronic fence by setting its state.
[0017] The above description is only an overview of the technical solution of this application. In order to better understand the technical means of this application and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of this application more obvious and understandable, the following are specific embodiments of this application. Attached Figure Description
[0018] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the scope of this application. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings: Figure 1 This is a flowchart of a data acquisition method based on an electronic fence provided in an embodiment of this application; Figure 2This is a structural block diagram of a data acquisition device based on an electronic fence, provided in an embodiment of this application. Detailed Implementation
[0019] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings. It should be understood that the embodiments of this disclosure and the specific features in the embodiments are detailed descriptions of the technical solutions of this application, rather than limitations on the technical solutions of this application. Unless otherwise specified, the embodiments of this application and the technical features in the embodiments can be combined with each other.
[0020] Before providing a detailed description of the data acquisition method based on electronic fences provided in the embodiments of this application, let's first briefly introduce the relevant application scenarios.
[0021] Currently, with the rapid development of large-scale models, autonomous driving is considered a major future application scenario for them. Large-scale models require more computing resources for training and inference, and in order to effectively train large-scale models, a large amount of effective data needs to be collected.
[0022] In existing technologies, data collection areas are defined by electronic fences. When a vehicle enters the electronic fence, it uploads the data collected within the electronic fence to the cloud for data analysis.
[0023] However, when different vehicles enter the same electronic fence, they will all upload data, resulting in the cloud collecting a lot of duplicate data, wasting vehicle-to-cloud interaction traffic and cloud data redundancy.
[0024] Therefore, the data acquisition method based on electronic fences provided in this application embodiment receives the location sent by the target vehicle; determines whether the target vehicle has entered the target area; if the location is within the preset target area, the target electronic fence within the target area is sent to the target vehicle, and the target electronic fence is in an open state, that is, only an open electronic fence is sent to the vehicle after the target vehicle enters the target area; if a data acquisition completion signal and target number are received from the target vehicle, the state of the target electronic fence corresponding to the target number is updated to a frozen state and recorded as a frozen electronic fence; that is, after the target vehicle enters the target electronic fence corresponding to the target number and completes the target data acquisition, it sends a data acquisition completion signal and target number to the data acquisition association system. After the data acquisition association system learns that a target vehicle has acquired data from the electronic fence of the target number, it immediately updates the state of the electronic fence to a frozen state, so that subsequent vehicles will not acquire data from the electronic fence of the target number; if the target data is received from the target vehicle, the frozen electronic fence corresponding to the target number is closed, that is, after obtaining the target data of the electronic fence of the target number, the electronic fence can be closed. This method can avoid acquiring data from the same electronic fence multiple times by setting the state of the electronic fence.
[0025] Figure 1 This is a flowchart of a data acquisition method based on an electronic fence provided in an embodiment of this application, such as... Figure 1 As shown, this method is applied to a data acquisition and association system, and the method includes: Step S110: Receive the location of the target vehicle, which is sent by the target vehicle to the data acquisition and association system.
[0026] The data acquisition and association system can be deployed in the cloud. The target vehicle communicates with the data acquisition and association system, and can send its location to the system in real time.
[0027] In this embodiment of the application, a positioning device can be installed on the target vehicle to collect the location of the target vehicle in real time.
[0028] Step S120: If the location is within the preset target area, send the target electronic fence within the target area to the target vehicle.
[0029] An electronic fence is a virtual, software-defined boundary. It is typically used in conjunction with geographic information systems and positioning technologies. When a monitored target (such as a person, vehicle, or device) enters or leaves this virtual boundary, the system automatically triggers a preset response action.
[0030] In this embodiment, the data acquisition and association system is software for defining electronic fences. It can identify areas such as intersections, unclear road markings, and areas with low data fusion confidence based on electronic maps, thus obtaining areas to be verified. Electronic fences are generated according to the size of the verification area, and each electronic fence has a corresponding number. The generation of electronic fences follows a minimization principle. For example, when the verification area includes roads in two directions, multiple electronic fences can be generated, each including only one direction of travel. Areas with low data fusion confidence are areas where data has been previously collected, but the fusion confidence of the collected data is lower than a preset confidence threshold.
[0031] The target electronic fence is in an open state, and different target electronic fences correspond to different numbers. Besides the open state, the target electronic fence also has a frozen state. The data acquisition and association system only collects data from electronic fences in the open state, not those in the frozen state. An open electronic fence is designated as a target electronic fence, and a frozen electronic fence is designated as a frozen electronic fence. Therefore, the data acquisition and association system only collects data from target electronic fences, not frozen electronic fences.
[0032] In this embodiment, a city can be divided into multiple non-overlapping areas. The target vehicle is the monitoring object, and the area entered by the target vehicle is recorded as the target area. If the target vehicle is located within a preset target area, it means that the target vehicle has entered the target area. Then, the target electronic fence within the target area is sent to the target vehicle, that is, the open electronic fence within the target area is sent to the target vehicle.
[0033] Step S130: If a data acquisition completion signal and target number are received from the target vehicle, the status of the target electronic fence corresponding to the target number is updated to frozen status and recorded as frozen electronic fence.
[0034] The data acquisition completion signal is sent to the data acquisition association system after the target vehicle enters the target electronic fence corresponding to the target number and completes the collection of target data.
[0035] In this embodiment of the application, when the target vehicle receives the target electronic fence, if the target vehicle recognizes that it has entered a target electronic fence, it collects the target data of the target electronic fence. After the collection is completed, a data collection completion signal is generated, and the data collection completion signal and the target number of the target electronic fence are sent to the data collection association system together.
[0036] The specific data to be collected from the target electronic fence can be set according to the actual situation. For example, many map data sources mainly come from a large number of vehicles equipped with data collection devices, which transmit data back via wireless networks. These vehicles have high coverage and large data transmission volumes. Therefore, the data transmitted from the vehicle end is mainly semantic information. However, for some complex scenarios, it is necessary to transmit image or video information to determine road conditions. Therefore, image data of the road within the target electronic fence can be collected by vehicle-mounted cameras and sent as target data to the data collection and association system to serve as map data.
[0037] Next, if the data acquisition association system receives the data acquisition completion signal and target number sent by the target vehicle, it means that the target vehicle has completed the acquisition of the target data of the target electronic fence with the target number. Then, the status of the target electronic fence corresponding to the target number is updated to the frozen state, so that the electronic fence with the target number will no longer be sent to other target vehicles. Since the electronic fence with the target number has been updated to the frozen electronic fence, the data within it does not need to be collected again, thereby avoiding duplicate collection. This can reduce data traffic and save costs, as well as reduce the complexity of cloud data management.
[0038] Step S140: If target data is received from the target vehicle, the frozen electronic fence corresponding to the target number is closed.
[0039] In this embodiment, after the target vehicle sends a data acquisition completion signal and target number to the data acquisition association system, it will send the collected target data to the data acquisition association system when the target vehicle meets preset conditions. If the data acquisition association system receives the target data sent by the target vehicle, it means that it has obtained the target data of the electronic fence with the target number, and at this time, the electronic fence with the target number can be directly closed.
[0040] Optionally, the target data is sent to the data collection and association system when the target vehicle is in non-intelligent driving mode.
[0041] In this embodiment, after the target vehicle collects the target route data, if it is in a non-intelligent driving mode, it indicates that the target vehicle meets the preset conditions, and the target data can be sent to the data collection and association system. This is because when the target vehicle is in intelligent driving mode, all its processors are operating at high speed. To avoid affecting the autonomous driving function, the target vehicle's capabilities are temporarily not used for data transmission with the data management system. Therefore, target data is only transmitted to the data management system when the target vehicle is in a non-intelligent driving mode.
[0042] Optionally, after step S130, the method further includes: Send a status update command and target number to all vehicles within the target area, so that after receiving the status update command and target number, all vehicles will update the status of the target electronic fence corresponding to the target number to the frozen state and record it as the frozen electronic fence.
[0043] In this embodiment of the application, after the data acquisition and association system updates the status of the target electronic fence with the target number to the frozen state, it will send a status update instruction and the target number to all vehicles in the target area. When each vehicle receives the status update instruction and the target number, it will update the status of the target electronic fence corresponding to the target number to the frozen state. At this time, the electronic fence with the target number becomes a frozen electronic fence. Even if a target vehicle enters the electronic fence with the target number, it will not collect the target data inside, because the target vehicle will only collect the target data of the electronic fence in the open state.
[0044] After the data acquisition and association system updates the status of the electronic fence, it will send a status change command to all vehicles, so that each vehicle in the target area can update the status of the target electronic fence with the target number as soon as possible, so as to avoid collecting the target data of the target electronic fence with the target number again and wasting bandwidth.
[0045] Optionally, the data acquisition completion signal is generated when the target vehicle enters the target electronic fence corresponding to the target number and the field of vision is determined to be open. Target data is then acquired and sent to the data acquisition association system after the target row data acquisition is completed.
[0046] In this embodiment of the application, after a target vehicle enters a target electronic fence, it is necessary to determine whether the field of vision is open. If the field of vision is open, it means that there are no objects or people obstructing the view in front of the target vehicle, and target data is collected to make the collected target data more comprehensive and accurate. If the field of vision is closed, it means that there are objects or people obstructing the view in front of the target vehicle, and target data cannot be collected in this case to avoid incomplete or large errors in the collected target data.
[0047] Optionally, the open state refers to the field of vision when the target vehicle's speed exceeds a preset speed threshold.
[0048] In this embodiment, the visibility of the target vehicle can be determined based on its speed. Specifically, if the target vehicle's speed is greater than a speed threshold, its visibility is determined to be open, because the vehicle can travel at high speed and there are certainly no obstacles in front of it. If the target vehicle's speed is less than or equal to the speed threshold, its visibility is determined to be closed, because the vehicle cannot travel at high speed, possibly due to obstacles in front of it.
[0049] Optionally, after step S140, the method further includes: The system counts the number of times target data is received from the target vehicle; if the number exceeds a preset threshold, the electronic fence for the target area within the target region will not be sent to the target vehicle.
[0050] In this embodiment of the application, the number of times the target vehicle sends target data is counted. When the number of times exceeds the threshold, it indicates that the target vehicle has reached the upper limit for collecting target data from the target electronic fence. In order to avoid the same vehicle collecting and sending target data multiple times and causing the traffic limit to be exceeded, the target electronic fence is no longer sent to the target vehicle, so that the target vehicle no longer collects and sends target data.
[0051] Optionally, the number of attempts threshold is determined based on the average number of vehicles in the target area and the average number of electronic fences.
[0052] In this embodiment, the number of occurrences threshold can be determined based on the vehicle deployment situation within the target area, i.e., the average vehicle data, and the generation situation of the target electronic fence, i.e., the average electronic fence data. Specifically, the larger the average number of vehicles, the smaller the number of occurrences threshold can be; conversely, the larger the average number of electronic fences, the larger the number of occurrences threshold can be.
[0053] Specifically, a mapping relationship between the average number of vehicles, the average number of geofences, and a frequency threshold can be preset. Based on this mapping relationship, and combining the average number of vehicles and the average number of geofences, the frequency threshold is obtained. The frequency threshold can be a threshold within a set time period; that is, within a set time period, if the number of times a target vehicle sends target data exceeds the frequency threshold, the target geofence within the target area will not be sent to the target vehicle. The set time period can be daily or monthly.
[0054] In this embodiment, the target vehicle can also count the number of times it sends target data to the data collection and association system. If the target vehicle finds that the counted number of times it sends data exceeds a threshold, it will no longer collect target data from the target electronic fence. This can be understood as follows: once the target vehicle's number of times it sends data exceeds the threshold, even if it receives the target electronic fence data from the data collection and association system, it will no longer collect the target electronic fence data.
[0055] Based on the same concept, this invention also provides a data acquisition device based on an electronic fence, applied to a data acquisition and association system. Figure 2 This is a structural block diagram of a data acquisition device based on an electronic fence, as provided in an embodiment of this application. Figure 2 As shown, the device 200 includes a receiving module 201, a sending module 202, an updating module 203, and a closing module 204.
[0056] The receiving module 201 is used to receive the location of the target vehicle, which is sent by the target vehicle to the data acquisition and association system. The first sending module 202 is used to send a target electronic fence within the target area to the target vehicle if the location is within the preset target area. The target electronic fence is in an open state, and different target electronic fences correspond to different numbers.
[0057] The data acquisition and association system can be deployed in the cloud. The target vehicle communicates with the data acquisition and association system, and can send its location to the system in real time.
[0058] The update module 203 is used to update the status of the target electronic fence corresponding to the target number to frozen status and record it as frozen electronic fence if it receives the data acquisition completion signal and target number sent by the target vehicle; the data acquisition completion signal is sent to the data acquisition association system after the target vehicle enters the target electronic fence corresponding to the target number and completes the collection of target data.
[0059] In this embodiment, the data acquisition and association system only collects data from open electronic fences, and not from frozen electronic fences. Open electronic fences are designated as target electronic fences, and frozen electronic fences are designated as frozen electronic fences. Therefore, the data acquisition and association system only collects data from target electronic fences and not from frozen electronic fences.
[0060] In this embodiment of the application, when the target vehicle receives the target electronic fence, if the target vehicle recognizes that it has entered a target electronic fence, it collects the target data of the target electronic fence. After the collection is completed, a data collection completion signal is generated, and the data collection completion signal and the target number of the target electronic fence are sent to the data collection association system together.
[0061] The closing module 204 is used to close the frozen electronic fence corresponding to the target number if target data is received from the target vehicle.
[0062] In this embodiment, after the target vehicle sends a data acquisition completion signal and target number to the data acquisition association system, it will send the collected target data to the data acquisition association system when the target vehicle meets preset conditions. If the data acquisition association system receives the target data sent by the target vehicle, it means that it has obtained the target data of the electronic fence with the target number, and at this time, the electronic fence with the target number can be directly closed.
[0063] Optionally, after updating the status of the electronic fence corresponding to the target number to the frozen state, the device further includes: The second sending module is used to send a status update command and a target number to all vehicles within the target area, so that after receiving the status update command and the target number, all vehicles will update the status of the target electronic fence corresponding to the target number to the frozen state and record it as a frozen electronic fence.
[0064] Optionally, the target data is sent to the data collection and association system when the target vehicle is in non-intelligent driving mode.
[0065] In this embodiment, after the target vehicle collects the target route data, if it is in a non-intelligent driving mode, it indicates that the target vehicle meets the preset conditions, and the target data can be sent to the data collection and association system. This is because when the target vehicle is in intelligent driving mode, all its processors are operating at high speed. To avoid affecting the autonomous driving function, the target vehicle's capabilities are temporarily not used for data transmission with the data management system. Therefore, target data is only transmitted to the data management system when the target vehicle is in a non-intelligent driving mode.
[0066] Optionally, the data acquisition completion signal is generated when the target vehicle enters the target electronic fence corresponding to the target number and the field of vision is determined to be open. Target data is then acquired and sent to the data acquisition association system after the target row data acquisition is completed.
[0067] Optionally, the open state refers to the field of vision when the target vehicle's speed exceeds a preset speed threshold.
[0068] In this embodiment of the application, after a target vehicle enters a target electronic fence, it is necessary to determine whether the field of vision is open. If the field of vision is open, it means that there are no objects or people obstructing the view in front of the target vehicle, and target data is collected to make the collected target data more comprehensive and accurate. If the field of vision is closed, it means that there are objects or people obstructing the view in front of the target vehicle, and target data cannot be collected in this case to avoid incomplete or large errors in the collected target data.
[0069] Optionally, after receiving the target data sent by the target vehicle, the device also includes a statistics module for: Count the number of times target data sent by the target vehicle is received; If the number of attempts exceeds the preset threshold, the electronic fence for the target area will not be sent to the target vehicle.
[0070] Optionally, the number of attempts threshold is determined based on the average number of vehicles in the target area and the average number of electronic fences.
[0071] It is understood that the device provided in the above embodiments is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0072] This invention also provides an electronic device that may include a processor and a memory, wherein the processor and the memory may be interconnected via a bus or other means.
[0073] The processor can be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application, or it can be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or other chips, or combinations of the above types of chips.
[0074] Memory may include mass storage for data or instructions. For example, and not limitingly, memory may include hard disk drives (HDDs), floppy disk drives, flash memory, optical disks, magneto-optical disks, magnetic tape, or Universal Serial Bus (USB) drives, or combinations of two or more of these. Where appropriate, memory may include removable or non-removable (or fixed) media. Where appropriate, memory may be internal or external to an electronic device. In a particular embodiment, memory may be non-volatile solid-state memory.
[0075] In one instance, the memory may be read-only memory (ROM). In one instance, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or flash memory, or a combination of two or more of these.
[0076] The processor reads and executes computer program instructions stored in the memory to implement any of the electronic fence-based data acquisition methods described in the above embodiments.
[0077] In one example, the electronic device may further include a communication interface and a bus. The processor, memory, and communication interface are connected via the bus to communicate with each other. The communication interface is primarily used to enable communication between the various modules, devices, units, and / or equipment in the embodiments of this application. Where appropriate, the bus may include one or more buses.
[0078] Furthermore, in conjunction with the data acquisition method based on electronic fences in the above embodiments, this invention can be implemented using a computer-readable storage medium. This computer-readable storage medium stores computer program instructions; when executed by a processor, these computer program instructions implement any of the data acquisition methods based on electronic fences in the above embodiments.
[0079] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the methods described above. The storage medium can be read-only memory (ROM), random access memory (RAM), flash memory, hard disk drive (HDD), or solid-state drive (SSD), etc.; the storage medium can also include combinations of the above types of memory.
[0080] The technical solutions described in the embodiments of this application have at least the following technical effects or advantages: This application provides a data acquisition method, apparatus, device, and medium based on electronic fences. The method receives the location of a target vehicle, which is sent by the vehicle to a data acquisition association system. If the location is within a preset target area, the system sends the target electronic fence within that area to the vehicle. The target electronic fence is in an open state; that is, after the vehicle enters the target area, only an open electronic fence is sent to the vehicle. If a data acquisition completion signal and a target number are received from the vehicle, the state of the target electronic fence corresponding to the target number is updated to a frozen state and recorded as a frozen electronic fence. That is, after the vehicle enters the target electronic fence corresponding to the target number and completes the target data acquisition, it sends a data acquisition completion signal and a target number to the data acquisition association system. If the target data is received from the vehicle, the frozen electronic fence corresponding to the target number is closed; that is, after obtaining the target data for the electronic fence with the target number, the electronic fence can be closed. This method avoids repeatedly collecting data from the same electronic fence by setting its state.
[0081] Numerous specific details are set forth in the specification provided herein. However, it will be understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures, and techniques have not been shown in detail so as not to obscure the understanding of this specification.
[0082] Similarly, it should be understood that, in order to simplify this disclosure and aid in understanding one or more of the various aspects of the invention, in the above description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof. However, this method of disclosure should not be construed as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as reflected in the following claims, inventive aspects lie in fewer than all features of a single foregoing disclosed embodiment. Therefore, the claims following the detailed description are hereby expressly incorporated into this detailed description, wherein each claim itself is a separate embodiment of the invention.
[0083] It should be noted that the above embodiments are illustrative of the invention and not restrictive, and that those skilled in the art can devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses should not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claims. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The invention can be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third, etc., does not indicate any order. These words can be interpreted as names.
Claims
1. An electronic fence based data collection method, characterized by, The method is applied to a data collection association system, and the method comprises the following steps: receiving a position of a target vehicle, the position being sent by the target vehicle to the data collection association system; if the position is in a preset target area, sending a target electronic fence in the target area to the target vehicle, a state of the target electronic fence being an open state, and different target electronic fences corresponding to different numbers; if a data collection completion signal and a target number sent by the target vehicle are received, updating the state of the target electronic fence corresponding to the target number to a frozen state and recording the target electronic fence as a frozen electronic fence; the data collection completion signal being sent by the target vehicle after entering the target electronic fence corresponding to the target number and collecting target data; if target data sent by the target vehicle is received, closing the frozen electronic fence corresponding to the target number.
2. The electronic fence based data collection method of claim 1, wherein, After the state of the target electronic fence corresponding to the target number is updated to the frozen state, the method further comprises the following steps: sending a state update instruction and the target number to all vehicles in the target area, so that the all vehicles update the state of the target electronic fence corresponding to the target number to the frozen state and record the target electronic fence as the frozen electronic fence after receiving the state update instruction and the target number.
3. The electronic fence based data collection method of claim 1, wherein, The target data is sent by the target vehicle in a non-intelligent driving mode to the data collection association system.
4. The electronic fence based data collection method of claim 1, wherein, The data collection completion signal is sent by the target vehicle after entering the target electronic fence corresponding to the target number and determining that a field of view state is an open state.
5. The electronic fence based data collection method of claim 4, wherein, The open state is a field of view state when a vehicle speed of the target vehicle is greater than a preset vehicle speed threshold.
6. The electronic fence based data collection method of claim 1, wherein, After the target data sent by the target vehicle is received, the method further comprises the following steps: counting a number of times of receiving the target data sent by the target vehicle; if the number of times is greater than a preset number of times threshold, not sending the target electronic fence in the target area to the target vehicle.
7. The electronic fence based data collection method of claim 6, wherein, The number of times threshold is determined according to an average number of vehicles and an average number of electronic fences in the target area.
8. An e-fence based data collection apparatus, characterized by The device is applied to a data collection association system, and the device comprises the following modules: a receiving module, configured to receive a position of a target vehicle, the position being sent by the target vehicle to the data collection association system; a first sending module, configured to if the position is in a preset target area, send a target electronic fence in the target area to the target vehicle, a state of the target electronic fence being an open state, and different target electronic fences corresponding to different numbers; an updating module, configured to if a data collection completion signal and a target number sent by the target vehicle are received, update the state of the target electronic fence corresponding to the target number to a frozen state and record the target electronic fence as a frozen electronic fence; the data collection completion signal being sent by the target vehicle after entering the target electronic fence corresponding to the target number and collecting target data; A closing module is configured to close the frozen electronic fence corresponding to the target number if the target data sent by the target vehicle is received.
9. An electronic device, comprising: The application further provides a computer readable storage medium having stored computer instructions for causing a computer to perform the method according to any one of claims 1-7. The computer readable storage medium has stored computer instructions for causing a computer to perform the method according to any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer readable storage medium has stored computer instructions for causing a computer to perform the method according to any one of claims 1-7.