Target detection methods, apparatus, equipment and computer-readable storage media
By setting real-time and timed location information reporting strategies on the regional monitoring page, the problem of radar equipment occupying network resources for extended periods was solved, achieving efficient network resource utilization and improved user experience.
Patent Information
- Application Number
- CN202310452532.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-17
- Publication Date
- 2025-11-14
- Estimated Expiration
- 2043-04-17
AI Technical Summary
Existing technologies cannot report the location information of target objects in real time or at regular intervals according to user needs, causing radar equipment to occupy a large amount of network resources for a long time, thus reducing the user experience.
By setting different strategies on the regional monitoring page, the location information of the target object can be reported in real time or at regular intervals, including the first strategy (high-frequency real-time updates) and the second strategy (low-frequency periodic updates) to reduce network resource consumption.
It reduces the occupancy rate of network resources, improves the efficiency of user location information processing on the user terminal, and enhances the user experience.
Smart Images

Figure CN116894866B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, specifically to a target detection method, apparatus, device, and computer-readable storage medium. Background Technology
[0002] With the continuous development of IoT technology in the field of smart homes, smart home services have gradually entered people's lives. The implementation of smart home services mainly relies on the location of target objects within the home space; therefore, it is necessary to report the location information of target objects within the home space to the relevant processing terminal. Related technologies can use radar devices to collect the location information of target objects and report it to the relevant processing terminal.
[0003] However, while the technology can detect the location information of the target object, it cannot report the location information of the target object according to the user's needs. This causes the radar equipment to occupy a large amount of network resources for a long time, resulting in excessive network load and reduced user experience. Summary of the Invention
[0004] This application provides a target detection method, apparatus, device, and computer-readable storage medium, which can report the location information of target objects in real time or at regular intervals according to user needs, reducing the long-term occupation of network resources and improving the user experience.
[0005] This application provides a target detection method, including:
[0006] Display area monitoring page; the area monitoring page corresponds to the monitoring range of the target space, and the area monitoring page is used to display the position of each target object in the target space in real time;
[0007] Based on the obtained positions of each target object in the target space reported according to the first strategy, the positions of each target object are updated and displayed in real time on the area monitoring page; wherein, when the area monitoring page is in a closed state, the detection device is instructed to report the positions of each target object according to the second strategy.
[0008] Accordingly, embodiments of this application provide a target detection device, including:
[0009] The display unit is used to display the area monitoring page, which corresponds to the monitoring range of the target space. The area monitoring page is used to display the position of each target object in the target space in real time.
[0010] The update unit is used to update and display the position of each target object in the target space in real time on the area monitoring page based on the position of each target object reported according to the first strategy. When the area monitoring page is in a closed state, it instructs the detection device to report the position of each target object according to the second strategy.
[0011] In some embodiments, the target detection device further includes an editing unit for:
[0012] The display area editing page shows the current location of the target object and is used to configure the monitoring area in the target space based on the current location of the target.
[0013] In response to any area selected on the area editing page, a custom monitoring area is generated;
[0014] The area monitoring page includes monitoring areas under the target space. The update unit is also used to: update and display the position of each target object in real time in each monitoring area of the area monitoring page.
[0015] In some embodiments, the target detection device further includes a configuration unit for:
[0016] Display solution configuration page;
[0017] Obtain the control attribute information for the monitoring area configured on the scheme configuration page, and generate an automated control scheme for the corresponding monitoring area based on the control attribute information. The configured monitoring area is used to achieve automated control through target object detection.
[0018] In some embodiments, the target detection device further includes a detection unit for: when the area monitoring page is detected to be in a closed state, sending the second strategy to the detection device, so that the detection device reports the position of the target object in the target space according to the second strategy.
[0019] Accordingly, embodiments of this application also propose a target detection method, including:
[0020] Obtain the positions of each target object in the target space;
[0021] If the area monitoring page is detected to be open, the position of each target object in the target space is reported according to the first strategy, so as to update and display the position of each target object in the area monitoring page in real time.
[0022] If the area monitoring page is detected to be closed, the location of each target object will be reported according to the second strategy.
[0023] Accordingly, embodiments of this application provide a target detection device, including:
[0024] The acquisition unit is used to acquire the position of each target object in the target space;
[0025] The first reporting unit is used to report the position of each target object in the target space according to the first strategy if the area monitoring page is detected to be open, so as to update and display the position of each target object in the area monitoring page in real time.
[0026] The second reporting unit is used to report the location of each target object according to the second strategy if the area monitoring page is detected to be closed.
[0027] In some implementations, the acquisition unit is also used to: collect detection information of each target object in the target space;
[0028] Based on the detection information, a distance distribution map of each target object relative to the detection device is generated;
[0029] Based on the distance distribution map, the positions of each target object in the target space are determined.
[0030] In some implementations, the acquisition unit is further configured to: acquire the distance and orientation of each target object in the target space relative to the detection device;
[0031] Based on the distance and direction, the positions of each target object in the target space are determined.
[0032] In some implementations, the target detection device further includes a comparison unit, configured to: if the position of the target object in the current frame is detected to be different from the historical position in the previous frame, then report the position of the target object in the current frame according to the first strategy;
[0033] If the position of the target object in the current frame is detected to be the same as the historical position in the previous frame, the current position of the target object is intercepted and reported, and the step of obtaining the position of each target object in the target space is executed.
[0034] In some implementations, the second reporting unit is further configured to: determine the reporting interval duration according to the second reporting strategy;
[0035] Based on the obtained positions of each target object in the target space, the positions of each target object corresponding to the reporting interval are selected;
[0036] The location of each target object corresponding to the reporting interval is reported.
[0037] Furthermore, embodiments of this application also provide an electronic device, including a processor and a memory, wherein the memory stores a computer program, and the processor is used to run the computer program in the memory to implement the steps in any of the region configuration methods provided in embodiments of this application.
[0038] Furthermore, embodiments of this application also provide a computer-readable storage medium storing a plurality of instructions adapted for loading by a processor to execute steps in any of the region configuration methods provided in embodiments of this application.
[0039] Furthermore, embodiments of this application also provide a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium; the processor of the computer device reads the computer instructions from the computer-readable storage medium, and when the processor executes the computer instructions, it implements the steps in the region configuration method of various embodiments of this application.
[0040] This application embodiment can display a regional monitoring page; the regional monitoring page corresponds to the monitoring range of the target space, and is used to display the real-time position of each target object in the target space; based on the obtained position of each target object in the target space reported according to the first strategy, the position of each target object is updated and displayed in real time on the regional monitoring page; wherein, when the regional monitoring page is in a closed state, it instructs the detection device to report the position of each target object according to the second strategy. Therefore, this solution can update the position of the target object at different frequencies on the regional monitoring page according to different reporting strategies. Then, when the position of the target object moves to a monitoring area configured with a corresponding automated control scheme, the target space corresponding to that monitoring area will provide the target object with corresponding automated services; thereby reducing network resource occupancy, improving the efficiency of user terminal processing of user location information, and enhancing user experience. Attached Figure Description
[0041] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0042] Figure 1 This is a schematic diagram of a scenario for the target detection system provided in an embodiment of this application;
[0043] Figure 2 This is a flowchart illustrating the steps of the target detection method provided in the embodiments of this application;
[0044] Figure 3 A schematic diagram of a device list page provided in an embodiment of this application;
[0045] Figure 4 A schematic diagram of a regional monitoring page provided in an embodiment of this application;
[0046] Figure 5 A schematic diagram of a region editing page provided in an embodiment of this application;
[0047] Figure 6 A schematic diagram of the configuration page provided in the embodiments of this application;
[0048] Figure 7 Another schematic diagram of the configuration page provided in the embodiments of this application;
[0049] Figure 8 This is a schematic diagram of another step in the target detection method provided in the embodiments of this application;
[0050] Figure 9 A flowchart illustrating the location information reporting strategy provided in this application embodiment;
[0051] Figure 10 A flowchart illustrating the location information reporting scenario of the target object provided in this application embodiment;
[0052] Figure 11 This is a first structural schematic diagram of the target detection device provided in the embodiments of this application;
[0053] Figure 12 This is a second structural schematic diagram of the target detection device provided in the embodiments of this application;
[0054] Figure 13 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0055] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0056] This application provides a target detection method, apparatus, and computer-readable storage medium. Specifically, this application will describe the target detection system from the perspective of a target detection system, which may include a data processing terminal and a user terminal. The data processing terminal may be as follows: Figure 1The server 10 and / or detection device 20 shown are described. The server 10 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The user terminal 30 can be a smartphone, smart control panel, tablet computer, laptop computer, desktop computer, smart speaker, smartwatch, smart home appliance, in-vehicle terminal, smart voice interaction device, aircraft, etc., but is not limited to these.
[0057] The target detection method provided in this application can be applied to various application scenarios, such as, but not limited to, target detection in home spaces, as illustrated in the following embodiments:
[0058] For example, see Figure 1 This is a schematic diagram of a target detection system provided in an embodiment of this application. The system may include a terminal and a data processing terminal, and its specific implementation scenarios may be as follows:
[0059] The terminal can be used to: display an area monitoring page; the area monitoring page corresponds to the monitoring range of the target space, and the area monitoring page is used to display the position of each target object in the target space in real time; based on the obtained position of each target object in the target space reported according to the first strategy, the position of each target object is updated and displayed in real time on the area monitoring page; wherein, when the area monitoring page is in the closed state, it instructs the detection device to report the position of each target object according to the second strategy.
[0060] The data processing end can be a detection device or a server, or a combination of both. The detection device can be one capable of detecting the position of a face, such as a human body sensor or millimeter-wave radar.
[0061] Specifically, the data processing terminal can be used to: obtain the location of each target object in the target space; if the area monitoring page is detected to be open, then report the location of each target object in the target space according to the first strategy, so as to update and display the location of each target object in real time on the area monitoring page; if the area monitoring page is detected to be closed, then report the location of each target object according to the second strategy.
[0062] The target detection process can include displaying the area monitoring page, prompting the target object to move, collecting detection information on the target object's movement, determining the target object's location, and displaying the target object's location on the area monitoring page.
[0063] The following sections provide detailed descriptions of each example. It should be noted that the order of the following embodiments is not intended to limit the preferred order of the embodiments.
[0064] See Figure 2 , Figure 2 This is a schematic flowchart illustrating the steps of a target detection method provided in an embodiment of this application. The embodiment is described using an electronic device as an example. The electronic device can be... Figure 1 The specific process for user terminal 30 in the middle is as follows:
[0065] 101. Display area monitoring page.
[0066] In this embodiment of the application, in order to achieve a solution for real-time acquisition of the location information of a target object in a target space, it is necessary to first determine the monitoring range of the target space. For example, taking smart home as an example, in order to provide users with an automated control solution for home appliances indoors, it is necessary to determine whether the user has arrived at the area where the appliance is located. Figure 3 As shown, multiple human scene sensors can be deployed indoors to monitor different target spaces. For example, based on the location of the target object reported by the radar device, the location of the target object can be displayed on the area monitoring page in the user terminal. When the target object moves to an area within the range of the home automation control solution, the corresponding home appliance automation control solution can be activated to realize the automated control of home appliances in the smart home.
[0067] The above are merely examples. The embodiments of this application can also be applied to target detection processes in other spatial scenarios, such as home scenarios, office spaces, indoor sports venues, indoor parking lots, etc. The examples listed above are not intended to limit the implementation of the solution of this application.
[0068] It should be noted that the spatial region described in this application can be understood as the region configured in the regional monitoring page for the target space.
[0069] The area monitoring page can be a content screen containing the location markers corresponding to the target objects. The area monitoring page corresponds to the monitoring range of the target space and is used to display the location of each target object in the target space in real time.
[0070] When configuring monitoring areas for deploying automated control schemes, users can participate in the configuration process to improve the accuracy of the configured monitoring areas. This allows for subsequent verification of accuracy after target detection is completed, as well as other edits to meet individual user needs and enhance the user experience.
[0071] In this embodiment, to enable user participation in the configuration process of the monitoring area, a region editing page on the terminal interface can be provided as a means of participation. Specifically, a target detection application can be pre-installed on the terminal, or a web page can be used to display the corresponding region editing page on the terminal interface, allowing users to select configuration functions or set relevant configuration parameters to configure the monitoring area.
[0072] Specifically, when a target application for area monitoring is installed on the terminal, the area monitoring page can be accessed through the target application or connected to the area monitoring page through a web page. At this time, the area monitoring page will be displayed on the terminal's display interface. This area monitoring page corresponds to the monitoring range of the target space and can be used to display the real-time position of each target object in the target space. In this way, the user can view the position of the target object in the target space from the terminal in real time.
[0073] For example, in combination Figure 4 , Figure 4 A schematic diagram of a region editing page in one embodiment is shown. The terminal has a target application for region monitoring installed. When the user opens the target application, a region monitoring page is displayed on the terminal interface. This region monitoring page corresponds to the monitoring range of the target space. It is worth noting that this region monitoring page includes multiple monitoring regions under the target space, and each monitoring region is displayed on this region monitoring page.
[0074] Using the above methods, the area monitoring page can be displayed on the terminal, allowing users to adjust the automation control scheme in the target space according to the area monitoring page, and conveniently view the location of the target object in real time through the area monitoring page.
[0075] 102. Based on the obtained positions of each target object in the target space reported according to the first strategy, the positions of each target object are updated and displayed in real time on the area monitoring page; wherein, when the area monitoring page is closed, the detection device is instructed to report the positions of each target object according to the second strategy.
[0076] In this embodiment of the application, when a user opens a target detection application (APP) in the user terminal and opens a target detection page for the target space, it is determined that the area monitoring page in the current user terminal is in an open state. Based on the position of each target object in the target space reported by the first strategy, the position of each target object is updated and displayed in real time on the area monitoring page. When the area monitoring page in the user terminal is in a closed state, based on the position of each target object in the target space reported by the second strategy, the position of each target object is updated and displayed on the area monitoring page periodically.
[0077] One strategy is to have the detection device report the location of the target object in the target space to the user terminal at a relatively high frequency, thereby uploading the location of the target object to the user terminal at a high frequency and achieving the effect of updating the location of the target object in real time.
[0078] The second strategy could be a reporting method where the detection device reports the position of the target object in the target space to the user terminal at a slower frequency. This would allow the target object's position to be uploaded to the user terminal at a low frequency, thus achieving the effect of periodically updating the target object's position.
[0079] Specifically, to avoid affecting the communication and operation of other devices within the unified local area network environment, a switch signal is set in the user terminal's area monitoring page. When the user terminal opens the area monitoring page, it will automatically send a switch signal to the detection device. While the area monitoring page is open, this switch signal will be continuously sent to the user terminal periodically. Upon receiving the switch signal, the detection device will automatically open the real-time reporting data channel, using this channel to report the location of the target objects to the user terminal in real time. That is, the detection device reports the location of each target object in the target space according to the first strategy, thus displaying the real-time location of each target object in the target space on the area monitoring page. If the area monitoring page is closed, no switch signal will be sent, and the detection device will not open the real-time reporting data channel. Instead, it will periodically send the location of the target objects in the target space to the user terminal, reporting the location of each target object according to the second strategy. As soon as the user terminal receives the location of the target object, it will update the target object's location on the area monitoring page.
[0080] For example, the area monitoring page can be a real-time location coordinate interface on a mobile device. When a user opens this interface, a switch signal is automatically sent. While the interface is open, the switch signal is resent every minute. Upon receiving this signal, the radar detection device activates the real-time data reporting channel, employing the first strategy to report the target object's location to the mobile terminal, and continues reporting for one minute using this strategy. If the radar detection device does not receive the switch signal within one minute of activating the first strategy (meaning the area monitoring page is closed by default), the real-time data reporting channel is closed, and the target object's location is reported every five minutes. This allows different data reporting strategies to be invoked based on the area monitoring page's state, enabling real-time or scheduled reporting of target object location information according to the user's viewing needs, thus reducing network resource consumption.
[0081] In some implementations, a monitoring area can be selected within the target space based on the current location of the target object, thereby generating a custom monitoring area. For example, the monitoring area generation process may include:
[0082] (A.1.1) Display area editing page;
[0083] (A.1.2) Responds to any area selected on the area editing page to generate a custom monitoring area;
[0084] If the area monitoring page includes various monitoring areas under the target space, then step 102 may include: updating and displaying the location of each target object in real time in each monitoring area of the area monitoring page.
[0085] The region editing page can be used to edit the monitoring area within the target space. Specifically, users can select any region through the region editing page and customize the corresponding monitoring area settings.
[0086] Specifically, users can select different monitoring areas by long-pressing, touching, clicking, or double-clicking. This will then redirect to the corresponding area editing page, which displays the current location of the target object and allows configuration of monitoring areas within the target space based on that location. Users can select any area on the area editing page and use it as a customizable monitoring area. Since the area monitoring page includes multiple monitoring areas, all monitoring areas on the page must update their display in real time whenever the location of a target object changes.
[0087] For example, such as Figure 4 As shown, users can open the region editing page on their mobile devices. The region editing page is divided into an editing area and a monitoring page. The monitoring page displays the location marker of the target object in the target space. Users can select any region from the region monitoring page and configure it as a custom monitoring region. Specifically, they can customize the name, color, and type of the monitoring region through the attribute information in the editing area. Figure 4 The selected area can be customized as the sofa area. This allows users to select a monitoring area within the target space based on the current position of the target object, thus generating a custom monitoring area. Users can then configure relevant automated control schemes within this custom monitoring area, improving the user experience.
[0088] In some implementations, the control attribute information corresponding to the monitoring area can be adjusted according to the scheme configuration page to generate a corresponding automated control scheme, thereby realizing automated control of the monitoring area in the target space. For example, the automated control scheme generation process may include:
[0089] (B.1.1) Display the solution configuration page;
[0090] (B.1.2) Obtain the control attribute information for the monitoring area configured on the scheme configuration page, generate an automated control scheme for the corresponding monitoring area based on the control attribute information, and use the configured monitoring area to achieve automated control through target object detection.
[0091] The scheme configuration page can be the interface on the user terminal used to configure the automation control scheme, and control attribute information for the monitoring area can be obtained through the scheme configuration page.
[0092] The control attribute information can be the configuration attributes and data of the automated control scheme in the scheme configuration page. Taking the automatic lighting control scheme as an example, the control attribute information can be attribute information such as the brightness and color of the lights, so that the automatic lighting control scheme for the monitoring area can be generated based on this attribute information.
[0093] The automated control scheme can be an automated control strategy for the corresponding monitoring area, used to provide corresponding automated control services based on the detection results of that monitoring area. For example, taking the living room area in a home scenario as the monitoring area, assuming that the living room area is equipped with an automatic lighting control scheme, when a target object is detected entering the living room area, the lights in the living room area will be controlled according to the automatic lighting control scheme.
[0094] Specifically, users can navigate from the area editing page to the corresponding scheme configuration page for that monitoring area. On the scheme configuration page, users can adjust the attributes of the monitoring area using methods such as long press, touch, swipe, single click, double click, and input characters. Then, the control attribute information of the monitoring area is obtained, and an automated control scheme for the monitoring area is generated using this information. When the location identifier of the target object appears in the monitoring area, the monitoring area can trigger automated services according to the automated control scheme pre-set by the user.
[0095] For example, such as Figure 5 As shown, Figure 5 A schematic diagram of a region management page is shown. Figure 5The displayed page can be a management page for the configured monitoring areas after the user has completed the configuration. This page includes the configured custom monitoring areas and the area display area for the area content. The page may also include a function bar, which can include functions such as "Templates," "Stickers," "Create Monitoring Area," and "Create Other Areas." The "Templates" function displays recommended area templates, the "Stickers" function provides icons for devices and objects in each area, "Create Monitoring Area" instructs users to create custom monitoring areas, and "Create Other Areas" instructs users to create areas with other attributes, such as edge areas, obstacle areas, etc.
[0096] For example, such as Figure 6 As shown, users can create new automations on the solution configuration page. For example, after creating a monitoring area of type "sofa area", users can set the LED lights in the sofa area to turn on when someone is detected in the sofa area.
[0097] like Figure 7 As shown, when no one is detected in the sofa area, the LED lights in that area are turned off. Therefore, when a target user moves to the sofa area, the lights in that area automatically turn on. This allows users to adjust the control attributes of the monitored area through the configuration page, generating a corresponding automated control scheme to achieve automated control of the monitored area within the target space. This provides intelligent services and improves the user experience.
[0098] In some implementations, the status of the area monitoring page can be used to determine whether the user needs to obtain the real-time location of the target object. For example, the location information reporting process may also include:
[0099] When the area monitoring page is detected to be closed, a second strategy is sent to the detection device, causing the detection device to report the location of the target object in the target space according to the second strategy.
[0100] Specifically, when a target detection application is installed on the terminal, the user can access the target detection page through the application or by connecting to the target detection page via a web page. In this case, it can be determined that the user needs to view the target detection page to obtain the location of the target object. When the user does not open the area monitoring page, it can be determined that the user does not need to view the location of the target object in the target space. In order to save network resources and reduce system usage, the detection device does not need to report the location of the target object to the user terminal in real time. In this case, a second strategy can be sent to the detection device, so that the detection device does not occupy network resources for a long time to report the location, but reports periodically, that is, the detection device reports the location of the target object in the target space according to the second strategy.
[0101] For example, if a user closes the area monitoring page on their mobile device, and the area monitoring page is detected to be closed, it means that the user does not need to view the location information of the target object in real time. In this case, the terminal will send a timed reporting policy to the detection device. After receiving the report, the detection device will send the latest location of the target object to the superior terminal every five minutes.
[0102] By using the above methods, different reporting strategies can be adopted to update the location of target objects in the monitoring area based on the status of the area monitoring page. This reduces the network resource occupancy of the detection equipment and minimizes the impact on the communication and operation of other devices.
[0103] By implementing any one or a combination of implementation methods in the embodiments of this application, the application scenarios of the target detection process can be realized.
[0104] As can be seen from the above, the embodiments of this application can display a regional monitoring page; the regional monitoring page corresponds to the monitoring range of the target space, and is used to display the position of each target object in the target space in real time; based on the obtained position of each target object in the target space reported according to the first strategy, the position of each target object is updated and displayed in real time on the regional monitoring page; wherein, when the regional monitoring page is in a closed state, it instructs the detection device to report the position of each target object according to the second strategy. Thus, this solution can update the position of the target object at different frequencies on the regional monitoring page according to different reporting strategies, and when the position of the target object moves to the monitoring area configured with the corresponding automated control scheme, the target space corresponding to the monitoring area will provide the target object with the corresponding automated service; thereby reducing network resource occupancy, improving the efficiency of user terminal processing of user location information, and enhancing user experience.
[0105] Based on the method described in the above embodiments, the following examples will provide further detailed explanations.
[0106] This application takes data processing as an example to further describe the data processing method provided in this application embodiment.
[0107] Figure 8 This is a schematic diagram of another step in the target detection method provided in the embodiments of this application. Figure 9 This is a flowchart illustrating the location information reporting strategy provided in an embodiment of this application. Figure 10 This is a flowchart illustrating a target object location reporting scenario provided in an embodiment of this application. For ease of understanding, this embodiment combines... Figure 8-10 Describe it.
[0108] refer to Figure 8 , Figure 8 A flowchart illustrating the steps of a target detection method in one embodiment is provided. In this embodiment, the target detection method is described using an electronic device as an example. This electronic device can be a detection device, a terminal, or a server, etc. The specific flow of the target detection method is as follows:
[0109] 201. Obtain the position of each target object in the target space.
[0110] In this embodiment of the application, in order to report the position of the target object in the target space and realize the intelligent automated control scenario of related devices or functional components, the position of each target object in the target space can be obtained by using detection equipment. Specifically, when determining the position of the target object, the position information of the target object can be determined by collecting the positioning signal fed back by the target object in the target space, so as to provide positioning data for providing automated control services to the target object in the future.
[0111] The target object can be an object that can move in the target space, such as a human body, an intelligent robot, a robot vacuum cleaner, etc.
[0112] Specifically, a positioning signal can be sent into the target space using wireless signal detection equipment such as radar. After receiving the positioning signal, each target object in the target space will send back a corresponding echo signal to the detection equipment. The position information in the echo signal sent back by each target object can be extracted to obtain the position of each target object in the target space.
[0113] In some implementations, a distance distribution map of the target object relative to the detection device can be generated based on the detection information fed back by the detected target object, thereby obtaining the position of the target object.
[0114] For example, step 201 may include:
[0115] (201.a.1) Collect detection information of each target object in the target space;
[0116] (201.a.2) Based on the detection information, generate a distance distribution map of each target object relative to the detection device;
[0117] (201.a.3) Determine the position of each target object in the target space based on the distance distribution map.
[0118] The detection information may include the location information of the target object, which may be the point cloud data and location of the target object in the target space.
[0119] The distance distribution map can be a two-dimensional plane coordinate map established with the detection device as the coordinate center. In the distance distribution map, the target object and the detection device can be connected by a straight line to determine the straight-line distance between the target object and the detection device.
[0120] Specifically, positioning information is sent into the target space through wireless signal detection equipment such as radar, and detection information corresponding to each target object in the target space is collected through wireless signal sensors. A planar coordinate system is established with the wireless signal sensors as the center, and the distance between each target object and the detection equipment is calculated based on the acquired detection information. Thus, a distance distribution map of each target object relative to the detection equipment is generated based on the distance between each target object and the detection equipment. After determining the midpoint coordinates of the detection equipment, the coordinates of each target object in the distance distribution map are determined, thereby obtaining the position of each target object.
[0121] For example, a millimeter-wave radar sensor can be used, not limited to the band or structure of millimeter-wave radar, to collect signals from the environment. By processing the echo signals, a distance distribution map can be obtained. With the radar as the origin, an XY coordinate system can be established, and the spatial coordinates of each target object relative to the radar can be calculated. Real-time data includes the ID of each target object and its real-time coordinate position (X, Y).
[0122] In some implementations, the position of each target object in the target space can be determined based on the distance and direction of each target object relative to the detection device.
[0123] For example, step 201 may include:
[0124] (201.b.1) Obtain the distance and orientation of each target object relative to the detection device in the target space;
[0125] (201.b.2) Determine the position of each target object in the target space based on distance and direction.
[0126] Specifically, the echo signal fed back by the target object can be obtained through the sensor of the detection device. Based on the wavelength of the echo signal and the angle at which the sensor receives the echo signal, the distance and direction values of the target object relative to the detection device can be obtained. Then, based on the distance and direction values of each target object, the position of each target object in the target space relative to the detection device can be determined.
[0127] Using the above methods, the positions of various target objects in the target space can be obtained by the detection equipment. In determining the position of a target object, the position information of the target object can be judged by collecting the positioning signal fed back by the target object in the target space, so as to provide positioning data for subsequent automated control services to the target object.
[0128] 202. If the area monitoring page is detected to be open, then the location of each target object in the target space is reported according to the first strategy.
[0129] In this embodiment of the application, after obtaining the location of the target object, if the terminal's area monitoring page is detected to be open, the location of the target object in the target space needs to be reported in real time, so that the user can view the location of the target object in real time through the area monitoring page.
[0130] Specifically, after obtaining the location of the target object in the target space, it can be determined whether the area monitoring page is open, i.e., whether the user needs to view the real-time location of the target object. When the user opens the area monitoring page, the user terminal sends an open signal to the detection device. This open signal is an instruction to open the real-time data reporting channel. By determining whether the detection device receives the open signal, it can be determined whether the area monitoring page is open. It is worth noting that during the open phase, the area monitoring page sends an open signal to the detection device at preset intervals. If the detection device does not receive the open signal within the preset time, it will close the real-time data reporting channel. If the detection device receives the open signal within the preset time, it will report the location of the target object to the user terminal in real time and restart the signal reception timer, i.e., report the location of the target object according to the first strategy, so that the area monitoring page displays the location of the target object in real time.
[0131] For example, such as Figure 9 As shown, Figure 9A flowchart illustrating the location information reporting strategy in one embodiment is provided. Specifically, the detection device waits in real time for an activation signal from the user terminal. When the area monitoring page on the user terminal is active, an activation signal is sent to the detection device every minute. The detection device keeps a timer for one minute. If the timer exceeds one minute and the detection device does not receive an activation signal, the real-time location data reporting function is disabled. If the detection device receives an activation signal, the timer is reset to zero, and real-time location data reporting continues.
[0132] Using the above methods, after obtaining the location of the target object, if the terminal's area monitoring page is detected to be open, the location of the target object in the target space needs to be reported in real time, so that users can view the location of the target object in real time through the area monitoring page.
[0133] 203. If the area monitoring page is detected to be closed, the location of each target object shall be reported in accordance with the second strategy.
[0134] In this embodiment of the application, after obtaining the location of the target object, if the terminal's area monitoring page is detected to be closed, it is not necessary to report the location of the target object in the target space in real time. Instead, it is reported periodically according to the second strategy, so that the detection device does not need to occupy network reporting resources for a long time, saving system resources and avoiding affecting the normal communication and operation of other devices.
[0135] Specifically, after obtaining the location of the target object in the target space, it can be determined whether the area monitoring page is closed, i.e., whether the user does not need to view the real-time location of the target object at the moment. If the area monitoring page is currently closed, it means that the user does not need to view the location of the target object at the moment. In order to avoid network resources being occupied for a long time due to real-time reporting, if the first strategy is enabled, it will be disabled, and the detection device will report according to the second strategy. Similarly, if the first strategy is not enabled, the location of the target object will be reported directly using the second strategy, which is the timed reporting strategy. In this way, network resources are not occupied for a long time, and the resource utilization rate is reduced.
[0136] In some implementations, the reporting interval can be determined according to the second reporting strategy, and the locations of each target object corresponding to the reporting interval can be selected for reporting. For example, step 203 may include:
[0137] (203.1) Determine the reporting interval based on the second strategy;
[0138] (203.2) Based on the location of each target object in the obtained target space, select the location of each target object corresponding to the reporting interval;
[0139] (203.3) Report the location of each target object corresponding to the reporting interval.
[0140] The reporting interval can be a preset fixed reporting interval for the detection device when the area monitoring page is closed. For example, when the area monitoring page is closed, the detection device reports the latest location of the target object every 5 minutes.
[0141] Specifically, after confirming that the area monitoring page is closed, the second strategy for reporting the location of the target object is obtained. Based on this second strategy, the fixed duration for timed reporting, i.e., the reporting interval, is determined. It is worth noting that the detection device will not stop detecting the location of target objects in the target space simply because the area monitoring page is closed. Therefore, it is necessary to select the location of each target object corresponding to the reporting interval of the second strategy, and then report the locations of each target object corresponding to the reporting interval.
[0142] For example, the reporting interval for the second strategy is 3 minutes to report the location of target object A. Suppose that target object A reports its location coordinates as (1,0) at 10:00 am, as (1,1) at 10:01 am, as (1,2) at 10:02 am, and as (1,3) at 10:03 am. According to the reporting interval of the second strategy, the location coordinates of target object A (1,3) need to be reported to the user terminal at 10:03 am.
[0143] Using the above methods, if the terminal's area monitoring page is closed after obtaining the location of the target object, it is not necessary to report the target object's location in the target space in real time. Instead, it will report periodically according to the second strategy. This way, the detection device does not need to occupy network reporting resources for a long time, saving system resources and avoiding affecting the normal communication and operation of other devices.
[0144] In some implementations, the same location data can be avoided by comparing the current frame's position of the target object with its historical position in the previous frame. Specifically, the target detection method may also include:
[0145] (A.1) If the position of the target object in the current frame is different from the historical position in the previous frame, the position of the target object in the current frame shall be reported according to the first strategy;
[0146] (A.2) If the position of the target object in the current frame is detected to be the same as the historical position in the previous frame, the current position of the target object is intercepted and reported, and the step of obtaining the position of each target object in the target space is executed.
[0147] Specifically, after obtaining the target object's position in the target space, before reporting the position in real time, to avoid repeatedly reporting the same position of the target object and causing excessive duplicate data, a redundancy check is required for the position data. This involves checking whether the position of the target object obtained in the current frame is the same as the position obtained in the previous frame. If the position of the target object in the current frame is different from the historical position in the previous frame, it means that the target object is currently moving in the target space. In this case, the target object's position is reported to the user terminal according to the first strategy, allowing the area monitoring page to update and display the target object's position in real time. Similarly, if the position of the target object in the current frame is the same as the historical position in the previous frame, it means that the target object is currently stationary or moving very little in the target space. In this case, the position of the target object obtained in the current frame is intercepted and not reported to the user terminal. Instead, the target object's position is continued to be obtained until the target object's position changes, at which point the obtained target object's position is reported to the user terminal. This reduces the amount of duplicate data, improves the efficiency of the user terminal in processing user location information, and enhances the terminal's data processing efficiency.
[0148] For example, such as Figure 10 As shown, Figure 10 A flowchart illustrating a target object location reporting scenario is provided in one embodiment. Specifically, after the detection device acquires real-time location data of any target object, it compares whether two adjacent location data points are the same. If the two adjacent location data points are the same, the location data is not reported, and the device continues to acquire the target object's location data. If the two adjacent location data points are different, it determines whether the area monitoring page in the user terminal is enabled. If enabled, the data is reported every 200 milliseconds; if not enabled, the data is reported every 5 minutes.
[0149] By comparing the current frame position of the target object with its historical position in the previous frame, the same location data can be reported repeatedly, thereby improving the efficiency of user location information processing on the user terminal and enhancing the terminal's data processing efficiency.
[0150] To facilitate understanding of the embodiments of this application, specific application scenario examples will be used to describe the embodiments of this application. Specifically, by performing the above steps 201-203, and in conjunction with... Figure 3-10 This section describes an example of the application scenario.
[0151] The application scenarios of this application can be applied to target detection scenarios such as smart homes, parking lots, and indoor sports fields. For ease of understanding, this application will describe a smart home scenario, specifically the target detection scenario as follows:
[0152] Users can monitor the location of target objects within a target space in real time through the area monitoring page on their mobile app. This monitoring page consists of multiple monitoring areas, each displaying the target object's location in real time. Users can also configure the control attributes of the monitoring page through a scheme configuration page to generate corresponding automated control schemes. When a target object is detected moving into a monitoring area with an automated control scheme, corresponding automated services can be provided to the user within the target space based on the control attribute information of that monitoring area. It should be noted that the target object's location is only reported in real time when the area monitoring page on the user's terminal is active (using the first strategy). When the area monitoring page is closed, the target object's location is reported periodically (using the second strategy), thus reducing network resource consumption.
[0153] The target detection scenario of this smart home can be achieved through user terminals and detection equipment, as detailed below:
[0154] The target detection process for user terminal interface interaction is as follows: After opening the target detection application on the user terminal, the user is on the device list page, which can be considered the initial page, as follows: Figure 3 As shown in the example, clicking on any device will display the area monitoring page, such as... Figure 4 As shown, it includes, but is not limited to, a function bar and a regional content display area. The function bar includes "color," "type," and "edit name," while the content display area represents multiple monitoring areas corresponding to the target space. Users can select different areas with different colors and set them as different area types, such as selecting an area as a sofa area. When the user triggers the area editing function, the page will jump to the area editing page, which will be displayed on the terminal interface. When the area monitoring page is open, it will update and display the positions of each target object in the target space in real time based on the positions of each target object reported according to the first strategy.
[0155] The editing page for this area is as follows: Figure 5 As shown, the interface includes a function bar and a regional content display area. The function bar includes "Templates," "Stickers," "New Monitoring Area," and "New Other Area." On this region editing page, users can select any area as a custom monitoring area. The region editing page also updates the display position of the target object in real time.
[0156] Each custom monitoring area will have a corresponding scheme configuration page, such as... Figure 6 and Figure 7As shown, you can create new automation systems for a custom monitoring area, and set the corresponding control attribute information for that monitoring area to generate a corresponding automation control scheme, such as... Figure 6 As shown, the lights are turned on when the area detects someone in the sofa area; similarly... Figure 7 As shown, the lights are turned off when the area detects that no one is in the sofa area.
[0157] When the user does not open the target detection application on the user terminal, the status of the area monitoring page will be detected as closed. At this time, the detection device associated with the user terminal will report the location of the target object to the user terminal at regular intervals based on the second strategy. The user terminal will update the location of the target object according to the reporting interval corresponding to the second strategy.
[0158] Taking radar equipment as a detection device as an example, see [link to relevant documentation]. Figure 9-10 As shown, the target detection process on the detection equipment side is as follows: The radar equipment can start detection based on a detection command triggered by the target detection application on the user terminal, or it can start detection proactively. For example... Figure 10 As described above, during the detection process, the radar equipment detects the movement of each target object in the target space in order to obtain real-time positioning data of each target object.
[0159] Among them, combined Figure 10 The location data redundancy judgment process is as follows: After the radar equipment acquires the current frame position of the target object, it compares whether the current frame position of the target object is consistent with the historical position of the previous frame, that is, whether the two adjacent position data are the same. On the one hand, if the current frame position of the target object is different from the historical position of the previous frame, it is determined whether the user terminal has opened the area monitoring page. If it is opened, the position is reported every 200 milliseconds; if it is not opened, the position is reported every 5 minutes. On the other hand, if the current frame position of the target object is the same as the historical position of the previous frame, it means that the position of the target object has not changed. Therefore, the position of the current frame is intercepted and reported, and the position of the target object is detected again until the position of the target object changes. Then, the changed position of the target object is reported to the user terminal according to the first strategy.
[0160] The process by which radar equipment reports the location of a target object based on the status of the area monitoring page in the user terminal is as follows: Firstly, when the radar equipment detects that the area monitoring page in the user terminal is active, it reports the location of the target object in the target space to the user terminal according to the first strategy, enabling the area monitoring page in the user terminal to update and display the location of the target object in real time. It is worth noting that, as... Figure 9As shown, if the user opens the area monitoring page on the user terminal, the user terminal will automatically send a switch signal to the radar device. During the period the area monitoring page is open, the user terminal will send the same switch signal to the radar device every minute. Upon receiving the switch signal, the radar device will report real-time location data and start a one-minute timer. If a switch signal is received again within one minute, the timer will be reset, and real-time location data will continue to be reported. If the radar device does not receive a switch signal again within one minute, the real-time location data reporting function will be disabled. On the other hand, when the radar device detects that the area monitoring page on the user terminal is closed (i.e., no switch signal is received within a preset time), it will report the location of the target object in the target space to the user terminal according to the second strategy, causing the area monitoring page on the user terminal to periodically update and display the location of the target object.
[0161] Through the above application scenarios, the following effects can be achieved: By detecting the status of the area monitoring page on the user terminal, it can be determined whether the user needs to view the location of each target object in the target space in real time, and then choose to report the location of each target object in real time or report the location of each target object at regular intervals. Redundant judgments on the reported data are added before reporting. In this way, the long-term occupation of network resources is reduced, the amount of data processing is reduced, and the user experience is improved.
[0162] As can be seen from the above, the embodiments of this application can update the location of the target object at different frequencies on the regional monitoring page according to different reporting strategies. Then, when the location of the target object moves to the monitoring area configured with the corresponding automated control scheme, the target space corresponding to the monitoring area will provide the target object with the corresponding automated service. In this way, the network resource occupancy rate is reduced, the efficiency of the user terminal in processing user location information is improved, and the user experience is enhanced.
[0163] It should be understood that, although Figure 2 , Figure 8-10 The steps in the flowchart are shown sequentially as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order in which these steps are executed, and they can be performed in other orders. Figure 2 , Figure 8-10 At least some of the steps in the process may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.
[0164] To better implement the above methods, embodiments of this application also provide a target detection device. For example, such as... Figure 11 As shown, the target detection device may include a display unit 401 and an update unit 402.
[0165] Display unit 401 is used to display the area monitoring page; the area monitoring page corresponds to the monitoring range of the target space, and the area monitoring page is used to display the position of each target object in the target space in real time;
[0166] The update unit 402 is used to update and display the position of each target object in the target space in real time on the area monitoring page based on the position of each target object reported according to the first strategy; wherein, when the area monitoring page is in the closed state, it instructs the detection device to report the position of each target object according to the second strategy.
[0167] In some embodiments, the target detection device further includes an editing unit for: displaying a region editing page, the region editing page displaying the current position of the target object, for configuring a monitoring region in the target space according to the current position of the target; and generating a custom monitoring region in response to any region selected on the region editing page.
[0168] The area monitoring page includes various monitoring areas under the target space. The update unit 402 is also used to: update and display the position of each target object in real time in each monitoring area of the area monitoring page.
[0169] In some implementations, the target detection device further includes a configuration unit for: displaying a scheme configuration page; acquiring control attribute information for the monitoring area configured on the scheme configuration page; generating an automated control scheme for the corresponding monitoring area based on the control attribute information; and using the configured monitoring area to achieve automated control through target object detection.
[0170] In some implementations, the target detection device further includes a detection unit for: when the area monitoring page is detected to be closed, sending a second strategy to the detection device, causing the detection device to report the position of the target object in the target space according to the second strategy.
[0171] As can be seen from the above, the embodiments of this application can update the location of the target object at different frequencies on the regional monitoring page according to different reporting strategies. Then, when the location of the target object moves to the monitoring area configured with the corresponding automated control scheme, the target space corresponding to the monitoring area will provide the target object with the corresponding automated service. In this way, the network resource occupancy rate is reduced, the efficiency of the user terminal in processing user location information is improved, and the user experience is enhanced.
[0172] To better implement the above methods, embodiments of this application also provide a target detection device. For example, such as... Figure 12 As shown, the target detection device may include an acquisition unit 501, a first reporting unit 502, and a second reporting unit 503.
[0173] Acquisition unit 501 is used to acquire the position of each target object in the target space;
[0174] The first reporting unit 502 is used to report the position of each target object in the target space according to the first strategy if the area monitoring page is detected to be open, so as to update and display the position of each target object in the area monitoring page in real time.
[0175] The second reporting unit 503 is used to report the location of each target object according to the second strategy if the area monitoring page is detected to be closed.
[0176] In some implementations, the acquisition unit 501 is further configured to: collect detection information of each target object in the target space; generate a distance distribution map of each target object relative to the detection device based on the detection information; and determine the position of each target object in the target space based on the distance distribution map.
[0177] In some implementations, the acquisition unit 501 is further configured to: acquire the distance and direction of each target object in the target space relative to the detection device; and determine the position of each target object in the target space based on the distance and direction.
[0178] In some embodiments, the target detection device further includes a comparison unit, configured to: if the position of the target object in the current frame is detected to be different from the historical position in the previous frame, report the position of the target object in the current frame according to a first strategy; if the position of the target object in the current frame is detected to be the same as the historical position in the previous frame, intercept the reporting of the target object's current position and execute the step of obtaining the position of each target object in the target space.
[0179] In some implementations, the second reporting unit 503 is further configured to: determine the reporting interval duration according to the second reporting strategy; select the location of each target object corresponding to the reporting interval duration based on the location of each target object in the acquired target space; and report the location of each target object corresponding to the reporting interval duration.
[0180] As can be seen from the above, the embodiments of this application can update the location of the target object at different frequencies on the regional monitoring page according to different reporting strategies. Then, when the location of the target object moves to the monitoring area configured with the corresponding automated control scheme, the target space corresponding to the monitoring area will provide the target object with the corresponding automated service. In this way, the network resource occupancy rate is reduced, the efficiency of the user terminal in processing user location information is improved, and the user experience is enhanced.
[0181] This application also provides an electronic device, such as... Figure 13 As shown, it illustrates a structural schematic diagram of the electronic device involved in the embodiments of this application, specifically:
[0182] The electronic device may include components such as a processor 601 with one or more processing cores, a memory 602 with one or more computer-readable storage media, a power supply 603, and an input unit 604. Those skilled in the art will understand that... Figure 13 The electronic device structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein:
[0183] The processor 601 is the control center of the electronic device, connecting various parts of the device via various interfaces and lines. It executes various functions and processes data by running or executing software programs and / or modules stored in the memory 602, and by calling data stored in the memory 602. Optionally, the processor 601 may include one or more processing cores; preferably, the processor 601 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 601.
[0184] The memory 602 can be used to store software programs and modules. The processor 601 executes various functional applications and target detection by running the software programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 602 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 602 may also include a memory controller to provide the processor 601 with access to the memory 602.
[0185] The electronic device also includes a power supply 603 that supplies power to the various components. Preferably, the power supply 603 can be logically connected to the processor 601 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 603 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0186] The electronic device may also include an input unit 604, which can be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
[0187] Although not shown, the electronic device may also include a display unit, etc., which will not be described in detail here. Specifically, in the embodiments of this application, the processor 601 in the electronic device loads the executable files corresponding to the processes of one or more applications into the memory 602 according to the following instructions, and the processor 601 runs the applications stored in the memory 602 to realize various functions, as follows:
[0188] The display area monitoring page corresponds to the monitoring range of the target space and is used to display the position of each target object in the target space in real time. Based on the position of each target object in the target space reported according to the first strategy, the position of each target object is updated and displayed in real time on the area monitoring page. When the area monitoring page is closed, it instructs the detection device to report the position of each target object according to the second strategy.
[0189] Alternatively, obtain the location of each target object in the target space; if the area monitoring page is detected to be open, then report the location of each target object in the target space according to the first strategy, so as to update and display the location of each target object in the area monitoring page in real time; if the area monitoring page is detected to be closed, then report the location of each target object according to the second strategy.
[0190] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0191] Therefore, this solution can update the location of the target object at different frequencies on the regional monitoring page according to different reporting strategies. Then, when the target object moves to a monitoring area configured with a corresponding automated control scheme, the target space in that monitoring area will provide the target object with the corresponding automated service. In this way, network resource occupancy is reduced, the efficiency of user terminal in processing user location information is improved, and user experience is enhanced.
[0192] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0193] Therefore, embodiments of this application provide a computer-readable storage medium storing a plurality of instructions that can be loaded by a processor to execute steps in any of the target detection methods provided in embodiments of this application. For example, the instructions can execute the following steps:
[0194] The display area monitoring page corresponds to the monitoring range of the target space and is used to display the position of each target object in the target space in real time. Based on the position of each target object in the target space reported according to the first strategy, the position of each target object is updated and displayed in real time on the area monitoring page. When the area monitoring page is closed, it instructs the detection device to report the position of each target object according to the second strategy.
[0195] Alternatively, obtain the location of each target object in the target space; if the area monitoring page is detected to be open, then report the location of each target object in the target space according to the first strategy, so as to update and display the location of each target object in the area monitoring page in real time; if the area monitoring page is detected to be closed, then report the location of each target object according to the second strategy.
[0196] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0197] The computer-readable storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0198] Since the instructions stored in the computer-readable storage medium can execute the steps of any of the data processing methods provided in the embodiments of this application, the beneficial effects that any of the data processing methods provided in the embodiments of this application can achieve can be realized, as detailed in the preceding embodiments, and will not be repeated here.
[0199] According to one aspect of this application, a computer program product or computer program is provided, comprising computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the various optional implementations of the above embodiments.
[0200] The above provides a detailed description of a target detection method, apparatus, and computer-readable storage medium provided in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A target detection method, characterized in that, include: The display area monitoring page corresponds to the monitoring range of the target space and is used to display the real-time position of each target object in the target space. Based on the obtained positions of each target object in the target space reported according to the first strategy, the positions of each target object are updated and displayed in real time on the area monitoring page. When the area monitoring page is closed, it instructs the detection device to report the positions of each target object according to the second strategy.
2. The method according to claim 1, characterized in that, The method further includes: The display area editing page shows the current location of the target object and is used to configure the monitoring area in the target space based on the current location of the target. In response to any area selected on the area editing page, a custom monitoring area is generated; The area monitoring page includes various monitoring areas under the target space, and the real-time updating and display of the position of each target object on the area monitoring page includes: The location of each target object is updated and displayed in real time in each monitoring area of the area monitoring page.
3. The method according to claim 2, characterized in that, The method further includes: Display solution configuration page; Obtain the control attribute information for the monitoring area configured on the scheme configuration page, and generate an automated control scheme for the corresponding monitoring area based on the control attribute information. The configured monitoring area is used to achieve automated control through target object detection.
4. The method according to any one of claims 1 to 3, characterized in that, The method further includes: When the monitoring page of the area is detected to be closed, the second strategy is sent to the detection device, so that the detection device reports the position of the target object in the target space in accordance with the second strategy.
5. A target detection method, characterized in that, include: Obtain the positions of each target object in the target space; If the area monitoring page is detected to be open, the position of each target object in the target space is reported according to the first strategy, so as to update and display the position of each target object in the area monitoring page in real time. If the area monitoring page is detected to be closed, the location of each target object will be reported according to the second strategy.
6. The method according to claim 5, characterized in that, The process of obtaining the positions of each target object in the target space includes: Collect detection information of each target object in the target space; Based on the detection information, a distance distribution map of each target object relative to the detection device is generated; Based on the distance distribution map, the positions of each target object in the target space are determined.
7. The method according to claim 5, characterized in that, The process of obtaining the positions of each target object in the target space includes: Obtain the distance and orientation of each target object relative to the detection device in the target space; Based on the distance and direction, the positions of each target object in the target space are determined.
8. The method according to claim 5, characterized in that, The method further includes: If the position of the target object in the current frame is detected to be different from the historical position in the previous frame, then the position of the target object in the current frame is reported according to the first strategy; If the position of the target object in the current frame is detected to be the same as the historical position in the previous frame, the current position of the target object is intercepted and reported, and the step of obtaining the position of each target object in the target space is executed.
9. The method according to claim 5, characterized in that, The locations of each target object reported according to the second strategy include: The reporting interval is determined according to the second strategy; Based on the obtained positions of each target object in the target space, the positions of each target object corresponding to the reporting interval are selected; The location of each target object corresponding to the reporting interval is reported.
10. A target detection device, characterized in that, include: The display unit is used to show the area monitoring page; The area monitoring page corresponds to the monitoring range of the target space, and the area monitoring page is used to display the position of each target object in the target space in real time; The update unit is used to update and display the position of each target object in the target space in real time on the area monitoring page based on the position of each target object reported according to the first strategy; wherein, when the area monitoring page is in a closed state, it instructs the detection device to report the position of each target object according to the second strategy.
11. A target detection device, characterized in that, include: The acquisition unit is used to acquire the position of each target object in the target space; The first reporting unit is used to report the position of each target object in the target space according to the first strategy if the area monitoring page is detected to be open, so as to update and display the position of each target object in the area monitoring page in real time. The second reporting unit is used to report the location of each target object according to the second strategy if the area monitoring page is detected to be closed.
12. An electronic device, characterized in that, It includes a processor and a memory, the memory storing a computer program, and the processor running the computer program in the memory to implement the steps of the target detection method according to any one of claims 1 to 9.
13. A computer-readable storage medium, characterized in that, The computer-readable storage medium is computer-readable and stores a plurality of instructions adapted for loading by a processor to perform the steps of the target detection method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Mobile terminal positioning method and mobile terminal
CN103200661A
Position information acquisition method and device, computer equipment and storage medium
CN111698645A